Skip to content

Commit

Permalink
feat: use nix 2.19.2, needed to bump nixpkgs in the flake.lock to a v…
Browse files Browse the repository at this point in the history
…ersion that contained it
  • Loading branch information
a-h committed Jan 12, 2024
1 parent db19472 commit e855ecb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
};
};
nix = {
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
# Pin nixpkgs to the flake input, so that nixpkgs#hello comes from the
# flake inputs.nixpkgs.url.
({ ... }: { nix.registry.nixpkgs.flake = nixpkgs; })
# Use Nix 2.19 instead of 2.18.1.
({ ... }: { nix.package = nixpkgs.legacyPackages.x86_64-linux.nixVersions.nix_2_19; })
# Apply the rest of the config.
./configuration.nix
];
Expand Down

0 comments on commit e855ecb

Please sign in to comment.