Use different method to detect relative paths
see https://github.com/edolstra/flake-compat/pull/18
This commit is contained in:
parent
d1a6788892
commit
a565cb46be
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue