From c09bee391a966d19aae33c5a512a8d6d93912d3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Tue, 31 May 2016 10:18:12 +0300 Subject: [PATCH] Slight improvements to neverball package --- pkgs/games/neverball/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/games/neverball/default.nix b/pkgs/games/neverball/default.nix index 61f8b1c81e71..0006f895809b 100644 --- a/pkgs/games/neverball/default.nix +++ b/pkgs/games/neverball/default.nix @@ -13,8 +13,8 @@ stdenv.mkDerivation rec { dontPatchElf = true; patchPhase = '' - sed -i -e 's@\./data@'$out/data@ share/base_config.h Makefile - sed -i -e 's@\./locale@'$out/locale@ share/base_config.h Makefile + sed -i -e 's@\./data@'$out/share/neverball/data@ share/base_config.h Makefile + sed -i -e 's@\./locale@'$out/share/neverball/locale@ share/base_config.h Makefile sed -i -e 's@-lvorbisfile@-lvorbisfile -lX11 -lgcc_s@' Makefile ''; @@ -22,13 +22,15 @@ stdenv.mkDerivation rec { preConfigure = "export HOME=$TMPDIR"; installPhase = '' - mkdir -p $out/bin $out - cp -R data locale $out + mkdir -p $out/bin $out/share/neverball + cp -R data locale $out/share/neverball cp neverball $out/bin cp neverputt $out/bin cp mapc $out/bin ''; + enableParallelBuilding = true; + meta = { homepage = http://neverball.org/; description = "Tilt the floor to roll a ball";