buildFHSEnv: fix cross compilation

rootfs-builder is executed at build time and thus needs to be
built for the build machine architecture.
This commit is contained in:
Stefan Frijters 2024-11-30 10:58:50 +01:00
parent 08ae948608
commit 8a667a5213
No known key found for this signature in database
GPG Key ID: 7619A6BC6E7DFA6F

View File

@ -174,7 +174,7 @@ let
allPaths = paths ++ paths32;
rootfs-builder = pkgs.rustPlatform.buildRustPackage {
rootfs-builder = pkgs.buildPackages.rustPlatform.buildRustPackage {
name = "fhs-rootfs-bulder";
src = ./rootfs-builder;
cargoLock.lockFile = ./rootfs-builder/Cargo.lock;