2023-06-26 10:12:00 +00:00
{ fetchpatch2 , fetchurl }:
2023-05-10 22:36:27 +00:00
let
2023-05-10 22:51:34 +00:00
fetchpatch' = {
saneCommit ? null ,
2023-10-27 13:29:26 +00:00
nixpkgsCommit ? null ,
2023-05-10 22:51:34 +00:00
prUrl ? null ,
2023-05-24 23:08:12 +00:00
hash ? null ,
title ? null ,
2023-10-27 13:29:26 +00:00
revert ? false ,
2023-05-10 22:51:34 +00:00
} :
let
url = if prUrl != null then
# prUrl takes precedence over any specific commit
" ${ prUrl } . d i f f "
2023-10-27 13:29:26 +00:00
else if saneCommit != null then
2023-05-10 22:51:34 +00:00
" h t t p s : / / g i t . u n i n s a n e . o r g / c o l i n / n i x p k g s / c o m m i t / ${ saneCommit } . d i f f "
2023-10-27 13:29:26 +00:00
else
" h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / c o m m i t / ${ nixpkgsCommit } . p a t c h "
2023-05-10 22:51:34 +00:00
;
2023-06-26 10:12:00 +00:00
in fetchpatch2 (
2023-10-27 13:29:26 +00:00
{ inherit revert url ; }
2023-05-24 23:08:12 +00:00
// ( if hash != null then { inherit hash ; } else { } )
// ( if title != null then { name = title ; } else { } )
) ;
2023-05-10 22:36:27 +00:00
in [
2023-11-27 10:26:44 +00:00
( fetchpatch' {
2023-11-29 13:56:17 +00:00
title = " r i p g r e p : f i x s h e l l c o m p l e t i o n s w h e n c r o s s c o m p i l i n g " ;
saneCommit = " 8 6 3 1 d d f b 9 9 a a 8 e 9 3 5 2 7 6 b 2 7 d 5 5 e f 5 e 1 0 f 5 a b 0 3 6 7 " ;
hash = " s h a 2 5 6 - A k x t r C J r f 0 w p T d t y 4 S O I W B r W w q f G 7 r B I 4 O N 3 8 B j D i 6 s = " ;
2023-11-28 11:46:47 +00:00
} )
2023-11-29 13:56:17 +00:00
# (fetchpatch' {
# title = "nixos/slskd: allow omitting username from yaml config";
# saneCommit = "541c37e8689b6422ea07be1395f1a63357bb0c63";
# hash = "sha256-xQEj/oIfNcE4td9jxzDzhlnIYpncOOdXZuswkmcLNuk=";
# })
# (fetchpatch' {
# title = "nixos/slskd: don't enable nginx unless nginx.enable was set";
# saneCommit = "ea084e5739a68436cc240aeca5c10b92de1e3138";
# hash = "sha256-25zB5eM1WBVEigmrq1mY9GXwEkS/jf5v7BCfmN6Wux4=";
# })
2023-11-28 13:57:52 +00:00
( fetchpatch' {
2023-11-29 13:56:17 +00:00
title = " n i x o s / s l s k d : o p t i o n f i x e s " ;
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 7 0 6 4 6 " ;
hash = " s h a 2 5 6 - 5 b r m m P f Y p 7 G + 5 D r 5 q 2 s k W S w k r E w s R A e / U e t o N 0 A q G j Y = " ;
2023-11-28 13:57:52 +00:00
} )
2023-11-22 22:11:27 +00:00
( fetchpatch' {
title = " v a l a : l o o k f o r f i l e s i n t a r g e t O f f s e t " ;
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 6 7 5 5 0 " ;
hash = " s h a 2 5 6 - D l 9 Z Q a z j X j I b w 3 8 Q 7 8 o t Q v g V C B / Q Z A C 1 I Y o F X 0 T u y w 0 = " ;
} )
# (fetchpatch' {
# # N.B.: obsoleted by 267550 PR above
# title = "vala: search for vapi files in targetOffset, not hostOffset";
# prUrl = "https://github.com/NixOS/nixpkgs/pull/269171";
# saneCommit = "6990fa8f3e1cfcd1224d70d110bc1ccc18763585";
# hash = "sha256-QiguGtP5HrB753/V/UaoAKH3+9TINxR83I68rggbkr0=";
# })
2023-10-24 15:28:48 +00:00
( fetchpatch' {
title = " g c r : r e m o v e b u i l d g n u p g f r o m r u n t i m e c l o s u r e " ;
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 6 3 1 5 8 " ;
saneCommit = " 8 c 7 1 a b 2 2 c 6 d f 4 e 5 c e 2 9 0 e 1 3 1 a 7 7 6 9 6 8 8 b 0 c 5 a 0 1 7 " ;
# hash = "sha256-9PNKzNlJ62WAq6H+tqlt0spFZ1DPP1hHmpx0YPuieFE=";
hash = " s h a 2 5 6 - 6 h U d s E x H S M H y 6 F M Y 1 + O L t V m K p R w y s G I V k c D p Y v 7 R R B k = " ;
} )
2023-10-24 16:53:24 +00:00
( fetchpatch' {
title = " h s p e l l : r e m o v e b u i l d p e r l f r o m r u n t i m e c l o s u r e " ;
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 6 3 1 8 2 " ;
hash = " s h a 2 5 6 - W a u + P B + E U Q D v W X 8 K y c w 1 s N r M 3 G k P V j K S S 4 n i I D I 0 s j M = " ;
} )
2023-10-21 10:15:03 +00:00
# (fetchpatch' {
# title = "trust-dns: 0.23.0 -> 0.24.0";
# prUrl = "https://github.com/NixOS/nixpkgs/pull/262466";
# hash = "sha256-s8ra/tbD/xAfU3HI3wv+aQ0dip1kKQcVrJvLG6DNctY=";
# })
# (fetchpatch' {
# title = "trust-dns: rebrand as hickory-dns";
# prUrl = "https://github.com/NixOS/nixpkgs/pull/262268";
# hash = "sha256-TxQiR+OS4YriLNViTg4H78Z3f3IjBVodiFAkOUCeNic=";
# })
2023-10-12 00:00:54 +00:00
( fetchpatch' {
title = " r p m : 4 . 1 8 . 1 - > 4 . 1 9 . 0 " ;
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 6 0 5 5 8 " ;
2023-11-25 10:28:38 +00:00
hash = " s h a 2 5 6 - k w o d + 6 S b U Z e c h z b m u 1 D 4 H l h 6 p Y i P D 1 8 w c q e t k 0 O I O r A = " ;
2023-10-12 00:00:54 +00:00
} )
2023-11-18 19:45:33 +00:00
# (fetchpatch' {
# # doesn't apply cleanly. use build result in <working/zcash>
# title = "zcash: 5.4.2 -> 5.7.0";
# prUrl = "https://github.com/NixOS/nixpkgs/pull/229810";
# hash = "sha256-ProoPJ10rUtOZh2PzpegviG6Ip1zSuWC92BpP+ux9ZQ=";
# })
2023-08-31 12:53:25 +00:00
# (fetchpatch' {
2023-10-12 01:11:27 +00:00
# title = "graphicsmagick: 1.3.39 -> 1.3.42";
# prUrl = "https://github.com/NixOS/nixpkgs/pull/218163";
# hash = "sha256-E1Xfi7BRpAvqAzfChjWRG1Ar5dsFMm/yu7NXnDc95PM=";
# })
# (fetchpatch' {
2023-08-31 12:53:25 +00:00
# # disabled, at least until the PR is updated to use `pkg-config` instead of `pkgconfig`.
# # the latter is an alias, which breaks nix-index
# title = "phog: init at 0.1.3";
# prUrl = "https://github.com/NixOS/nixpkgs/pull/251249";
# hash = "sha256-e38Z7sO7xDQHzE9UOfbptc6vJuONE5eP9JFp2Nzx53E=";
# })
2023-08-25 01:25:07 +00:00
2023-09-07 20:04:53 +00:00
# (fetchpatch' {
# # merged 2023/09/07, but into staging
# title = "waf: fix cross-compilation";
# prUrl = "https://github.com/NixOS/nixpkgs/pull/252874";
# hash = "sha256-DjwhbH9o6uoj1Ahb8eE6cEnlIKtQCL61P0v22H9fOiQ=";
# })
# (fetchpatch' {
# # needed for subsequent "disable pipewireSupport in qemu-user" patch
# # merged 2023/09/07
# title = "qemu: add pipewire support (8.1 feature)";
# prUrl = "https://github.com/NixOS/nixpkgs/pull/253660";
# hash = "sha256-sABTNJHBQEF8YuXit4+zG/lyK4eRJz6MkRDpaeKe+z8=";
# })
# (fetchpatch' {
# # fixes infinite recursion in cross qemu compile.
# # merged 2023/09/07
# title = "lib/systems: disable pipewireSupport in qemu-user";
# prUrl = "https://github.com/NixOS/nixpkgs/pull/253913";
# hash = "sha256-D2fnB4eOvbew0tea7Y1LH7GQJF3Pch/9DLEChf/ZNxs=";
# })
2023-06-25 01:17:14 +00:00
# (fetchpatch' {
# # XXX: doesn't cleanly apply; fetch `firefox-pmos-mobile` branch from my git instead
# title = "firefox-pmos-mobile: init at -pmos-2.2.0";
# prUrl = "https://github.com/NixOS/nixpkgs/pull/121356";
# hash = "sha256-eDsR1cJC/IMmhJl5wERpTB1VGawcnMw/gck9sI64GtQ=";
# })
2023-06-26 10:09:32 +00:00
# (fetchpatch' {
# saneCommit = "70c12451b783d6310ab90229728d63e8a903c8cb";
# title = "firefox-pmos-mobile: init at -pmos-2.2.0";
2023-06-27 01:59:49 +00:00
# hash = "sha256-mA22g3ZIERVctq8Uk5nuEsS1JprxA+3DvukJMDTOyso=";
2023-06-26 10:09:32 +00:00
# })
# (fetchpatch' {
# saneCommit = "ee19a28aa188bb87df836a4edc7b73355b8766eb";
# title = "firefox-pmos-mobile: format the generated policies.nix file";
# hash = "sha256-K8b3QpyVEjajilB5w4F1UHGDRGlmN7i66lP7SwLZpWI=";
# })
# (fetchpatch' {
# saneCommit = "c068439c701c160ba15b6ed5abe9cf09b159d584";
# title = "firefox-pmos-mobile: implement an updateScript";
# hash = "sha256-afiGDHbZIVR3kJuWABox2dakyiRb/8EgDr39esqwcEk=";
# })
# (fetchpatch' {
# saneCommit = "865c9849a9f7bd048e066c2efd8068ecddd48e33";
# title = "firefox-pmos-mobile: 2.2.0 -> 4.0.2";
# hash = "sha256-WjWSW0qE+cypvUkDRfK7d9Te8m5zQXwF33z8nEhbvrE=";
# })
# (fetchpatch' {
# saneCommit = "eb6aae632c55ce7b0a76bca549c09da5e1f7761b";
# title = "firefox-pmos-mobile: refactor and populate `passthru` to aid external consumers";
# hash = "sha256-/LhbwXjC8vuKzIuGQ3/FGplbLllsz57nR5y+PeDjGuA=";
# })
# (fetchpatch' {
# saneCommit = "c9b90ef1e17ea21ac779a86994e5d9079a2057b9";
# title = "librewolf-pmos-mobile: init";
# hash = "sha256-oQEM3EZfAOmfZzDu9faCqyOFZsdHYGn1mVBgkxt68Zg=";
# })
2023-06-25 18:05:06 +00:00
( fetchpatch' {
2023-06-26 10:09:32 +00:00
title = " f i r e f o x - p m o s - m o b i l e : i n i t a t 4 . 0 . 2 " ;
2023-08-01 08:07:27 +00:00
saneCommit = " c 3 b e c d 7 c d f 1 4 4 d 8 5 d 1 2 e 2 e 7 6 6 6 3 e 9 5 4 9 a 0 5 3 6 e f d " ;
2023-06-26 10:09:32 +00:00
hash = " s h a 2 5 6 - N R h 2 I N U M A 2 K 7 q 8 z i o q K A 7 x w o q g 7 v 6 s x p u J R p T G 5 I P 1 Q = " ;
2023-06-25 18:05:06 +00:00
} )
2023-05-10 22:51:34 +00:00
( fetchpatch' {
2023-08-01 08:07:27 +00:00
title = " s p l a t m o j i : i n i t a t 1 . 2 . 0 " ;
2023-05-10 22:51:34 +00:00
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 1 1 8 7 4 " ;
2023-08-01 08:07:27 +00:00
saneCommit = " 7 5 1 4 9 0 3 9 b 6 e a f 5 7 d 8 a 9 2 1 6 4 e 9 0 a a b 2 0 e b 5 d 8 9 1 9 6 " ;
2023-11-08 10:56:18 +00:00
hash = " s h a 2 5 6 - a b L a k A W a R f c 8 t g u 4 I w U d R / w 8 G A u S l + O h Q k Y o z l p r D 0 c = " ;
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=";
# })
2023-07-25 12:38:19 +00:00
# ./2022-12-19-i2p-aarch64.patch
2022-12-20 03:10:05 +00:00
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
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-05-10 22:51:34 +00:00
( fetchpatch' {
2023-08-01 22:46:51 +00:00
title = " b a m b u - s t u d i o : i n i t a t 0 1 . 0 6 . 0 2 . 0 4 " ;
2023-05-10 22:51:34 +00:00
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 0 6 4 9 5 " ;
2023-11-08 10:56:18 +00:00
hash = " s h a 2 5 6 - s 1 K r j j T s G K 0 + a i m F H z P C v k F G 0 f N / l 6 T q l t 5 l 9 r m h 8 i Y = " ;
2023-04-12 02:44:37 +00:00
} )
2023-05-15 22:08:09 +00:00
# (fetchpatch' {
# # phoc: 0.25.0 -> 0.27.0
# # TODO: move wayland-scanner & glib to nativeBuildInputs
# # TODO: once i press power button to screen blank, power doesn't reactivate phoc
2023-05-15 23:30:29 +00:00
# # sus commits:
# # - all lie between 0.25.0 .. 0.26.0
# # - 25d65b9e6ebde26087be6414e41cf516599c3469 2023/03/12 phosh-private: Forward key release as well
# # idle inhibit 2023/03/14
# # - 20e7b26af16e9d9c22cba4550f922b90b80b6df6
# # - b081ef963154c7c94a6ab33376a712b3efe17545
# # screen blank fix (NOPE: this one is OK)
# # - 37542bb80be8a7746d2ccda0c02048dd92fac7af 2023/03/11
2023-05-15 22:08:09 +00:00
# saneCommit = "12e89c9d26b7a1a79f6b8b2f11fce0dd8f4d5197";
# hash = "sha256-IJNBVr2xAwQW4SAJvq4XQYW4D5tevvd9zRrgXYmm38g=";
# })
# (fetchpatch' {
# # phosh: 0.25.1 -> 0.27.0
# # TODO: fix Calls:
# # > Failed to get emergency contacts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Calls was not provided by any .service files
# saneCommit = "c8fa213c7cb357c0ca0d5bea66278362a47caeb8";
# hash = "sha256-I8IZ8fjJstmcIXEN622/A1w2uHDACwXFl1WbXTWOyi4=";
# })
2023-05-15 19:42:28 +00:00
# (fetchpatch' {
# # phosh-mobile-settings: 0.23.1 -> 0.27.0
# # branch: pr/sane/phosh-mobile-settings-0.27.0
# # TODO: fix feedback section
# # > Settings schema 'org.gtk.gtk4.Settings.FileChooser' is not installed
# # ^ is that provided by nautilus?
# saneCommit = "8952f79699d3b0d72d9f6efb022e826175b143a6";
# hash = "sha256-myKKMt5cZhC0mfPhEsNjwKjaIYICj5LBJqV01HghYUg=";
# })
2023-05-15 11:01:02 +00:00
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=";
# })
2023-08-07 07:33:01 +00:00
# 2023-08-06: conky wayland + cross compilation patches.
# nix path-info shows clean
# branch is wip-conky-cross2 on servo
# factoring out those feature abstractions was possibly overkill.
# the manual wayland-scanner patching is unfortunate, but within
# acceptable norms of the existing package.
2023-05-18 11:07:36 +00:00
( fetchpatch' {
2023-08-07 07:33:01 +00:00
title = " c o n k y : f a c t o r o u t a n a b s t r a c t i o n f o r f e a t u r e f l a g s " ;
saneCommit = " 3 d d f 1 3 0 3 8 d 6 d f 9 0 a d 0 d b 3 6 a 4 1 d 5 5 e 4 0 7 7 8 1 8 a 3 e 9 " ;
hash = " s h a 2 5 6 - C j L z n d F E H 1 N g 9 C q K X 8 g x C J 6 n / w F v 5 U / s H n Q E 0 F M Y I L c = " ;
} )
( fetchpatch' {
title = " c o n k y : s i m p l i f y t h e f e a t u r e s e v e n m o r e " ;
saneCommit = " 1 c 4 a a 4 0 4 7 4 3 f 1 a e 7 d 5 b 9 5 f 1 8 a 9 6 c 4 0 5 7 c a 2 5 1 a 9 6 " ;
hash = " s h a 2 5 6 - 0 z h i w 9 s i I k F g F W 4 s o w + X 8 8 N B E a 3 g g C e 1 t 1 H J 5 x F H 4 a c = " ;
} )
( fetchpatch' {
title = " c o n k y : s u p p o r t c r o s s c o m p i l a t i o n " ;
saneCommit = " 0 1 e 6 0 7 e 1 1 c 7 e 5 b b b f e 6 a d 1 3 2 f b 7 2 3 9 4 e c 2 9 d a b 0 a " ;
hash = " s h a 2 5 6 - B m / X F L v E 7 g E y L P l B W N S A c U 3 q w w q K L I R d p o e 0 / 1 a H U h o = " ;
} )
( fetchpatch' {
title = " c o n k y : a d d w a y l a n d s u p p o r t " ;
saneCommit = " 8 4 c 5 1 f 6 7 e 0 2 e b c 7 f 1 1 8 f d 3 1 7 1 b d 1 0 f 1 9 7 8 d 4 f 1 e 6 " ;
hash = " s h a 2 5 6 - g R Y b k z C e 3 q 1 R 7 X / F e O c z / h a U R Q k e A f m E D 1 / Z Q l C C d W E = " ;
} )
( fetchpatch' {
title = " c o n k y : r e m o v e n o - o p s e d p a t c h " ;
saneCommit = " e 8 b 1 9 9 8 4 a 2 8 5 8 c a 2 4 b 7 e 8 f 5 a c d 2 0 b e 8 b 7 d f e 1 a f 0 " ;
hash = " s h a 2 5 6 - K 3 m G 1 k c y B 7 s Q Z 7 Z R C d l i n N s V 6 m C c l 3 e I U I 2 l d S m c b J E = " ;
2023-05-18 11:07:36 +00:00
} )
2023-05-24 03:57:35 +00:00
# (fetchpatch' {
2023-08-03 09:49:19 +00:00
# title = "hare-json: init at unstable-2023-02-25";
# saneCommit = "6c88c2b087755e8f60c9f61c6361dec2f7a38155";
# hash = "sha256-9TTlhwLDZESaFC02k4+YER+NvoNVPz9wFYV79+Dmuxs=";
2023-05-24 03:57:35 +00:00
# })
2023-05-24 05:52:17 +00:00
# (fetchpatch' {
2023-05-24 23:08:12 +00:00
# title = "hare-ev: init at unstable-2022-12-29";
2023-08-03 09:49:19 +00:00
# saneCommit = "1761049e9b8620091f29bf864ecbbf204b0c56b4";
# hash = "sha256-H2ekBJx/iRX8E4uVmdEyaAZVhqeM25QbwvQ9Ki7fMQ0=";
2023-05-24 05:52:17 +00:00
# })
# (fetchpatch' {
2023-05-24 23:08:12 +00:00
# title = "bonsai: init at 1.0.0";
2023-08-03 09:49:19 +00:00
# saneCommit = "507252828934c73c7cffe255dae237c041676c27";
# hash = "sha256-HwycOd3v4IifdQqQmMP6w14g0E/T9RAjAw41AsUZQoc=";
2023-05-24 05:52:17 +00:00
# })
2023-05-23 01:02:35 +00:00
( fetchpatch' {
2023-08-01 08:07:27 +00:00
# includes hare-json and hare-ev as pre-reqs
2023-05-24 23:08:12 +00:00
title = " b o n s a i : i n i t a t 1 . 0 . 0 " ;
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 3 3 8 9 2 " ;
2023-11-08 10:56:18 +00:00
hash = " s h a 2 5 6 - E I v 0 h x 0 p X Q U D z 4 V 3 P R j 1 S p d g N u L 0 6 8 Y h 3 z B Y S 9 I o h + w = " ;
2023-05-23 01:02:35 +00:00
} )
2023-06-11 12:12:41 +00:00
# pin to a pre-0.17.3 release
2023-06-28 19:27:06 +00:00
# removing this and using stock 0.17.3 (also 0.17.4) causes:
2023-06-11 12:12:41 +00:00
# INFO lemmy_server::code_migrations: No Local Site found, creating it.
# Error: LemmyError { message: None, inner: duplicate key value violates unique constraint "local_site_site_id_key", context: "SpanTrace" }
# more specifically, lemmy can't find the site because it receives an error from diesel:
# Err(DeserializationError("Unrecognized enum variant"))
# this is likely some mis-ordered db migrations
# or perhaps the whole set of migrations here isn't being running right.
# related: <https://github.com/NixOS/nixpkgs/issues/236890#issuecomment-1585030861>
2023-06-28 19:27:06 +00:00
# ./2023-06-10-lemmy-downgrade.patch
2023-06-11 12:12:41 +00:00
2023-11-15 07:12:46 +00:00
# (fetchpatch' {
# title = "koreader: 2023.04 -> 2023.05.1";
# saneCommit = "a5c471bd263abe93e291239e0078ac4255a94262";
# hash = "sha256-38sND/UNRj5WAYYKpzdrRBIOK4UAT14RzbIv49KmNNw=";
# })
2023-06-19 08:02:54 +00:00
2023-06-29 09:43:17 +00:00
( fetchpatch' {
title = " g t h u m b : m a k e t h e w e b s e r v i c e s f e a t u r e b e o p t i o n a l " ;
2023-07-05 09:03:25 +00:00
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 4 0 6 0 2 " ;
2023-09-07 11:43:41 +00:00
saneCommit = " e 8 3 1 3 0 f 2 7 7 0 c 3 1 4 b 2 a 4 8 2 e 1 7 9 2 b 0 1 0 d a 6 6 c d d 5 d e " ;
2023-09-13 02:53:06 +00:00
hash = " s h a 2 5 6 - G l Y W p O V Z v r 0 o F A s 4 R d S U f 7 L J D 3 F m G s C a T m 3 2 G P h b B f c = " ;
2023-06-29 09:43:17 +00:00
} )
2023-07-12 07:45:41 +00:00
2023-11-16 20:12:53 +00:00
# (fetchpatch' {
# title = "gnustep: remove `rec` to support `overrideScope`";
# saneCommit = "69162cbf727264e50fc9d7222a03789d12644705";
# hash = "sha256-rD0es4uUbaLMrI9ZB2HzPmRLyu/ixNBLAFyDJtFHNko=";
# })
2023-07-18 01:32:50 +00:00
2023-08-01 08:07:27 +00:00
( fetchpatch' {
title = " b l u e m a n : s u p p o r t c r o s s c o m p i l a t i o n " ;
saneCommit = " e 0 7 0 1 9 5 b d f 2 1 3 d f f b 0 1 6 4 5 7 4 3 9 7 b 6 a 7 4 1 7 f 8 1 c 9 e " ;
hash = " s h a 2 5 6 - 6 J n I J C V B b V 4 t m F i n X 7 Q v 2 w O 2 A T h r g x r n y b 9 T 4 O v 6 p 5 w = " ;
} )
2023-10-11 09:58:44 +00:00
# (fetchpatch' {
2023-11-15 07:12:46 +00:00
# # 2023/11/14: deps don't cross compile (e.g. pipewire; qtsvg)
# title = "clapper: support cross compilation";
# saneCommit = "8a171b49aca406f8220f016e56964b3fae53a3df";
# hash = "sha256-R11IYatGhSXxZnJxJid519Oc9Kh56D9NT2/cxf2CLuM=";
# })
# (fetchpatch' {
2023-10-11 09:58:44 +00:00
# # not correct: build time dependencies end up in runtime closure
# title = "gcr_4: support cross compilation";
# saneCommit = "a8c3d69236fa67382a8c18cc1ef0f34610fd3275";
# hash = "sha256-UnLqkkpXxBKaqlsoD1jUIigZkxgLtNpjmMHOx10HpfE=";
# })
# these probably work, but i don't use them
# (fetchpatch' {
# title = "networkmanager-openvpn: support cross compilation";
# saneCommit = "6f53c267fbeb2ff543f075032a7e73af2d4bcb9e";
# hash = "sha256-gq9AyKH7/k2ZVSZ3jpPJPt3uAM+CllXQnaiC1tE1r/8=";
# })
# (fetchpatch' {
# title = "WIP: networkmanager-sstp: support cross compilation";
# saneCommit = "6de63fe320406ec9a509db721c52b3894a93bda2";
# hash = "sha256-EY3bQuv/80JbpquUJhc89CcYAgN9A9KkpsSitw/684I=";
# })
# (fetchpatch' {
# title = "WIP: networkmanager-l2tp: support cross compilation";
# saneCommit = "7a4191c570b0e5a1ab257222c26a4a2ecb945037";
# hash = "sha256-FiPJhHGqZ8MFwLY+1t6HgbK6ndomFSYUKvApvrikRHE=";
# })
2023-08-03 06:02:42 +00:00
( fetchpatch' {
2023-11-15 07:12:46 +00:00
# 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.
2023-08-03 06:02:42 +00:00
title = " g t k s p e l l 2 : s u p p o r t c r o s s c o m p i l a t i o n " ;
saneCommit = " 5 6 3 4 8 8 3 3 b 4 4 1 1 e 9 f e 2 0 1 6 c 2 4 c 7 f c 4 a f 1 e 3 c 1 d 2 8 a " ;
hash = " s h a 2 5 6 - 0 R M x o u O B w 7 S U m Q D L B 2 q G e y 7 1 4 D a M 0 A O v Z l Z 5 n B + L k c 4 = " ;
} )
( fetchpatch' {
title = " l i b g n t : 2 . 1 4 . 1 - > 2 . 1 4 . 3 " ;
2023-08-03 09:23:26 +00:00
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 4 6 9 3 7 " ;
2023-08-03 06:02:42 +00:00
saneCommit = " e c d 4 2 3 1 9 5 d 7 2 0 3 6 a 2 0 9 9 1 2 8 6 8 a d 0 2 7 4 2 c b 4 b 6 f c d " ;
2023-08-03 09:23:26 +00:00
# hash = "sha256-u4V/UHNtd2c3+FppuJ5LeLNSV8ZaLe8cqj8HmcW2a/0=";
2023-11-08 10:56:18 +00:00
hash = " s h a 2 5 6 - T y m h 8 r 7 5 p c o E z s q k U 0 w z m + v K 1 3 7 P 2 p E E i l g N I y M 8 u d Q = " ;
2023-08-03 06:02:42 +00:00
} )
( fetchpatch' {
2023-10-11 09:58:44 +00:00
# TODO: send for review once the libgnt patch above is merged
2023-08-03 06:02:42 +00:00
title = " p i d g i n : s u p p o r t c r o s s c o m p i l a t i o n " ;
saneCommit = " c a a c b c c 5 4 e 2 1 7 f 5 e e 9 2 8 1 4 2 2 7 7 7 a 7 f 7 1 2 7 6 5 f 7 1 a " ;
hash = " s h a 2 5 6 - P D C p 4 G O m 6 h W c R o b 4 k z 7 q X Z f x A F 6 Y b Y r E S x 9 i d o S 3 e / s = " ;
} )
2023-07-31 00:03:21 +00:00
2023-08-29 20:19:21 +00:00
# (fetchpatch' {
# # doesn't cleanly apply. TODO: see if this cross compiles now, thanks to <https://github.com/NixOS/nixpkgs/pull/234615>
# title = "nixos/dconf: support cross compilation";
# prUrl = "https://github.com/NixOS/nixpkgs/pull/249093";
# saneCommit = "08f7cdebc58eeaa62cb349dab57db3be7a0c073d";
# hash = "sha256-gqHUGeTQnr0f99gqEdd+VANLkWO+joLxz5I0RSarznE=";
# })
2023-07-31 01:13:15 +00:00
2023-08-28 11:14:51 +00:00
( fetchpatch' {
title = " l i b g w e a t h e r : e n a b l e i n t r o s p e c t i o n o n c r o s s b u i l d s " ;
2023-08-28 12:04:03 +00:00
prUrl = " h t t p s : / / g i t h u b . c o m / N i x O S / n i x p k g s / p u l l / 2 5 1 9 5 6 " ;
2023-08-28 11:14:51 +00:00
saneCommit = " 7 a 2 d 0 a 9 0 c c 5 5 8 e a 7 1 d f c 7 8 3 5 6 e 6 1 b 0 6 7 5 b 9 9 5 6 3 4 " ;
2023-11-08 10:56:18 +00:00
hash = " s h a 2 5 6 - 4 x 1 y J g r g m y q Y i F + u 3 A 9 B r c b N Q P Q 2 7 0 c + / j F B Y s J o F f I = " ;
2023-08-28 11:14:51 +00:00
} )
2023-08-16 10:54:07 +00:00
2023-06-21 06:13:27 +00:00
# (fetchpatch' {
# # N.B.: compiles, but runtime error on launch suggestive of some module not being shipped
# title = "matrix-appservice-irc: 0.38.0 -> 1.0.0";
# saneCommit = "b168bf862d53535151b9142a15fbd53e18e688c5";
# hash = "sha256-dDa2mrCJ416PIYsDH9ya/4aQdqtp4BwzIisa8HdVFxo=";
# })
2022-10-09 01:21:38 +00:00
# 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
2023-08-01 22:44:53 +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
# qt6 qtwebengine: specify `python` as buildPackages
# ./2023-06-02-qt6-qtwebengine-cross.patch
# Jellyfin: don't build via `libsForQt5.callPackage`
# ./2023-06-06-jellyfin-no-libsForQt5-callPackage.patch
2022-06-23 23:03:58 +00:00
]