Skip to content

Commit

Permalink
pixie, dust: rename pxi -> pixie-vm
Browse files Browse the repository at this point in the history
  • Loading branch information
bendlas committed Aug 19, 2016
1 parent df2a847 commit d620f80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion pkgs/development/interpreters/pixie/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,17 @@ let
mkdir -p $out/share $out/bin
cp pixie-src/pixie-vm $out/share/pixie-vm
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 C_INCLUDE_PATH : ${include-path} \
--prefix LIBRARY_PATH : ${library-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 = {
description = "A clojure-like lisp, built with the pypy vm toolkit";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/interpreters/pixie/dust.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ pixie ];
patches = [ ./make-paths-configurable.patch ];
configurePhase = ''
pixiePath="${pixie}/bin/pxi" \
pixiePath="${pixie}/bin/pixie-vm" \
basePath="$out/share/dust" \
substituteAll dust.in dust
chmod +x dust
Expand Down

0 comments on commit d620f80

Please sign in to comment.