[PATCH 02/13] pkgs: s6: backport s6-softlimit -P

Alyssa Ross
2025-11-26T21:34:57Z

We'll need this to run PipeWire as non-root.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
---
pkgs/skaware-packages/default.nix | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/pkgs/skaware-packages/default.nix b/pkgs/skaware-packages/default.nix
index f0d924b..e248201 100644
--- a/pkgs/skaware-packages/default.nix
+++ b/pkgs/skaware-packages/default.nix
@@ -4,6 +4,15 @@
import ../../lib/overlay-package.nix [ "skawarePackages" ] ({ final, super }:

super.skawarePackages.overrideScope (_: prev: {
+ s6 = prev.s6.overrideAttrs ({ patches ? [], ... }: {
+ patches = patches ++ [
+ (final.fetchpatch {
+ url = "https://git.skarnet.org/cgi-bin/cgit.cgi/s6/patch/?id=c3a8ef7034fb2bc02f35381a8970ac026822a810";
+ hash = "sha256-lgCoPbEYru6/a2bpVpLsZ2Rq2OHhNVs0lDgFO/df1Aw=";
+ })
+ ];
+ });
+
mdevd = prev.mdevd.overrideAttrs ({ patches ? [], ... }: {
patches = patches ++ [
(final.fetchpatch {
--
2.51.0