From f59cd4349c974c8ab7907b4852f5dc86ce4daeed Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Sat, 12 Oct 2024 16:29:05 +0200 Subject: add doc tests --- pkgs/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pkgs/default.nix (limited to 'pkgs') diff --git a/pkgs/default.nix b/pkgs/default.nix new file mode 100644 index 0000000..7dce871 --- /dev/null +++ b/pkgs/default.nix @@ -0,0 +1,17 @@ +{ sources ? import ../nix/sources.nix }: +(self: super: + let pkgs = self; in + { + haskell = super.haskell // { + packageOverrides = self: super: { + astore = self.callCabal2nix "astore" sources.json2sql { }; + autotypes = self.callCabal2nix "autotypes" ../autotypes { }; + backend = self.callCabal2nix "backend" ../backend { }; + cli = self.callCabal2nix "cli" ../cli { }; + common = self.callCabal2nix "common" ../common { }; + frontend = self.callCabal2nix "frontend" ../frontend { }; + sh = pkgs.haskell.lib.dontCheck (self.callCabal2nix "sh" sources.sh { }); + websockets = pkgs.haskell.lib.doJailbreak super.websockets; + }; + }; + }) -- cgit v1.2.3