Skip to content

Commit

Permalink
Use different method to detect relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBSnowball committed Jan 24, 2021
1 parent d1a6788 commit a565cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ let
})
else if info.type == "path" then
{ outPath = builtins.path {
path = if builtins.substring 0 1 info.path == "."
path = if builtins.substring 0 1 info.path != "/"
then src + ("/" + info.path)
else info.path; };
narHash = info.narHash;
Expand Down

0 comments on commit a565cb4

Please sign in to comment.