1
0
Fork 0
mirror of https://github.com/edolstra/flake-compat.git synced 2024-12-14 11:47:34 +00:00

Merge pull request #70 from hercules-ci/fix-pure-builtins.path

Fix non-fetchTree pure-eval use of builtins.path
This commit is contained in:
Eelco Dolstra 2024-12-04 17:08:25 +01:00 committed by GitHub
commit ff81ac966b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@ 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 = info.path; sha256 = info.narHash; };
narHash = info.narHash; narHash = info.narHash;
} }
else if info.type == "tarball" then else if info.type == "tarball" then