Merge pull request #132047 from Mic92/build-fhs-userenv

build-fhs-userenv: fix defaults on aarch64

authored by Jörg Thalheim and committed by GitHub 0c093cc4 00486ec9

+8 -4
+8 -4
pkgs/build-support/build-fhs-userenv/env.nix
··· 1 { stdenv, buildEnv, writeText, pkgs, pkgsi686Linux }: 2 3 - { name, profile ? "" 4 - , targetPkgs ? pkgs: [], multiPkgs ? pkgs: [] 5 - , extraBuildCommands ? "", extraBuildCommandsMulti ? "" 6 , extraOutputsToInstall ? [] 7 }: 8 ··· 23 24 let 25 is64Bit = stdenv.hostPlatform.parsed.cpu.bits == 64; 26 - isMultiBuild = multiPkgs != null && is64Bit; 27 isTargetBuild = !isMultiBuild; 28 29 # list of packages (usually programs) which are only be installed for the
··· 1 { stdenv, buildEnv, writeText, pkgs, pkgsi686Linux }: 2 3 + { name 4 + , profile ? "" 5 + , targetPkgs ? pkgs: [] 6 + , multiPkgs ? pkgs: [] 7 + , extraBuildCommands ? "" 8 + , extraBuildCommandsMulti ? "" 9 , extraOutputsToInstall ? [] 10 }: 11 ··· 26 27 let 28 is64Bit = stdenv.hostPlatform.parsed.cpu.bits == 64; 29 + # multi-lib glibc is only supported on x86_64 30 + isMultiBuild = multiPkgs != null && stdenv.hostPlatform.system == "x86_64-linux"; 31 isTargetBuild = !isMultiBuild; 32 33 # list of packages (usually programs) which are only be installed for the