-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
steamtinkerlaunch: init at 11.11 #200157
steamtinkerlaunch: init at 11.11 #200157
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/1380 |
6d23556
to
b4a50b8
Compare
this also suffers from the
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/1415 |
The error message nearly suggests that you did not provide any arguments but you can change argv0 with the argv0 argument. See https://github.com/NixOS/nixpkgs/blob/d291728eee55d5befa60421e84fb3e78e0ccc284/pkgs/build-support/setup-hooks/make-binary-wrapper/make-binary-wrapper.sh for details |
I tried that, it appears to be the bash script introspecting its filename. |
b4a50b8
to
8c3cc71
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/1471 |
d17bdc6
to
4768861
Compare
Then we should rather patch that code. |
ok, so this just looks like a bash behaviour, see upstream docs, you cannot lie about argv0; as such, I will patch the script to hardcode the binary name EDIT: this is a documented bug in makeWrapper: #150841 |
8cdc6c1
to
c6ea776
Compare
c6ea776
to
5a04b35
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/1483 |
hash = "sha256-rWENtgV6spokzkhnmrrzsAQ19dROJ50ofEulU5Jx5IE="; | ||
}; | ||
|
||
# hardcode PROGCMD because #150841 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Links should ideally be absolute
Description of changes
Fixes #186826
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes