We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f51ebc8 commit a6033f1Copy full SHA for a6033f1
package.nix
@@ -1,8 +1,8 @@
1
{
2
+ lib,
3
stdenv,
4
pkgs,
5
rustPlatform,
- nix-gitignore,
6
enableClippy ? false,
7
}:
8
@@ -24,7 +24,17 @@ let
24
25
cargoLock.lockFile = ./Cargo.lock;
26
27
- src = nix-gitignore.gitignoreSource [ ] ./.;
+ src = lib.fileset.toSource {
28
+ root = ./.;
29
+ fileset = lib.fileset.unions [
30
+ ./src
31
+ ./Cargo.toml
32
+ ./Cargo.lock
33
+ ./build.rs
34
+ ./vendor
35
+ ./tests
36
+ ];
37
+ };
38
39
hardeningDisable = [ "stackprotector" ];
40
0 commit comments