diff options
author | Ben Sima <ben@bsima.me> | 2021-04-15 20:23:35 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-11-26 13:47:15 -0500 |
commit | 7870a19fa4de5a478aec7e071f18cdaaefe7d5f4 (patch) | |
tree | 4cd20ef0cef7f5a7559aefc4d1e6b102cca821b3 /Biz/Que/Prod.nix | |
parent | 9975f0541df53c0aa4de16d70e8149e00d3973d1 (diff) |
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.
Diffstat (limited to 'Biz/Que/Prod.nix')
-rw-r--r-- | Biz/Que/Prod.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Biz/Que/Prod.nix b/Biz/Que/Prod.nix index 12da1eb..70272ae 100644 --- a/Biz/Que/Prod.nix +++ b/Biz/Que/Prod.nix @@ -1,4 +1,6 @@ -{ bild, lib }: +{ bild ? import ../Bild/Rules.nix {} +, nixpkgs ? import ../Bild/Nixpkgs.nix +}: # The production server for que.run @@ -31,7 +33,7 @@ bild.os { defaultGateway = "157.245.224.1"; defaultGateway6 = "2604:a880:2:d1::1"; dhcpcd.enable = false; - usePredictableInterfaceNames = lib.mkForce true; + usePredictableInterfaceNames = nixpkgs.lib.mkForce true; interfaces = { eth0 = { ipv4.addresses = [ |