diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-12-16 21:47:21 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-12-17 23:51:43 +0100 |
commit | a3c2bd5aec63b7b3512a4a53f1ed1bde39d1ccb8 (patch) | |
tree | c180bd8a756b8f61295c184c396ef413e0017ccf /pkgs/games/eboard | |
parent | 20c1ef63cb85fd1c423cea9a62cad79ca2a4d3db (diff) |
eboard: fix build
Add perl dependency and patch ./configure to use it.
Diffstat (limited to 'pkgs/games/eboard')
-rw-r--r-- | pkgs/games/eboard/default.nix | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/pkgs/games/eboard/default.nix b/pkgs/games/eboard/default.nix index 8dd06fa6a281..3d070c5eafb2 100644 --- a/pkgs/games/eboard/default.nix +++ b/pkgs/games/eboard/default.nix @@ -1,8 +1,8 @@ -{ stdenv, fetchurl, pkgconfig, gtk }: +{ stdenv, fetchurl, perl, pkgconfig, gtk }: stdenv.mkDerivation { name = "eboard-1.1.1"; - + src = fetchurl { url = mirror://sourceforge/eboard/eboard-1.1.1.tar.bz2; sha256 = "0vm25j1s2zg1lipwjv9qrcm877ikfmk1yh34i8f5l3bwd63115xd"; @@ -10,7 +10,14 @@ stdenv.mkDerivation { patches = [ ./eboard.patch ]; - buildInputs = [ pkgconfig gtk ]; + buildInputs = [ gtk ]; + nativeBuildInputs = [ perl pkgconfig ]; + + preConfigure = '' + patchShebangs ./configure + ''; + + NIX_CFLAGS_COMPILE = [ "-fpermissive" ]; meta = { homepage = http://www.bergo.eng.br/eboard/; |