Keyd : Add patch 545.
This commit is contained in:
parent
1123aa2f22
commit
e1eb24f36c
|
@ -3,14 +3,25 @@
|
||||||
# This way you can change something in package without recreating the whole build process.
|
# This way you can change something in package without recreating the whole build process.
|
||||||
# More info: https://nixos.wiki/wiki/Overlays
|
# More info: https://nixos.wiki/wiki/Overlays
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
|
# Use a different revision.
|
||||||
# nixpkgs.overlays = [ (final: prev: {
|
# nixpkgs.overlays = [ (final: prev: {
|
||||||
# yt-dlp = prev.yt-dlp.overrideAttrs (old: {
|
# yt-dlp = prev.yt-dlp.overrideAttrs (old: {
|
||||||
# src = prev.fetchFromGitHub {
|
# src = prev.fetchFromGitHub {
|
||||||
# owner = "yt-dlp";
|
# owner = "yt-dlp";
|
||||||
# repo = "yt-dlp";
|
# repo = "yt-dlp";
|
||||||
# rev = "2024.03.10";
|
# rev = "2024.03.10";
|
||||||
# hash = "sha256-A6uciGErM4QgLrY5jMFGlPV2uH9O2cOhj5+IapyjVo0 = ";
|
# hash = "sha256-A6uciGErM4QgLrY5jMFGlPV2uH9O2cOhj5+IapyjVo0=";
|
||||||
# };
|
# };
|
||||||
# });
|
# });
|
||||||
# })];
|
# })];
|
||||||
|
|
||||||
|
# Apply patch to a program.
|
||||||
|
# nixpkgs.overlays = [ (final: prev: {
|
||||||
|
# keyd = prev.keyd.overrideAttrs (old: {
|
||||||
|
# patches = (old.patches or []) ++ [(prev.fetchpatch {
|
||||||
|
# url = "https://patch-diff.githubusercontent.com/raw/rvaiya/keyd/pull/545.patch";
|
||||||
|
# hash = "sha256-aal8oAXws6DcpeCl7G9GMJQXeLDDbyotWFut0Rf82WI=";
|
||||||
|
# })];
|
||||||
|
# });
|
||||||
|
# })];
|
||||||
}
|
}
|
||||||
|
|
11
overlay/Keyd.nix
Normal file
11
overlay/Keyd.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# Add a patch for https://github.com/rvaiya/keyd/pull/545
|
||||||
|
{ ... }: {
|
||||||
|
nixpkgs.overlays = [ (final: prev: {
|
||||||
|
keyd = prev.keyd.overrideAttrs (old: {
|
||||||
|
patches = (old.patches or []) ++ [(prev.fetchpatch {
|
||||||
|
url = "https://patch-diff.githubusercontent.com/raw/rvaiya/keyd/pull/545.patch";
|
||||||
|
hash = "sha256-aal8oAXws6DcpeCl7G9GMJQXeLDDbyotWFut0Rf82WI=";
|
||||||
|
})];
|
||||||
|
});
|
||||||
|
})];
|
||||||
|
}
|
Loading…
Reference in a new issue