redprl: remove explicit builder

patchPhase wasn't being called for me so I've switched out the explicit
builder for the generic form. I can now build RedPRL on locally on
NixOS.
This commit is contained in:
Brian McKenna 2016-09-29 10:52:29 +10:00
parent 4c493a32f9
commit 57e1250d89

View file

@ -11,12 +11,11 @@ stdenv.mkDerivation {
patchPhase = ''
patchShebangs ./script/
'';
builder = builtins.toFile "builder.sh" ''
source $stdenv/setup
mkdir -p $out/bin
cp -r $src/* .
chmod -R +w src
buildPhase = ''
./script/mlton.sh
'';
installPhase = ''
mkdir -p $out/bin
mv ./bin/redprl $out/bin
'';
meta = {