diff --git a/flake.nix b/flake.nix index 9008567..8ed35c1 100644 --- a/flake.nix +++ b/flake.nix @@ -29,6 +29,7 @@ in { formatter.${system} = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style; + packages.${system} = lib.genAttrs isos ( iso: (lib.nixosSystem { diff --git a/nix/common.nix b/nix/common.nix index f2c78e1..984b948 100644 --- a/nix/common.nix +++ b/nix/common.nix @@ -29,10 +29,13 @@ git python3 dmg2img - (pkgs.callPackage ./pkgs/firmware-script.nix { }) + (callPackage ./pkgs/firmware-script.nix { }) ]; - # ZFS is (sometimes) broken and prevents building without this - nixpkgs.config.allowBroken = true; + # Don't actually let broken stuff sneak into the ISO. If ZFS breaks, it actually breaks building the kernel (module) + # due to an upstream check and this wouldn't do anything to stop that from happening. + ## ZFS is (sometimes) broken and prevents building without this + ## nixpkgs.config.allowBroken = true; + nixpkgs.hostPlatform = "x86_64-linux"; # t2 is x86_64-linux only }