diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-08-14 14:39:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-14 14:39:04 +0200 |
commit | 93f9b7069ac91983d6feb76f822e94acf5593ca5 (patch) | |
tree | 86432c71dadc12ae979dc705a4b6b1ddb58053d8 /pkgs/os-specific/linux/zfs/default.nix | |
parent | ec14b03b8686d777274e14ab951a381dc0b1b5e3 (diff) | |
parent | 4360a87c45f69f7444c7b87546705de7fbc8681f (diff) | |
download | nixpkgs-93f9b7069ac91983d6feb76f822e94acf5593ca5.tar nixpkgs-93f9b7069ac91983d6feb76f822e94acf5593ca5.tar.gz nixpkgs-93f9b7069ac91983d6feb76f822e94acf5593ca5.tar.bz2 nixpkgs-93f9b7069ac91983d6feb76f822e94acf5593ca5.tar.lz nixpkgs-93f9b7069ac91983d6feb76f822e94acf5593ca5.tar.xz nixpkgs-93f9b7069ac91983d6feb76f822e94acf5593ca5.tar.zst nixpkgs-93f9b7069ac91983d6feb76f822e94acf5593ca5.zip |
Merge pull request #45012 from Mic92/zfs
linuxPackages.zfsUnstable: 2018-05-22 -> 2018-08-13
Diffstat (limited to 'pkgs/os-specific/linux/zfs/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/zfs/default.nix | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/pkgs/os-specific/linux/zfs/default.nix b/pkgs/os-specific/linux/zfs/default.nix index f7d94ddd2e9..8c867dcfdf2 100644 --- a/pkgs/os-specific/linux/zfs/default.nix +++ b/pkgs/os-specific/linux/zfs/default.nix @@ -9,7 +9,7 @@ , gawk, gnugrep, gnused, systemd # Kernel dependencies -, kernel ? null, spl ? null, splUnstable ? null +, kernel ? null, spl ? null }: with stdenv.lib; @@ -51,7 +51,7 @@ let ''; nativeBuildInputs = [ autoreconfHook nukeReferences ] - ++ optional buildKernel (kernel.moduleBuildDependencies ++ [ perl ]); + ++ optional buildKernel (kernel.moduleBuildDependencies ++ [ perl ]); buildInputs = optionals buildKernel [ spl ] ++ optionals buildUser [ zlib libuuid python attr ] @@ -93,7 +93,7 @@ let configureFlags = [ "--with-config=${configFile}" - ] ++ optionals buildUser [ + ] ++ optionals buildUser [ "--with-dracutdir=$(out)/lib/dracut" "--with-udevdir=$(out)/lib/udev" "--with-systemdunitdir=$(out)/etc/systemd/system" @@ -103,10 +103,11 @@ let "--sysconfdir=/etc" "--localstatedir=/var" "--enable-systemd" - ] ++ optionals buildKernel [ - "--with-spl=${spl}/libexec/spl" + ] ++ optionals buildKernel [ "--with-linux=${kernel.dev}/lib/modules/${kernel.modDirVersion}/source" "--with-linux-obj=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" + ] ++ optionals (buildKernel && spl != null) [ + "--with-spl=${spl}/libexec/spl" ]; enableParallelBuilding = true; @@ -179,19 +180,19 @@ in { incompatibleKernelVersion = "4.18"; # this package should point to a version / git revision compatible with the latest kernel release - version = "2018-05-22"; + version = "2018-08-13"; - rev = "ba863d0be4cbfbea938b10e49fb6ff459ac9ec20"; - sha256 = "11dhigw1gybalwg2m6si148b6w195dj2lw38snqf6576wb5zndd0"; + rev = "64e96969a88c21aebb2f8d982a8c345e55a2ae6c"; + sha256 = "164fvsf9zqvq3vafnvjxafjl8gihmfqfsjwsmky16i90a6hs96gf"; isUnstable = true; extraPatches = [ (fetchpatch { - url = "https://github.com/Mic92/zfs/compare/${rev}...nixos-zfs-2018-02-02.patch"; - sha256 = "1gqmgqi39qhk5kbbvidh8f2xqq25vj58i9x0wjqvcx6a71qj49ch"; + url = "https://github.com/Mic92/zfs/compare/${rev}...nixos-zfs-2018-08-13.patch"; + sha256 = "1sdcr1w2jp3djpwlf1f91hrxxmc34q0jl388smdkxh5n5bpw5gzw"; }) ]; - spl = splUnstable; + spl = null; }; } |