treewide: use ${stdenv.shell} instead of /bin/sh where possible

This commit is contained in:
rnhmjoj
2019-01-16 20:37:15 +01:00
parent 3956a8421f
commit bcf54ce5bb
92 changed files with 156 additions and 120 deletions
@@ -1,4 +1,4 @@
{ lib, runCommand, substituteAll, coreutils }:
{ stdenv, runCommand, substituteAll, coreutils }:
let
name = "service-wrapper-${version}";
@@ -7,10 +7,11 @@ in
runCommand "${name}" {
script = substituteAll {
src = ./service-wrapper.sh;
inherit (stdenv) shell;
inherit coreutils;
};
meta = with lib; {
meta = with stdenv.lib; {
description = "A convenient wrapper for the systemctl commands, borrow from Ubuntu";
license = licenses.gpl2Plus;
platforms = platforms.linux;
@@ -1,4 +1,4 @@
#!/bin/sh
#!@shell@
###########################################################################
# /usr/bin/service