diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-03 19:48:35 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:44 -0700 |
| commit | ef4b43dfad047cbd3219deaab8f50b8cd4bc1891 (patch) | |
| tree | bb081f008215d1e0b27a916d17cc1c53d00974d2 /snowfall | |
| parent | b3b408f94f189b8c69b1d2eb446d508d44494273 (diff) | |
migration: openrgb overlay
Diffstat (limited to 'snowfall')
| -rw-r--r-- | snowfall/overlays/openrgb/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/snowfall/overlays/openrgb/default.nix b/snowfall/overlays/openrgb/default.nix new file mode 100644 index 0000000..b86ad86 --- /dev/null +++ b/snowfall/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" + ''; + }); +} |