patch gaypanel
This commit is contained in:
parent
0f69ea204a
commit
a74ffeb039
1 changed files with 19 additions and 3 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue