diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-12-28 13:55:55 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-01-02 23:02:50 -0600 |
commit | 921a47bc922e4fdaf9e412d07adcd0ab3f311096 (patch) | |
tree | 832f6892f731bd378cf453745c323f79a62f41d3 /nixos/modules/installer/cd-dvd | |
parent | 35af6e36057cafbb30df684326803e9e54bb377e (diff) | |
download | nixlib-921a47bc922e4fdaf9e412d07adcd0ab3f311096.tar nixlib-921a47bc922e4fdaf9e412d07adcd0ab3f311096.tar.gz nixlib-921a47bc922e4fdaf9e412d07adcd0ab3f311096.tar.bz2 nixlib-921a47bc922e4fdaf9e412d07adcd0ab3f311096.tar.lz nixlib-921a47bc922e4fdaf9e412d07adcd0ab3f311096.tar.xz nixlib-921a47bc922e4fdaf9e412d07adcd0ab3f311096.tar.zst nixlib-921a47bc922e4fdaf9e412d07adcd0ab3f311096.zip |
treewide: remove cross assertions
sd-image-raspberrypi, sd-image-aarch64, and sd-image-armv7l-multiplatform can all be cross compiled now.
Diffstat (limited to 'nixos/modules/installer/cd-dvd')
3 files changed, 0 insertions, 21 deletions
diff --git a/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix b/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix index 087884348695..5f7194e92a36 100644 --- a/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix +++ b/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix @@ -15,13 +15,6 @@ in ./sd-image.nix ]; - assertions = lib.singleton { - assertion = pkgs.stdenv.hostPlatform.system == "aarch64-linux" - && pkgs.stdenv.hostPlatform.system == pkgs.stdenv.buildPlatform.system; - message = "sd-image-aarch64.nix can be only built natively on Aarch64 / ARM64; " + - "it cannot be cross compiled"; - }; - boot.loader.grub.enable = false; boot.loader.generic-extlinux-compatible.enable = true; diff --git a/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix b/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix index 8f3600d36857..71448f74c361 100644 --- a/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix +++ b/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix @@ -15,13 +15,6 @@ in ./sd-image.nix ]; - assertions = lib.singleton { - assertion = pkgs.stdenv.hostPlatform.system == "armv7l-linux" - && pkgs.stdenv.hostPlatform.system == pkgs.stdenv.buildPlatform.system; - message = "sd-image-armv7l-multiplatform.nix can be only built natively on ARMv7; " + - "it cannot be cross compiled"; - }; - boot.loader.grub.enable = false; boot.loader.generic-extlinux-compatible.enable = true; diff --git a/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix b/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix index 8a27ac4504e2..96e06670694e 100644 --- a/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix +++ b/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix @@ -15,13 +15,6 @@ in ./sd-image.nix ]; - assertions = lib.singleton { - assertion = pkgs.stdenv.hostPlatform.system == "armv6l-linux" - && pkgs.stdenv.hostPlatform.system == pkgs.stdenv.buildPlatform.system; - message = "sd-image-raspberrypi.nix can be only built natively on ARMv6; " + - "it cannot be cross compiled"; - }; - boot.loader.grub.enable = false; boot.loader.generic-extlinux-compatible.enable = true; |