Created
June 10, 2016 07:25
-
-
Save thufschmitt/a15702d80667391f95aaa265ac812466 to your computer and use it in GitHub Desktop.
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
{ stdenv, ocaml, ocamlPackages, makeWrapper }: | |
stdenv.mkDerivation rec { | |
name = "ocaml_with_topfind-${version}"; | |
version = lib.getVersion ocaml; | |
nativeBuildInputs = [ makeWrapper ]; | |
buildCommand = '' | |
makeWrapper "${ocaml}/bin/ocaml" "$out/bin/ocaml_topfind" \ | |
--add-flags "-I ${ocamlPackages.findlib}/lib/ocaml/${version}/site-lib" | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment