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
Impossible to override libxml2 and libxslt with pythonSupport = false #73102
Comments
For some reason libxslt = super.libxslt.override { pythonSupport = false; }; does not seem to function. Pass in a string e.g., and see what happens. I am puzzled by this. |
@FRidh with import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/be31980848dee782c4504b88c57edcfbb72c6f6b.tar.gz") {
config = {
packageOverrides = pkgs: {
libxslt = pkgs.libxslt.override { pythonSupport = false; };
libxml2 = pkgs.libxml2.override { supportPython = false; };
};
};
};
libxslt Maybe we should just remove the assertion? |
Right, so this is #53487. |
Could we default to |
@jtojnar do you have any specific reason to disable it by default? Often we enable options and split into multiple outputs to reduce the amount of building that is needed. |
This is another case of NixOS#73102
This is another case of NixOS#73102
This is another case of NixOS#73102
Assertions can break overriding a package, see issue NixOS#73102.
This is another case of NixOS#73102
This is another case of NixOS#73102
This is another case of NixOS#73102
Describe the bug
It appears that there is no simple way to override libxml2 and libxslt with pythonSupport = false
To Reproduce
Expected behavior
Straightforward override should work
Metadata
nix-env (Nix) 2.3
"nixpkgs-20.03pre194957.bef773ed53f"
Maintainer information:
The text was updated successfully, but these errors were encountered: