diff options
Diffstat (limited to 'third_party/nix')
-rw-r--r-- | third_party/nix/CMakeLists.txt | 9 | ||||
-rw-r--r-- | third_party/nix/default.nix | 6 | ||||
l--------- | third_party/nix/glog | 1 |
3 files changed, 3 insertions, 13 deletions
diff --git a/third_party/nix/CMakeLists.txt b/third_party/nix/CMakeLists.txt index 35fc003dd77f..58a1fe23fc5d 100644 --- a/third_party/nix/CMakeLists.txt +++ b/third_party/nix/CMakeLists.txt @@ -17,16 +17,11 @@ set(PKGCONFIG_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/pkgconfig) find_package(BZip2) find_package(Boost COMPONENTS context) # probably coroutine + ::headers, lets find out find_package(CURL) +find_package(LibLZMA) find_package(SQLite3) find_package(Threads) -find_package(LibLZMA) find_package(absl REQUIRED) - -# Linking precompiled glog binaries (linked against libstdc++) leads -# to working binaries that do not output log messages. It seems that -# in order to use glog with LLVM & libc++, one needs to make glog a -# part of the local project build. -add_subdirectory(glog) +find_package(glog REQUIRED) # generate a configuration file (autoheader-style) to configure # certain symbols that Nix depends on. diff --git a/third_party/nix/default.nix b/third_party/nix/default.nix index 6ec477c63747..b6e59213fc33 100644 --- a/third_party/nix/default.nix +++ b/third_party/nix/default.nix @@ -17,11 +17,6 @@ in pkgs.llvmPackages.libcxxStdenv.mkDerivation { version = "2.3.4"; src = ./.; - # Abseil's sources need to be symlinked into Nix' sources. - postUnpack = '' - ln -fs ${pkgs.glog.drvAttrs.src} nix/glog - ''; - nativeBuildInputs = with pkgs; [ bison clang-tools @@ -41,6 +36,7 @@ in pkgs.llvmPackages.libcxxStdenv.mkDerivation { curl editline flex + glog libseccomp libsodium openssl diff --git a/third_party/nix/glog b/third_party/nix/glog deleted file mode 120000 index 831dc12a904c..000000000000 --- a/third_party/nix/glog +++ /dev/null @@ -1 +0,0 @@ -../glog/ \ No newline at end of file |