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
gtk-doc: support python3 #43838
gtk-doc: support python3 #43838
Conversation
Success on aarch64-linux (full log) Attempted: gtk-doc Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: gtk-doc Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: gtk-doc Partial log (click to expand)
|
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec { | |||
# Make six available for binaries, python.withPackages creates a wrapper | |||
# but scripts are not allowed in shebangs so we link it into sys.path. | |||
postInstall = '' | |||
ln -s ${python.pkgs.six}/lib/python2.7/site-packages/* $out/share/gtk-doc/python/ | |||
ln -s ${python.pkgs.six}/lib/python${python.majorVersion}/site-packages/* $out/share/gtk-doc/python/ |
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.
use ${python.sitePackages}
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.
Thanks for the suggestion, I didn't know about that. Updated the PR.
f880ae7
to
dddac8b
Compare
Success on x86_64-linux (full log) Attempted: gtk-doc Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: gtk-doc Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: gtk-doc Partial log (click to expand)
|
Motivation for this change
Make libbytesize (which depends on gtk-doc) build when using Python3 as default Python.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)