From 4007f5063bf431f2b0555af7448f656467907a6a Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 25 May 2024 11:55:08 +0200 Subject: fix(treewide): Use `nixVersions.latest` instead of just `nix` `nix` is an alias (in `all-packages.nix`) to `nixVersions.stable`. `nixVersion.latest` is always the last released version of nix. I obviously want that `nix` with more features (and slightly more bugs probably). --- bootstrap/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bootstrap/default.nix') diff --git a/bootstrap/default.nix b/bootstrap/default.nix index b3e44380..1f727cd8 100644 --- a/bootstrap/default.nix +++ b/bootstrap/default.nix @@ -6,19 +6,19 @@ ensure_config_variables_dependencies = builtins.attrValues {inherit (pkgs) systemd jq dash gnugrep curl;}; replacementStrings = {SCRIPT_ENSURE_CONFIG_VARIABLES = "${ensure_config_variables}/bin/ensure_config_variables";}; activate = sysLib.writeShellScript { - dependencies = builtins.attrValues {inherit (pkgs) jq gawk curl coreutils libuuid nix git;} ++ ensure_config_variables_dependencies; + dependencies = with pkgs; [jq gawk curl coreutils libuuid nixVersions.latest git] ++ ensure_config_variables_dependencies; name = "activate"; src = ./01_activate.sh; inherit replacementStrings; }; install = sysLib.writeShellScript { - dependencies = builtins.attrValues {inherit (pkgs) jq dash curl gawk btrfs-progs coreutils libuuid gptfdisk dosfstools toybox nix git;} ++ ensure_config_variables_dependencies; + dependencies = with pkgs; [jq dash curl gawk btrfs-progs coreutils libuuid gptfdisk dosfstools toybox nixVersions.latest git] ++ ensure_config_variables_dependencies; name = "install"; src = ./01_install.sh; inherit replacementStrings; }; setup = sysLib.writeShellScript { - dependencies = builtins.attrValues {inherit (pkgs) dash gawk curl git nix gnugrep nixos-install-tools coreutils libuuid;} ++ ensure_config_variables_dependencies; + dependencies = with pkgs; [dash gawk curl git nixVersions.latest gnugrep nixos-install-tools coreutils libuuid] ++ ensure_config_variables_dependencies; name = "setup"; src = ./02_setup.sh; inherit replacementStrings; -- cgit 1.4.1