Last active
July 26, 2019 20:44
-
-
Save matthewess/df1aa2a52fb8688d853405eccd76e848 to your computer and use it in GitHub Desktop.
reasonml-nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ buildDunePackage, re }: | |
buildDunePackage rec { | |
pname = "pastel"; | |
buildInputs = [ re ]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ ocamlPackages, fetchFromGitHub }: | |
with ocamlPackages; | |
let | |
version = "master"; | |
src = fetchFromGitHub { | |
owner = "facebookexperimental"; | |
repo = "reason-native"; | |
rev = version; | |
sha256 = "1pb3xk166cqqq4j1xv2flbmxjxs65qfnjzyx95qwgimjqhngrbi9"; | |
}; | |
buildDunePackage = opts: buildDunePackage ({ inherit version src; minimumOCamlVersion = "4.02"; } // opts); | |
in | |
rec { | |
pastel = callPackage ./pastel.nix { inherit buildDunePackage; }; | |
refmterr = callPackage ./refmterr.nix { inherit buildDunePackage pastel; }; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ buildDunePackage, re, atdgen, pastel }: | |
buildDunePackage rec { | |
pname = "refmterr"; | |
buildInputs = [ re atdgen pastel ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment