Skip to content

Commit

Permalink
Merge edolstra#18
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbatm committed Apr 2, 2023
2 parents 35bb57c + a565cb4 commit 51ffd27
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ let
} else {
})
else if info.type == "path" then
{ outPath = builtins.path { path = info.path; };
{ outPath = builtins.path {
path = if builtins.substring 0 1 info.path != "/"
then src + ("/" + info.path)
else info.path; };
narHash = info.narHash;
}
else if info.type == "tarball" then
Expand Down

0 comments on commit 51ffd27

Please sign in to comment.