forked from IntersectMBO/plutus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
112 lines (90 loc) · 3.03 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# NOTE: This flake is only provided as interface to `bitte` and shouldn't be used otherwise
#
# Occasionally building flake builds will segfault. The workaround for this is to
# disable the garbage collector `GC_DONT_GC=1 nix build .#web-ghc-server
#
# In case you are not sure if you should be using this flake, the answer is: No.
{
description = "plutus flake for pinning sources and bitte deployments";
inputs = {
flake-utils.url = "github:numtide/flake-utils?rev=b543720b25df6ffdfcf9227afafc5b8c1fabfae8";
# We intentionally import nixpkgs and haskell.nix as non-flakes, to match the
# flake-free normal build workflow exactly.
nixpkgs = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
# We pin this revision to avoid mass-rebuilds from the auto-update process.
rev = "6525bbc06a39f26750ad8ee0d40000ddfdc24acb";
ref = "nixpkgs-unstable";
flake = false;
};
haskell-nix = {
# We pin this revision to avoid mass-rebuilds from the auto-update process.
url = "github:input-output-hk/haskell.nix?rev=7215f083b37741446aa325b20c8ba9f9f76015eb";
flake = false;
};
actus-tests = {
url = "github:actusfrf/actus-tests";
flake = false;
};
cardano-repo-tool = {
url = "github:input-output-hk/cardano-repo-tool";
flake = false;
};
easy-purescript-nix = {
url = "github:justinwoo/easy-purescript-nix";
flake = false;
};
gitignore-nix = {
url = "github:hercules-ci/gitignore.nix";
flake = false;
};
hackage-nix = {
# We pin this revision to avoid unhelpful daily churn from the auto-update process.
url = "github:input-output-hk/hackage.nix?rev=23545a41ef50c4328e3f95b9a63db59f3ada3518";
flake = false;
};
haskell-language-server = {
url = "github:haskell/haskell-language-server?ref=1.1.0";
flake = false;
};
iohk-nix = {
# We pin this revision to avoid unhelpful frequent churn from the auto-update process.
url = "github:input-output-hk/iohk-nix?rev=cbd497f5844249ef8fe617166337d59f2a6ebe90";
flake = false;
};
npmlock2nix = {
url = "github:tweag/npmlock2nix";
flake = false;
};
pre-commit-hooks-nix = {
url = "github:cachix/pre-commit-hooks.nix";
flake = false;
};
spago2nix = {
url = "github:justinwoo/spago2nix";
flake = false;
};
sphinxcontrib-haddock = {
url = "github:michaelpj/sphinxcontrib-haddock";
flake = false;
};
stackage-nix = {
# We pin this revision to avoid unhelpful daily churn from the auto-update process.
url = "github:input-output-hk/stackage.nix?rev=e32c8b06d56954865725514ce0d98d5d1867e43a";
flake = false;
};
};
outputs = { self, flake-utils, ... }@inputs:
(flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
let
topLevel = import ./. {
inherit system;
sources = inputs;
};
in
{
packages = topLevel.bitte-packages;
}));
}