Commit Graph

9 Commits

Author SHA1 Message Date
Thomas Tuegel
c75860918f
kinit: Increase environment size limit
start_kdeinit reads its environment over a pipe from start_kdeinit_wrapper. For
security, each environment entry must be smaller than 4kb by default. Qt-based
applications in Nixpkgs may have larger environments, and the recent upgrade to
Plasma 5.17 pushed start_kdeinit_wrapper over the limit. The limit is now
extended to 16kb.

This problem was not detected during testing because the failure is silent:
start_kdeinit will continue with an empty environment. In other circumstances,
this strategy might work, but it does not work on NixOS. This failure is now
treated as a fatal error.

Fixes: #79707
2020-02-17 08:21:39 -06:00
Thomas Tuegel
f79fd2e826
wrapQtAppsHook: wrap Qt applications for runtime dependencies 2019-07-05 10:41:41 -05:00
Bastian Köcher
97db143538 kinit: Fixes build 2018-01-16 12:21:18 +01:00
Thomas Tuegel
faf0d3e91d
kdeFrameworks: fixup inputs and outputs
- Reduce environment pollution with a separate $bin output containing programs,
  plugins, and shared data. Libraries remain in $out and are not installed into
  the environment.
- Only propagate build inputs as required.
2017-06-18 08:44:45 -05:00
Thomas Tuegel
945758f960
kdeFrameworks: rename kdeFramework to mkDerivation 2017-06-18 08:42:20 -05:00
Thomas Tuegel
594ee6d570
kinit: set absolute path to extra libraries 2017-04-28 05:54:20 -05:00
Thomas Tuegel
127bf18a35
extra-cmake-modules: Lift Qt dependency 2017-02-27 11:49:46 -06:00
Thomas Tuegel
b390eb39ae kde5: fix extra-cmake-modules hooks 2016-07-30 09:36:52 -05:00
Thomas Tuegel
4856a2a1ea build KDE Frameworks with each Qt version 2016-07-28 18:27:13 -05:00