61 Commits

Author SHA1 Message Date
Harinn e78b4e7f91 fwts: link against zlib 2026-05-20 18:20:17 +07:00
Michael Daniels 9a04427f2c maintainers: remove dtzWill
Totally inactive on GitHub since August 2024.
2026-01-01 12:33:41 -05:00
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
eljamm 76a698a87c fwts: 24.09.00 -> 25.09.00; fix kernel module 2025-11-04 23:08:42 +01:00
Weijia Wang 32932696de fwts: refactor, unpin gnumake42 (#376645) 2025-01-27 22:23:00 +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
Weijia Wang 3045853cb0 fwts: unpin gnumake42 2025-01-25 19:22:12 +01:00
Weijia Wang f3785b42e8 fwts: refactor 2025-01-25 13:01:34 +01:00
Weijia Wang c6b2a26f28 fwts: reformat with nixfmt 2025-01-25 13:01:34 +01:00
K900 aa3e94fe7c treewide: kernel.makeFlags -> kernel.moduleMakeFlags 2025-01-23 14:00:43 +03: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 https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
R. Ryantm 7215a57006 fwts: 24.07.00 -> 24.09.00 2024-10-17 12:56:20 +00:00
R. Ryantm 7e3e470486 fwts: 24.03.00 -> 24.07.00 2024-07-31 06:51:24 +00:00
Jussi Kuokkanen 95cc312a68 pkgs/os-specific: remove licenses.gpl2 2024-06-21 12:28:43 +03:00
R. Ryantm 2038b920a8 fwts: 24.01.00 -> 24.03.00 2024-04-29 09:09:44 +00:00
R. Ryantm 81dbffe493 fwts: 23.11.00 -> 24.01.00 2024-01-25 07:54:41 +00:00
R. Ryantm 0c909de8e6 fwts: 23.07.00 -> 23.11.00 2023-12-15 08:22:30 +00:00
Daniel Fullmer 142e4cddaf fwts: use absolute path for dtc utility 2023-11-09 08:24:34 -08:00
R. Ryantm a481f7cc2b fwts: 23.05.00 -> 23.07.00 2023-09-04 03:48:27 +00:00
Jan Malakhovski 5852f26bdc treewide: noop: refer to src.name or similar in sourceRoot where appropriate, part 1: trivial cases 2023-08-03 16:32:03 +00:00
R. Ryantm 3155947602 fwts: 23.03.00 -> 23.05.00 2023-06-10 19:00:05 +00:00
R. Ryantm 3e9f808073 fwts: 23.01.00 -> 23.03.00 2023-04-18 03:34:37 +00:00
R. Ryantm 3e152ec76d fwts: 22.09.00 -> 23.01.00 2023-02-05 02:51:02 +00:00
Vladimír Čunát a68595ff05 fwts: fixup build by using older make 2022-12-16 20:04:17 +01:00
R. Ryantm 5a0cd9c748 fwts: 21.07.00 -> 22.09.00 2022-10-01 11:51:49 +00:00
Nick Cao 77e2c0324c fwts-efi-runtime: prepend kernel.makeFlags to makeFlags 2022-03-07 12:23:45 +08:00
Artturi 7a8063e84b Merge pull request #133321 from r-ryantm/auto-update/fwts
fwts: 20.11.00 -> 21.07.00
2021-08-14 00:46:06 +03:00
R. RyanTM edb14bad6a fwts: 20.11.00 -> 21.07.00 2021-08-10 06:28:00 +00:00
Kid b43389f49d iasl: drop pacakge 2021-08-10 03:46:01 +00:00
Sandro Jäckel 361fef5201 fwts: cleanup 2021-08-08 14:42:48 +02: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
Sandro 83ef622cdf Merge pull request #105647 from r-ryantm/auto-update/fwts
fwts: 20.09.00 -> 20.11.00
2021-01-18 20:47:36 +01:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
R. RyanTM 6c3684b0ee fwts: 20.09.00 -> 20.11.00 2020-12-02 03:53:21 +00:00
R. RyanTM a27100c77b fwts: 20.08.00 -> 20.09.00 2020-11-01 15:14:53 -08:00
R. RyanTM a82cfbbb09 fwts: 20.07.00 -> 20.08.00 2020-09-23 03:59:16 +00:00
R. RyanTM 9175f114fe fwts: 20.06.01 -> 20.07.00 2020-08-07 00:23:12 -07:00
R. RyanTM c284c86333 fwts: 20.05.00 -> 20.06.01 2020-07-03 09:22:31 +00:00
R. RyanTM 84c39bd824 fwts: 20.03.00 -> 20.05.00 2020-05-27 12:38:01 -07:00
R. RyanTM 53c6b76dc4 fwts: 20.02.00 -> 20.03.00 2020-04-07 19:35:21 -07:00
R. RyanTM 248f387e6d fwts: 19.11.00 -> 20.02.00 2020-03-04 23:04:43 +00:00
R. RyanTM 34733fed51 fwts: 19.09.00 -> 19.11.00 2019-11-25 16:56:19 -08:00
R. RyanTM 99fcfaa487 fwts: 19.08.00 -> 19.09.00
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/fwts/versions
2019-10-21 11:29:08 -07:00
Will Dietz c8663660dc linuxPackages.fwts-efi-runtime: init 2019-09-18 17:13:38 -05:00
Will Dietz 0998d084c3 fwts: 19.07.00 -> 19.08.00 2019-09-03 19:35:37 -05:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Will Dietz ade72d9110 fwts: 19.06.00 -> 19.07.00 2019-07-25 23:38:42 -05:00
R. RyanTM b2a78de0c0 fwts: 19.05.00 -> 19.06.00
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/fwts/versions
2019-06-16 16:20:10 -07:00
Will Dietz b911ce24e6 fwts: 19.03.00 -> 19.05.00 2019-05-17 03:51:12 -05:00
R. RyanTM e2e404e6f3 fwts: 19.02.00 -> 19.03.00
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/fwts/versions
2019-04-14 11:10:34 -07:00