summaryrefslogtreecommitdiff
path: root/overlays/batman-adv.nix
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/batman-adv.nix')
-rw-r--r--overlays/batman-adv.nix17
1 files changed, 9 insertions, 8 deletions
diff --git a/overlays/batman-adv.nix b/overlays/batman-adv.nix
index a408a284..cce7dc4f 100644
--- a/overlays/batman-adv.nix
+++ b/overlays/batman-adv.nix
@@ -1,14 +1,15 @@
1{ final, prev, sources, ... }: { 1{ final, prev, sources, ... }: {
2 linuxPackages_latest = prev.linuxPackages_latest.extend (self: super: { 2 linuxPackages_latest = prev.linuxPackages_latest.extend (self: super: {
3 batman_adv = super.batman_adv.overrideAttrs (oldAttrs: let 3 batman_adv = super.batman_adv.overrideAttrs (oldAttrs: {
4 version = "2023.0"; 4 version = "${sources.batman-adv.version}-${self.kernel.version}";
5 in { 5 inherit (sources.batman-adv) src;
6 version = "${version}-${self.kernel.version}"; 6 });
7 });
7 8
8 src = prev.fetchurl { 9 linuxPackages_6_2 = prev.linuxPackages_6_2.extend (self: super: {
9 url = "http://downloads.open-mesh.org/batman/releases/batman-adv-${version}/batman-adv-${version}.tar.gz"; 10 batman_adv = super.batman_adv.overrideAttrs (oldAttrs: {
10 hash = "sha256-LOTsBAYyUue/7DorP6KmGztCx7BNaYumATK/qx1gpc0="; 11 version = "${sources.batman-adv.version}-${self.kernel.version}";
11 }; 12 inherit (sources.batman-adv) src;
12 }); 13 });
13 }); 14 });
14} 15}