# Patches

**URL:** https://discourse.nixos.org/c/dev/patches/19.md

[Latest](https://discourse.nixos.org/latest.md) · [Categories](https://discourse.nixos.org/categories.md)

---

## [About the Patches category](https://discourse.nixos.org/t/about-the-patches-category/477)

<div class="topic-metadata">

**Author:** [@zimbatm](https://discourse.nixos.org/u/zimbatm)\
**Replies:** 17\
**Last updated:** [July 3, 2026, 7:13am UTC](https://discourse.nixos.org/t/about-the-patches-category/477 "2026-07-03T07:13:01Z")

</div>

This category is reserved for contributors who want to submit patches without creating an account on GitHub. How to contribute Sign up to https://discourse.nixos.org/ with your sender email Send your patches to nixos1+…

---

## [I found a fix for plymouth not displaying but I'm not sure who to tell](https://discourse.nixos.org/t/i-found-a-fix-for-plymouth-not-displaying-but-im-not-sure-who-to-tell/77247)

<div class="topic-metadata">

**Author:** [@Krutonium](https://discourse.nixos.org/u/Krutonium)\
**Replies:** 16\
**Last updated:** [June 14, 2026, 5:49pm UTC](https://discourse.nixos.org/t/i-found-a-fix-for-plymouth-not-displaying-but-im-not-sure-who-to-tell/77247 "2026-06-14T17:49:06Z")

</div>

boot.initrd.systemd.services.plymouth-start = { after = \[ “systemd-modules-load.service” \]; requires = \[ “systemd-modules-load.service” \]; }; So on my Desktop, without this, with systemd based init (which iirc is ab…

---

## [Request to upstream out-of-tree packages](https://discourse.nixos.org/t/request-to-upstream-out-of-tree-packages/72885)

<div class="topic-metadata">

**Author:** [@simplejack-src](https://discourse.nixos.org/u/simplejack-src)\
**Replies:** 6\
**Last updated:** [December 4, 2025, 6:22pm UTC](https://discourse.nixos.org/t/request-to-upstream-out-of-tree-packages/72885 "2025-12-04T18:22:38Z")

</div>

Hi, I maintain (out-of-tree, for my own uses, no GitHub account anymore) a couple of packages. Curious if anyone wants to submit a PR for these (I’m no good for a maintainer role, as no GitHub account)? If not, feel fre…

---

## [\[PATCH\] lib: Add documentation for mkOverride](https://discourse.nixos.org/t/patch-lib-add-documentation-for-mkoverride/60253)

<div class="topic-metadata">

**Author:** [@ddoonniixx](https://discourse.nixos.org/u/ddoonniixx)\
**Replies:** 3\
**Last updated:** [July 23, 2025, 12:31pm UTC](https://discourse.nixos.org/t/patch-lib-add-documentation-for-mkoverride/60253 "2025-07-23T12:31:16Z")

</div>

PatchFrom 52ab14ad94892ca90441297a241bcde96f7bcff6 Mon Sep 17 00:00:00 2001 From: Do Nix \<um2iai+9g233t397b57k@sharklasers.com\> Date: Thu, 13 Feb 2025 14:50:55 +0100 Subject: \[PATCH\] lib: Add documentation for mkOv…

---

## [PATCH\] Add/modify documentation for pkgs.callPackage and lib.callPackageWith](https://discourse.nixos.org/t/patch-add-modify-documentation-for-pkgs-callpackage-and-lib-callpackagewith/60315)

<div class="topic-metadata">

**Author:** [@ddoonniixx](https://discourse.nixos.org/u/ddoonniixx)\
**Replies:** 2\
**Last updated:** [July 23, 2025, 11:37am UTC](https://discourse.nixos.org/t/patch-add-modify-documentation-for-pkgs-callpackage-and-lib-callpackagewith/60315 "2025-07-23T11:37:20Z")

</div>

I personally struggled with these functions for a while, especially pkgs.callPackage, until understanding them (at least I hope I did). To spare my fellow newbies, hopefully this patch will help. output of git format-pa…

---

## [Add libsecret to wxGTK32](https://discourse.nixos.org/t/add-libsecret-to-wxgtk32/62721)

<div class="topic-metadata">

**Author:** [@simplejack-src](https://discourse.nixos.org/u/simplejack-src)\
**Replies:** 2\
**Last updated:** [April 8, 2025, 12:03am UTC](https://discourse.nixos.org/t/add-libsecret-to-wxgtk32/62721 "2025-04-08T00:03:15Z")

</div>

Hi, Can I get a committer (hell anyone who can put up a PR) to add libsecret to the buildInputs of the wxGTK32 (wxWidgets) package? wxWidgets uses libsecret (on Linux) for its wxSecretStore backend. Simple addition: ……

---

## [\[PATCH\] firejail: fix --netfilter option](https://discourse.nixos.org/t/patch-firejail-fix-netfilter-option/60319)

<div class="topic-metadata">

**Author:** [@ddoonniixx](https://discourse.nixos.org/u/ddoonniixx)\
**Replies:** 0\
**Last updated:** [February 14, 2025, 9:41pm UTC](https://discourse.nixos.org/t/patch-firejail-fix-netfilter-option/60319 "2025-02-14T21:41:17Z")

</div>

Related issue on firejail github repo. The proposed solution is a ./configure option, which would be much cleaner, but this is how I solved it for now (it’s running locally). output of git format-patch HEAD^From 2801a1b…

---

## [\[PATCH\] all-packages: Add documentation for apacheHttpdPackagesFor](https://discourse.nixos.org/t/patch-all-packages-add-documentation-for-apachehttpdpackagesfor/60313)

<div class="topic-metadata">

**Author:** [@ddoonniixx](https://discourse.nixos.org/u/ddoonniixx)\
**Replies:** 0\
**Last updated:** [February 14, 2025, 6:11pm UTC](https://discourse.nixos.org/t/patch-all-packages-add-documentation-for-apachehttpdpackagesfor/60313 "2025-02-14T18:11:44Z")

</div>

output of git format-patch HEAD^From 690693f8791429c1c2e03476cac7fa62bec3bb04 Mon Sep 17 00:00:00 2001 From: Do Nix \<um2iai+9g233t397b57k@sharklasers.com\> Date: Fri, 14 Feb 2025 19:09:46 +0100 Subject: \[PATCH\] all-…

---

## [PATCH\] lib: copy documentation from manual to types.submodulesWith](https://discourse.nixos.org/t/patch-lib-copy-documentation-from-manual-to-types-submoduleswith/60310)

<div class="topic-metadata">

**Author:** [@ddoonniixx](https://discourse.nixos.org/u/ddoonniixx)\
**Replies:** 0\
**Last updated:** [February 14, 2025, 5:48pm UTC](https://discourse.nixos.org/t/patch-lib-copy-documentation-from-manual-to-types-submoduleswith/60310 "2025-02-14T17:48:20Z")

</div>

Patch from git format-patch HEAD^From 9d01e329611f04cc213e0345625ac658e2de5ced Mon Sep 17 00:00:00 2001 From: Do Nix \<um2iai+9g233t397b57k@sharklasers.com\> Date: Fri, 14 Feb 2025 18:42:12 +0100 Subject: \[PATCH\] lib…

---

## [FreeCAD 1.0rc1 override](https://discourse.nixos.org/t/freecad-1-0rc1-override/51793)

<div class="topic-metadata">

**Author:** [@hallundbaek](https://discourse.nixos.org/u/hallundbaek)\
**Replies:** 0\
**Last updated:** [September 8, 2024, 9:56am UTC](https://discourse.nixos.org/t/freecad-1-0rc1-override/51793 "2024-09-08T09:56:16Z")

</div>

Hey yall’s, not sure where to dump this. But I wrote an override for FreeCAD to try out the recently released release candidate for 1.0. Don’t know the proper place for it, so I am posting it here for discoverability: …

---

## [Update xdg-desktop-portal-hyprland to 1.3.3](https://discourse.nixos.org/t/update-xdg-desktop-portal-hyprland-to-1-3-3/49782)

<div class="topic-metadata">

**Author:** [@gian](https://discourse.nixos.org/u/gian)\
**Replies:** 2\
**Last updated:** [July 29, 2024, 2:39am UTC](https://discourse.nixos.org/t/update-xdg-desktop-portal-hyprland-to-1-3-3/49782 "2024-07-29T02:39:56Z")

</div>

I’m not sure if this is the right place or tag to ask this, but xdg-desktop-portal-hyprland needs to be updated to v1.3.3 on channel 24.05 (currently shipping v1.3.1) because of a bug (xdg-desktop-portal-hyprland deletin…

---

## [\[PATCH\] nix 2.16.2 -\> 2.16.3 for CVE-2024-27297](https://discourse.nixos.org/t/patch-nix-2-16-2-2-16-3-for-cve-2024-27297/41658)

<div class="topic-metadata">

**Author:** [@Birdee](https://discourse.nixos.org/u/Birdee)\
**Replies:** 9\
**Last updated:** [March 17, 2024, 7:36pm UTC](https://discourse.nixos.org/t/patch-nix-2-16-2-2-16-3-for-cve-2024-27297/41658 "2024-03-17T19:36:55Z")

</div>

I have a particular question. When making a pr to nixpkgs, what is common practice? Do I fork master and then PR straight to it? Is there a branch to submit to first? In addition, I’m a noob who would love to know what a…

---

## [Casual Nixpkgs contributions](https://discourse.nixos.org/t/casual-nixpkgs-contributions/9607)

<div class="topic-metadata">

**Author:** [@kvtb](https://discourse.nixos.org/u/kvtb)\
**Replies:** 18\
**Last updated:** [March 14, 2024, 7:07pm UTC](https://discourse.nixos.org/t/casual-nixpkgs-contributions/9607 "2024-03-14T19:07:56Z")

</div>

Referring to the discussion here How many people are paid to work on Nix/Nixpkgs? I open this topic to be able do to casual nixpkgs contributions. The idea is to lower the threshold to contribute to Nixpkgs for people li…

---

## [\[PATCH\] FreeTuxTV](https://discourse.nixos.org/t/patch-freetuxtv/16436)

<div class="topic-metadata">

**Author:** [@faveoled](https://discourse.nixos.org/u/faveoled)\
**Replies:** 0\
**Last updated:** [December 5, 2021, 12:30pm UTC](https://discourse.nixos.org/t/patch-freetuxtv/16436 "2021-12-05T12:30:33Z")

</div>

diff --git a/pkgs/applications/video/freetuxtv/default.nix b/pkgs/applications/video/freetuxtv/default.nix new file mode 100644 index 00000000000..be971e72db2 --- /dev/null +++ b/pkgs/applications/video/freetuxtv/default…

---

## [\[PATCH\] nixos/modules/unbound: include AF\_NETLINK in permitted AFs](https://discourse.nixos.org/t/patch-nixos-modules-unbound-include-af-netlink-in-permitted-afs/10398)

<div class="topic-metadata">

**Author:** [@andir](https://discourse.nixos.org/u/andir)\
**Replies:** 0\
**Last updated:** [December 7, 2020, 8:32pm UTC](https://discourse.nixos.org/t/patch-nixos-modules-unbound-include-af-netlink-in-permitted-afs/10398 "2020-12-07T20:32:39Z")

</div>

As of unbound 1.12.0 the AF\_NETLINK is required during process startup in some configurations. Without this patch the process startup terminates as follows: \[1607371992\] unbound\[10523:0\] error: failed to list interfa…

---

## [Re: \[PATCH\] vis: Add missing file(1) dependency](https://discourse.nixos.org/t/re-patch-vis-add-missing-file-1-dependency/4435)

<div class="topic-metadata">

**Author:** [@kl3](https://discourse.nixos.org/u/kl3)\
**Replies:** 0\
**Last updated:** [October 19, 2019, 1:58pm UTC](https://discourse.nixos.org/t/re-patch-vis-add-missing-file-1-dependency/4435 "2019-10-19T13:58:23Z")

</div>

New diff ontop of latest HEAD, as MIME attachment this time; perhaps discourse gets it this time… Also Cc’ing maintainers. (Attachment 0001-vis-Add-missing-file-1-dependency.patch is missing)

---

## [\[PATCH\] vis: Add missing file(1) dependency](https://discourse.nixos.org/t/patch-vis-add-missing-file-1-dependency/4405)

<div class="topic-metadata">

**Author:** [@kl3](https://discourse.nixos.org/u/kl3)\
**Replies:** 0\
**Last updated:** [October 17, 2019, 10:08am UTC](https://discourse.nixos.org/t/patch-vis-add-missing-file-1-dependency/4405 "2019-10-17T10:08:28Z")

</div>

Required for syntax hilighting; opening /etx/nixos/configuration.nix immediatly prints sh: file: command not found Improve description while here.

---

## [Nixos/documentation: nixos-help: use w3m(1) by default](https://discourse.nixos.org/t/nixos-documentation-nixos-help-use-w3m-1-by-default/3124)

<div class="topic-metadata">

**Author:** [@kl3](https://discourse.nixos.org/u/kl3)\
**Replies:** 9\
**Last updated:** [June 22, 2019, 5:49pm UTC](https://discourse.nixos.org/t/nixos-documentation-nixos-help-use-w3m-1-by-default/3124 "2019-06-22T17:49:38Z")

</div>

It is referenced in various places, but does not work out of the box: $ nixos-help /run/current-system/sw/bin/nixos-help: unable to start a web browser; please set $BROWSER In the user-hidden fallbacks to xdg-o…

---

## [Hdapsd: automatically enable the hdapsd kernel module](https://discourse.nixos.org/t/hdapsd-automatically-enable-the-hdapsd-kernel-module/2183)

<div class="topic-metadata">

**Author:** [@hpoussin](https://discourse.nixos.org/u/hpoussin)\
**Replies:** 3\
**Last updated:** [February 24, 2019, 6:53pm UTC](https://discourse.nixos.org/t/hdapsd-automatically-enable-the-hdapsd-kernel-module/2183 "2019-02-24T18:53:23Z")

</div>

Without adding this module, the service is not directly usable. --- nixos/modules/services/monitoring/hdaps.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/monitoring/hdaps.nix b/nixos/mo…

---

## [Bump openmw-0.44.0 and ported to Qt5](https://discourse.nixos.org/t/bump-openmw-0-44-0-and-ported-to-qt5/2121)

<div class="topic-metadata">

**Author:** [@init\_6](https://discourse.nixos.org/u/init_6)\
**Replies:** 5\
**Last updated:** [February 24, 2019, 4:37am UTC](https://discourse.nixos.org/t/bump-openmw-0-44-0-and-ported-to-qt5/2121 "2019-02-24T04:37:16Z")

</div>

Bump openmw to 0.44.0 and ported to Qt5. https://github.com/NixOS/nixpkgs/pull/46153 + https://github.com/NixOS/nixpkgs/pull/33239 \> cat openmw-0.44.0-qt5.patch diff --git a/pkgs/games/openmw/default.nix b/pkgs/games/o…

---

## [\[review request\] iPhone semi-automount module](https://discourse.nixos.org/t/review-request-iphone-semi-automount-module/915)

<div class="topic-metadata">

**Author:** [@danbst](https://discourse.nixos.org/u/danbst)\
**Replies:** 0\
**Last updated:** [September 8, 2018, 8:18pm UTC](https://discourse.nixos.org/t/review-request-iphone-semi-automount-module/915 "2018-09-08T20:18:02Z")

</div>

Greetings. I’ve got a need to transfer files from iPhone and found that NixOS doesn’t provide a module for that. I present here an example of such module: Current problems with this module, which make it impossible to…
