diff options
author | Shea Levy <shea@shealevy.com> | 2018-03-01 14:38:53 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-03-01 14:38:53 -0500 |
commit | fec543436d4d35dacde01a9e8b69a2781841f901 (patch) | |
tree | b44b65ddbc7482e767d562f3f27c523c9ffbfcc0 /nixos/modules/services/monitoring | |
parent | e70f61f5a19b00337082ab28a5013e0b440bda92 (diff) | |
download | nixpkgs-fec543436d4d35dacde01a9e8b69a2781841f901.tar nixpkgs-fec543436d4d35dacde01a9e8b69a2781841f901.tar.gz nixpkgs-fec543436d4d35dacde01a9e8b69a2781841f901.tar.bz2 nixpkgs-fec543436d4d35dacde01a9e8b69a2781841f901.tar.lz nixpkgs-fec543436d4d35dacde01a9e8b69a2781841f901.tar.xz nixpkgs-fec543436d4d35dacde01a9e8b69a2781841f901.tar.zst nixpkgs-fec543436d4d35dacde01a9e8b69a2781841f901.zip |
nixos: Move uses of stdenv.shell to runtimeShell.
Diffstat (limited to 'nixos/modules/services/monitoring')
-rw-r--r-- | nixos/modules/services/monitoring/apcupsd.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/monitoring/smartd.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/apcupsd.nix b/nixos/modules/services/monitoring/apcupsd.nix index 9abd6e9ab64..839116de626 100644 --- a/nixos/modules/services/monitoring/apcupsd.nix +++ b/nixos/modules/services/monitoring/apcupsd.nix @@ -38,7 +38,7 @@ let ]; shellCmdsForEventScript = eventname: commands: '' - echo "#!${pkgs.stdenv.shell}" > "$out/${eventname}" + echo "#!${pkgs.runtimeShell}" > "$out/${eventname}" echo '${commands}' >> "$out/${eventname}" chmod a+x "$out/${eventname}" ''; diff --git a/nixos/modules/services/monitoring/smartd.nix b/nixos/modules/services/monitoring/smartd.nix index b8d9e58a5a8..fecae4ca1b3 100644 --- a/nixos/modules/services/monitoring/smartd.nix +++ b/nixos/modules/services/monitoring/smartd.nix @@ -14,7 +14,7 @@ let nx = cfg.notifications.x11; smartdNotify = pkgs.writeScript "smartd-notify.sh" '' - #! ${pkgs.stdenv.shell} + #! ${pkgs.runtimeShell} ${optionalString nm.enable '' { ${pkgs.coreutils}/bin/cat << EOF |