2023-05-10 22:36:27 +00:00
|
|
|
{ fetchpatch, fetchurl }:
|
|
|
|
let
|
2023-05-10 22:51:34 +00:00
|
|
|
fetchpatch' = {
|
|
|
|
saneCommit ? null,
|
|
|
|
prUrl ? null,
|
|
|
|
hash ? null
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
url = if prUrl != null then
|
|
|
|
# prUrl takes precedence over any specific commit
|
|
|
|
"${prUrl}.diff"
|
|
|
|
else
|
|
|
|
"https://git.uninsane.org/colin/nixpkgs/commit/${saneCommit}.diff"
|
|
|
|
;
|
|
|
|
in fetchpatch ({ inherit url; } // (if hash != null then { inherit hash; } else {}));
|
2023-05-10 22:36:27 +00:00
|
|
|
in [
|
2022-10-25 13:31:18 +00:00
|
|
|
|
2023-01-21 04:48:57 +00:00
|
|
|
# splatmoji: init at 1.2.0
|
2023-05-10 22:51:34 +00:00
|
|
|
(fetchpatch' {
|
|
|
|
saneCommit = "75149039b6eaf57d8a92164e90aab20eb5d89196";
|
|
|
|
prUrl = "https://github.com/NixOS/nixpkgs/pull/211874";
|
|
|
|
hash = "sha256-fftctCx1N/P7yLTRxsHYLHbX+gV/lFpWrWCTtZ2L1Cw=";
|
2023-01-21 04:48:57 +00:00
|
|
|
})
|
|
|
|
|
2023-02-14 10:19:32 +00:00
|
|
|
# (fetchpatch {
|
|
|
|
# # stdenv: fix cc for pseudo-crosscompilation
|
|
|
|
# # closed because it breaks pkgsStatic (as of 2023/02/12)
|
|
|
|
# url = "https://github.com/NixOS/nixpkgs/pull/196497.diff";
|
|
|
|
# hash = "sha256-eTwEbVULYjmOW7zUFcTUqvBZqUFjHTKFhvmU2m3XQeo=";
|
|
|
|
# })
|
|
|
|
|
2022-12-20 03:10:05 +00:00
|
|
|
./2022-12-19-i2p-aarch64.patch
|
|
|
|
|
2023-01-31 05:17:34 +00:00
|
|
|
# fix for CMA memory leak in mesa: <https://gitlab.freedesktop.org/mesa/mesa/-/issues/8198>
|
2023-03-03 13:40:48 +00:00
|
|
|
# fixed in mesa 22.3.6: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21330/diffs>
|
2023-01-31 05:17:34 +00:00
|
|
|
# only necessary on aarch64.
|
|
|
|
# it's a revert of nixpkgs commit dcf630c172df2a9ecaa47c77f868211e61ae8e52
|
2023-03-06 11:36:00 +00:00
|
|
|
# ./2023-01-30-mesa-cma-leak.patch
|
|
|
|
# upgrade to 22.3.6 instead
|
2023-03-28 06:03:20 +00:00
|
|
|
# ./2023-02-28-mesa-22.3.6.patch
|
2023-01-31 05:17:34 +00:00
|
|
|
|
2023-03-04 22:26:09 +00:00
|
|
|
# fix qt6.qtbase and qt6.qtModule to cross-compile.
|
|
|
|
# unfortunately there's some tangle that makes that difficult to do via the normal `override` facilities
|
|
|
|
./2023-03-03-qtbase-cross-compile.patch
|
|
|
|
|
2023-03-05 06:30:29 +00:00
|
|
|
# let ccache cross-compile
|
2023-03-28 06:03:20 +00:00
|
|
|
# TODO: why doesn't this apply?
|
|
|
|
# ./2023-03-04-ccache-cross-fix.patch
|
2023-03-10 05:19:21 +00:00
|
|
|
|
2023-04-12 02:44:37 +00:00
|
|
|
# 2023-04-11: bambu-studio: init at unstable-2023-01-11
|
2023-05-10 22:51:34 +00:00
|
|
|
(fetchpatch' {
|
|
|
|
prUrl = "https://github.com/NixOS/nixpkgs/pull/206495";
|
2023-04-12 02:44:37 +00:00
|
|
|
hash = "sha256-RbQzAtFTr7Nrk2YBcHpKQMYoPlFMVSXNl96B/lkKluQ=";
|
|
|
|
})
|
|
|
|
|
2023-04-30 00:47:38 +00:00
|
|
|
./2023-04-29-lemmy.patch
|
|
|
|
|
2023-05-10 22:51:34 +00:00
|
|
|
(fetchpatch' {
|
2023-05-10 23:30:03 +00:00
|
|
|
# cargo-docset: init at 0.3.1
|
2023-05-10 22:51:34 +00:00
|
|
|
saneCommit = "5a09e84c6159ce545029483384580708bc04c08f";
|
2023-05-10 23:30:03 +00:00
|
|
|
prUrl = "https://github.com/NixOS/nixpkgs/pull/231188";
|
2023-05-10 22:36:27 +00:00
|
|
|
hash = "sha256-Z1HOps3w/WvxAiyUAHWszKqwS9EwA6rf4XfgPGp+2sQ=";
|
|
|
|
})
|
|
|
|
|
2023-04-21 19:41:42 +00:00
|
|
|
# 2023-04-20: perl: fix modules for compatibility with miniperl
|
|
|
|
# (fetchpatch {
|
|
|
|
# url = "https://github.com/NixOS/nixpkgs/pull/225640.diff";
|
|
|
|
# hash = "sha256-MNG8C0OgdPnFQ8SF2loiEhXJuP2z4n9pkXr8Zh4X7QU=";
|
|
|
|
# })
|
|
|
|
|
2022-10-14 04:41:02 +00:00
|
|
|
# # kaiteki: init at 2022-09-03
|
|
|
|
# vendorHash changes too frequently (might not be reproducible).
|
|
|
|
# using local package defn until stabilized
|
|
|
|
# (fetchpatch {
|
|
|
|
# url = "https://git.uninsane.org/colin/nixpkgs/commit/e2c7f5f4870fcb0e5405e9001b39a64c516852d4.diff";
|
|
|
|
# # url = "https://github.com/NixOS/nixpkgs/pull/193169.diff";
|
|
|
|
# sha256 = "sha256-UWnfS+stVpUZ3Sfaym9XtVBlwvHWJVMaW7cYIcf3M5Q=";
|
|
|
|
# })
|
2022-10-09 01:21:38 +00:00
|
|
|
|
2022-10-14 08:15:33 +00:00
|
|
|
|
2022-10-09 01:21:38 +00:00
|
|
|
# Fix mk flutter app
|
|
|
|
# closed (not merged). updates fluffychat 1.2.0 -> 1.6.1, but unstable hashing
|
|
|
|
# (fetchpatch {
|
|
|
|
# url = "https://github.com/NixOS/nixpkgs/pull/186839.diff";
|
|
|
|
# sha256 = "sha256-NdIfie+eTy4V1vgqiiRPtWdnxZ5ZHsvCMfkEDUv9SC8=";
|
|
|
|
# })
|
|
|
|
|
|
|
|
# for raspberry pi: allow building u-boot for rpi 4{,00}
|
|
|
|
# TODO: remove after upstreamed: https://github.com/NixOS/nixpkgs/pull/176018
|
|
|
|
# (it's a dupe of https://github.com/NixOS/nixpkgs/pull/112677 )
|
|
|
|
./02-rpi4-uboot.patch
|
|
|
|
|
2022-11-20 12:25:59 +00:00
|
|
|
# ./07-duplicity-rich-url.patch
|
2022-10-09 01:21:38 +00:00
|
|
|
|
|
|
|
# enable aarch64 support for flutter's dart package
|
|
|
|
# ./10-flutter-arm64.patch
|
2022-06-23 23:03:58 +00:00
|
|
|
]
|