summaryrefslogtreecommitdiff
path: root/overlays/batman-adv.nix
blob: cce7dc4f56d770b6bc445385e50e03e33fce8975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ final, prev, sources, ... }: {
  linuxPackages_latest = prev.linuxPackages_latest.extend (self: super: {
    batman_adv = super.batman_adv.overrideAttrs (oldAttrs: {
      version = "${sources.batman-adv.version}-${self.kernel.version}";
      inherit (sources.batman-adv) src;
    });
  });

  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;
    });
  });
}