Skip to content

Commit

Permalink
fix: revert nix to 2.22 to avoid CVE-2024-45593
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan4yin committed Sep 11, 2024
1 parent d20d466 commit 6aef21e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/base.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@

# auto upgrade nix to the unstable version
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/tools/package-management/nix/default.nix#L284
nix.package = pkgs.nixVersions.latest;
# nix.package = pkgs.nixVersions.latest;
nix.package = pkgs.nixVersions.nix_2_22;

environment.systemPackages = with pkgs; [
git # used by nix flakes
Expand Down

0 comments on commit 6aef21e

Please sign in to comment.