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:
parent
4c493a32f9
commit
57e1250d89
|
@ -11,12 +11,11 @@ stdenv.mkDerivation {
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
patchShebangs ./script/
|
patchShebangs ./script/
|
||||||
'';
|
'';
|
||||||
builder = builtins.toFile "builder.sh" ''
|
buildPhase = ''
|
||||||
source $stdenv/setup
|
|
||||||
mkdir -p $out/bin
|
|
||||||
cp -r $src/* .
|
|
||||||
chmod -R +w src
|
|
||||||
./script/mlton.sh
|
./script/mlton.sh
|
||||||
|
'';
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
mv ./bin/redprl $out/bin
|
mv ./bin/redprl $out/bin
|
||||||
'';
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in New Issue