1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-13 20:30:02 +00:00

Merge pull request #650 from amarshall/fix-registry-extra-attrs

nix: Fix registry extra attrs not being applied
This commit is contained in:
Daiderd Jordan 2023-05-10 23:26:18 +02:00 committed by GitHub
commit 25e28fedda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -444,13 +444,14 @@ in
};
config = {
from = mkDefault { type = "indirect"; id = name; };
to = mkIf (config.flake != null) (mkDefault
to = mkIf (config.flake != null) (mkDefault (
{
type = "path";
path = config.flake.outPath;
} // filterAttrs
(n: _: n == "lastModified" || n == "rev" || n == "revCount" || n == "narHash")
config.flake);
(n: _: n == "lastModified" || n == "rev" || n == "revCount" || n == "narHash")
config.flake
));
};
}
));