From 3ec47a7bb0b297bb6159a17c34f6f4945a7f765b Mon Sep 17 00:00:00 2001 From: Arian van Putten Date: Fri, 24 Apr 2020 14:15:44 +0200 Subject: [PATCH] libcbor: Fix pkgconfig being placed correctly Fixes #85932 --- pkgs/development/libraries/libcbor/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/libcbor/default.nix b/pkgs/development/libraries/libcbor/default.nix index 7067caa42c0c..9b6a54d92f97 100644 --- a/pkgs/development/libraries/libcbor/default.nix +++ b/pkgs/development/libraries/libcbor/default.nix @@ -16,6 +16,8 @@ stdenv.mkDerivation rec { doCheck = false; # needs "-DWITH_TESTS=ON", but fails w/compilation error + cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ]; + NIX_CFLAGS_COMPILE = "-fno-lto"; meta = with stdenv.lib; {