apropos-tx setup

This commit is contained in:
Emily Martins 2022-03-09 19:32:13 +01:00
parent b9094499ff
commit 5bae354268
17 changed files with 695 additions and 54 deletions

View file

@ -4,6 +4,12 @@
inputs.nixpkgs.follows = "plutarch/nixpkgs";
inputs.haskell-nix.follows = "plutarch/haskell-nix";
# https://github.com/mlabs-haskell/apropos-tx/pull/28
inputs.apropos-tx.url =
"github:mlabs-haskell/apropos-tx?rev=5b74ba897a6f02718c163bf588a08c5e3e9de204";
inputs.apropos-tx.inputs.nixpkgs.follows =
"plutarch/haskell-nix/nixpkgs-unstable";
# temporary fix for nix versions that have the transitive follows bug
# see https://github.com/NixOS/nix/issues/6013
inputs.nixpkgs-2111 = { url = "github:NixOS/nixpkgs/nixpkgs-21.11-darwin"; };
@ -40,10 +46,16 @@
src = ./.;
compiler-nix-name = ghcVersion;
inherit (plutarch) cabalProjectLocal;
extraSources = plutarch.extraSources ++ [{
src = inputs.plutarch;
subdirs = [ "." "plutarch-benchmark" ];
}];
extraSources = plutarch.extraSources ++ [
{
src = inputs.plutarch;
subdirs = [ "." "plutarch-benchmark" ];
}
{
src = inputs.apropos-tx;
subdirs = [ "." ];
}
];
modules = [ (plutarch.haskellModule system) ];
shell = {
withHoogle = true;
@ -69,6 +81,7 @@
ps.plutarch
ps.plutarch-benchmark
ps.tasty-quickcheck
ps.apropos-tx
];
};
};