summaryrefslogtreecommitdiff
path: root/Biz/Bild.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-04-15 20:23:35 -0400
committerBen Sima <ben@bsima.me>2021-11-26 13:47:15 -0500
commit7870a19fa4de5a478aec7e071f18cdaaefe7d5f4 (patch)
tree4cd20ef0cef7f5a7559aefc4d1e6b102cca821b3 /Biz/Bild.hs
parent9975f0541df53c0aa4de16d70e8149e00d3973d1 (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/Bild.hs')
-rw-r--r--Biz/Bild.hs12
1 files changed, 0 insertions, 12 deletions
diff --git a/Biz/Bild.hs b/Biz/Bild.hs
index eee7eb4..cba6539 100644
--- a/Biz/Bild.hs
+++ b/Biz/Bild.hs
@@ -440,18 +440,6 @@ build andTest loud Target {..} = do
[ path,
"-o",
outDir </> Namespace.toPath namespace,
- -- Set default arguments to nix functions
- "--arg",
- "bild",
- "import " <> root
- </> "Biz/Bild/Rules.nix"
- <> " { nixpkgs = import "
- <> root
- </> "Biz/Bild/Nixpkgs.nix"
- <> "; }",
- "--arg",
- "lib",
- "(import " <> root </> "Biz/Bild/Nixpkgs.nix).lib",
"--builders",
Text.unpack builder
]