From cc6aac612e36da3c9b9b4e47fc16ed512a79f2d9 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 17 Aug 2023 17:28:03 -0400 Subject: Nixify rust build Not getting deps yet but thats okay, I basically need to do a bunch of annoying nix work to get rustPackages into a thing like pythonPackages. --- Biz/Namespace.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'Biz/Namespace.hs') diff --git a/Biz/Namespace.hs b/Biz/Namespace.hs index 8cc6b5c..c811554 100644 --- a/Biz/Namespace.hs +++ b/Biz/Namespace.hs @@ -90,6 +90,7 @@ toModule :: Namespace -> String toModule (Namespace parts Hs) = joinWith "." parts toModule (Namespace parts Py) = joinWith "." parts toModule (Namespace parts Scm) = "(" ++ joinWith " " parts ++ ")" +toModule (Namespace parts Rs) = joinWith "::" parts toModule (Namespace {..}) = panic <| "toModule not implemented for " <> show ext toHaskellModule :: Namespace -> String -- cgit v1.2.3