python3.pkgs.cmd2: fix shebang

The bang was missing!  What was there before would still have worked,
but I think it would end up being executed by /bin/sh since it had no
shebang line.
This commit is contained in:
Alyssa Ross 2020-02-14 02:00:44 +00:00 committed by Matthieu Coudron
parent ed12380827
commit 95ee2c8e26

View file

@ -18,8 +18,8 @@ buildPythonPackage rec {
postPatch = stdenv.lib.optional stdenv.isDarwin ''
# Fake the impure dependencies pbpaste and pbcopy
mkdir bin
echo '#${stdenv.shell}' > bin/pbpaste
echo '#${stdenv.shell}' > bin/pbcopy
echo '#!${stdenv.shell}' > bin/pbpaste
echo '#!${stdenv.shell}' > bin/pbcopy
chmod +x bin/{pbcopy,pbpaste}
export PATH=$(realpath bin):$PATH
'';