summaryrefslogtreecommitdiff
path: root/Biz
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2023-08-04 09:43:55 -0400
committerBen Sima <ben@bsima.me>2023-08-07 14:03:36 -0400
commit17ee23fa91f300b4b09b935aa65ec6593d7949b8 (patch)
tree52a6a6caacd1fedb5a78891df9c6f290239c4f19 /Biz
parent04a8fde0a37190e7fda10ddab90c102590a413c6 (diff)
Remove unneeded nix-instantiate arguments
Diffstat (limited to 'Biz')
-rw-r--r--Biz/Bild.hs2
-rw-r--r--Biz/Bild/Builder.nix2
2 files changed, 0 insertions, 4 deletions
diff --git a/Biz/Bild.hs b/Biz/Bild.hs
index 987e513..58a1b9c 100644
--- a/Biz/Bild.hs
+++ b/Biz/Bild.hs
@@ -857,8 +857,6 @@ nixBuild loud Target {..} =
argstr "packageSet" packageSet,
(argstr "langDeps" <| unwords <| map str <| Set.toList langdeps) <|> mempty,
argstr "name" <| str <| outname out,
- argstr "main" <| str path,
- argstr "mainIs" <| str <| Namespace.toHaskellModule namespace,
argstr "buildPhase" <| unwords
<| (Text.pack <| toNixFlag compiler) :
compilerFlags,
diff --git a/Biz/Bild/Builder.nix b/Biz/Bild/Builder.nix
index a0ed17c..9516ca1 100644
--- a/Biz/Bild/Builder.nix
+++ b/Biz/Bild/Builder.nix
@@ -3,8 +3,6 @@
, packageSet # name mapped to private.${packageSet}, e.g. 'ghcWith'
, langDeps ? null # list of deps (as a string), split and passed to packageSet
, name # exe name
-, main # entrypoint file
-, mainIs # entrypoint module name
, buildPhase
}:
with import (/. + root + "/Biz/Bild.nix") {};