Skip to content

Commit

Permalink
Ignore /*.nix inside utils.nix src attribute so that Nix changes do n…
Browse files Browse the repository at this point in the history
…ot cause a full rebuild of the derivatons
  • Loading branch information
CMCDragonkai committed May 21, 2022
1 parent f730951 commit 1c81a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
rec {
# this removes the org scoping
basename = builtins.baseNameOf node2nixDev.packageName;
src = nix-gitignore.gitignoreSource [".git"] ./.;
src = nix-gitignore.gitignoreSource [".git" "/*.nix"] ./.;
nodeVersion = builtins.elemAt (lib.versions.splitVersion nodejs.version) 0;
# custom node2nix directly from GitHub
node2nixSrc = fetchFromGitHub {
Expand Down

0 comments on commit 1c81a86

Please sign in to comment.