Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
206d878
commit d9690aa
Showing
2 changed files
with
6 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
{ sources ? import ./nix/sources.nix { }, pkgs ? import sources.nixpkgs { }, ... | ||
}: | ||
let | ||
naersk = pkgs.callPackage sources.naersk { }; | ||
gitignore = pkgs.callPackage sources.gitignore { }; | ||
in naersk.buildPackage { | ||
root = (gitignore.gitignoreSource ./.); | ||
buildInputs = [ pkgs.libiconv ]; | ||
} | ||
|
||
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) { | ||
src = builtins.fetchGit ./.; | ||
}).defaultNix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,3 @@ | ||
{ ... }: | ||
let | ||
sources = import ./nix/sources.nix; | ||
nixpkgs = import sources.nixpkgs { }; | ||
niv = import sources.niv { }; | ||
naersk = nixpkgs.callPackage sources.naersk { }; | ||
|
||
cargo-lichking = naersk.buildPackage sources.cargo-lichking; | ||
in with nixpkgs; | ||
stdenv.mkDerivation { | ||
name = "elm-forbid-import"; | ||
buildInputs = [ | ||
niv.niv | ||
git | ||
|
||
# Rust | ||
cargo | ||
cargo-lichking | ||
rustPackages.clippy | ||
rustPackages.rustfmt | ||
rustc | ||
|
||
# Benchmarking + Optimization | ||
hyperfine | ||
|
||
# Testing | ||
jq | ||
]; | ||
} | ||
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) { | ||
src = builtins.fetchGit ./.; | ||
}).shellNix |