Conversation
|
Could you instead replace go-piv with go-piv/piv-go@8032767 (latest iteration of the PR? That should remove all sort of darwin-conditional code.
|
|
I tried writing |
|
@flokli @rawkode unfortunately the conditional is still needed. I tried compiling latest go-piv/piv-go#75 unconditionally on darwin and got: it looks like the |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/using-go-mod-edit-in-packages/8305/1 |
2495824 to
55053e1
Compare
|
@flokli @rawkode I've updated this PR to pull in the latest go-piv/piv-go#75, now that that has been fixed. This allowed me to remove the conditional. I've tested locally on NixOS and macOS and both compile successfully. Please re-review. |
Mea culpa: in NixOS#92936, I did originally test on macOS but I forgot to retest after adding the piv-go patch. Unfortunately, the piv-go patch is broken on macOS (but fortunately it is unnecessary).
55053e1 to
df82f41
Compare
|
urgh, my git fu is broken here :( seems I pushed a weird commit somehow which broke everything. Apologies for the mass notification 😞 I'll open a new PR once I've worked out what I'm doing again. |
Mea culpa: in #92936, I did originally test on macOS but I forgot to
retest after adding the piv-go patch. Unfortunately, the piv-go patch
is broken on macOS (but fortunately it is unnecessary).
Motivation for this change
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)