tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
cubicle: set env instead of postPatch
Weijia Wang
2 years ago
1148f282
67faa3e9
+6
-7
1 changed file
expand all
collapse all
unified
split
pkgs
applications
science
logic
cubicle
default.nix
+6
-7
pkgs/applications/science/logic/cubicle/default.nix
···
14
14
hash = "sha256-/EtbXpyXqRm0jGcMfGLAEwdr92061edjFys1V7/w6/Y=";
15
15
};
16
16
17
17
-
# https://github.com/cubicle-model-checker/cubicle/issues/1
18
18
-
postPatch = ''
19
19
-
substituteInPlace Makefile.in \
20
20
-
--replace "@OCAMLC@" "ocamlfind ocamlc -package num" \
21
21
-
--replace "@OCAMLOPT@" "ocamlfind ocamlopt -package num"
22
22
-
'';
23
23
-
24
17
strictDeps = true;
25
18
26
19
nativeBuildInputs = [
···
35
28
functory
36
29
num
37
30
];
31
31
+
32
32
+
# https://github.com/cubicle-model-checker/cubicle/issues/1
33
33
+
env = {
34
34
+
OCAMLC = "ocamlfind ocamlc -package num";
35
35
+
OCAMLOPT = "ocamlfind ocamlopt -package num";
36
36
+
};
38
37
39
38
meta = with lib; {
40
39
description = "An open source model checker for verifying safety properties of array-based systems";