summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-02-27 15:01:09 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2023-02-27 15:01:09 +0100
commit4800e3a8c7e9f6bbb668c50a29f689a83de223c7 (patch)
tree9c8c967f277085dd740dc67c4e002118d1fa169d /overlays
parentf122223243cbb50fa65d96646bc06f53567fd815 (diff)
downloadnixos-4800e3a8c7e9f6bbb668c50a29f689a83de223c7.tar
nixos-4800e3a8c7e9f6bbb668c50a29f689a83de223c7.tar.gz
nixos-4800e3a8c7e9f6bbb668c50a29f689a83de223c7.tar.bz2
nixos-4800e3a8c7e9f6bbb668c50a29f689a83de223c7.tar.xz
nixos-4800e3a8c7e9f6bbb668c50a29f689a83de223c7.zip
...
Diffstat (limited to 'overlays')
-rw-r--r--overlays/batman-adv.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/overlays/batman-adv.nix b/overlays/batman-adv.nix
new file mode 100644
index 00000000..a408a284
--- /dev/null
+++ b/overlays/batman-adv.nix
@@ -0,0 +1,14 @@
1{ final, prev, sources, ... }: {
2 linuxPackages_latest = prev.linuxPackages_latest.extend (self: super: {
3 batman_adv = super.batman_adv.overrideAttrs (oldAttrs: let
4 version = "2023.0";
5 in {
6 version = "${version}-${self.kernel.version}";
7
8 src = prev.fetchurl {
9 url = "http://downloads.open-mesh.org/batman/releases/batman-adv-${version}/batman-adv-${version}.tar.gz";
10 hash = "sha256-LOTsBAYyUue/7DorP6KmGztCx7BNaYumATK/qx1gpc0=";
11 };
12 });
13 });
14}