Add support for "path:./relative/path" #18

Closed
BBBSnowball wants to merge 3 commits from BBBSnowball/pr-1 into master
Showing only changes of commit a565cb46be - Show all commits

View file

@ -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;