Closed 9ary closed 1 year ago
There really is no /etc/os-release? That sounds... fishy?
It exists at runtime, but isn't present in the build environment. This is probably related to purity.
Okay, I don't know nixos, but np, we can merge this. But the next question is: there really is no arch specific pkg-config?
Indeed, the way multilib works on nixos is different from most other distros. Each package is installed to a dedicated prefix in the nix store, with a hash in the path. This allows multiple versions and builds of the same package to coexist, so the 32 bit packages are just those from the 32 bit distribution. The 32 and 64 bit variants of nine are built as separate packages. At build time, packages for only one architecture will be available so there is no need to discriminate between the 32 bit and 64 bit pkg-config.
Alright, thanks for the patches!
I'm packaging this project for NixOS.
https://github.com/NixOS/nixpkgs/pull/220853