Add support for "path:./relative/path"
This commit is contained in:
parent
99f1c2157f
commit
e7e5d481a0
|
@ -39,7 +39,10 @@ let
|
|||
} else {
|
||||
})
|
||||
else if info.type == "path" then
|
||||
{ outPath = builtins.path { path = info.path; };
|
||||
{ outPath = builtins.path {
|
||||
path = if builtins.substring 0 2 info.path == "./"
|
||||
then src + builtins.substring 1 (-1) info.path
|
||||
else info.path; };
|
||||
narHash = info.narHash;
|
||||
}
|
||||
else if info.type == "tarball" then
|
||||
|
|
Loading…
Reference in a new issue