git.iko.soy/typeable/nixpkgs
on master help sign in
Slight improvements to neverball package
commitc09bee391a966d19aae33c5a512a8d6d93912d3d authorLluís Batlle i Rossell <viric@viric.name> dateTue 31 May 2016, 10:18 (11 years ago) parent0d11f9b
1 file changed+6−4
pkgs/games/neverball/default.nix+6−4
pkgs/games/neverball/default.nix+6−4
@@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
1313 dontPatchElf = true;
1414
1515 patchPhase = ''
16− sed -i -e 's@\./data@'$out/data@ share/base_config.h Makefile
17− sed -i -e 's@\./locale@'$out/locale@ share/base_config.h Makefile
16+ sed -i -e 's@\./data@'$out/share/neverball/data@ share/base_config.h Makefile
17+ sed -i -e 's@\./locale@'$out/share/neverball/locale@ share/base_config.h Makefile
1818 sed -i -e 's@-lvorbisfile@-lvorbisfile -lX11 -lgcc_s@' Makefile
1919 '';
2020
@@ -22,13 +22,15 @@ stdenv.mkDerivation rec {
2222 preConfigure = "export HOME=$TMPDIR";
2323
2424 installPhase = ''
25− mkdir -p $out/bin $out
26− cp -R data locale $out
25+ mkdir -p $out/bin $out/share/neverball
26+ cp -R data locale $out/share/neverball
2727 cp neverball $out/bin
2828 cp neverputt $out/bin
2929 cp mapc $out/bin
3030 '';
3131
32+ enableParallelBuilding = true;
33+
3234 meta = {
3335 homepage = http://neverball.org/;
3436 description = "Tilt the floor to roll a ball";