diff options
author | Nick Cao <nickcao@nichi.co> | 2023-04-16 10:12:54 +0800 |
---|---|---|
committer | Nick Cao <nickcao@nichi.co> | 2023-04-16 22:17:29 +0800 |
commit | fca522b53865fb9d890e0b5958a3120fff67e566 (patch) | |
tree | 5bd7e0f4e775e2c80dabe43b5d2f11ab1002be08 | |
parent | 6e8561539eea62d2f9c2327be1d6eda6c7672ebe (diff) | |
download | nixpkgs-fca522b53865fb9d890e0b5958a3120fff67e566.tar nixpkgs-fca522b53865fb9d890e0b5958a3120fff67e566.tar.gz nixpkgs-fca522b53865fb9d890e0b5958a3120fff67e566.tar.bz2 nixpkgs-fca522b53865fb9d890e0b5958a3120fff67e566.tar.lz nixpkgs-fca522b53865fb9d890e0b5958a3120fff67e566.tar.xz nixpkgs-fca522b53865fb9d890e0b5958a3120fff67e566.tar.zst nixpkgs-fca522b53865fb9d890e0b5958a3120fff67e566.zip |
qt6.qtbase: set strictDeps, remove python3 from buildInputs to reduce closure size
python3 is references in the shebang of three scripts: /nix/store/gbi67akslfd2n5d8q4vxpy8qzih31myl-qtbase-6.5.0 └───libexec/qt-testrunner.py: …#!/nix/store/fdqpyj613dr0v1l1lrzqhzay7sk4xg87-python3-3.10.10/bin/python3.# C… libexec/sanitizer-testrunner.py: …#!/nix/store/fdqpyj613dr0v1l1lrzqhzay7sk4xg87-python3-3.10.10/bin/python3.# C… mkspecs/features/uikit/devices.py: …#!/nix/store/fdqpyj613dr0v1l1lrzqhzay7sk4xg87-python3-3.10.10/bin/python3.# C… → /nix/store/fdqpyj613dr0v1l1lrzqhzay7sk4xg87-python3-3.10.10 All of them are normally not used in the build process of packages thus the shebangs batching can be safely skipped.
-rw-r--r-- | pkgs/development/libraries/qt-6/modules/qtbase.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/qt-6/modules/qtbase.nix b/pkgs/development/libraries/qt-6/modules/qtbase.nix index 1f8b346f79c..4a4ebb32075 100644 --- a/pkgs/development/libraries/qt-6/modules/qtbase.nix +++ b/pkgs/development/libraries/qt-6/modules/qtbase.nix @@ -178,7 +178,6 @@ stdenv.mkDerivation rec { ] ++ lib.optional libGLSupported libGL; buildInputs = [ - python3 at-spi2-core ] ++ lib.optionals (!stdenv.isDarwin) [ libinput @@ -197,6 +196,8 @@ stdenv.mkDerivation rec { propagatedNativeBuildInputs = [ lndir ]; + strictDeps = true; + enableParallelBuilding = true; inherit patches; |