diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-04-14 19:01:38 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 19:01:38 -0700 |
| commit | e8077fde966e051fc449fffcfa061c7f7edc47b0 (patch) | |
| tree | a0b1ce60f2718f90c64e924ed8df8d5d4f0d2289 /overlays | |
| parent | e486d896215e7ef04438809952bc7317512d5765 (diff) | |
migration: finalize
Diffstat (limited to 'overlays')
| -rw-r--r-- | overlays/openrgb/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/overlays/openrgb/default.nix b/overlays/openrgb/default.nix new file mode 100644 index 0000000..b86ad86 --- /dev/null +++ b/overlays/openrgb/default.nix @@ -0,0 +1,20 @@ +{ ... }: + +final: prev: { + openrgb = prev.openrgb.overrideAttrs (old: { + src = prev.fetchFromGitLab { + owner = "CalcProgrammer1"; + repo = "OpenRGB"; + rev = "44c839c1160864c25170306bc1ab392333a682af"; + hash = "sha256-k/Rt8VgaZJGktKj/Lv9G/EwtFykk1n1K2Mc3unEpF48="; + }; + + postPatch = '' + patchShebangs scripts/build-udev-rules.sh + substituteInPlace scripts/build-udev-rules.sh \ + --replace /bin/chmod "${prev.coreutils}/bin/chmod" + substituteInPlace scripts/build-udev-rules.sh \ + --replace /usr/bin/env "${prev.coreutils}/bin/env" + ''; + }); +} |