SDL2: fix post-install condition

Fixes ""stdenv-linux/setup: line 87: [: : integer expression expected""
This commit is contained in:
PedroHLC ☭ 2022-09-18 12:35:44 -03:00
parent 0f39b3a85d
commit 169f01ddce
No known key found for this signature in database
GPG key ID: DF4C6898CBDC6DF5

View file

@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
url = "https://www.libsdl.org/release/${pname}-${version}.tar.gz";
sha256 = "sha256-keTDSxdo+S05mweOFxRIxq8Yyv2nQ5h+0gZKKJVNbZc=";
};
dontDisableStatic = withStatic;
dontDisableStatic = if withStatic then 1 else 0;
outputs = [ "out" "dev" ];
outputBin = "dev"; # sdl-config