python311Packages.jupyter-server: don't strip favicon on darwin

When using LLVM strip on the favicon.ico files in this package, their
size gets inflated from 31K to 772M, which results in an unreasonable
package size.

Related: #299427
This commit is contained in:
Martin Weinelt 2024-03-27 13:26:55 +01:00
parent 0ca930ad59
commit d48d1e7d09
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -70,6 +70,9 @@ buildPythonPackage rec {
overrides
];
# https://github.com/NixOS/nixpkgs/issues/299427
stripExclude = lib.optionals stdenv.isDarwin [ "favicon.ico" ];
nativeCheckInputs = [
ipykernel
pytestCheckHook