Closed github-actions[bot] closed 11 months ago
we could collect all entries from cabal build-depends
(maybe through hsPkgs)
https://api.github.com/LovelaceAcademy/nix-templates/blob/0294d2f59bc09f1a21c1203b44e9fb3ac0970e02/hor-plutus/flake.nix#L35
''hor-plutus > $out''; script-check = pkgs.runCommand "script-check" { } ''cat ${script}; touch $out''; serve-docs = import ./nix/serve-docs.nix inputs context { inherit hsPkgs; # TODO transform additionalPkgs in excludePkgs to reduce boilerplate # we could collect all entries from cabal build-depends # (maybe through hsPkgs) additionalPkgs = [ # FIXME cardano-api doc is not building #"cardano-api" #"hor-plutus" ]; }; in { packages.default = hsPkgs.hor-plutus; packages.script = script; packages.serve-docs = serve-docs; devShells.default = hsPkgs.hor-plutus.env.overrideAttrs (attrs: { # TODO Extract GHC version from hsPkgs buildInputs = with pkgs.haskell.packages.ghc8107; attrs.buildInputs ++ [ serve-docs cabal-install #haskell-language-server ]; });
Closed in c399739d1aeaa1ace1b8759d9c32b4b56c1b66b9
we could collect all entries from cabal build-depends
(maybe through hsPkgs)
https://api.github.com/LovelaceAcademy/nix-templates/blob/0294d2f59bc09f1a21c1203b44e9fb3ac0970e02/hor-plutus/flake.nix#L35