-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
podman: includes missing edk2-aarch64-code.fd on aarch64-darwin #163015
Conversation
966eb14
to
24d04d8
Compare
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.
No, we don't want to carry patches for this.
Lets get this fixed upsteam.
@@ -74,6 +83,9 @@ buildGoModule rec { | |||
PREFIX=$out make install.completions | |||
MANDIR=$man/share/man make install.man | |||
runHook postInstall | |||
'' + lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) '' | |||
mkdir $out/share/qemu | |||
ln -s ${qemu}/share/qemu/edk2-aarch64-code.fd $out/share/qemu |
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.
This would be done by adding it to the symlinkJoin in the wrapper anyway.
Not carrying patches has been discussed previously. Thanks anyway for the PR. |
@zowoq Ok. So is there another solution/approach to this problem? |
Sorry, I responded to your comment on my issue in the upstream repo but I must have accidentally cleared this notification at the same time.
That we want to have in the nixpkgs repo today, no. A few points:
So while I appreciate that you're trying to fix what seems a relatively simple problem, long term maintainability is a significant concern. |
Fixes containers#17026 Fixes NixOS/nixpkgs#169118 [NO NEW TESTS NEEDED] Related: NixOS/nixpkgs#163015 Signed-off-by: Nathan Henrie <[email protected]>
Fixes containers#17026 Fixes NixOS/nixpkgs#169118 [NO NEW TESTS NEEDED] Related: NixOS/nixpkgs#163015 Signed-off-by: Nathan Henrie <[email protected]>
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/out-share-linked-with-nix-profile-install-but-not-otherwise/27561/1 |
Motivation for this change
Podman on aarch64-darwin needs the
edk2-aarch64-code.fd
file to create the vm with qemu. This pr patches thegetEdk2CodeFd
function to find theedk2-aarch64-code.fd
file under$out/share/qemu
.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