-
-
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
libredirect: fix on darwin #144653
libredirect: fix on darwin #144653
Conversation
I think the macros are fine (or at least I've seen much uglier macros), and I haven't found any new failures on macos 10.15 & nixos x86_64. I had to look up why the |
I ran
|
Result of 12 packages failed to build:
29 packages built:
|
DYLD_FORCE_FLAT_NAMESPACE was removed in recent versions of macOS.
4c3ba67
to
e12ecec
Compare
@siraben The commit before this also fails for me, but was cached. Were you testing with Both fixes in this PR are for issues caused by newer macOS versions. I expect the cached build was produced on an older macOS builder.
I think this is fine? Guessing these are new failures in packages now unblocked.
@risicle Added a comment and rebased the PR. 👍 |
Result of 40 packages failed to build:
1 package built:
|
With Result of 16 packages failed to build:
25 packages built:
|
I think those failing packages are also out of scope here? I tried a few builds, and found some test failures that don't seem related to libredirect, but correct me if I'm wrong. |
Sorry I should have been more clear, I meant the injection of the extra |
e12ecec
to
7acc0e0
Compare
Oh duh, that makes a lot more sense. Fixed again and rebased. 😅 |
Motivation for this change
ZHF: #144627
@NixOS/nixos-release-managers
Fixes: #141811
Also fixes an issue that may be new on macOS 11 or 12 where
DYLD_FORCE_FLAT_NAMESPACE
was removed. In this case, all tests failed, not justtest_subprocess
.I'm not sure if there is away to make the macros prettier, using maybe some magic syntax I don't know of. 🙂
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)