Skip to content

Commit 7e37b74

Browse files
Shay BergmannShay Bergmann
authored andcommitted
Unrevert some other changes
1 parent 2b712ba commit 7e37b74

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nix/pkgs/mantis/default.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
filter = path: _: !lib.hasSuffix "nix" path;
1313
};
1414
in
15-
if isGit then
15+
if lib.isStorePath src then src
16+
else if isGit then
1617
if dirty then filterSrc (gitignoreSource src) else repo
17-
else src;
18+
else builtins.path { name = "source"; path = src; };
1819

1920
mantis-source = mkSrc src;
2021

0 commit comments

Comments
 (0)