-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
git-trim: add missing zlib dependency #369536
Conversation
@@ -46,6 +47,7 @@ rustPlatform.buildRustPackage rec { | |||
IOKit | |||
CoreFoundation | |||
Security | |||
zlib |
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.
#369535 (comment). can make zlib unconditional ( and drop IOKit CoreFoundation and Security -- they are no-ops now as they are part of the stdenv)
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.
ah cool! will fixup - thanks for the callouts!
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.
When removing Security
from the top level attrset, i get an error in eval - i guess because this is invoked with
git-trim = darwin.apple_sdk_11_0.callPackage ../applications/version-management/git-trim {...}
in all-packages.nix
- is that something i should swap out for the main callPackage
now?
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've made this ^ change and made sure it built
cb25130
to
fad39b5
Compare
fad39b5
to
c05c30a
Compare
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.
LGTM built on x64 linux and aarch64-darwin
Similar to #366745, there appears to be a missing
zlib
dep for this package on darwin. Adding this allows the build to succeed again!Things done
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.