summary refs log tree commit diff
diff options
context:
space:
mode:
authorPiotr Bogdan <ppbogdan@gmail.com>2019-01-04 19:33:50 +0000
committerPiotr Bogdan <ppbogdan@gmail.com>2019-01-04 19:33:50 +0000
commit517f2d392ee66f9237c553ef795aff8cf650d32c (patch)
tree6a95c63e4b2cbe7a1bf6fa34573432d65d28946f
parente7040637e5ea16a61523b2187f56e1b40d32fec8 (diff)
downloadnixpkgs-517f2d392ee66f9237c553ef795aff8cf650d32c.tar
nixpkgs-517f2d392ee66f9237c553ef795aff8cf650d32c.tar.gz
nixpkgs-517f2d392ee66f9237c553ef795aff8cf650d32c.tar.bz2
nixpkgs-517f2d392ee66f9237c553ef795aff8cf650d32c.tar.lz
nixpkgs-517f2d392ee66f9237c553ef795aff8cf650d32c.tar.xz
nixpkgs-517f2d392ee66f9237c553ef795aff8cf650d32c.tar.zst
nixpkgs-517f2d392ee66f9237c553ef795aff8cf650d32c.zip
airstrike: link with libm explicitly
-rw-r--r--pkgs/games/airstrike/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/games/airstrike/default.nix b/pkgs/games/airstrike/default.nix
index a0bbd3b1c67..02ea6f68806 100644
--- a/pkgs/games/airstrike/default.nix
+++ b/pkgs/games/airstrike/default.nix
@@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ makeWrapper SDL SDL_image ];
 
+  NIX_LDFLAGS = [
+    "-lm"
+  ];
+
   installPhase = ''
     ls -l
     mkdir -p $out/bin