diff options
author | PedroHLC ☭ <root@pedrohlc.com> | 2022-09-18 12:35:44 -0300 |
---|---|---|
committer | PedroHLC ☭ <root@pedrohlc.com> | 2022-09-18 12:35:44 -0300 |
commit | 169f01ddce66d729a03208b1b1de65d9b5e3bf7b (patch) | |
tree | 9f3948cf145f6325cb3cc71ad0835a9a0092d664 /pkgs/development/libraries/SDL2 | |
parent | 0f39b3a85d35c2303a0ae57a1438af6fbf0c0337 (diff) |
SDL2: fix post-install condition
Fixes ""stdenv-linux/setup: line 87: [: : integer expression expected""
Diffstat (limited to 'pkgs/development/libraries/SDL2')
-rw-r--r-- | pkgs/development/libraries/SDL2/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/SDL2/default.nix b/pkgs/development/libraries/SDL2/default.nix index 7fe8d631d60cf..9900d8874b254 100644 --- a/pkgs/development/libraries/SDL2/default.nix +++ b/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 |