mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
Merge pull request #210 from mistydemeo/wrapped_hello_permissions
Pill 20: allow wrapped hello to be executed
This commit is contained in:
commit
2f263f3a66
|
@ -36,6 +36,7 @@ let
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
echo "#! ${stdenv.shell}" >> "$out/bin/hello"
|
echo "#! ${stdenv.shell}" >> "$out/bin/hello"
|
||||||
echo "exec $(which hello)" >> "$out/bin/hello"
|
echo "exec $(which hello)" >> "$out/bin/hello"
|
||||||
|
chmod 0755 "$out/bin/hello"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ let
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
echo "#! ${stdenv.shell}" >> "$out/bin/hello"
|
echo "#! ${stdenv.shell}" >> "$out/bin/hello"
|
||||||
echo "exec $(which hello)" >> "$out/bin/hello"
|
echo "exec $(which hello)" >> "$out/bin/hello"
|
||||||
|
chmod 0755 "$out/bin/hello"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue