Commit Graph

103 Commits

Author SHA1 Message Date
Tom Herbers
eb9d0efb6e batman-adv: 2026.1 -> 2026.2
Changelog: https://www.open-mesh.org/news/128
2026-07-01 00:50:03 +02:00
Tom Herbers
f142291965 batman-adv: 2026.0 -> 2026.1
Changelog: https://www.open-mesh.org/news/127
2026-04-08 21:24:09 +02:00
Lisanna Dettwyler
a31a53caf1 linuxKernel.packages.linux_5_10.batman_adv: use https for sources
Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com>
2026-03-21 12:30:15 -04:00
Tom Herbers
ade63b8b0b batman-adv: 2025.5 -> 2026.0
Changelog: https://www.open-mesh.org/news/126
2026-02-25 10:06:29 +01:00
Albert Larsan
bdccb81de6 alfred,batctl,linuxPackages.batman_adv: 2025.4 -> 2025.5
https://www.open-mesh.org/news/125
2026-01-19 11:01:30 +01:00
Tom Herbers
eeb1cc7f5d batman-adv: 2025.3 -> 2025.4
Changelog: https://www.open-mesh.org/news/124
2025-10-25 00:24:13 +02:00
Tom Herbers
752efb4902 nixos/tests: add systemd-networkd-batadv 2025-10-04 11:19:42 +02:00
Tom Herbers
728a45f0f7 batman-adv: 2025.2 -> 2025.3
Changelog: https://www.open-mesh.org/news/123
2025-09-08 11:15:53 +02:00
Philip Taron
df42f855db treewide: add --extra-experimental-features nix-command to nix hash invocations 2025-07-02 08:34:40 -07:00
Tom Herbers
904fd1ed48 batman-adv: 2025.1 -> 2025.2
Changelog: https://www.open-mesh.org/news/122
2025-06-19 11:25:28 +02:00
Tom Herbers
6a8081501c batman-adv: 2025.0 -> 2025.1
Changelog: https://www.open-mesh.org/news/121
2025-04-17 22:30:43 +02:00
Tom Herbers
a4fc9eb64e batman-adv: 2024.4 -> 2025.0
Changelog: https://www.open-mesh.org/news/120
2025-02-08 01:39:34 +01:00
Maximilian Bosch
5645cd22d4 linux: expose make flags for modules in linuxKernel.packages.linux_X_Y
Closes #376820

The issue with providing `moduleMakeFlags` via `passthru` of the kernel
package is that when this package gets overriden[1], the `moduleMakeFlags`
list still references the kernel without the overrides.

This broke e.g. kernel modules of linux-rpi4 which can be reproduced
with

    nix-build --argstr system aarch64-linux -A linuxKernel.packages.linux_rpi4.zfs_2_3

This used to break with

    Error: modDirVersion 6.6.51 specified in the Nix expression is wrong, it should be: 6.6.51-v8

since KBUILD_OUTPUT referenced the kernel without the changes from
`overrideDerivation` that also changes the `modDirVersion`.

The new approach is to add the build flags right into
`linuxKernel.packages.linux_X_Y`: that way we don't need any hacks to
update `moduleMakeFlags` when the derivation with the passthru gets
overridden.

By using the fixpoint of the package-set, the `kernelModuleMakeFlags`
list is correctly updated. E.g. given

    with import ./. {};

    linuxKernel.packages.linux_6_6.extend (self: super: {
      kernel = super.kernel.overrideAttrs (_: {
        name = "linux-snens";
      });
    })

the `makeFlags` is correctly updated:

    $ nix-instantiate snenskek.nix -A zfs_2_3.makeFlags --eval --strict
    [ "ARCH=x86_64" "CROSS_COMPILE=" "KBUILD_OUTPUT=/nix/store/gsp68549k1aqbwxwczpgw67w5jjn4shw-linux-snens-dev/lib/modules/6.6.74/build" ]

