From 8242938fc99b42da6d24260fa0fc51970d5158d4 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 14 Dec 2023 23:49:03 -0500 Subject: [PATCH] nix: Update version to 2.19.2 This fixes an issue where nixFlakes (the stable version of Nix) would fail when running nixos-rebuild if a path contained non-ASCII characters. --- modules/fish.nix | 1 - modules/nix.nix | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/fish.nix b/modules/fish.nix index da4ca2a..bb0973c 100644 --- a/modules/fish.nix +++ b/modules/fish.nix @@ -93,7 +93,6 @@ nf = "nix flake"; nfu = "nix flake update"; - nfl = "nix flake lock --update-input"; npr = "nixpkgs-review pr --run fish --print-result"; nd = "nix develop --command fish"; nb = "nix build"; diff --git a/modules/nix.nix b/modules/nix.nix index 097f73b..10c0692 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -2,7 +2,7 @@ { nix = { - package = pkgs.nixFlakes; + package = with pkgs.nixVersions; nix_2_19; settings = { experimental-features = [ "nix-command" "flakes" "repl-flake" ];