-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
edk2-uefi-shell: fix build when sandboxing is disabled on x86_64-darwin #201095
Conversation
Result of 1 package built:
|
Still working on linux, can't test darwin change but it makes sense. |
@ofborg build edk2-uefi-shell |
I ran
Result of 1 package built:
|
x86_64-darwin:
|
I’m not able to reproduce the failure on either my aarch64-darwin machine under Rosetta 2 or on a native x86_64-darwin machine. I even deleted Xcode from the other machine to make sure it wasn’t being picked up accidentally when sandboxing is disabled. OfBorg shows both a failing build and a succeeding one. |
@ofborg build edk2-uefi-shell |
I'm definitely out of my depth here but would it make sense to merge this as is and see what happens on hydra, in case the ofborg fails are not going to happen there? |
I wish I understood why OfBorg was failing in one case but not the other. I’m fine with merging and seeing what happens, though I suppose that’s not exactly a great practice. |
This sounds like an improvement to purity at least (when sandboxing is off). |
... and fixed on Hydra: https://hydra.nixos.org/job/nixpkgs/trunk/edk2-uefi-shell.x86_64-darwin/all |
Description of changes
The build still fails on Hydra because sandboxing is disabled. This is due to the build system’s trying to use the system-provided Python 3, which requires Xcode. Specify the path to the nixpkg Python 3, so that doesn’t happen.
ZHF: #199919
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes