Skip to content

Commit 3c8b2db

Browse files
committed
Add haskell package to flake outputs
1 parent dccc0ce commit 3c8b2db

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,14 @@
8686
in
8787
nixpkgs.stdenv.mkDerivation (args // default);
8888

89+
hs-src = nixpkgs.callPackage ./build-tools/nix/hs-src.nix { inherit mkDerivation; };
90+
91+
cardano-ledger-executable-spec = pkgs.haskell.lib.compose.disableLibraryProfiling (
92+
nixpkgs.haskellPackages.callCabal2nix "cardano-ledger-executable-spec" "${hs-src}/hs" { }
93+
);
94+
8995
pkgs = {
90-
inherit formal-ledger;
91-
hs-src = nixpkgs.callPackage ./build-tools/nix/hs-src.nix { inherit mkDerivation; };
96+
inherit formal-ledger hs-src cardano-ledger-executable-spec;
9297
html = nixpkgs.callPackage ./build-tools/nix/html.nix { inherit mkDerivation; };
9398
mkdocs = nixpkgs.callPackage ./build-tools/nix/mkdocs.nix {
9499
inherit (nixpkgs.stdenv) mkDerivation;

0 commit comments

Comments
 (0)