refactor(nix): try adding `name`

main
sgoudham 1 year ago
parent 58a7647944
commit 24afcec7f3
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -32,6 +32,7 @@
rustTarget = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml; rustTarget = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
craneLib = (crane.mkLib pkgs).overrideToolchain rustTarget; craneLib = (crane.mkLib pkgs).overrideToolchain rustTarget;
git-view = craneLib.buildPackage { git-view = craneLib.buildPackage {
name = "git-view";
src = craneLib.cleanCargoSource (craneLib.path ./.); src = craneLib.cleanCargoSource (craneLib.path ./.);
buildInputs = [] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [pkgs.libiconv]; buildInputs = [] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [pkgs.libiconv];
}; };

Loading…
Cancel
Save