From b3fe6fb1c61aaf67027989ea6516b2751e985c06 Mon Sep 17 00:00:00 2001 From: Lorenzo Manacorda Date: Fri, 21 Dec 2018 23:42:03 +0100 Subject: [PATCH] solc: 0.5.1 -> 0.5.2 --- pkgs/development/compilers/solc/default.nix | 6 +++--- .../compilers/solc/patches/shared-libs-install.patch | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/compilers/solc/default.nix b/pkgs/development/compilers/solc/default.nix index 38a554a3fe3e..48279fd71087 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 0fb693ef4218..e106c9bbb742 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