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:30:19 +01:00
parent 0ca930ad59
commit d48d1e7d09
@@ -70,6 +70,9 @@ buildPythonPackage rec {
overrides
];
# https://github.com/NixOS/nixpkgs/issues/299427
stripExclude = lib.optionals stdenv.isDarwin [ "favicon.ico" ];
nativeCheckInputs = [
ipykernel
pytestCheckHook