mkDerivation mesonFlags: Fix arm cpu families
In my haste to unbreak eval, I screwed up and got the bit-widths, backwards.
This commit is contained in:
parent
38b084f621
commit
05d26adb0a
1 changed files with 2 additions and 2 deletions
|
@ -257,8 +257,8 @@ in rec {
|
||||||
mesonFlags = if mesonFlags == null then null else let
|
mesonFlags = if mesonFlags == null then null else let
|
||||||
# See https://mesonbuild.com/Reference-tables.html#cpu-families
|
# See https://mesonbuild.com/Reference-tables.html#cpu-families
|
||||||
cpuFamily = platform: with platform;
|
cpuFamily = platform: with platform;
|
||||||
/**/ if isAarch64 then "arm"
|
/**/ if isAarch32 then "arm"
|
||||||
else if isAarch32 then "aarch64"
|
else if isAarch64 then "aarch64"
|
||||||
else if isx86_32 then "x86"
|
else if isx86_32 then "x86"
|
||||||
else if isx86_64 then "x86_64"
|
else if isx86_64 then "x86_64"
|
||||||
else platform.parsed.cpu.family + builtins.toString platform.parsed.cpu.bits;
|
else platform.parsed.cpu.family + builtins.toString platform.parsed.cpu.bits;
|
||||||
|
|
Loading…
Reference in a new issue