-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
jsoncpp: 1.9.2 -> 1.9.4 #102379
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
jsoncpp: 1.9.2 -> 1.9.4 #102379
Conversation
@@ -23,27 +23,13 @@ stdenv.mkDerivation rec { | |||
# Hack to be able to run the test, broken because we use | |||
# CMAKE_SKIP_BUILD_RPATH to avoid cmake resetting rpath on install | |||
preBuild = if stdenv.isDarwin then '' | |||
export DYLD_LIBRARY_PATH="`pwd`/src/lib_json''${DYLD_LIBRARY_PATH:+:}$DYLD_LIBRARY_PATH" | |||
export DYLD_LIBRARY_PATH="`pwd`/lib''${DYLD_LIBRARY_PATH:+:}$DYLD_LIBRARY_PATH" |
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.
export DYLD_LIBRARY_PATH="`pwd`/lib''${DYLD_LIBRARY_PATH:+:}$DYLD_LIBRARY_PATH" | |
export DYLD_LIBRARY_PATH="$(pwd)/lib''${DYLD_LIBRARY_PATH:+:}$DYLD_LIBRARY_PATH" |
'' else '' | ||
export LD_LIBRARY_PATH="`pwd`/src/lib_json''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" | ||
export LD_LIBRARY_PATH="`pwd`/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" |
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.
export LD_LIBRARY_PATH="`pwd`/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" | |
export LD_LIBRARY_PATH="$(pwd)/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" |
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.
Looks good, can confirm the ppc64le issue is now fixed. WFM on darwin and non-nixos linux. Might want to reduce closure size with outputs = [ "out" "dev" ]
and "-DBUILD_OBJECT_LIBS=OFF"
Merges both patches previously applied. Also seems to change the path that the library is written to.
db92344
to
f352109
Compare
Thanks for the feedback. I went ahead and replaced the backtick expansion (can't actually quote it here because I can't get escaping the backticks to work right) by |
Merges both patches previously applied. Also seems to change the path that the library is written to.
Motivation for this change
Fixes a build failure on platforms with unsigned
char
type, which was fixed with a patch on ARM only, but is needed on ppc64le (CC @r-burns) too. Updating to latest upstream release is probably cleaner than adding another platform test to the patch.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)