mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Merge pull request #123506 from stephank/fix-spacenav-cube-example-darwin
spacenav-cube-example: fix darwin build
This commit is contained in:
commit
9a417aebd6
2 changed files with 3 additions and 2 deletions
|
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ libX11 mesa_glu libspnav ];
|
||||
|
||||
configureFlags = [ "--disable-debug" ];
|
||||
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, fetchFromGitHub, libX11}:
|
||||
{ stdenv, lib, fetchFromGitHub, libX11, fixDarwinDylibNames }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.2.3";
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "098h1jhlj87axpza5zgy58prp0zn94wyrbch6x0s7q4mzh7dc8ba";
|
||||
};
|
||||
|
||||
nativeBuildInputs = lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||
buildInputs = [ libX11 ];
|
||||
|
||||
configureFlags = [ "--disable-debug"];
|
||||
|
|
Loading…
Reference in a new issue