1
0
Fork 0
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:
Sergei Trofimovich 2023-03-31 23:13:23 +01:00 committed by GitHub
commit 2f263f3a66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -36,6 +36,7 @@ let
mkdir -p "$out/bin"
echo "#! ${stdenv.shell}" >> "$out/bin/hello"
echo "exec $(which hello)" >> "$out/bin/hello"
chmod 0755 "$out/bin/hello"
'';
};

View file

@ -24,6 +24,7 @@ let
mkdir -p "$out/bin"
echo "#! ${stdenv.shell}" >> "$out/bin/hello"
echo "exec $(which hello)" >> "$out/bin/hello"
chmod 0755 "$out/bin/hello"
'';
};