fix(common): don't coerce nix to build broken stuff
This commit is contained in:
parent
57cf954dd4
commit
8c9b27dc1b
2 changed files with 7 additions and 3 deletions
|
|
@ -29,6 +29,7 @@
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
formatter.${system} = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style;
|
formatter.${system} = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style;
|
||||||
|
|
||||||
packages.${system} = lib.genAttrs isos (
|
packages.${system} = lib.genAttrs isos (
|
||||||
iso:
|
iso:
|
||||||
(lib.nixosSystem {
|
(lib.nixosSystem {
|
||||||
|
|
|
||||||
|
|
@ -29,10 +29,13 @@
|
||||||
git
|
git
|
||||||
python3
|
python3
|
||||||
dmg2img
|
dmg2img
|
||||||
(pkgs.callPackage ./pkgs/firmware-script.nix { })
|
(callPackage ./pkgs/firmware-script.nix { })
|
||||||
];
|
];
|
||||||
|
|
||||||
# ZFS is (sometimes) broken and prevents building without this
|
# Don't actually let broken stuff sneak into the ISO. If ZFS breaks, it actually breaks building the kernel (module)
|
||||||
nixpkgs.config.allowBroken = true;
|
# 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
|
nixpkgs.hostPlatform = "x86_64-linux"; # t2 is x86_64-linux only
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue