about summary refs log tree commit diff
path: root/pkgs/servers/mail
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2019-01-15 23:41:31 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2019-01-16 20:37:15 +0100
commitbcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183 (patch)
tree26aef5b71509a26f7986e6cf9928b7687c21787d /pkgs/servers/mail
parent3956a8421f2d78bc66ad9d3c23a3b5510bc695be (diff)
downloadnixlib-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar
nixlib-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.gz
nixlib-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.bz2
nixlib-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.lz
nixlib-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.xz
nixlib-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.zst
nixlib-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.zip
treewide: use ${stdenv.shell} instead of /bin/sh where possible
Diffstat (limited to 'pkgs/servers/mail')
-rw-r--r--pkgs/servers/mail/system-sendmail/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/mail/system-sendmail/default.nix b/pkgs/servers/mail/system-sendmail/default.nix
index 0e290f135181..fe0aeb5b3afa 100644
--- a/pkgs/servers/mail/system-sendmail/default.nix
+++ b/pkgs/servers/mail/system-sendmail/default.nix
@@ -1,7 +1,7 @@
 { stdenv, writeText }:
 
 let script = writeText "script" ''
-  #!/bin/sh
+  #!${stdenv.shell}
 
   if command -v sendmail > /dev/null 2>&1 && [ "$(command -v sendmail)" != "{{MYPATH}}" ]; then
     exec sendmail "$@"