patch gaypanel

This commit is contained in:
Henry Hiles 2026-11-03 16:34:36 -05:00
commit a74ffeb039
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -90,9 +90,25 @@ let
in in
{ {
wrappers.gaypanel = { wrappers.gaypanel = {
basePackage = inputs.gaypanel.packages.${pkgs.stdenv.hostPlatform.system}.default.overrideAttrs { basePackage = inputs.gaypanel.packages.${pkgs.stdenv.hostPlatform.system}.default.overrideAttrs (
old:
let
oldSpikeadw = "spikeadw#8687c1c90d0d4384e190384d267139d9a9e50e6e";
newSpikeadw = "spikeadw#e263ae128b02d8fb491b6492f1354ae7dbdb3059";
in
{
patches = [ ./no-sound-panic.patch ]; patches = [ ./no-sound-panic.patch ];
postPatch = (old.postPatch or "") + ''
substituteInPlace Cargo.lock --replace-fail ${oldSpikeadw} ${newSpikeadw}
'';
cargoDeps = pkgs.rustPlatform.importCargoLock {
lockFileContents = builtins.replaceStrings [ oldSpikeadw ] [ newSpikeadw ] (
builtins.readFile "${old.src}/Cargo.lock"
);
allowBuiltinFetchGit = true;
}; };
}
);
prependFlags = [ prependFlags = [
"--config" "--config"