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 = { 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;