summaryrefslogtreecommitdiff
path: root/pkgs/os-specific/linux/kernel-headers
AgeCommit message (Collapse)Author
2026-05-09linuxHeaders: add updateScriptzowoq
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-02-21Merge master into staging-nextnixpkgs-ci[bot]
2026-02-19linuxHeaders: move ARCH into env for structuredAttrsStefan Frijters
2026-01-25linuxHeaders: 6.18 -> 6.18.7R. Ryantm
2025-12-28linuxHeaders: 6.16.7 -> 6.18Sergei Trofimovich
2025-09-19linuxHeaders: 6.16 -> 6.16.7R. Ryantm
2025-08-05linuxHeaders: 6.14.7 -> 6.16R. Ryantm
2025-08-03linuxHeaders: fix build on 32-bit systems with 64-bit inodesSergei Trofimovich
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-07-24treewide: run nixfmt 1.0.0Wolfgang Walther
2025-06-13Merge remote-tracking branch 'origin/master' into staging-nextK900
2025-06-13linuxHeaders: add linux-kernel team to teamsaleksana
2025-05-30linuxHeaders: 6.12.7 -> 6.14.7R. Ryantm
2024-12-30linuxHeaders: 6.12 -> 6.12.7R. Ryantm
2024-12-10treewide: format all inactive Nix filesSilvan Mosberger
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 78e9caf153f5a339bf1d4c000ff6f0a503a369c8 result/bin/apply-formatting $NIXPKGS_PATH
2024-11-30linuxHeaders: 6.10 -> 6.12Alyssa Ross
2024-09-15linuxHeaders: 6.9 -> 6.10R. Ryantm
2024-06-21pkgs/os-specific: remove licenses.gpl2Jussi Kuokkanen
2024-05-15linuxHeaders: 6.7 -> 6.9Alyssa Ross
2024-01-20linuxHeaders: 6.6 -> 6.7Sergei Trofimovich
2023-11-01linuxHeaders: 6.5 -> 6.6Sergei Trofimovich
2023-10-03linuxHeaders: revert accidental `struct sockaddr_ll` size changeSergei Trofimovich
`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-09-04linuxHeaders: 6.4 -> 6.5Sergei Trofimovich
2023-06-26linuxHeaders: 6.3 -> 6.4Sergei Trofimovich
2023-04-25linuxHeaders: 6.2 -> 6.3Sergei Trofimovich
2023-02-22linuxHeaders: 6.1 -> 6.2Sergei Trofimovich
2023-02-09linuxHeaders: cleanup androidArtturin
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>
2022-12-12linuxHeaders: 6.0 -> 6.1Sergei Trofimovich
2022-11-06Merge pull request #196502 from r-burns/mips-darwin-crossRyan Burns
linuxHeaders: fix darwin -> linux-mips cross-compilation
2022-11-05linuxHeaders: fix cross-compilation from darwin to mipsRyan Burns
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-10-10treewide: optional -> optionals where the argument is a listArtturin
the argument to optional should not be list
2022-10-05linuxHeaders: 5.19 -> 6.0Sergei Trofimovich
2022-08-01linuxHeaders: 5.18 -> 5.19Sergei Trofimovich
2022-06-15linuxHeaders: backport fix to restore __bitwise__ defineSergei Trofimovich
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-05-28linuxHeaders: 5.17 -> 5.18Sergei Trofimovich
2022-05-26Merge staging-next into staginggithub-actions[bot]
2022-05-25treewide: add enableParallelBuilding's to bootstrap packages so hashes stay ↵Artturin
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-25lib/systems/inspect.nix: remove isPowerPCAdam Joseph
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-22treewide: enable strictDeps in bootstrap packagesArtturin
2022-03-27linuxHeaders: 5.16 -> 5.17Sergei Trofimovich
2022-01-13linuxHeaders: 5.15.5 -> 5.16Alyssa Ross
Fixes: https://github.com/NixOS/nixpkgs/pull/149243 ("[staging] linuxHeaders: fix missing include in swab.h")
2021-11-28linuxHeaders: 5.14 -> 5.15.5TredwellGit
2021-09-20linuxHeaders: 5.12 -> 5.14Sergei Trofimovich
2021-05-16bionic: use fetchzip for everything (#123010)sterni
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-11treewide: Support aarch64-android using minimal prebuilt componentss1341
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-04-26linuxHeaders: 5.11 -> 5.12TredwellGit
2021-02-16linuxHeaders: 5.10.9 -> 5.11TredwellGit
2021-01-24Merge branch 'master' into staging-nextJan Tojnar
2021-01-23lib: Clean up how linux and gcc config is specifiedJohn Ericson
Second attempt of 8929989614589ee3acd070a6409b2b9700c92d65; see that commit for details. This reverts commit 0bc275e63423456d6deb650e146120c39c1e0723.
2021-01-22Revert "lib: Clean up how linux and gcc config is specified"Jonathan Ringer
This is a stdenv-rebuild, and should not be merged into master This reverts commit 8929989614589ee3acd070a6409b2b9700c92d65.
2021-01-21lib: Clean up how linux and gcc config is specifiedJohn Ericson
The `platform` field is pointless nesting: it's just stuff that happens to be defined together, and that should be an implementation detail. This instead makes `linux-kernel` and `gcc` top level fields in platform configs. They join `rustc` there [all are optional], which was put there and not in `platform` in anticipation of a change like this. `linux-kernel.arch` in particular also becomes `linuxArch`, to match the other `*Arch`es. The next step after is this to combine the *specific* machines from `lib.systems.platforms` with `lib.systems.examples`, keeping just the "multiplatform" ones for defaulting.