Commit Graph

15 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
Will Dietz
2c11c6f6cb
kinit: fixup patch 2020-01-08 20:11:00 -06:00
nyanloutre
022db30473 kinit: fix kdeinit-extra_libs.patch 2019-08-16 11:26:17 +02: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
18f95ce5d9
kinit: don't use obsolete macros in library paths patch 2017-04-28 05:54:29 -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
Parnell Springmeyer
4aa0923009
Getting rid of the var indirection and using a bin path instead 2017-01-29 04:11:01 -06:00
Parnell Springmeyer
e92b8402b0
Addressing PR feedback 2017-01-28 20:48:03 -08:00
Parnell Springmeyer
025555d7f1
More fixes and improvements 2017-01-26 00:05:40 -08: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