Unverified Commit fca522b5 authored by Nick Cao's avatar Nick Cao
Browse files

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.
parent 6e856153
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;