git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #17831 from bendlas/update-pixie

pixie: 1352 -> 1356

commit33c09c9f27660bf6f7cfbde39df35e4d6d74a711 authorRok Garbas <rok@garbas.si> dateFri 19 Aug 2016, 13:31 (10 years ago) parent1efedc6d620f80
2 files changed+13−7
pkgs/development/interpreters/pixie/default.nix+12−6 pkgs/development/interpreters/pixie/dust.nix+1−1
pkgs/development/interpreters/pixie/default.nix+12−6
@@ -3,7 +3,7 @@
33 variant ? "jit", buildWithPypy ? false }:
44
55let
6− commit-count = "1352";
6+ commit-count = "1356";
77 common-flags = "--thread --gcrootfinder=shadowstack --continuation";
88 variants = {
99 jit = { flags = "--opt=jit"; target = "target.py"; };
@@ -13,14 +13,14 @@ let
1313 };
1414 pixie-src = fetchgit {
1515 url = "https://github.com/pixie-lang/pixie.git";
16− rev = "dd754fe9f329e9e176eeaedae1095c85cde65028";
17− sha256 = "1jf3nkd1jzvxrw9ql2r74drsirrxfihc125x0wmk45jyl5q24vdd";
16+ rev = "d2a4267ea088f711af36a74928e8dfd8360584ad";
17+ sha256 = "1asf6yx7zy9cx4bsg8iai57dy3r3m45xcmkmw2vix70xvfy23ryf";
1818 };
19− pypy-tag = "81254";
19+ pypy-tag = "91db1a9";
2020 pypy-src = fetchurl {
2121 name = "pypy-src-${pypy-tag}";
2222 url = "https://bitbucket.org/pypy/pypy/get/${pypy-tag}.tar.bz2";
23− sha256 = "1cs9xqs1rmzdcnwxxkbvy064s5cbp6vvzhn2jmyzh5kg4di1r3bn";
23+ sha256 = "0ylbqvhbcp5m09l15i2q2h3a0vjd055x2r37cq71lkhgmmaxrwbq";
2424 };
2525 libs = [ libffi libedit libuv boost.dev boost.out zlib ];
2626 include-path = stdenv.lib.concatStringsSep ":"
@@ -63,11 +63,17 @@ let
6363 mkdir -p $out/share $out/bin
6464 cp pixie-src/pixie-vm $out/share/pixie-vm
6565 cp -R pixie-src/pixie $out/share/pixie
66− makeWrapper $out/share/pixie-vm $out/bin/pxi \
66+ makeWrapper $out/share/pixie-vm $out/bin/pixie-vm \
6767 --prefix LD_LIBRARY_PATH : ${library-path} \
6868 --prefix C_INCLUDE_PATH : ${include-path} \
6969 --prefix LIBRARY_PATH : ${library-path} \
7070 --prefix PATH : ${bin-path}
71+ cat > $out/bin/pxi <<EOF
72+ #!$shell
73+ >&2 echo "[\$\$] WARNING: 'pxi' is a deprecated alias for 'pixie-vm', please update your scripts."
74+ exec $out/bin/pixie-vm "\$@"
75+ EOF
76+ chmod +x $out/bin/pxi
7177 '';
7278 meta = {
7379 description = "A clojure-like lisp, built with the pypy vm toolkit";
pkgs/development/interpreters/pixie/dust.nix+1−1
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 buildInputs = [ pixie ];
1212 patches = [ ./make-paths-configurable.patch ];
1313 configurePhase = ''
14− pixiePath="${pixie}/bin/pxi" \
14+ pixiePath="${pixie}/bin/pixie-vm" \
1515 basePath="$out/share/dust" \
1616 substituteAll dust.in dust
1717 chmod +x dust