mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 00:27:37 +00:00
SDL2: fix post-install condition
Fixes ""stdenv-linux/setup: line 87: [: : integer expression expected""
This commit is contained in:
parent
0f39b3a85d
commit
169f01ddce
@ -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…
Reference in New Issue
Block a user