diff --git a/devices/gl-ar750/default.nix b/devices/gl-ar750/default.nix index 547dc84d..6e243c42 100644 --- a/devices/gl-ar750/default.nix +++ b/devices/gl-ar750/default.nix @@ -66,7 +66,13 @@ chmod -R u+w . cp -av ${openwrt}/target/linux/ath79/files/* . chmod -R u+w . - for i in ${openwrt}/target/linux/ath79/patches-5.15/* ; do patch --batch --forward -p1 < $i ;done + patches() { + for i in $* ; do patch --batch --forward -p1 < $i ;done + } + patches ${openwrt}/target/linux/generic/backport-5.15/*.patch + patches ${openwrt}/target/linux/generic/pending-5.15/*.patch + patches ${openwrt}/target/linux/generic/hack-5.15/*.patch + patches ${openwrt}/target/linux/ath79/patches-5.15/*.patch ''; installPhase = '' mkdir -p $out