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
qtwebengine: use pure sandbox lib #116528
qtwebengine: use pure sandbox lib #116528
Conversation
@@ -190,6 +186,7 @@ qtModule { | |||
|
|||
buildInputs = optionals stdenv.isDarwin (with darwin; [ |
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.
darwin shouldn't be used as an input.
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.
Noted, but it's a big refactoring, better come in a separate PR.
cp "${darwin-stubs}/usr/lib/libsandbox.1.tbd" $out/lib | ||
ln -s libsandbox.1.tbd $out/lib/libsandbox.tbd | ||
''; | ||
}; |
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.
Just a note:
cc #67166
This may could use (currently unimplemented) __propagatedImpureHostDeps = [ "/usr/bin/libsandbox.1.dylib" ]
Motivation for this change
Improve purity and fix the build on Big Sur, see #116358 and #98541 (comment)
I don't know if this package should be called
sandbox
orlibsandbox
, but the other libraries didn't have thelib
prefix.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)