libpsl: don't make first output conditional if build statically

This can cause surprises if no output is chosen.
This commit is contained in:
Sandro Jäckel 2024-08-24 00:39:58 +02:00
parent 625941e1a9
commit 6e725d468c
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -23,8 +23,9 @@ stdenv.mkDerivation rec {
hash = "sha256-mp9qjG7bplDPnqVUdc0XLdKEhzFoBOnHMgLZdXLNOi0=";
};
# bin/psl-make-dafsa brings a large runtime closure through python3
outputs = lib.optional (!stdenv.hostPlatform.isStatic) "bin" ++ [ "out" "dev" ];
outputs = [ "out" "dev" ]
# bin/psl-make-dafsa brings a large runtime closure through python3
++ lib.optional (!stdenv.hostPlatform.isStatic) "bin";
nativeBuildInputs = [
autoreconfHook
@ -77,7 +78,7 @@ stdenv.mkDerivation rec {
the domain in a user interface or sorting domain lists by site.
'';
homepage = "https://rockdaboot.github.io/libpsl/";
changelog = "https://raw.githubusercontent.com/rockdaboot/${pname}/${pname}-${version}/NEWS";
changelog = "https://raw.githubusercontent.com/rockdaboot/libpsl/libpsl-${version}/NEWS";
license = licenses.mit;
maintainers = [ maintainers.c0bw3b ];
mainProgram = "psl";