diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-03-27 13:26:55 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-03-27 13:30:19 +0100 |
commit | d48d1e7d09614be1d3d384f8e9da3e343cb242e4 (patch) | |
tree | 2d389ce7920bb65b6a9f2fe9028e5901f64e699a /pkgs | |
parent | 0ca930ad59f88e8dc84d5bd090e1286e4e25e6f7 (diff) |
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
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/jupyter-server/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/jupyter-server/default.nix b/pkgs/development/python-modules/jupyter-server/default.nix index 6b0160202d872..fbde4773c80ef 100644 --- a/pkgs/development/python-modules/jupyter-server/default.nix +++ b/pkgs/development/python-modules/jupyter-server/default.nix @@ -70,6 +70,9 @@ buildPythonPackage rec { overrides ]; + # https://github.com/NixOS/nixpkgs/issues/299427 + stripExclude = lib.optionals stdenv.isDarwin [ "favicon.ico" ]; + nativeCheckInputs = [ ipykernel pytestCheckHook |