-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
quassel: Fix use of mkDerivation
#67746
quassel: Fix use of mkDerivation
#67746
Conversation
e302d7a
to
901984c
Compare
There's already a wrapProgram call happening in
Interesting that it needs |
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.
nix-review
passes on NixOS
diff LGTM
binaries seem to work (although double wrapped)
[3 built, 123 copied (297.0 MiB), 49.8 MiB DL]
https://github.com/NixOS/nixpkgs/pull/67746
2 package were build:
quassel quasselClient
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.
It does appear to be wrapped, but it's out of luck and ordering. We need to fix #67746 (comment).
The `with stdenv;` would override the `mkDerivation` to be the regular one, instead of the libsForQt5 one. This simply removes the dangerous use of the all-encompassing `with`, and prefers using a more precise inherit for `lib`. See NixOS#65399 Co-authored-by: worldofpeace <worldofpeace@protonmail.ch>
901984c
to
c52b5b8
Compare
backported in 0fc13aa |
The
with stdenv;
would override themkDerivation
to be the regularone, instead of the libsForQt5 one.
This simply removes the dangerous use of the all-encompassing
with
,and prefers using a more precise inherit for
lib
.Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)