diff --git a/pkgs/development/compilers/solc/default.nix b/pkgs/development/compilers/solc/default.nix index 38a554a3fe3..48279fd7108 100644 --- a/pkgs/development/compilers/solc/default.nix +++ b/pkgs/development/compilers/solc/default.nix @@ -1,9 +1,9 @@ { stdenv, fetchzip, fetchFromGitHub, boost, cmake, z3 }: let - version = "0.5.1"; - rev = "c8a2cb62832afb2dc09ccee6fd42c1516dfdb981"; - sha256 = "0d6mfnixlr9m5yr3r4p6cv6vwrrivcamyar5d0f9rvir9w9ypzrr"; + version = "0.5.2"; + rev = "1df8f40cd2fd7b47698d847907b8ca7b47eb488d"; + sha256 = "009kjyb3r2p64wpdzfcmqr9swm5haaixbzvsbw1nd4wipwbp66y0"; jsoncppURL = https://github.com/open-source-parsers/jsoncpp/archive/1.8.4.tar.gz; jsoncpp = fetchzip { url = jsoncppURL; diff --git a/pkgs/development/compilers/solc/patches/shared-libs-install.patch b/pkgs/development/compilers/solc/patches/shared-libs-install.patch index 0fb693ef421..e106c9bbb74 100644 --- a/pkgs/development/compilers/solc/patches/shared-libs-install.patch +++ b/pkgs/development/compilers/solc/patches/shared-libs-install.patch @@ -57,11 +57,10 @@ index 0bdec4b4..e876177e 100644 target_link_libraries(solidity PUBLIC ${Z3_LIBRARY}) --- a/libyul/CMakeLists.txt +++ b/libyul/CMakeLists.txt -@@ -42,3 +42,4 @@ endif() +@@ -43,3 +43,4 @@ endif() optimiser/VarDeclPropagator.cpp ) --target_link_libraries(yul PUBLIC devcore) -+target_link_libraries(yul PUBLIC evmasm devcore langutil) + target_link_libraries(yul PUBLIC evmasm devcore langutil) +install(TARGETS yul LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) --- a/liblangutil/CMakeLists.txt +++ b/liblangutil/CMakeLists.txt