buildFHSUserEnvBubblewrap: allow for non-x86 platforms
This commit is contained in:
parent
81ccb11016
commit
d6915ebb3f
1 changed files with 4 additions and 2 deletions
|
@ -22,8 +22,10 @@
|
|||
# /lib will link to /lib32
|
||||
|
||||
let
|
||||
is64Bit = stdenv.hostPlatform.parsed.cpu.bits == 64;
|
||||
isMultiBuild = multiPkgs != null && is64Bit;
|
||||
inherit (stdenv) is64Bit;
|
||||
|
||||
# use of glibc_multi is only supported on x86_64-linux
|
||||
isMultiBuild = multiPkgs != null && stdenv.isx86_64 && stdenv.isLinux;
|
||||
isTargetBuild = !isMultiBuild;
|
||||
|
||||
# list of packages (usually programs) which are only be installed for the
|
||||
|
|
Loading…
Reference in a new issue