ce3e9e81b0f4c6639a768ba17e867b361502c425
Nixpkgs expects the `builtin.currentSystem` for POWER CPUs to be: `powerpc[64][le]-linux` But using `host_machine.cpu_family()` for the CPU part of the system string on POWER produces this instead: `ppc[64]-linux` So evaluating Nixpkgs errors out on: `error: Unknown CPU type: ppc64` To fix this, change `ppc` -> `powerpc` `ppc64` -> `powerpc64` and append `le` if `host_machine.endian() == 'little'`. I can't actually test this on hardware rn due to hitting a kernel bug on the host system when linking big things[1], but the approach here is similar to how it was fixed in cppnix[2][3], so it *should* be fine. [1] https://git.adelielinux.org/adelie/packages/-/issues/1315 [2] https://github.com/NixOS/nix/pull/13514 [3] https://github.com/NixOS/nix/pull/13520 Change-Id: Ib82839cdaf2198bf18b89e82caaa1217f88e11ed
Lix
Lix is an implementation of Nix, a powerful package management system for Linux and other Unix systems that makes package management reliable and reproducible.
Read more about us at https://lix.systems.
Installation
On Linux and macOS the easiest way to install Lix is to run the following shell command (as a user other than root):
$ curl -sSf -L https://install.lix.systems/lix | sh -s -- install
For systems that already have a Nix implementation installed, such as NixOS systems, read our install page
Building And Developing
See our Hacking guide in our manual for instruction on how to set up a development environment and build Lix from source.
Additional Resources
- The Lix reference manual:
- Our wiki
- Matrix - #space:lix.systems
License
Lix is released under LGPL-2.1-or-later.
Description
Working fork of Lix - carries the adaptive load-aware build-remote patch. Upstream: gerrit.lix.systems
92 MiB
Languages
C++
74.9%
Python
11.7%
Nix
6.1%
Shell
3.6%
Meson
2%
Other
1.6%