-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
Fix dcmkt build #206265
Fix dcmkt build #206265
Conversation
prefix="@CMAKE_INSTALL_PREFIX@" | ||
exec_prefix="${prefix}" | ||
- libdir="${prefix}/@CMAKE_INSTALL_LIBDIR@" | ||
+ libdir="@CMAKE_INSTALL_LIBDIR@" |
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.
If you make it CMAKE_INSTALL_FULL_LIBDIR you can submit the patch upstream.
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.
Done DCMTK/dcmtk#75
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.
Thanks! I made some comments over there.
Result of 1 package built:
|
@@ -14,8 +15,11 @@ stdenv.mkDerivation rec { | |||
nativeBuildInputs = [ cmake ]; | |||
buildInputs = [ libpng zlib libtiff libxml2 openssl libiconv ]; | |||
|
|||
patches = [ ./0001-Fix-cmake.patch ]; |
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.
Please add a comment next to the patch that links to the upstream PR.
prefix="@CMAKE_INSTALL_PREFIX@" | ||
exec_prefix="${prefix}" | ||
- libdir="${prefix}/@CMAKE_INSTALL_LIBDIR@" | ||
+ libdir=@CMAKE_INSTALL_FULL_LIBDIR@" |
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 upstream PR has two hunks (https://github.com/DCMTK/dcmtk/pull/75/files), does this really work when only having one hunk?
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.
this PR as is seems to work, perhaps the other hunk is specific to non-nix builds
Tested successfully with |
Result of 1 package built:
LGTM |
Description of changes
The package wouldn't build because of
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes