From d1499226556ac062dafc7c4d1738644836b1cc05 Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Thu, 5 Jan 2012 12:23:49 +0000 Subject: [PATCH] privateer compile succeeds, remove platform, still WIP svn path=/nixpkgs/trunk/; revision=31312 --- pkgs/games/privateer/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/games/privateer/default.nix b/pkgs/games/privateer/default.nix index bed61567d4b3..1fe925e31b6a 100644 --- a/pkgs/games/privateer/default.nix +++ b/pkgs/games/privateer/default.nix @@ -19,10 +19,19 @@ stdenv.mkDerivation { patches = [ ./0001-fix-VSFile-constructor.patch ]; + preConfigure = '' + NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags gtk+-2.0)" + ''; + + installPhase = '' + ensureDir $out/bin + cp vegastrike $out/bin + cp vegaserver $out/bin + ''; + meta = { homepage = http://privateer.sourceforge.net/; longDescription = ""; maintainers = with stdenv.lib.maintainers; [ chaoflow ]; - platforms = stdenv.lib.platforms.gnu; }; }