Skip to content

Commit

Permalink
impure: apply fetchGit hack to all impure entrypoints
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyinstarlight committed Nov 13, 2023
1 parent 803f062 commit 987e920
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
5 changes: 4 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ let
}
)
{
src = ./.;
# hack to skip fetchGit when evaluating impurely and get original paths
src = {
outPath = ./.;
};
}
).defaultNix;
in
Expand Down
5 changes: 4 additions & 1 deletion overlays.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ let
}
)
{
src = ./.;
# hack to skip fetchGit when evaluating impurely and get original paths
src = {
outPath = ./.;
};
}
).defaultNix;
in
Expand Down
5 changes: 4 additions & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ let
}
)
{
src = ./.;
# hack to skip fetchGit when evaluating impurely and get original paths
src = {
outPath = ./.;
};
}
).defaultNix;
in
Expand Down
5 changes: 4 additions & 1 deletion test.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ let
}
)
{
src = ./.;
# hack to skip fetchGit when evaluating impurely and get original paths
src = {
outPath = ./.;
};
}
).defaultNix;
in
Expand Down

0 comments on commit 987e920

Please sign in to comment.