192 lines
7.3 KiB
Nix
192 lines
7.3 KiB
Nix
# track PRs on their way to master: <https://nixpk.gs/pr-tracker.htm>
|
|
{ fetchpatch2 }:
|
|
let
|
|
fetchpatch' = {
|
|
saneCommit ? null,
|
|
nixpkgsCommit ? null,
|
|
saneGhCommit ? null,
|
|
prUrl ? null,
|
|
hash ? null,
|
|
name ? null,
|
|
revert ? false,
|
|
}:
|
|
let
|
|
# XXX(2024-07-31): full_index=1 for reproducibility (prevent patch hashes from spontaneously changing)
|
|
# - <https://github.com/NixOS/nixpkgs/issues/257446#issuecomment-1736563091>
|
|
url = if prUrl != null then
|
|
# prUrl takes precedence over any specific commit
|
|
"${prUrl}.diff?full_index=1"
|
|
else if nixpkgsCommit != null then
|
|
"https://github.com/NixOS/nixpkgs/commit/${nixpkgsCommit}.patch?full_index=1"
|
|
else if saneGhCommit != null then
|
|
"https://github.com/uninsane/nixpkgs/commit/${saneGhCommit}.patch?full_index=1"
|
|
else
|
|
"https://git.uninsane.org/colin/nixpkgs/commit/${saneCommit}.patch?full_index=1"
|
|
;
|
|
in fetchpatch2 (
|
|
{ inherit revert url; }
|
|
// (if hash != null then { inherit hash; } else {})
|
|
// (if name != null then { inherit name; } else {})
|
|
);
|
|
in
|
|
[
|
|
(fetchpatch' {
|
|
name = ''nixos/bind: add an "extraArgs" option'';
|
|
# saneCommit = "ab65c92241bd4acab25aad19d0fea4873c1bc3b7";
|
|
prUrl = "https://github.com/NixOS/nixpkgs/pull/414825";
|
|
hash = "sha256-Hs3uKT3b5D4hkipEgD19j+bv5k63Eba8jMdENaE1Plg=";
|
|
})
|
|
|
|
(fetchpatch' {
|
|
name = "zelda64recomp: init at 1.2.0";
|
|
prUrl = "https://github.com/NixOS/nixpkgs/pull/313013";
|
|
hash = "sha256-5M6+FQElYRBNmqLdDosM88yaHzS5mTVwECy2wd/fKdo=";
|
|
})
|
|
|
|
# TODO: enable, once i can tolerate a mass rebuild
|
|
# (fetchpatch' {
|
|
# name = "libpcap: enable dbus, rdma, bluetooth features";
|
|
# prUrl = "https://github.com/NixOS/nixpkgs/pull/429225";
|
|
# hash = "sha256-cALgj+7eXd3H4WAmW6CIcxWRC3D4PoY2PWNsDxK+G9g=";
|
|
# })
|
|
|
|
(fetchpatch' {
|
|
name = "signal-desktop: fix cross compilation";
|
|
prUrl = "https://github.com/NixOS/nixpkgs/pull/423089";
|
|
hash = "sha256-4VEKjZsI7XW+/gbq3fn3bjjciPKtd2IU8SH4CsqqJ6Y=";
|
|
})
|
|
|
|
(fetchpatch' {
|
|
name = "fractal: fix cross compilation";
|
|
prUrl = "https://github.com/NixOS/nixpkgs/pull/437038";
|
|
hash = "sha256-B7s2aNVony+G7FW2PaR7FVO7zzWa7SiLONWRGrsXA3A=";
|
|
})
|
|
|
|
(fetchpatch' {
|
|
# desko nixpkgs branch: `pr-papers-cross`
|
|
name = "papers: fix cross compilation";
|
|
saneCommit = "eaed8b1530ce9eb9f674677003866d2d793b90fa";
|
|
hash = "sha256-b5BNpbM7lXSPT9h3zQZStPRk6yyfH4x6g2tpjXW94EM=";
|
|
})
|
|
|
|
(fetchpatch' {
|
|
# desko nixpkgs branch: `pr-delfin-cross`
|
|
name = "delfin: fix cross compilation";
|
|
saneCommit = "b19145967431b49849d7dc5e0657322134297a24";
|
|
hash = "sha256-Zj2U5y94oapHGZ/Ez/5pM5MY3wAwt5jj5hht9xDSHx0=";
|
|
})
|
|
|
|
(fetchpatch' {
|
|
# desko nixpkgs branch: `pr-spot-cross`
|
|
name = "spot: fix cross compilation";
|
|
saneCommit = "09558b2d4b0e5fb74fc5c40b4c6cb0b7e72f7d00";
|
|
hash = "sha256-vpTKdxY6ybXup9Xls662tQg1UikvLo4PTxU1A++Ynh4=";
|
|
})
|
|
|
|
(fetchpatch' {
|
|
# desko nixpkgs branch: `pr-video-trimmer-cross`
|
|
name = "video-trimmer: fix cross compilation";
|
|
saneCommit = "6809ffd293ec65ef44deae7b6436afdcc4a36efb";
|
|
hash = "sha256-ZDDRdGPpxER/i2trBDiovbIZc0Qe94iUp/XdWvIvG98=";
|
|
})
|
|
|
|
(fetchpatch' {
|
|
name = "coincurve: fix build";
|
|
# saneCommit = "cd118a2491e613f0d4dd8673a6ac17a0094dd987";
|
|
prUrl = "https://github.com/NixOS/nixpkgs/pull/437180";
|
|
hash = "sha256-u/dLLLG7Keamd5sZyXnSEpXWFRnX2dITt2lNSiO3Ux8=";
|
|
})
|
|
|
|
# (fetchpatch' {
|
|
# # opencv used by alpaca, newelle
|
|
# name = "opencv: fix cross compliation by patching protobuf";
|
|
# prUrl = "https://github.com/NixOS/nixpkgs/pull/415591";
|
|
# hash = "sha256-ZTTIw10Nh179JrAudSuC8FDTSW2CspYrRchMi+ODwww=";
|
|
# })
|
|
|
|
# (fetchpatch' {
|
|
# # XXX(2025-01-06): patch does not produce valid binaries for cross
|
|
# name = "lua-language-server: fix cross compiling";
|
|
# prUrl = "https://github.com/NixOS/nixpkgs/pull/370992";
|
|
# hash = "sha256-jW66W1V3upZMfbjuoruY3OGNJfEewx7DW/Z4vAhMEXw=";
|
|
# })
|
|
|
|
# (fetchpatch' {
|
|
# # patch should be safe to remove; keeping it here to track the upstreaming status
|
|
# name = "nixos/gitea: don't configure the database if `createDatabase == false`";
|
|
# prUrl = "https://github.com/NixOS/nixpkgs/pull/268849";
|
|
# # saneCommit = "92662a9920cf8b70ad8a061591dc37146123bde3";
|
|
# hash = "sha256-Bmy1xqqmHqJVpleKWOssF+6SUpKOIm6hIGQsW6+hUTg=";
|
|
# })
|
|
|
|
# (fetchpatch' {
|
|
# # TODO: send to upstream nixpkgs once tested (branch: lappy: pr-stepmania-wrapper)
|
|
# name = "stepmania: wrap the program so it knows where to find its data files";
|
|
# saneCommit = "e2022b4caab6dcf031841fcf48752ebeb6837978";
|
|
# hash = "sha256-43zxnbUJuGXThadHoQRi6cevD7SFSZejWj324V6eBpw=";
|
|
# })
|
|
|
|
# (fetchpatch' {
|
|
# # TODO: send for review once hspell fix is merged <https://github.com/NixOS/nixpkgs/pull/263182>
|
|
# # this patch works as-is, but hspell keeps a ref to build perl and thereby pollutes this closure as well.
|
|
# name = "gtkspell2: support cross compilation";
|
|
# saneCommit = "56348833b4411e9fe2016c24c7fc4af1e3c1d28a";
|
|
# hash = "sha256-RUw88u7CI2C1IpRUhGbdYamHsPT1jBV0ROyVvzLWdv8=";
|
|
# })
|
|
# (fetchpatch' {
|
|
# # TODO: send for review (it should be unblocked as of 2024/05/08)
|
|
# name = "pidgin: support cross compilation";
|
|
# saneCommit = "caacbcc54e217f5ee9281422777a7f712765f71a";
|
|
# hash = "sha256-UyZaNNp84zKShuo6zu0nfZ2FygHGcmV63Ww4Y4CtCF0=";
|
|
# })
|
|
|
|
# (fetchpatch' {
|
|
# name = "rpm: 4.18.1 -> 4.19.0";
|
|
# prUrl = "https://github.com/NixOS/nixpkgs/pull/260558";
|
|
# hash = "sha256-kwod+6SbUZechzbmu1D4Hlh6pYiPD18wcqetk0OIOrA=";
|
|
# })
|
|
|
|
# (fetchpatch' {
|
|
# # XXX: doesn't cleanly apply; fetch `firefox-pmos-mobile` branch from my git instead
|
|
# name = "firefox-pmos-mobile: init at -pmos-2.2.0";
|
|
# prUrl = "https://github.com/NixOS/nixpkgs/pull/121356";
|
|
# hash = "sha256-eDsR1cJC/IMmhJl5wERpTB1VGawcnMw/gck9sI64GtQ=";
|
|
# })
|
|
|
|
# (fetchpatch' {
|
|
# name = "firefox-pmos-mobile: init at 4.0.2";
|
|
# saneCommit = "c3becd7cdf144d85d12e2e76663e9549a0536efd";
|
|
# hash = "sha256-fQdKm5kIFzheEUgSkwxrivynJk221suigWJ/WxZJ0Zk=";
|
|
# })
|
|
# (fetchpatch' {
|
|
# saneCommit = "70c12451b783d6310ab90229728d63e8a903c8cb";
|
|
# name = "firefox-pmos-mobile: init at -pmos-2.2.0";
|
|
# hash = "sha256-mA22g3ZIERVctq8Uk5nuEsS1JprxA+3DvukJMDTOyso=";
|
|
# })
|
|
# (fetchpatch' {
|
|
# saneCommit = "ee19a28aa188bb87df836a4edc7b73355b8766eb";
|
|
# name = "firefox-pmos-mobile: format the generated policies.nix file";
|
|
# hash = "sha256-K8b3QpyVEjajilB5w4F1UHGDRGlmN7i66lP7SwLZpWI=";
|
|
# })
|
|
# (fetchpatch' {
|
|
# saneCommit = "c068439c701c160ba15b6ed5abe9cf09b159d584";
|
|
# name = "firefox-pmos-mobile: implement an updateScript";
|
|
# hash = "sha256-afiGDHbZIVR3kJuWABox2dakyiRb/8EgDr39esqwcEk=";
|
|
# })
|
|
# (fetchpatch' {
|
|
# saneCommit = "865c9849a9f7bd048e066c2efd8068ecddd48e33";
|
|
# name = "firefox-pmos-mobile: 2.2.0 -> 4.0.2";
|
|
# hash = "sha256-WjWSW0qE+cypvUkDRfK7d9Te8m5zQXwF33z8nEhbvrE=";
|
|
# })
|
|
# (fetchpatch' {
|
|
# saneCommit = "eb6aae632c55ce7b0a76bca549c09da5e1f7761b";
|
|
# name = "firefox-pmos-mobile: refactor and populate `passthru` to aid external consumers";
|
|
# hash = "sha256-/LhbwXjC8vuKzIuGQ3/FGplbLllsz57nR5y+PeDjGuA=";
|
|
# })
|
|
# (fetchpatch' {
|
|
# saneCommit = "c9b90ef1e17ea21ac779a86994e5d9079a2057b9";
|
|
# name = "librewolf-pmos-mobile: init";
|
|
# hash = "sha256-oQEM3EZfAOmfZzDu9faCqyOFZsdHYGn1mVBgkxt68Zg=";
|
|
# })
|
|
]
|