Commit Graph

198 Commits

Author SHA1 Message Date
Stefan Frijters
6492712287 linuxHeaders: enable structuredAttrs 2026-08-02 20:17:27 +02:00
R. Ryantm
44d362d5a6 linuxHeaders: 7.0 -> 7.1 2026-07-25 16:36:43 +00:00
Maximilian Bosch
84b1ec46c8 glibc: 2.42-61 -> 2.42-67, linuxHeaders: 6.18.7 -> 7.0 (#517918) 2026-05-22 21:29:37 +00:00
zowoq
0d82881a6a linuxHeaders: 6.18.7 -> 7.0 2026-05-19 16:51:53 +10:00
zowoq
e1210e0a45 linuxHeaders: add updateScript
This package doesn't seem to be updated consistently so adding an updateScript so the bot will create PRs when linux_latest is bumped to a new branch version.
2026-05-09 12:43:45 +10:00
nixpkgs-ci[bot]
53793439fd Merge master into staging-next 2026-02-21 00:22:53 +00:00
Stefan Frijters
98a863fc9b linuxHeaders: move ARCH into env for structuredAttrs 2026-02-19 17:48:51 +01:00
R. Ryantm
73ec40079a linuxHeaders: 6.18 -> 6.18.7 2026-01-25 13:00:50 +00:00
Sergei Trofimovich
8934094ae4 linuxHeaders: 6.16.7 -> 6.18 2025-12-28 11:17:17 +00:00
R. Ryantm
57a4c166e0 linuxHeaders: 6.16 -> 6.16.7 2025-09-19 13:28:52 +00:00
R. Ryantm
a17b3d9f77 linuxHeaders: 6.14.7 -> 6.16 2025-08-05 19:39:10 +02:00
Sergei Trofimovich
6519e3fb71 linuxHeaders: fix build on 32-bit systems with 64-bit inodes
Without the change builx of `pkgsi686Linux.linuxHeaders` fails on my
`btrfs` with 64-bit inodes as:

    linux-headers> fixdep: error fstat'ing file: scripts/basic/.fixdep.d: Value too large for defined data type

Normally `Kbuild` attempts to pass correct LFS flags by extracting
them from `getconf` as:
    HOST_LFS_CFLAGS := $(shell getconf LFS_CFLAGS 2>/dev/null)

But `nixpkgs` does not provide it and the build fails.

The change hardcodes LFS flags for 32-bit systems.
2025-08-03 12:52:42 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
K900
b8e64cf111 Merge remote-tracking branch 'origin/master' into staging-next 2025-06-13 09:21:23 +03:00
aleksana
ff72dce223 linuxHeaders: add linux-kernel team to teams 2025-06-13 01:33:23 +08:00
R. Ryantm
f35f4f66b1 linuxHeaders: 6.12.7 -> 6.14.7 2025-05-30 16:45:22 +02:00
R. Ryantm
255bcd6fea linuxHeaders: 6.12 -> 6.12.7 2024-12-30 11:08:02 +00:00
Silvan Mosberger
84d4f874c2 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 78e9caf153
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:23:58 +01:00
Alyssa Ross
cccce2ac65 linuxHeaders: 6.10 -> 6.12 2024-11-30 11:33:29 +01:00
R. Ryantm
a6d156bb3a linuxHeaders: 6.9 -> 6.10 2024-09-15 18:30:00 +02:00
Jussi Kuokkanen
95cc312a68 pkgs/os-specific: remove licenses.gpl2 2024-06-21 12:28:43 +03:00
Alyssa Ross
87d17e2038 linuxHeaders: 6.7 -> 6.9 2024-05-15 18:49:43 +02:00
Sergei Trofimovich
ce9db269a6 linuxHeaders: 6.6 -> 6.7 2024-01-20 10:43:23 +00:00
Sergei Trofimovich
f79d2b7570 linuxHeaders: 6.5 -> 6.6 2023-11-01 13:18:41 +00:00
Sergei Trofimovich
fad90186f9 linuxHeaders: revert accidental struct sockaddr_ll size change
`linux-6.5` introduced regression in it's headers by breaking `udp2raw`.
`udp2raw` relied on the fixed size of `struct sockaddr_ll`:

    https://github.com/NixOS/nixpkgs/pull/252587#issuecomment-1744427473

Let's revert the API change until it's fixed upstream.
2023-10-03 09:33:40 +01:00
Sergei Trofimovich
718d63a44a linuxHeaders: 6.4 -> 6.5 2023-09-04 19:53:07 +01:00
Sergei Trofimovich
a15a0ca7ab linuxHeaders: 6.3 -> 6.4 2023-06-26 23:18:55 +01:00
Sergei Trofimovich
a15252ba8a linuxHeaders: 6.2 -> 6.3 2023-04-25 08:30:28 +01:00
Sergei Trofimovich
48c598aafd linuxHeaders: 6.1 -> 6.2 2023-02-22 23:03:58 +00:00
Artturin
ae87533ba1 linuxHeaders: cleanup android
compared output and the build log and python2 is not required

both build

'pkgsCross.aarch64-android.linuxHeaders'
'pkgsCross.aarch64-android.bionic.linuxHeaders'

linux-headers>   LEX     scripts/kconfig/lexer.lex.c
linux-headers> sh: line 1: flex: command not found

linux-headers>   YACC    scripts/kconfig/parser.tab.[ch]
linux-headers> sh: line 1: bison: command not found

linux-headers>   INSTALL ./usr/include
linux-headers> sh: line 1: rsync: command not found

Co-authored-by: exarkun <exarkun@twistedmatrix.com>
2023-02-09 20:10:33 +00:00
Sergei Trofimovich
29c4626da8 linuxHeaders: 6.0 -> 6.1 2022-12-12 23:11:44 +00:00
Ryan Burns
5a81fe3684 Merge pull request #196502 from r-burns/mips-darwin-cross
linuxHeaders: fix darwin -> linux-mips cross-compilation
2022-11-06 20:16:49 -08:00
Ryan Burns
b45cf446ea linuxHeaders: fix cross-compilation from darwin to mips
mips tools require endian headers which are different on darwin.
Add stub headers to define the appropriate byte swap functions.

Co-authored-by: Adam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com>
2022-11-05 00:32:11 -07:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Sergei Trofimovich
23664c3870 linuxHeaders: 5.19 -> 6.0 2022-10-05 10:46:04 +00:00
Sergei Trofimovich
8907016b22 linuxHeaders: 5.18 -> 5.19 2022-08-01 17:04:04 +01:00
Sergei Trofimovich
912eb001da linuxHeaders: backport fix to restore __bitwise__ define
Without it openiscsi build fails in staging-next as:

    ../../include/iscsi_proto.h:550:9: error: unknown type name 'itt_t'
       550 |         itt_t    itt;   /* Initiator Task Tag */
           |         ^~~~~
2022-06-15 23:34:12 +01:00
Sergei Trofimovich
4d80d6be86 linuxHeaders: 5.17 -> 5.18 2022-05-28 10:37:16 +01:00
github-actions[bot]
d8aac1a80f Merge staging-next into staging 2022-05-26 12:01:59 +00:00
Artturin
1d44ac176c treewide: add enableParallelBuilding's to bootstrap packages so hashes stay the same
when enableParallelBuildingByDefault is enabled

verified with
`nix-diff $(nix eval ".#gcc-unwrapped.drvPath") $(nix eval --expr 'with import ./. { config = { enableParallelBuildingByDefault = true; }; }; gcc-unwrapped.drvPath' --impure)`
2022-05-25 16:03:14 +03:00
Adam Joseph
c0085404bd lib/systems/inspect.nix: remove isPowerPC
Very confusingly, the `isPowerPC` predicate in
`lib/systems/inspect.nix` does *not* match `powerpc64le`!

This is because `isPowerPC` is defined as

  isPowerPC      = { cpu = cpuTypes.powerpc; };

Where `cpuTypes.powerpc` is:

  { bits = 32; significantByte = bigEndian; family = "power"; };

This means that the `isPowerPC` predicate actually only matches the
subset of machines marketed under this name which happen to be 32-bit
and running in big-endian mode which is equivalent to:

  with stdenv.hostPlatform; isPower && isBigEndian && is32bit

This seems like a sharp edge that people could easily cut themselves
on.  In fact, that has already happened: in
`linux/kernel/common-config.nix` there is a test which will always
fail:

  (stdenv.hostPlatform.isPowerPC && stdenv.hostPlatform.is64bit)

A more subtle case of the strict isPowerPC being used instead of the
moreg general isPower accidentally are the GHC expressions:

  Update pkgs/development/compilers/ghc/8.10.7.nix
  Update pkgs/development/compilers/ghc/8.8.4.nix
  Update pkgs/development/compilers/ghc/9.2.2.nix
  Update pkgs/development/compilers/ghc/9.0.2.nix
  Update pkgs/development/compilers/ghc/head.nix

Since the remaining legitimate use sites of isPowerPC are so few, remove
the isPowerPC predicate completely. The alternative expression above is
noted in the release notes as an alternative.

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2022-05-25 09:45:42 +02:00
Artturin
f002ffed9a treewide: enable strictDeps in bootstrap packages 2022-05-22 16:40:26 +03:00
Sergei Trofimovich
13426330aa linuxHeaders: 5.16 -> 5.17 2022-03-27 11:28:20 +01:00
Alyssa Ross
3cf29cf0cf linuxHeaders: 5.15.5 -> 5.16
Fixes: https://github.com/NixOS/nixpkgs/pull/149243 ("[staging] linuxHeaders: fix missing include in swab.h")
2022-01-13 23:18:42 +00:00
TredwellGit
391a967b64 linuxHeaders: 5.14 -> 5.15.5 2021-11-28 07:32:05 +00:00
Sergei Trofimovich
f75b03979c linuxHeaders: 5.12 -> 5.14 2021-09-20 19:37:19 +01:00
sterni
bc6da68650 bionic: use fetchzip for everything (#123010)
Since the hashes of the remaining two archives that used fetchurl broke,
now as good a time as any to switch the remaining fetchurls to fetchzip.
2021-05-16 01:24:27 -04:00
s1341
1e1d29c2af treewide: Support aarch64-android using minimal prebuilt components
This PR adds a new aarch64 android toolchain, which leverages the
existing crossSystem infrastructure and LLVM builders to generate a
working toolchain with minimal prebuilt components.

The only thing that is prebuilt is the bionic libc. This is because it
is practically impossible to compile bionic outside of an AOSP tree. I
tried and failed, braver souls may prevail. For now I just grab the
relevant binaries from https://android.googlesource.com/.

I also grab the msm kernel sources from there to generate headers. I've
included a minor patch to the existing kernel-headers derivation in
order to expose an internal function.

Everything else, from binutils up, is using stock code. Many thanks to
@Ericson2314 for his help on this, and for building such a powerful
system in the first place!

One motivation for this is to be able to build a toolchain which will
work on an aarch64 linux machine. To my knowledge, there is no existing
toolchain for an aarch64-linux builder and an aarch64-android target.
2021-05-11 15:39:08 +00:00
TredwellGit
7ac9fcb01b linuxHeaders: 5.11 -> 5.12 2021-04-26 14:41:54 +00:00
TredwellGit
7a715d595d linuxHeaders: 5.10.9 -> 5.11 2021-02-16 09:22:58 -05:00