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