-
-
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
hivelytracker: init at unstable-2020-02-10 #95797
Conversation
2 Things:
|
Thanks for the tips!
|
I don't know how well the Windows support works, or even if it works natively. But you can select it as a cross-compilation target when building derivations and some things do compile. Be ready to hit some unsupported packages Assuming a local checkout in nix-build ~/devel/nixpkgs --arg crossSystem '(import ~/devel/nixpkgs {}).lib.systems.examples.mingw32' -A [package-name] Gave this a shot as-is, but i didn't manage to get all dependencies to compile (hivelytracker -> SDL_ttf -> freetype static linking failure). Can't hurt to keep this in mind though. ( |
NIX_CFLAGS_COMPILE = | ||
"-I${SDL}/include/SDL \ | ||
-I${SDL_image}/include/SDL \ | ||
-I${SDL_ttf}/include/SDL \ | ||
-I${gtk2.dev}/include/gtk-2.0 \ | ||
-I${glib.dev}/include/glib-2.0"; |
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.
I think this'd be a little nicer, assuming the Darwin version doesn't use GTK2.
NIX_CFLAGS_COMPILE = | |
"-I${SDL}/include/SDL \ | |
-I${SDL_image}/include/SDL \ | |
-I${SDL_ttf}/include/SDL \ | |
-I${gtk2.dev}/include/gtk-2.0 \ | |
-I${glib.dev}/include/glib-2.0"; | |
NIX_CFLAGS_COMPILE = stdenv.lib.concatStringsSep " " ([ | |
"-I${SDL}/include/SDL" | |
"-I${SDL_image}/include/SDL" | |
"-I${SDL_ttf}/include/SDL" | |
] | |
++ stdenv.lib.optionals (stdenv.hostPlatform.isLinux) [ | |
"-I${gtk2.dev}/include/gtk-2.0" | |
"-I${glib.dev}/include/glib-2.0" | |
]); |
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.
We can try when the darwin builder comes back up
Added hvl2wav and cleaned up some stuff. Like with lgpt, I propose to leave cflags as is (it did build iirc) for now and try to split them later when the builder comes back up edit: too late for the branch-off, but the builder isn't coming back, so... |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Result of 1 package built:
|
This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 1 package built:
|
Motivation for this change
#81815
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)@OPNA2608 here we go :)