-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
simpleitk: init at 1.1.0 (note this only builds the C++ libs, not the Python/Lua/... bindings) #27451
Conversation
{ stdenv, fetchurl, cmake, git, swig, lua, itk }: | ||
|
||
stdenv.mkDerivation rec { | ||
_name = "simpleitk"; |
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.
The use of the underscore is non-standard. Instead, use either a let
expression or arguments that are commonly used, like pname
and version
.
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.
fixed.
So I don't think there's any way to build just the bindings separately from the main build, which is annoying since I don't want to build separate versions of this package for all Python, Lua, etc., package sets. Thoughts/relevant example packages in the Nix tree? |
Either create multiple outputs or create multiple packages. |
@GrahamcOfBorg build simpleitk |
Failure on x86_64-linux (full log) Attempted: simpleitk Partial log (click to expand)
|
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.
See @GrahamcOfBorg log
Failure on x86_64-darwin (full log) Attempted: simpleitk Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: simpleitk Partial log (click to expand)
|
I'll try to look into this soon. |
@GrahamcOfBorg build simpleitk |
@matthewbauer updated version is building locally now. |
I hope to add the Python and Lua bindings to the relevant package sets separately but depending on this package by checking out the SimpleITK source code but only making the relevant subdirectories.
Motivation for this change
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)