From c0e3d0e72d9d636728a5171511e3ce1003203567 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 10 Apr 2023 20:56:16 +0200 Subject: bump --- overlays/batman-adv.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'overlays/batman-adv.nix') 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 @@ { final, prev, sources, ... }: { linuxPackages_latest = prev.linuxPackages_latest.extend (self: super: { - batman_adv = super.batman_adv.overrideAttrs (oldAttrs: let - version = "2023.0"; - in { - version = "${version}-${self.kernel.version}"; + batman_adv = super.batman_adv.overrideAttrs (oldAttrs: { + version = "${sources.batman-adv.version}-${self.kernel.version}"; + inherit (sources.batman-adv) src; + }); + }); - src = prev.fetchurl { - url = "http://downloads.open-mesh.org/batman/releases/batman-adv-${version}/batman-adv-${version}.tar.gz"; - hash = "sha256-LOTsBAYyUue/7DorP6KmGztCx7BNaYumATK/qx1gpc0="; - }; + linuxPackages_6_2 = prev.linuxPackages_6_2.extend (self: super: { + batman_adv = super.batman_adv.overrideAttrs (oldAttrs: { + version = "${sources.batman-adv.version}-${self.kernel.version}"; + inherit (sources.batman-adv) src; }); }); } -- cgit v1.2.3