default.nix: filterSource
This commit is contained in:
parent
966e43e14e
commit
4c79c797d5
|
@ -8,7 +8,9 @@ let
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "${crate}";
|
name = "${crate}";
|
||||||
|
|
||||||
src = ./.;
|
src = builtins.filterSource (path: type:
|
||||||
|
baseNameOf path != "target"
|
||||||
|
) ./.;
|
||||||
inherit cargoSha256;
|
inherit cargoSha256;
|
||||||
|
|
||||||
nativeBuildInputs = [ cargo-xbuild ];
|
nativeBuildInputs = [ cargo-xbuild ];
|
||||||
|
|
Loading…
Reference in New Issue