SDL2: fix post-install condition
Fixes ""stdenv-linux/setup: line 87: [: : integer expression expected""
This commit is contained in:
parent
0f39b3a85d
commit
169f01ddce
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
|
||||||
url = "https://www.libsdl.org/release/${pname}-${version}.tar.gz";
|
url = "https://www.libsdl.org/release/${pname}-${version}.tar.gz";
|
||||||
sha256 = "sha256-keTDSxdo+S05mweOFxRIxq8Yyv2nQ5h+0gZKKJVNbZc=";
|
sha256 = "sha256-keTDSxdo+S05mweOFxRIxq8Yyv2nQ5h+0gZKKJVNbZc=";
|
||||||
};
|
};
|
||||||
dontDisableStatic = withStatic;
|
dontDisableStatic = if withStatic then 1 else 0;
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
outputBin = "dev"; # sdl-config
|
outputBin = "dev"; # sdl-config
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue