Explicitly patch shebangs

This commit is contained in:
Konstantin Nazarov 2023-06-11 19:01:25 +01:00
parent f970055a0b
commit f5cb498796
Signed by: knazarov
GPG key ID: 4CFE0A42FA409C22
5 changed files with 9 additions and 4 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
expand() {
TITLE="$1"

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
remove_nbsp() {
sed 's#\ # #g'

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

View file

@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
dontPatch = true;
installFlags = "PREFIX=${placeholder "out"} VERSION=${version}";
preBuild = ''
patchShebangs bin/*.sh
'';
buildInputs = with pkgs; [
gawk
gnused