Add support for "path:./relative/path" #18
|
@ -39,7 +39,10 @@ let
|
||||||
} else {
|
} else {
|
||||||
})
|
})
|
||||||
else if info.type == "path" then
|
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;
|
narHash = info.narHash;
|
||||||
}
|
}
|
||||||
else if info.type == "tarball" then
|
else if info.type == "tarball" then
|
||||||
|
|
Loading…
Reference in a new issue