X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=lib%2Fflake-compat-patched.nix;h=af98425fa9ea2990de05a8e157b491da8883bf78;hb=bc0f9fcf0d366e10c0046390e516e11d5b76b2f8;hp=217a99fad89daa712c84c3c9671136ae7f59a18c;hpb=f69e0c01557a7cd2c6f353f71126c4cd47ae344c;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/lib/flake-compat-patched.nix b/lib/flake-compat-patched.nix index 217a99f..af98425 100644 --- a/lib/flake-compat-patched.nix +++ b/lib/flake-compat-patched.nix @@ -39,11 +39,11 @@ let } else { }) else if info.type == "path" then - { outPath = builtins.path { path = + { outPath = builtins.toPath ( if builtins.substring 0 1 info.path == "." then builtins.toString src + "/" + info.path - else info.path; - }; + else info.path + ); narHash = info.narHash; } else if info.type == "tarball" then