From ee30bac65ade49ac25646f9da461a04efee8419c Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 2 Jul 2023 14:11:43 +0200 Subject: Fix(bootstrap): Don't wrap eev, as dash does not support exec --- bootstrap/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap/default.nix b/bootstrap/default.nix index f21fabe3..76968cd2 100644 --- a/bootstrap/default.nix +++ b/bootstrap/default.nix @@ -5,19 +5,19 @@ }: let replacementStrings = {SCRIPT_ENSURE_CONFIG_VARIABLES = "${ensure_config_variables}/bin/ensure_config_variables";}; activate = sysLib.writeShellScriptWithLibrary { - dependencies = builtins.attrValues {inherit (pkgs) jq gawk curl coreutils libuuid nix git;}; + dependencies = builtins.attrValues {inherit (pkgs) jq gawk curl coreutils libuuid nix git dash gnugrep;}; name = "activate"; src = ./01_activate; inherit replacementStrings; }; install = sysLib.writeShellScriptWithLibrary { - dependencies = builtins.attrValues {inherit (pkgs) jq dash curl gawk btrfs-progs coreutils libuuid gptfdisk dosfstools toybox nix git;}; + dependencies = builtins.attrValues {inherit (pkgs) jq dash curl gawk btrfs-progs coreutils libuuid gptfdisk dosfstools toybox nix git gnugrep;}; name = "install"; src = ./01_install; inherit replacementStrings; }; setup = sysLib.writeShellScriptWithLibrary { - dependencies = builtins.attrValues {inherit (pkgs) dash gawk curl git nix gnugrep nixos-install-tools coreutils libuuid;}; + dependencies = builtins.attrValues {inherit (pkgs) dash gawk curl git nix gnugrep nixos-install-tools coreutils libuuid jq;}; name = "setup"; src = ./02_setup; inherit replacementStrings; @@ -28,8 +28,7 @@ src = ./03_config_setup; inherit replacementStrings; }; - ensure_config_variables = sysLib.writeShellScriptWithLibrary { - dependencies = builtins.attrValues {inherit (pkgs) jq dash gnugrep curl;}; + ensure_config_variables = sysLib.writeShellScriptWithLibraryUnwrapped { name = "ensure_config_variables"; src = ./99_ensure_config_variables; }; -- cgit 1.4.1