2024-05-04 23:15:57 +03:00
|
|
|
# Example overlay file.
|
|
|
|
# Overlays can change parameters in package builds, like source version.
|
|
|
|
# This way you can change something in package without recreating the whole build process.
|
|
|
|
# More info: https://nixos.wiki/wiki/Overlays
|
2024-10-11 23:27:07 +03:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
# Use a different revision.
|
|
|
|
# nixpkgs.overlays = [ (final: prev: {
|
|
|
|
# yt-dlp = prev.yt-dlp.overrideAttrs (old: {
|
|
|
|
# src = prev.fetchFromGitHub {
|
|
|
|
# owner = "yt-dlp";
|
|
|
|
# repo = "yt-dlp";
|
|
|
|
# rev = "2024.03.10";
|
|
|
|
# hash = "sha256-A6uciGErM4QgLrY5jMFGlPV2uH9O2cOhj5+IapyjVo0=";
|
|
|
|
# };
|
|
|
|
# });
|
|
|
|
# })];
|
2024-05-28 14:18:25 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
# 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=";
|
|
|
|
# })];
|
|
|
|
# });
|
|
|
|
# })];
|
2024-03-14 12:59:21 +03:00
|
|
|
}
|