Merge pull request #11 from transumption-unstable/gitignore-source-name
gitignoreSource: ensure Nix store path determinism
This commit is contained in:
commit
6e7569637d
1 changed files with 6 additions and 1 deletions
|
|
@ -4,5 +4,10 @@ let
|
|||
in
|
||||
{
|
||||
inherit (find-files) gitignoreFilter;
|
||||
gitignoreSource = p: lib.cleanSourceWith { filter = find-files.gitignoreFilter p; src = p; };
|
||||
|
||||
gitignoreSource = path: builtins.path {
|
||||
name = "source";
|
||||
filter = find-files.gitignoreFilter path;
|
||||
inherit path;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue