From 7870a19fa4de5a478aec7e071f18cdaaefe7d5f4 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 15 Apr 2021 20:23:35 -0400 Subject: Remove required nix arguments This allows us to use nix-build as a check that bild is working. I think bild sometimes hangs because it doesn't get input from nix-build? I'm not sure, but one workaround is to run nix-build on the target, and then bild will just get the cached build. --- Hero/Prod.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Hero/Prod.nix') diff --git a/Hero/Prod.nix b/Hero/Prod.nix index cc54f95..5b9dde4 100644 --- a/Hero/Prod.nix +++ b/Hero/Prod.nix @@ -1,4 +1,6 @@ -{ bild, lib }: +{ bild ? import ../Biz/Bild/Rules.nix {} +, nixpkgs ? import ../Biz/Bild/Nixpkgs.nix +}: # Production server for herocomics.app @@ -22,7 +24,7 @@ bild.os { defaultGateway = "138.68.40.1"; defaultGateway6 = ""; dhcpcd.enable = false; - usePredictableInterfaceNames = lib.mkForce true; + usePredictableInterfaceNames = nixpkgs.lib.mkForce true; interfaces = { eth0 = { ipv4.addresses = [ -- cgit v1.2.3