1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

nix: use mkDefault for nix profile

This commit is contained in:
Daiderd Jordan 2018-03-29 22:09:26 +02:00
parent 4b8527e4e3
commit eb1a841b4f
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -343,7 +343,7 @@ in
]);
nix.package = mkIf (config.system.stateVersion < 3)
"/nix/var/nix/profiles/default";
(mkDefault "/nix/var/nix/profiles/default");
nix.version = mkIf (isDerivation cfg.package) cfg.package.version or "<unknown>";