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 .

View file

@ -3,10 +3,6 @@
stdenv.mkDerivation {
name = "distcc-masq-${gccRaw.name}";
meta = {
platforms = stdenv.lib.platforms.linux;
};
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/bin
@ -40,6 +36,9 @@ stdenv.mkDerivation {
ln -sf $bbin/*-as $out/bin/as
done
fi
'';
meta = {
platforms = stdenv.lib.platforms.linux;
};
}