<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nixos/nixpkgs.git/pkgs/os-specific/linux/cryptodev, branch master</title>
<subtitle>Nix Packages collection</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/'/>
<entry>
<title>cryptodev: 1.14 -&gt; 1.14-unstable-2025-11-04</title>
<updated>2026-01-19T04:50:22+00:00</updated>
<author>
<name>moni-dz</name>
<email>lythe1107@gmail.com</email>
</author>
<published>2026-01-17T00:55:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=3f5e35eb3da785a3cd74f24a6fafb0133b77b83d'/>
<id>3f5e35eb3da785a3cd74f24a6fafb0133b77b83d</id>
<content type='text'>
fix 6.18 kernel build
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix 6.18 kernel build
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: Format all Nix files</title>
<updated>2025-04-01T18:10:43+00:00</updated>
<author>
<name>Silvan Mosberger</name>
<email>silvan.mosberger@moduscreate.com</email>
</author>
<published>2025-04-01T18:10:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=374e6bcc403e02a35e07b650463c01a52b13a7c8'/>
<id>374e6bcc403e02a35e07b650463c01a52b13a7c8</id>
<content type='text'>
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](https://github.com/NixOS/nixpkgs/tree/8616af08d915377bd930395f3b700a0e93d08728/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](https://github.com/NixOS/nixpkgs/tree/8616af08d915377bd930395f3b700a0e93d08728/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
</pre>
</div>
</content>
</entry>
<entry>
<title>linux: expose make flags for modules in `linuxKernel.packages.linux_X_Y`</title>
<updated>2025-01-27T15:09:50+00:00</updated>
<author>
<name>Maximilian Bosch</name>
<email>maximilian@mbosch.me</email>
</author>
<published>2025-01-27T14:43:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=5645cd22d4a4ed66449986cd96f49ebc043cb5d6'/>
<id>5645cd22d4a4ed66449986cd96f49ebc043cb5d6</id>
<content type='text'>
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`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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`.
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: kernel.makeFlags -&gt; kernel.moduleMakeFlags</title>
<updated>2025-01-23T11:00:43+00:00</updated>
<author>
<name>K900</name>
<email>me@0upti.me</email>
</author>
<published>2025-01-23T10:55:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=aa3e94fe7c5f708f21608efb8b5821db67a27ddc'/>
<id>aa3e94fe7c5f708f21608efb8b5821db67a27ddc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>linuxPackages.cryptodev: 1.13 -&gt; 1.14</title>
<updated>2024-12-04T21:15:12+00:00</updated>
<author>
<name>Julian Stecklina</name>
<email>julian.stecklina@cyberus-technology.de</email>
</author>
<published>2024-11-28T15:31:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=5c2af8e353dd6d87fe5ae7e78546404f619f70d3'/>
<id>5c2af8e353dd6d87fe5ae7e78546404f619f70d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cryptodev: fix build with patches from master</title>
<updated>2024-05-13T22:43:56+00:00</updated>
<author>
<name>Franz Pletz</name>
<email>fpletz@fnordicwalking.de</email>
</author>
<published>2024-05-13T22:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=c849940e4fe2cb0c6ec3ac27cd45ff71b04dfa2f'/>
<id>c849940e4fe2cb0c6ec3ac27cd45ff71b04dfa2f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>maintainers: fortuneteller2k -&gt; moni</title>
<updated>2023-11-17T10:03:27+00:00</updated>
<author>
<name>fortuneteller2k</name>
<email>lythe1107@gmail.com</email>
</author>
<published>2023-11-17T10:03:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=d3c568b7bcb676ea84e6494c9e3740a997141c1e'/>
<id>d3c568b7bcb676ea84e6494c9e3740a997141c1e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cryptodev: 1.12 -&gt; 1.13</title>
<updated>2023-05-19T17:43:01+00:00</updated>
<author>
<name>Alexandre Iooss</name>
<email>erdnaxe@crans.org</email>
</author>
<published>2023-05-19T17:43:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=6d4b6edc133412ee0155944c7a82ddf9ec0a29bb'/>
<id>6d4b6edc133412ee0155944c7a82ddf9ec0a29bb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>linuxPackages.cryptodev: cleanup and fix cross compilation</title>
<updated>2023-01-20T05:43:19+00:00</updated>
<author>
<name>Nick Cao</name>
<email>nickcao@nichi.co</email>
</author>
<published>2023-01-20T05:43:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=e37e1460563910bfc1c57078c7c67897c548bddc'/>
<id>e37e1460563910bfc1c57078c7c67897c548bddc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cryptodev: pass moduleBuildDependencies from kernel</title>
<updated>2022-03-07T04:23:43+00:00</updated>
<author>
<name>Nick Cao</name>
<email>nickcao@nichi.co</email>
</author>
<published>2022-02-10T01:34:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=bd8917e7ea45e7250be96232ccfd5609e8e040c8'/>
<id>bd8917e7ea45e7250be96232ccfd5609e8e040c8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
