Merge pull request #123506 from stephank/fix-spacenav-cube-example-darwin
spacenav-cube-example: fix darwin build
This commit is contained in:
commit
9a417aebd6
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ libX11 mesa_glu libspnav ];
|
buildInputs = [ libX11 mesa_glu libspnav ];
|
||||||
|
|
||||||
configureFlags = [ "--disable-debug" ];
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, libX11}:
|
{ stdenv, lib, fetchFromGitHub, libX11, fixDarwinDylibNames }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.2.3";
|
version = "0.2.3";
|
||||||
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "098h1jhlj87axpza5zgy58prp0zn94wyrbch6x0s7q4mzh7dc8ba";
|
sha256 = "098h1jhlj87axpza5zgy58prp0zn94wyrbch6x0s7q4mzh7dc8ba";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||||
buildInputs = [ libX11 ];
|
buildInputs = [ libX11 ];
|
||||||
|
|
||||||
configureFlags = [ "--disable-debug"];
|
configureFlags = [ "--disable-debug"];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user