Cleaning up
This commit is contained in:
parent
45992b10ae
commit
a4765b4fee
7 changed files with 84 additions and 54 deletions
25
overlays/openrgb/package.nix
Normal file
25
overlays/openrgb/package.nix
Normal 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"
|
||||
'';
|
||||
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue