From 89bb784f3df73e6e849314922579b97492660920 Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 5 Aug 2023 09:40:36 +0000 Subject: [PATCH] cross: fix emulateBuilder to use build bash in the vmRunCommand --- overlays/cross.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlays/cross.nix b/overlays/cross.nix index 34744cb6..7eb1b57f 100644 --- a/overlays/cross.nix +++ b/overlays/cross.nix @@ -89,7 +89,7 @@ let # so hack its components into something which *does* handle cross compilation lib.overrideDerivation binfmtDeriv ({ builder, args, ... }: { builder = "${final.buildPackages.bash}/bin/sh"; - args = ["-e" (final.vmTools.vmRunCommand qemuCommandLinux)]; + args = ["-e" (final.buildPackages.vmTools.vmRunCommand qemuCommandLinux)]; # orig{Builder,Args} gets used by the vmRunCommand script: origBuilder = builder; origArgs = args;