[1] E.g. `linux-rpi4`.
2025-01-27 16:09:50 +01:00
K900
aa3e94fe7c treewide: kernel.makeFlags -> kernel.moduleMakeFlags 2025-01-23 14:00:43 +03:00
Franz Pletz
53261ae0e3 batman-adv: 2024.3 -> 2024.4 (#363940) 2024-12-11 13:06:11 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Tom Herbers
38c02e8952 batman-adv: 2024.3 -> 2024.4
Changelog: https://www.open-mesh.org/news/119
2024-12-10 15:50:01 +01:00
Tom Herbers
1816c3472c batman-adv: 2024.2 -> 2024.3
Changelog: https://www.open-mesh.org/news/118
2024-10-22 01:37:35 +02:00
Aleksana
d6ebba3ab8 Merge pull request #314833 from Lurkki14/gpl2-pkgs-os-specific
pkgs/os-specific: remove licenses.gpl2
2024-06-21 23:57:57 +08:00
Jussi Kuokkanen
95cc312a68 pkgs/os-specific: remove licenses.gpl2 2024-06-21 12:28:43 +03:00
Tom Herbers
878a7de720 batman-adv: 2024.1 -> 2024.2
Changelog: https://www.open-mesh.org/news/117
2024-06-20 20:23:43 +02:00
Sigmanificient
d48a9bb622 treewide: remove unused fetchpatch arguments 2024-06-04 12:40:25 +02:00
Tom Herbers
597e641a06 batman-adv: 2024.0 -> 2024.1
Changelog: https://www.open-mesh.org/news/116
2024-05-09 11:10:23 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Tom Herbers
fbb42119b3 batman-adv: 2023.3 -> 2024.0
Changelog: https://www.open-mesh.org/news/115
2024-02-06 13:16:23 +01:00
Martin Weinelt
4611371303 treewide: scale back maintainership for various packages 2024-01-05 14:43:39 +01:00
Tom Herbers
703e8c433e batman-adv: fix redefinition of skb_vlan_eth_hdr 2023-12-28 20:06:31 +01:00
Philip Taron
e69fccca13 batman-adv: 2023.2 -> 2023.3
Changelog: https://www.open-mesh.org/news/114
2023-12-13 12:53:06 -08:00
Philip Taron
c9defce801 batman-adv: 2023.1 -> 2023.2
From https://www.open-mesh.org/news/113:

  batman-adv

      support latest kernels (4.14 - 6.5)
      bugs squashed:
          avoid potential invalid memory access when processing ELP/OGM2 packets
          drop pending DAT worker when interface shuts down
          inform network stack about automatically adjusted MTUs
          keep user defined MTU limit when MTU is recalculated
          fix packet memory leak when sending OGM2 via inactive interfaces
          fix TT memory leak for roamed back clients

  alfred

      receive data with valid source on unix sock without active interface

  Happy routing,

  The B.A.T.M.A.N. team
2023-10-23 10:05:20 -07:00
Philip Taron
fc4325b62c Update batman-adv to 2023.2 2023-10-23 09:47:02 -07:00
Franz Pletz
69beba6b7c batman-adv: 2023.0 -> 2023.1 2023-06-21 13:20:03 +02:00
MaxHearnden
7e3053b534 alfred,batctl: don't override PKG_CONFIG
was added in 2016 but not necessary anymore

to fix cross compilation
2023-06-18 22:15:07 +03:00
Nicolas Benes
91de60e122 batman-adv: 2022.3 -> 2023.0 2023-04-16 21:46:38 +02:00
Franz Pletz
aba8af9a02 batman-adv: 2022.1 -> 2022.3 2022-11-14 12:13:46 +01:00
Martin Weinelt
11a8c3e409 batman-adv: 2022.0 -> 2022.1 2022-05-06 18:23:07 +02:00
Martin Weinelt
a62be8ad08 batman-adv: 2021.4 -> 2022.0
https://www.open-mesh.org/news/107
2022-04-18 13:53:44 +02:00
Nick Cao
8d715c1f78 batman_adv: prepend kernel.makeFlags to makeFLags 2022-03-07 12:23:44 +08:00
Martin Weinelt
e2aab32379 batman-adv: 2021.1 -> 2021.4
https://www.open-mesh.org/news/106
https://www.open-mesh.org/news/105
https://www.open-mesh.org/news/104
2022-01-10 16:32:48 +00:00
Martin Weinelt
b49bd8db30 batman-adv: 2021.0 -> 2021.1 2021-05-22 00:31:57 +02:00
Martin Weinelt
d5bda9ed61 batman-adv: fix build on linux>=5.12 2021-05-13 18:19:32 +02:00
Martin Weinelt
3e17f21396 batman-adv: 2020.4 -> 2021.0 (#111185)
* batman-adv: 2020.4 -> 2021.0

* batman-adv: add hexa to maintainers
2021-01-31 13:42:27 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
Martin Weinelt
7a2455a0fd batman-adv: 2020.3 -> 2020.4 2020-11-09 22:24:11 +01:00
Martin Weinelt
72b0046db8 batman-adv: 2019.5 -> 2020.3 (#98247) 2020-09-19 10:07:21 +02:00
John Ericson
ee8cfe4bf3 treewide: pkg-config has targetPrefix 2020-05-16 00:21:21 +00:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Franz Pletz
151c38b5c8 batman-adv: 2019.4 -> 2019.5
Fixes #72463.
2020-01-01 20:30:38 +01:00
Franz Pletz
8b3427ad87 batman-adv: refactor 2020-01-01 20:29:35 +01:00
R. RyanTM
f08df845fc alfred: 2019.3 -> 2019.5 2019-12-22 19:06:52 -08:00