From 28ed4e2666893ae77bd0dccd47b696dc26b53123 Mon Sep 17 00:00:00 2001 From: jared <> Date: Fri, 2 Feb 2024 19:03:36 -0700 Subject: [PATCH 1/2] Added `pkgsForCtl` to `perSystem` `_module.args` --- pkgs.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pkgs.nix b/pkgs.nix index d601bb4..05f5e4d 100644 --- a/pkgs.nix +++ b/pkgs.nix @@ -8,6 +8,19 @@ inherit system; }; + # TODO(bladyjoker): If we use recent nixpkgs we get: `error: nodejs_14 has been removed as it is EOL`. That's why we use CTL's old nixpkgs. + pkgsForCtl = import inputs.ctl.inputs.nixpkgs { + inherit system; + inherit (inputs.haskell-nix) config; + overlays = [ + inputs.haskell-nix.overlay + inputs.iohk-nix.overlays.crypto + inputs.iohk-nix.overlays.haskell-nix-crypto + inputs.ctl.overlays.purescript + inputs.ctl.overlays.spago + ]; + }; + # TODO(bladyjoker): haskell.nix is brittle on its nixpkgs, and tends to break stuff for us, so we instantiate haskell.nix nixpkgs specifically. For example https://github.com/Plutonomicon/plutarch-plutus/pull/624 pkgsForHaskellNix = import inputs.haskell-nix.inputs.nixpkgs { inherit system; From 9e94143dd432b8a217af0d3ce1cc7b501c1990d8 Mon Sep 17 00:00:00 2001 From: jared <> Date: Fri, 2 Feb 2024 19:18:53 -0700 Subject: [PATCH 2/2] Removed missing documentation attributes from PureScript --- flake-lang/flake-purescript.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flake-lang/flake-purescript.nix b/flake-lang/flake-purescript.nix index ca59514..d626d1c 100644 --- a/flake-lang/flake-purescript.nix +++ b/flake-lang/flake-purescript.nix @@ -25,8 +25,9 @@ let browserRuntime = false; }; - "purescript:${projectName}:docs" = purs.buildPursDocs { }; - "purescript:${projectName}:docs-search" = purs.buildSearchablePursDocs { }; + # FIX(https://github.com/Plutonomicon/cardano-transaction-lib/issues/1578) + # "purescript:${projectName}:docs" = purs.buildPursDocs { }; + # "purescript:${projectName}:docs-search" = purs.buildSearchablePursDocs { }; }; checks = {