-
Notifications
You must be signed in to change notification settings - Fork 16
/
flake.nix
39 lines (36 loc) · 1.38 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
description = "plutus-simple-model";
nixConfig = {
# We don't use Recursive Nix yet.
extra-experimental-features = [ "nix-command" "flakes" "ca-derivations" "recursive-nix" ];
extra-substituters = [ "https://cache.iog.io" "https://public-plutonomicon.cachix.org" "https://mlabs.cachix.org" ];
extra-trusted-public-keys = [ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" "public-plutonomicon.cachix.org-1:3AKJMhCLn32gri1drGuaZmFrmnue+KkKrhhubQk/CWc=" ];
allow-import-from-derivation = "true";
bash-prompt = "\\[\\e[0m\\][\\[\\e[0;2m\\]nix \\[\\e[0;1m\\]psm \\[\\e[0;93m\\]\\w\\[\\e[0m\\]]\\[\\e[0m\\]$ \\[\\e[0m\\]";
};
inputs = {
tooling.url = "github:mlabs-haskell/mlabs-tooling.nix";
plutarch.url = "github:plutonomicon/plutarch-plutus";
};
outputs = inputs@{ self, tooling, plutarch, nixpkgs, ... }:
tooling.lib.mkFlake { inherit self; }
{
imports = [
(tooling.lib.mkHaskellFlakeModule1 {
project.src = ./.;
project.extraHackage = [
"${plutarch}"
"${plutarch}/plutarch-extra"
];
toHaddock = [
"plutarch"
"plutarch-extra"
"cardano-crypto"
"cardano-ledger-alonzo"
"cardano-ledger-babbage"
"cardano-ledger-core"
];
})
];
};
}