SDL2: fix post-install condition

Fixes ""stdenv-linux/setup: line 87: [: : integer expression expected""
main
PedroHLC ☭ 2 years ago
parent 0f39b3a85d
commit 169f01ddce
No known key found for this signature in database
GPG Key ID: DF4C6898CBDC6DF5
  1. 2
      pkgs/development/libraries/SDL2/default.nix

@ -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

Loading…
Cancel
Save