-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sview: init at 20_08 #344922
sview: init at 20_08 #344922
Conversation
52f261c
to
ff10767
Compare
a3d14b7
to
0a909e3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 = relaxed
sandbox = true
nix-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.