nixpkgs/nixos/modules
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
..
config nixos/users-groups: Add dry mode 2021-09-07 10:30:42 +02:00
hardware nixos/nvidia: remove extra space 2021-09-01 08:57:33 -04:00
i18n/input-method nixos/fcitx5: autostart with xserver 2021-06-05 09:22:58 +08:00
installer lib/modules: add mkImageMediaOverride 2021-08-03 18:28:14 -05:00
misc nixos/documentation: expose manualPages 2021-09-07 11:13:32 +02:00
profiles NixOS AWS AMI: enable the serial console on ttyS0 2021-08-20 12:42:02 -04:00
programs nixos/git: init 2021-09-10 18:50:04 -04:00
security apparmor: Fix cups-client typo 2021-08-23 00:50:15 -07:00
services Merge pull request #136109 from john-consumable/master 2021-09-13 00:42:54 +02:00
system nixos/top-level: fix cross 2021-09-13 11:13:38 +00:00
tasks Merge pull request #132786 from helsinki-systems/feat/initrd-dm-cache 2021-09-08 18:19:41 +02:00
testing treewide: use perl.withPackages when possible 2021-03-31 21:35:37 +02:00
virtualisation NixOS/amazonImageZfs: init 2021-08-25 10:42:35 -04:00
module-list.nix Merge pull request #66415 from ToxicFrog/crossfire 2021-09-12 22:13:02 +02:00
rename.nix treewide: yank wicd as it is abandoned 2021-09-11 23:46:52 +02:00