nixpkgs/pkgs/os-specific/linux/kernel/linux-testing-bcachefs.nix
Matthieu Coudron f620b1b693 kernel: buildLinux replaces import ./generic.nix
- defined buildLinux as generic.nix instead of manual-config.nix. This
makes kernel derivations a tad more similar to your typical derivations.
- moved $buildRoot to within the source folder, this way it doesn't have to be created before the unpackPhase
and make it easier to work on kernel source without running the unpackPhase
2018-02-07 10:07:13 +09:00

23 lines
631 B
Nix

{ stdenv, buildPackages, hostPlatform, fetchgit, perl, buildLinux, ... } @ args:
buildLinux (args // rec {
version = "4.11.2017.08.23";
modDirVersion = "4.11.0";
extraMeta.branch = "master";
extraMeta.maintainers = [ stdenv.lib.maintainers.davidak ];
src = fetchgit {
url = "https://evilpiepirate.org/git/bcachefs.git";
rev = "fb8082a13d49397346a04ce4d3904569b0287738";
sha256 = "18csg2zb4lnhid27h5w95j3g8np29m8y3zfpfgjl1jr2jks64kid";
};
extraConfig = ''
BCACHEFS_FS m
'';
# Should the testing kernels ever be built on Hydra?
extraMeta.hydraPlatforms = [];
} // (args.argsOverride or {}))