diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-02-20 21:01:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-20 16:01:53 -0500 |
commit | 127733211e03cb0763246a2ebc0c99e2a438a6ce (patch) | |
tree | aa9601b7da78a16d08e713e4d5e01ffe39dfd8b2 /pkgs/games/xonotic | |
parent | ce5052e93174070b3648e02bd3c787668331e9b5 (diff) |
treewide: unzip buildInputs to nativeBuildInputs (#112302)
Diffstat (limited to 'pkgs/games/xonotic')
-rw-r--r-- | pkgs/games/xonotic/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/games/xonotic/default.nix b/pkgs/games/xonotic/default.nix index 54ec25c8cf799..fb6cb93f7f242 100644 --- a/pkgs/games/xonotic/default.nix +++ b/pkgs/games/xonotic/default.nix @@ -62,7 +62,8 @@ let sha256 = "0axxw04fyz6jlfqd0kp7hdrqa0li31sx1pbipf2j5qp9wvqicsay"; }; - buildInputs = [ unzip libjpeg zlib libvorbis curl ] + nativeBuildInputs = [ unzip ]; + buildInputs = [ libjpeg zlib libvorbis curl ] ++ lib.optional withGLX [ libX11.dev libGLU.dev libGL.dev libXpm.dev libXext.dev libXxf86vm.dev alsaLib.dev ] ++ lib.optional withSDL [ SDL2.dev ]; |