3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos
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
..
doc Merge pull request #136109 from john-consumable/master 2021-09-13 00:42:54 +02:00
lib nixos/make-zfs-image: init 2021-08-25 10:42:35 -04:00
maintainers amazon images: extend the image-info.json to have a disks object 2021-08-25 10:42:35 -04:00
modules nixos/top-level: fix cross 2021-09-13 11:13:38 +00:00
tests nixos/kernel: add 5.14 to kernel test-suite 2021-09-12 22:43:46 +02:00
COPYING
default.nix
README
release-combined.nix
release-small.nix
release.nix NixOS/amazonImageZfs: init 2021-08-25 10:42:35 -04:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.