Skip to content

Commit 1c81a86

Browse files
committed
Ignore /*.nix inside utils.nix src attribute so that Nix changes do not cause a full rebuild of the derivatons
1 parent f730951 commit 1c81a86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
rec {
1212
# this removes the org scoping
1313
basename = builtins.baseNameOf node2nixDev.packageName;
14-
src = nix-gitignore.gitignoreSource [".git"] ./.;
14+
src = nix-gitignore.gitignoreSource [".git" "/*.nix"] ./.;
1515
nodeVersion = builtins.elemAt (lib.versions.splitVersion nodejs.version) 0;
1616
# custom node2nix directly from GitHub
1717
node2nixSrc = fetchFromGitHub {

0 commit comments

Comments
 (0)