Open xaverdh opened 3 years ago
It's not my idea and I don't like it very much either, but localSystem
is a new convention introduced some time ago by the cross-compiling infrastructure to make a distinction between the system that compiles and the intended target system.
Btw, it still seems to work in the latest stable release (20.09). I typically only directly aim for latest stable releases, not the master Nixpkgs, although I try to regularly sync in a while. (Main reason why I don't do it: master branches tend to change so much with incompatible changes that it's very hard to keep up)
I'll try and see if I can get the module in the NixOS repo fixed.
config.nixpkgs.localSystem
is used by Dysnomia to publish the target machine configuration to tell clients for which system architecture packages should be built for. It should correspond to the system
architecture of the NixOS deployment.
The
dysnomia
module (both the one from this repo, and the one in upstream nixpkgs, which is broken currently though) usesconfig.nixpkgs.localSystem
which is probably not a good idea (see https://github.com/NixOS/nixpkgs/issues/49765). What is the value oflocalSystem
used for anyway?