vp: fix build
This commit is contained in:
parent
b1c83e8928
commit
9ab141ce27
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, autoconf, automake, SDL, SDL_image }:
|
{ stdenv, fetchFromGitHub, autoreconfHook, SDL, SDL_image }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "vp-${version}";
|
name = "vp-${version}";
|
||||||
|
@ -11,11 +11,11 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "08q6xrxsyj6vj0sz59nix9isqz84gw3x9hym63lz6v8fpacvykdq";
|
sha256 = "08q6xrxsyj6vj0sz59nix9isqz84gw3x9hym63lz6v8fpacvykdq";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ SDL autoconf automake SDL_image ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
|
||||||
preConfigure = ''
|
buildInputs = [ SDL SDL_image ];
|
||||||
autoreconf -i
|
|
||||||
'';
|
NIX_CFLAGS_COMPILE="-I${SDL}/include/SDL -I${SDL_image}/include/SDL";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://brlcad.org/~erik/;
|
homepage = http://brlcad.org/~erik/;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user