-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
python312Packages.cramjam: 2.8.3 -> 2.9.1-unstable-2025-01-04 #381445
base: master
Are you sure you want to change the base?
Conversation
Thanks to @niklaskorz for helping me with the library linking. |
6850b47
to
8138080
Compare
buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv; | ||
buildInputs = [ | ||
c-blosc2 | ||
isa-l |
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.
isa-l | |
] ++ lib.optionals (stdenv.hostPlatform.system != "aarch64-darwin") [ | |
# broken on aarch64-darwin, but not on x86_64-darwin | |
isa-l |
# Do not build those libraries from source. Use the nixpkgs ones instead. | ||
maturinBuildFlags = [ | ||
"--features=use-system-blosc2-shared" | ||
"--features=use-system-isal-shared" |
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.
"--features=use-system-isal-shared" | |
] ++ lib.optionals (stdenv.hostPlatform.system != "aarch64-darwin") [ | |
"--features=use-system-isal-shared" |
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'm not sure that this feature can be disabled.
At least, this is not the way. This only says to isal-sys
to not compile isa-l
from source, but use the system version.
Removing this flag leads to the build.rs
script attempting to build isa-l
from source.
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.
Hm, ISA shouldn't be enabled by default if I read the Cargo.toml correctly. The ISA features are part of the experimental
feature set, not the default
: https://github.com/milesgranger/cramjam/blob/61564e7761e38e5ec55e7939ccd6a276c2c55d11/Cargo.toml#L17-L18
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.
As discussed in #378691, those are experimental/optional on master, so we could already disable them for the release version.
9317312
to
ef3cc08
Compare
ef3cc08
to
7cc9c19
Compare
7cc9c19
to
36acd90
Compare
In the end the |
|
Things done
Fix and update
cramjam
.Changelog: https://github.com/milesgranger/cramjam/releases/tag/v2.9.1
cc @veprbl
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.