pixie, dust: rename pxi -> pixie-vm
see https://github.com/pixie-lang/pixie/issues/455
This commit is contained in:
parent
df2a847b6d
commit
d620f80318
@ -63,11 +63,17 @@ let
|
|||||||
mkdir -p $out/share $out/bin
|
mkdir -p $out/share $out/bin
|
||||||
cp pixie-src/pixie-vm $out/share/pixie-vm
|
cp pixie-src/pixie-vm $out/share/pixie-vm
|
||||||
cp -R pixie-src/pixie $out/share/pixie
|
cp -R pixie-src/pixie $out/share/pixie
|
||||||
makeWrapper $out/share/pixie-vm $out/bin/pxi \
|
makeWrapper $out/share/pixie-vm $out/bin/pixie-vm \
|
||||||
--prefix LD_LIBRARY_PATH : ${library-path} \
|
--prefix LD_LIBRARY_PATH : ${library-path} \
|
||||||
--prefix C_INCLUDE_PATH : ${include-path} \
|
--prefix C_INCLUDE_PATH : ${include-path} \
|
||||||
--prefix LIBRARY_PATH : ${library-path} \
|
--prefix LIBRARY_PATH : ${library-path} \
|
||||||
--prefix PATH : ${bin-path}
|
--prefix PATH : ${bin-path}
|
||||||
|
cat > $out/bin/pxi <<EOF
|
||||||
|
#!$shell
|
||||||
|
>&2 echo "[\$\$] WARNING: 'pxi' is a deprecated alias for 'pixie-vm', please update your scripts."
|
||||||
|
exec $out/bin/pixie-vm "\$@"
|
||||||
|
EOF
|
||||||
|
chmod +x $out/bin/pxi
|
||||||
'';
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
description = "A clojure-like lisp, built with the pypy vm toolkit";
|
description = "A clojure-like lisp, built with the pypy vm toolkit";
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ pixie ];
|
buildInputs = [ pixie ];
|
||||||
patches = [ ./make-paths-configurable.patch ];
|
patches = [ ./make-paths-configurable.patch ];
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
pixiePath="${pixie}/bin/pxi" \
|
pixiePath="${pixie}/bin/pixie-vm" \
|
||||||
basePath="$out/share/dust" \
|
basePath="$out/share/dust" \
|
||||||
substituteAll dust.in dust
|
substituteAll dust.in dust
|
||||||
chmod +x dust
|
chmod +x dust
|
||||||
|
Loading…
Reference in New Issue
Block a user