summaryrefslogtreecommitdiff
path: root/Biz/Bild.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Bild.hs')
-rw-r--r--Biz/Bild.hs5
1 files changed, 0 insertions, 5 deletions
diff --git a/Biz/Bild.hs b/Biz/Bild.hs
index 35ba7f0..2526395 100644
--- a/Biz/Bild.hs
+++ b/Biz/Bild.hs
@@ -265,7 +265,6 @@ build target@Target {..} = do
putText <| show target
Nix -> do
putText <| "bild: nix: " <> Text.pack namespace
- cwd <- Dir.getCurrentDirectory
let outDir = root </> "_/bild/nix"
Dir.createDirectoryIfMissing True outDir
putText <| "bild: nix: remote: " <> Text.pack builder
@@ -302,10 +301,6 @@ metaDep = Regex.string "-- : dep " *> Regex.many (Regex.psym Char.isAlpha)
metaOut :: Regex.RE Char Out
metaOut = Regex.string "-- : out " *> Regex.many (Regex.psym (/= ' '))
-require :: Text -> Maybe a -> a
-require _ (Just x) = x
-require s Nothing = panic <| s <> " not found"
-
-- | Replace 'a' in 's' with 'b'.
reps :: String -> String -> String -> String
reps a b s@(x : xs) =