mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
4f0dadbf38
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-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
38 lines
1.0 KiB
Nix
38 lines
1.0 KiB
Nix
{
|
|
callPackage,
|
|
kernel ? null,
|
|
stdenv,
|
|
nixosTests,
|
|
fetchpatch,
|
|
...
|
|
}@args:
|
|
|
|
let
|
|
stdenv' = if kernel == null then stdenv else kernel.stdenv;
|
|
in
|
|
callPackage ./generic.nix args {
|
|
# You have to ensure that in `pkgs/top-level/linux-kernels.nix`
|
|
# this attribute is the correct one for this package.
|
|
kernelModuleAttribute = "zfs_unstable";
|
|
# check the release notes for compatible kernels
|
|
kernelCompatible = kernel: kernel.kernelOlder "6.12";
|
|
|
|
# this package should point to a version / git revision compatible with the latest kernel release
|
|
# IMPORTANT: Always use a tagged release candidate or commits from the
|
|
# zfs-<version>-staging branch, because this is tested by the OpenZFS
|
|
# maintainers.
|
|
version = "2.3.0-rc3";
|
|
# rev = "";
|
|
|
|
tests = {
|
|
inherit (nixosTests.zfs) unstable;
|
|
};
|
|
|
|
hash = "sha256-9s8Sb5+vksFsFI2Ra432QXexmbX3R17dzYzzLZviel0=";
|
|
|
|
extraLongDescription = ''
|
|
This is "unstable" ZFS, and will usually be a pre-release version of ZFS.
|
|
It may be less well-tested and have critical bugs.
|
|
'';
|
|
}
|