Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions pkgs/development/libraries/libpsl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
};

# bin/psl-make-dafsa brings a large runtime closure through python3
outputs = [ "bin" "out" "dev" ];
outputs = lib.optional (!stdenv.hostPlatform.isStatic) "bin" ++ [ "out" "dev" ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not great as the default output for static is now a different one.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but this way avoids rebuilds. Send a PR for the right change, as you see it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


nativeBuildInputs = [
autoreconfHook
Expand All @@ -40,14 +40,13 @@ stdenv.mkDerivation rec {
libidn2
libunistring
libxslt
python3
];
] ++ lib.optional (!stdenv.hostPlatform.isStatic) python3;

propagatedBuildInputs = [
publicsuffix-list
];

postPatch = ''
postPatch = lib.optionalString (!stdenv.hostPlatform.isStatic) ''
patchShebangs src/psl-make-dafsa
'';

Expand Down