New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
makeself: backport megastep/makeself#142 #45285
Conversation
@GrahamcOfBorg build makeself |
Success on x86_64-linux (full log) Attempted: makeself Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: makeself Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: makeself Partial log (click to expand)
|
Currently, a self-extracting archive created by makeself will fail to properly execute on NixOS because the boilerplate Bash code it uses to clean up the temporary directory it extracted its contents into assumes that the `rm` command is installed at `/bin/rm`, which is not the case on NixOS. This commit, a backport of a pull request I made to the upstream repository at megastep/makeself#142, fixes the issue by causing the boilerplate code to call `rm` without specifying an absolute path, which allows the version of `rm` from one's current Nix environment to be used instead.
@GrahamcOfBorg build makeself |
Success on x86_64-linux (full log) Attempted: makeself Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: makeself Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: makeself Partial log (click to expand)
|
backport: 37564578ace |
this one is the actual backport: 536f6e8 |
Currently, a self-extracting archive created by makeself will fail to properly execute on NixOS because the boilerplate Bash code it uses to clean up the temporary directory it extracted its contents into
assumes that the
rm
command is installed at/bin/rm
, which is not the case on NixOS.This commit, a backport of a pull request I made to the upstream repository at megastep/makeself#142, fixes the issue by causing the boilerplate code to call
rm
without specifying an absolute path, which allows the version ofrm
from one's current Nix environment to be used instead.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)