forked from lix-project/flake-compat
Support flake inputs with type path
This commit is contained in:
parent
c5c3c5b56b
commit
f10b647d90
|
@ -36,6 +36,10 @@ let
|
|||
lastModifiedDate = formatSecondsSinceEpoch info.lastModified;
|
||||
narHash = info.narHash;
|
||||
}
|
||||
else if info.type == "path" then
|
||||
{ outPath = builtins.path { path = info.path; };
|
||||
narHash = info.narHash;
|
||||
}
|
||||
else
|
||||
# FIXME: add Mercurial, tarball inputs.
|
||||
throw "flake input has unsupported input type '${info.type}'";
|
||||
|
|
Loading…
Reference in a new issue