cubicle: set env instead of postPatch

+6 -7
+6 -7
pkgs/applications/science/logic/cubicle/default.nix
··· 14 hash = "sha256-/EtbXpyXqRm0jGcMfGLAEwdr92061edjFys1V7/w6/Y="; 15 }; 16 17 - # https://github.com/cubicle-model-checker/cubicle/issues/1 18 - postPatch = '' 19 - substituteInPlace Makefile.in \ 20 - --replace "@OCAMLC@" "ocamlfind ocamlc -package num" \ 21 - --replace "@OCAMLOPT@" "ocamlfind ocamlopt -package num" 22 - ''; 23 - 24 strictDeps = true; 25 26 nativeBuildInputs = [ ··· 35 functory 36 num 37 ]; 38 39 meta = with lib; { 40 description = "An open source model checker for verifying safety properties of array-based systems";
··· 14 hash = "sha256-/EtbXpyXqRm0jGcMfGLAEwdr92061edjFys1V7/w6/Y="; 15 }; 16 17 strictDeps = true; 18 19 nativeBuildInputs = [ ··· 28 functory 29 num 30 ]; 31 + 32 + # https://github.com/cubicle-model-checker/cubicle/issues/1 33 + env = { 34 + OCAMLC = "ocamlfind ocamlc -package num"; 35 + OCAMLOPT = "ocamlfind ocamlopt -package num"; 36 + }; 37 38 meta = with lib; { 39 description = "An open source model checker for verifying safety properties of array-based systems";