1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 06:52:43 +01:00

treewide: Fix Meson CPU names for powerpc CPUs

This commit is contained in:
OPNA2608 2025-07-21 19:03:49 +02:00
parent 7e184bbc29
commit 6db6190002
5 changed files with 17 additions and 2 deletions

View file

@ -21,10 +21,12 @@ configdata_priv = configuration_data()
# TODO rename, because it will conflict with downstream projects
configdata_priv.set_quoted('PACKAGE_VERSION', meson.project_version())
subdir('nix-meson-build-support/default-system-cpu')
# Used in public header.
configdata_pub.set_quoted(
'NIX_LOCAL_SYSTEM',
host_machine.cpu_family() + '-' + host_machine.system(),
nix_system_cpu + '-' + host_machine.system(),
description :
'This is the system name Nix expects for local running instance of Nix.\n\n'
+ 'See the "system" setting for additional details',