-
-
Notifications
You must be signed in to change notification settings - Fork 12.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
libconfig: fix static windows build #120973
Conversation
Result of 4 packages marked as broken and skipped:
4 packages skipped due to time constraints:
45 packages built successfully:
1 suggestion:
Result of 3 packages marked as broken and skipped:
14 packages skipped due to time constraints:
53 packages built successfully:
1 suggestion:
|
Usually we override an input if we want to disable a testing. |
So, like adding an input |
I changed it to take in a |
I marked this as stale due to inactivity. → More info |
This is still ready to merge I think. |
@Radvendii merge conflict |
Fixed. It's actually a simpler change now, since my upstream patch has been accepted, and the nixpkgs version has been bumped |
Motivation for this change
when building statically for windows, libconfig tests fail to build. This disables them in that situation.
I feel like this is a lot of tweaking for an edge case, and it seems ugly and hard to follow sprinkled throughout the derivation. Is there a canonical way to change a bunch of stuff based on one conditional all in once place? I can imagine using something like
But I've never seen such a thing in a derivation before, so I don't know.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)