-
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
go: do not remove regexp/syntax/make_perl_groups.pl #193493
Conversation
Can we move patchShebangs instead as I suggested in #193458 (comment)? |
Assuming |
1741488
to
da96e85
Compare
I'd prefer moving patchShebangs unless it is demonstrated to be unsuitable. |
Could just need to check if |
Having thought about this some more I don't think |
Why |
This change keeps the regexp/syntax/make_perl_groups.pl file even though it contains invalid shebang. It is not used by the test suite and there is no reason to remove it. In fact, it is confusing when some files used to generate Go code in standard library are missing in the package.
Honestly, I don’t see |
@@ -138,9 +138,6 @@ stdenv.mkDerivation rec { | |||
|
|||
preInstall = '' | |||
rm -r pkg/obj | |||
# Contains the wrong perl shebang when cross compiling, | |||
# since it is not used for anything we can deleted as well. | |||
rm src/regexp/syntax/make_perl_groups.pl |
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.
Closing this as there was no feedback for some time and I’m no longer interested in this change — I’ve been using a custom unpatched Go derivation for builds (Go modules that are sometimes built by other developers that don’t use Nix), and it doesn’t really matter whether Go compiler used for programs in NixOS is patched or not. |
Description of changes
This change invokes bash interpreter directly on make.bash script. This allows using overrideAttrs with dontPatch set to true as a workaround for issue #125198.
The package also now keeps the
regexp/syntax/make_perl_groups.pl
file since it is not used by the test suite and it is confusing when some files present in upstream src tree are missing.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