Use nixFlakes instead of nixUnstable
This commit is contained in:
parent
a9817baee9
commit
cc8727fa80
|
@ -10,7 +10,7 @@ let
|
|||
git-lfs
|
||||
gnutar
|
||||
gzip
|
||||
nixUnstable
|
||||
nixFlakes
|
||||
];
|
||||
in
|
||||
{
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
};
|
||||
|
||||
system.activationScripts.diff = ''
|
||||
[ -L /run/current-system ] && ${pkgs.nixUnstable}/bin/nix \
|
||||
[ -L /run/current-system ] && ${pkgs.nixFlakes}/bin/nix \
|
||||
--experimental-features 'nix-command' \
|
||||
store \
|
||||
diff-closures /run/current-system "$systemConfig"
|
||||
|
|
|
@ -30,7 +30,7 @@ in
|
|||
|
||||
nix = {
|
||||
# nix with flake support
|
||||
package = pkgs.nixUnstable;
|
||||
package = pkgs.nixFlakes;
|
||||
|
||||
registry = with inputs; {
|
||||
nixpkgs.flake = nixpkgs;
|
||||
|
|
Loading…
Reference in a new issue