Conversation
52f261c to
ff10767
Compare
a3d14b7 to
0a909e3
Compare
Mx2uller
left a comment
There was a problem hiding this comment.
Hi, I made changes like you suggested. Initially I did have buildInputs but tried to build package without it, and it built successfully and run. For some reason everything in nativeBuildInputs stays alive in nix store, even after gc.
|
Please override to use gccStdenv on Darwin, or patch the makefile to use generic cc: |
|
Hi, I am going to revert platforms.unix back to linux as I am unable to build and test locally for darwin. |
|
For Darwin, I tried diff --git a/pkgs/by-name/sv/sview/package.nix b/pkgs/by-name/sv/sview/package.nix
index 7f62b2195278..b7ea2b9e977c 100644
--- a/pkgs/by-name/sv/sview/package.nix
+++ b/pkgs/by-name/sv/sview/package.nix
@@ -46,6 +46,14 @@ stdenv.mkDerivation rec {
openal
];
+ makeFlags = [
+ "CC=${stdenv.cc.targetPrefix}cc"
+ "CXX=${stdenv.cc.targetPrefix}c++"
+ "LD=${stdenv.cc.targetPrefix}c++"
+ ];
+
+ enableParallelBuilding = true;
+
fontsConf = makeFontsConf {
fontDirectories = [
nanum
@@ -80,6 +88,6 @@ stdenv.mkDerivation rec {
];
maintainers = with maintainers; [ mx2uller ];
mainProgram = "sView";
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}However the build still fails due to missing |
|
Is it possible to test and build on my linux machine for darwin?
|
|
I always use the community builder https://nix-community.org/community-builder/ However I think the ibtool issue is a blocker. I tried xib2nib which provides it, but it seems that is not the right package. |
|
Currently I do not have access to community builder, for now I cleaned up commit history so its one commit per file. |
|
By the way, if you add your Git email ( |
Description of changes
Cross-platform solution to view 3D stereoscopic videos and images.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.