summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorStéphan Kochen <git@stephank.nl>2021-05-18 20:44:24 +0200
committerStéphan Kochen <git@stephank.nl>2021-05-18 20:44:24 +0200
commit92d0a489e0d740f51bc1eeacdfd256b38870c644 (patch)
tree9144f402d595c5c395b009c48a912786380f57c0 /pkgs/applications
parent6bebadb17152fcbc734ffb4fc49775bda0d1497a (diff)
downloadnixpkgs-92d0a489e0d740f51bc1eeacdfd256b38870c644.tar
nixpkgs-92d0a489e0d740f51bc1eeacdfd256b38870c644.tar.gz
nixpkgs-92d0a489e0d740f51bc1eeacdfd256b38870c644.tar.bz2
nixpkgs-92d0a489e0d740f51bc1eeacdfd256b38870c644.tar.lz
nixpkgs-92d0a489e0d740f51bc1eeacdfd256b38870c644.tar.xz
nixpkgs-92d0a489e0d740f51bc1eeacdfd256b38870c644.tar.zst
nixpkgs-92d0a489e0d740f51bc1eeacdfd256b38870c644.zip
spnavcfg: fix darwin build
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/misc/spnavcfg/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/misc/spnavcfg/default.nix b/pkgs/applications/misc/spnavcfg/default.nix
index caeaa42192d..253549099de 100644
--- a/pkgs/applications/misc/spnavcfg/default.nix
+++ b/pkgs/applications/misc/spnavcfg/default.nix
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ pkg-config ];
   buildInputs = [ gtk2 ];
 
+  makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
+
   meta = with lib; {
     homepage = "http://spacenav.sourceforge.net/";
     description = "Interactive configuration GUI for space navigator input devices";