opa: Use makeBinPath

This commit is contained in:
Tuomas Tynkkynen
2016-08-23 03:29:23 +03:00
parent f6640842fe
commit dcbd607682
2 changed files with 5 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
# Paths so the opa compiler code generation will use the same programs as were
# used to build opa.
codeGeneratorPaths = "${ocamlPackages.ocaml}/bin:${gcc}/bin:${binutils}/bin:${gnumake}/bin:${nodejs}/bin";
codeGeneratorPaths = stdenv.lib.makeBinPath [ ocamlPackages.ocaml gcc binutils gnumake nodejs ];
preConfigure = ''
patchShebangs .