Cleaning up

This commit is contained in:
Paul-Mathias Logue 2025-12-14 00:23:16 +01:00
parent 45992b10ae
commit a4765b4fee
7 changed files with 84 additions and 54 deletions

View file

@ -1,20 +0,0 @@
final: prev: {
openrgb = prev.openrgb.overrideAttrs (old: {
src = final.fetchFromGitLab {
owner = "CalcProgrammer1";
repo = "OpenRGB";
rev = "release_candidate_1.0rc2";
sha256 = "vdIA9i1ewcrfX5U7FkcRR+ISdH5uRi9fz9YU5IkPKJQ=";
};
patches = [
./remove_systemd_service.patch
];
postPatch = ''
patchShebangs scripts/build-udev-rules.sh
substituteInPlace scripts/build-udev-rules.sh \
--replace-fail /usr/bin/env "${final.coreutils}/bin/env"
'';
version = "1.0rc2";
});
}

View file

@ -0,0 +1,25 @@
{
coreutils,
fetchFromGitLab,
openrgb,
...
}:
openrgb.overrideAttrs (old: {
version = "1.0rc2";
src = fetchFromGitLab {
owner = "CalcProgrammer1";
repo = "OpenRGB";
rev = "release_candidate_1.0rc2";
sha256 = "vdIA9i1ewcrfX5U7FkcRR+ISdH5uRi9fz9YU5IkPKJQ=";
};
patches = [
./remove_systemd_service.patch
];
postPatch = ''
patchShebangs scripts/build-udev-rules.sh
substituteInPlace scripts/build-udev-rules.sh \
--replace-fail /usr/bin/env "${coreutils}/bin/env"
'';
})