Merge pull request #128180 from Luflosi/add-apfs
apfs: init at unstable-2021-06-25
This commit is contained in:
commit
4749d34b6d
2 changed files with 37 additions and 0 deletions
35
pkgs/os-specific/linux/apfs/default.nix
Normal file
35
pkgs/os-specific/linux/apfs/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, kernel
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "apfs";
|
||||||
|
version = "unstable-2021-06-25-${kernel.version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "linux-apfs";
|
||||||
|
repo = "linux-apfs-rw";
|
||||||
|
rev = "2ce6d06dc73036d113da5166c59393233bf54229";
|
||||||
|
sha256 = "sha256-18HFtPr0qcTIZ8njwEtveiPYO+HGlj90bdUoL47UUY0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
hardeningDisable = [ "pic" ];
|
||||||
|
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"KERNELRELEASE=${kernel.modDirVersion}"
|
||||||
|
"KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||||
|
"INSTALL_MOD_PATH=$(out)"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "APFS module for linux";
|
||||||
|
homepage = "https://github.com/linux-apfs/linux-apfs-rw";
|
||||||
|
license = licenses.gpl2Only;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
broken = kernel.kernelOlder "4.19";
|
||||||
|
maintainers = with maintainers; [ Luflosi ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -20842,6 +20842,8 @@ in
|
||||||
|
|
||||||
anbox = callPackage ../os-specific/linux/anbox/kmod.nix { };
|
anbox = callPackage ../os-specific/linux/anbox/kmod.nix { };
|
||||||
|
|
||||||
|
apfs = callPackage ../os-specific/linux/apfs { };
|
||||||
|
|
||||||
batman_adv = callPackage ../os-specific/linux/batman-adv {};
|
batman_adv = callPackage ../os-specific/linux/batman-adv {};
|
||||||
|
|
||||||
bcc = callPackage ../os-specific/linux/bcc {
|
bcc = callPackage ../os-specific/linux/bcc {
|
||||||
|
|
Loading…
Reference in a new issue