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
darwin: fixes #36581
darwin: fixes #36581
Conversation
@@ -12273,7 +12273,9 @@ with pkgs; | |||
knot-dns = callPackage ../servers/dns/knot-dns { }; | |||
knot-resolver = callPackage ../servers/dns/knot-resolver { | |||
# TODO: vimNox after it gets fixed on Darwin or something lighter | |||
hexdump = if stdenv.isLinux then utillinux.bin else vim/*xxd*/; | |||
hexdump = if stdenv.isLinux then utillinux.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.
perhaps we should make this an actual top-level alias?
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.
👍 for this. I believe it would work fine to just move this to top-level.
Oddly enough "vim" doesn't actually provide hexdump anymore (did it ever?). We do have an "xxd" derivation as well.
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 think some of the bitcoin derivations also need hexdump
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.
Yeah, maybe this build falls back to xxd or something.
substituteInPlace shell_cmds.xcodeproj/project.pbxproj \ | ||
--replace "FCBA168714A146D000AA698B /* PBXTargetDependency */," "" \ | ||
--replace "FCBA165914A146D000AA698B /* PBXTargetDependency */," "" \ | ||
--replace "FCBA169514A146D000AA698B /* PBXTargetDependency */," "" | ||
--replace "FCBA169514A146D000AA698B /* PBXTargetDependency */," "" \ | ||
--replace "FCBA165514A146D000AA698B /* PBXTargetDependency */," "" |
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.
Nice! Could you also take a look at network_cmds?
@@ -58,7 +58,7 @@ stdenv.mkDerivation rec { | |||
''; | |||
|
|||
license = licenses.lgpl2; | |||
platforms = platforms.unix; | |||
platforms = platforms.linux; |
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.
hexdump wasn't enough to get this working?
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.
Nope, it breaks on "gdk/gdkx.h" file not found. Looks like it's since been fixed but no release has come out: naihe2010/apvlv@6848252
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.
hmm, maybe I'm confusing it with another package then. 😄
Fixed network_cmds. Should be ready to merge. |
@GrahamcOfBorg build darwin.shell_cmds darwin.network_cmds |
Failure on x86_64-linux (full log) Partial log (click to expand)
|
Failure on aarch64-linux (full log) Partial log (click to expand)
|
Success on x86_64-darwin (full log) Partial log (click to expand)
|
Motivation for this change
ZHF fixes
/cc @LnL7
see issue #36454