From ed3cfc8abe467110ded21593f8695ebb3e392087 Mon Sep 17 00:00:00 2001 From: Vikram Narayanan Date: Fri, 26 Nov 2021 22:21:55 -0800 Subject: [PATCH] invidious/lsquic: fix build --- pkgs/servers/invidious/lsquic.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/servers/invidious/lsquic.nix b/pkgs/servers/invidious/lsquic.nix index 35b93e4249f2..acc9b97ae5df 100644 --- a/pkgs/servers/invidious/lsquic.nix +++ b/pkgs/servers/invidious/lsquic.nix @@ -26,9 +26,9 @@ stdenv.mkDerivation rec { buildInputs = [ boringssl' libevent zlib ]; cmakeFlags = [ - "-DBORINGSSL_DIR=${boringssl'}" - "-DBORINGSSL_LIB_crypto=${boringssl'}/lib/libcrypto.a" - "-DBORINGSSL_LIB_ssl=${boringssl'}/lib/libssl.a" + "-DBORINGSSL_DIR=${lib.getDev boringssl'}" + "-DBORINGSSL_LIB_crypto=${lib.getLib boringssl'}/lib/libcrypto.a" + "-DBORINGSSL_LIB_ssl=${lib.getLib boringssl'}/lib/libssl.a" "-DZLIB_LIB=${zlib}/lib/libz.so" ]; @@ -39,8 +39,8 @@ stdenv.mkDerivation rec { mkdir combinedlib cd combinedlib - ar -x ${boringssl'}/lib/libssl.a - ar -x ${boringssl'}/lib/libcrypto.a + ar -x ${lib.getLib boringssl'}/lib/libssl.a + ar -x ${lib.getLib boringssl'}/lib/libcrypto.a ar -x ../src/liblsquic/liblsquic.a ar rc liblsquic.a *.o ranlib liblsquic.a