Closed 573 closed 3 years ago
I'm using your overlay and patch for qemu.
What I'm trying to achieve by that is to add aarch64 via binfmt in a nixos-shell.
There is one change I made having removed the --disable-bluez flag from the overlays/qemu/qemu/default.nix
--disable-bluez
overlays/qemu/qemu/default.nix
I am getting
@nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/n8f0bgsj6dmwxq1nycfibc45vd1pry92-qemu-5.1.0.tar.xz source root is qemu-5.1.0 setting SOURCE_DATE_EPOCH to timestamp 1597177478 of file qemu-5.1.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/util/unlocal_shlib.com.in @nix { "action": "setPhase", "phase": "patchPhase" } patching sources applying patch /nix/store/330l50p02jakdlxbbv8bkvqqg1zjpjfb-qemu-stack.patch patching file linux-user/elfload.c Hunk #1 succeeded at 1741 (offset 322 lines). @nix { "action": "setPhase", "phase": "configurePhase" } configuring configure flags: --disable-dependency-tracking --prefix=/nix/store/9g3v9fgcqcmwxiw1r6qpnid1gsd0748m-qemu-user-aarch64-3.1.0 --enable-linux-user --target-list=aarch64-linux-user --disable-bsd-user --disable-system --disable-vnc --disable-curses --disable-sdl --disable-vde --disable-kvm --static --disable-tools --cpu=x86_64 ERROR: Cannot use '/nix/store/5r503z502ign3045p957svdajs574fny-python-2.7.18/bin/python', Python >= 3.5 is required. Use --python=/path/to/python to specify a supported Python.
@nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/n8f0bgsj6dmwxq1nycfibc45vd1pry92-qemu-5.1.0.tar.xz source root is qemu-5.1.0 setting SOURCE_DATE_EPOCH to timestamp 1597177478 of file qemu-5.1.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/util/unlocal_shlib.com.in @nix { "action": "setPhase", "phase": "patchPhase" } patching sources applying patch /nix/store/330l50p02jakdlxbbv8bkvqqg1zjpjfb-qemu-stack.patch patching file linux-user/elfload.c Hunk #1 succeeded at 1741 (offset 322 lines). @nix { "action": "setPhase", "phase": "configurePhase" } configuring configure flags: --disable-dependency-tracking --prefix=/nix/store/9g3v9fgcqcmwxiw1r6qpnid1gsd0748m-qemu-user-aarch64-3.1.0 --enable-linux-user --target-list=aarch64-linux-user --disable-bsd-user --disable-system --disable-vnc --disable-curses --disable-sdl --disable-vde --disable-kvm --static --disable-tools --cpu=x86_64
ERROR: Cannot use '/nix/store/5r503z502ign3045p957svdajs574fny-python-2.7.18/bin/python', Python >= 3.5 is required. Use --python=/path/to/python to specify a supported Python.
Also in overlays/qemu/qemu/default.nix use python3 instead of python.
I'm using your overlay and patch for qemu.
What I'm trying to achieve by that is to add aarch64 via binfmt in a nixos-shell.
There is one change I made having removed the
--disable-bluez
flag from theoverlays/qemu/qemu/default.nix
I am getting