Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #123506 from stephank/fix-spacenav-cube-example-darwin

spacenav-cube-example: fix darwin build

authored by Jörg Thalheim and committed by GitHub 9a417aeb 3ef6d5d7

+3 -2
+1 -1
pkgs/applications/misc/spacenav-cube-example/default.nix
··· 10 10 11 11 buildInputs = [ libX11 mesa_glu libspnav ]; 12 12 13 - configureFlags = [ "--disable-debug" ]; 13 + makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; 14 14 15 15 installPhase = '' 16 16 runHook preInstall
+2 -1
pkgs/development/libraries/libspnav/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, libX11}: 1 + { stdenv, lib, fetchFromGitHub, libX11, fixDarwinDylibNames }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.2.3"; ··· 11 11 sha256 = "098h1jhlj87axpza5zgy58prp0zn94wyrbch6x0s7q4mzh7dc8ba"; 12 12 }; 13 13 14 + nativeBuildInputs = lib.optional stdenv.isDarwin fixDarwinDylibNames; 14 15 buildInputs = [ libX11 ]; 15 16 16 17 configureFlags = [ "--disable-debug"];