From 17ee23fa91f300b4b09b935aa65ec6593d7949b8 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 4 Aug 2023 09:43:55 -0400 Subject: Remove unneeded nix-instantiate arguments --- Biz/Bild.hs | 2 -- Biz/Bild/Builder.nix | 2 -- 2 files changed, 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") {}; -- cgit v1.2.3