Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
972 B
Nix
45 lines
972 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "ananicy-rules-cachyos";
|
|
version = "0-unstable-2025-09-09";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CachyOS";
|
|
repo = "ananicy-rules";
|
|
rev = "0f5d7883cc4c49b8e9c51d5512ba145b5289eb05";
|
|
hash = "sha256-8zzUp1am6nu/6EnQkPTDkd/TLb2SBgSSyNpUyv44Zr8=";
|
|
};
|
|
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/etc/ananicy.d
|
|
rm README.md LICENSE
|
|
cp -r * $out/etc/ananicy.d
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
hardcodeZeroVersion = true;
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/CachyOS/ananicy-rules";
|
|
description = "CachyOS' ananicy-rules meant to be used with ananicy-cpp";
|
|
license = lib.licenses.gpl3Only;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [
|
|
artturin
|
|
johnrtitor
|
|
];
|
|
};
|
|
}
|