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:
parent
4b8527e4e3
commit
eb1a841b4f
1 changed files with 1 additions and 1 deletions
|
@ -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>";
|
||||
|
||||
|
|
Loading…
Reference in a new issue