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
libxml2: don't propagate Python bindings #77474
Conversation
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec { | |||
outputs = [ "bin" "dev" "out" "man" "doc" ] | |||
++ lib.optional pythonSupport "py" | |||
++ lib.optional (enableStatic && enableShared) "static"; | |||
propagatedBuildOutputs = [ "out" "bin" ] ++ lib.optional pythonSupport "py"; | |||
propagatedBuildOutputs = [ "out" "bin" ]; |
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.
If the docs are correct, we should not need this line at all:
propagatedBuildOutputs
of that package which by default contain$outputBin
and$outputLib
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.
Looks like that is still he case:
local po_dirty="$outputBin $outputInclude $outputLib" |
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.
i removed the whole line on master and was able to build a few hundred packages fine :)
Okay then. Here we go! I guess the staging process would pick up if this did cause catastrophic breakage anyway. |
Motivation for this change
Extracted from #77149. Quoting myself there:
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)