Commit graph

18 commits

Author SHA1 Message Date
Yaroslav Bolyukin 47d5bebf67
kinit: upgrade patches
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
2021-02-26 05:50:21 +03:00
Yaroslav Bolyukin 0fbd3e9591
kinit: increase environment limit
Limit is already increased for standard xorg plasma distribution to
start, but with wayland, even more libraries being added

Increasing this limit to 1 << 20 (1M) seems to be enough (For me
length is 80K), and not so much for regular desktops

Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
2020-12-23 17:46:59 +03:00
V 79921889a0 treewide: convert patch series files to Nix expressions
Nix expressions provide all the features that Quilt series files have,
so using those instead is pointless. Also, lib.readPathsFromFile
(the function used to read series files) has the following warning:

> NOTE: This function is not performant and should be avoided.

This also removes some orphaned series files, and unused references to
copyPathsToStore (which were probably missed in previous commits
where calls to lib.readPathsFromFile were removed)
2020-09-03 19:15:05 +02:00
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