nixpkgs/nixos/modules/system
Alyssa Ross 0f279e2e0c nixos/top-level: fix cross
When cross-compiling, we can't run the runtime shell to check syntax
if it's e.g. for a different architecture.  We have two options here.
We can disable syntax checking when cross compiling, but that risks
letting errors through.  Or, we can do what I've done here, and change
the syntax check to use stdenv's shell instead of the runtime shell.
This requires the stdenv shell and runtime shell to be broadly
compatible, but I think that's so ingrained in Nixpkgs anyway that
it's fine.  And this way we avoid conditionals that check for cross.
2021-09-13 11:13:38 +00:00
..
activation nixos/top-level: fix cross 2021-09-13 11:13:38 +00:00
boot kexec-tools: rename from kexectools to match the project name 2021-09-03 10:17:21 -04:00
etc nixos/etc: make sure local "source" files are imported to the store 2021-09-02 15:50:44 +02:00