summary refs log tree commit diff
path: root/pkgs/games/ultrastardx
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2013-12-06 20:49:43 +0100
committerLluís Batlle i Rossell <viric@viric.name>2013-12-07 00:07:34 +0100
commita520b9cfa022eae7014404c5401496c1fc13e030 (patch)
tree3f6f08a896d0beb208aa11a84685e1289deb3713 /pkgs/games/ultrastardx
parent3814415be4cf7e420cde4be8ba958ce0e3ba1b2a (diff)
downloadnixpkgs-a520b9cfa022eae7014404c5401496c1fc13e030.tar
nixpkgs-a520b9cfa022eae7014404c5401496c1fc13e030.tar.gz
nixpkgs-a520b9cfa022eae7014404c5401496c1fc13e030.tar.bz2
nixpkgs-a520b9cfa022eae7014404c5401496c1fc13e030.tar.lz
nixpkgs-a520b9cfa022eae7014404c5401496c1fc13e030.tar.xz
nixpkgs-a520b9cfa022eae7014404c5401496c1fc13e030.tar.zst
nixpkgs-a520b9cfa022eae7014404c5401496c1fc13e030.zip
Fix the ultrastardx makefile (the hard way).
Diffstat (limited to 'pkgs/games/ultrastardx')
-rw-r--r--pkgs/games/ultrastardx/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/games/ultrastardx/default.nix b/pkgs/games/ultrastardx/default.nix
index 710d14cb86c..a77ee7049a2 100644
--- a/pkgs/games/ultrastardx/default.nix
+++ b/pkgs/games/ultrastardx/default.nix
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
   # I even do a trick on lib/lib64 for libgcc, that I expect it will work.
   preBuild = ''
     export NIX_LDFLAGS="$NIX_LDFLAGS -rpath ${SDL}/lib -rpath ${SDL_image}/lib -rpath ${libpng}/lib -rpath ${freetype}/lib -rpath ${portaudio}/lib -rpath ${ffmpeg}/lib -rpath ${zlib}/lib -rpath ${sqlite}/lib -rpath ${libX11}/lib -rpath ${pcre}/lib -rpath ${stdenv.gcc.gcc}/lib64 -rpath ${stdenv.gcc.gcc}/lib"
+
+    sed -i 414,424d Makefile
   '';
 
   # dlopened libgcc requires the rpath not to be shrinked