libpsl: split outputs

https://github.com/NixOS/nixpkgs/pull/285295#issuecomment-1970426344
This commit is contained in:
Vladimír Čunát 2024-02-29 08:00:31 +01:00
parent 13aff9b34c
commit 3af48c85ed
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
2 changed files with 4 additions and 1 deletions

View File

@ -23,6 +23,9 @@ stdenv.mkDerivation rec {
hash = "sha256-mp9qjG7bplDPnqVUdc0XLdKEhzFoBOnHMgLZdXLNOi0=";
};
# bin/psl-make-dafsa brings a large runtime closure through python3
outputs = [ "bin" "out" "dev" ];
nativeBuildInputs = [
autoreconfHook
docbook_xsl

View File

@ -188,7 +188,7 @@ let
# available for aarch64. It has to be called
# libpsl.x86_64.so or it isn't found.
postPatch = ''
cp $(readlink -f ${libpsl}/lib/libpsl.so) vendor/libpsl.x86_64.so
cp $(readlink -f ${lib.getLib libpsl}/lib/libpsl.so) vendor/libpsl.x86_64.so
'';
};
};