opa: Use makeBinPath
This commit is contained in:
parent
f6640842fe
commit
dcbd607682
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# Paths so the opa compiler code generation will use the same programs as were
|
# Paths so the opa compiler code generation will use the same programs as were
|
||||||
# used to build opa.
|
# 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 = ''
|
preConfigure = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "distcc-masq-${gccRaw.name}";
|
name = "distcc-masq-${gccRaw.name}";
|
||||||
|
|
||||||
meta = {
|
|
||||||
platforms = stdenv.lib.platforms.linux;
|
|
||||||
};
|
|
||||||
|
|
||||||
phases = [ "installPhase" ];
|
phases = [ "installPhase" ];
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
@ -40,6 +36,9 @@ stdenv.mkDerivation {
|
|||||||
ln -sf $bbin/*-as $out/bin/as
|
ln -sf $bbin/*-as $out/bin/as
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user