git.iko.soy/typeable/nixpkgs
on master help sign in
zfs: 0.6.5.3 -> 0.6.5.4
commitd51204e8dec7995bc4cb44f5776102258e713e1e authorRicardo M. Correia <rcorreia@wizy.org> dateWed 13 Jan 2016, 17:07 (11 years ago) parentfe53cb5
2 files changed+12−11
pkgs/os-specific/linux/zfs/default.nix+2−2 pkgs/os-specific/linux/zfs/nix-build.patch+10−9
pkgs/os-specific/linux/zfs/default.nix+2−2
@@ -20,13 +20,13 @@ assert buildKernel -> kernel != null && spl != null;
2020stdenv.mkDerivation rec {
2121 name = "zfs-${configFile}-${version}${optionalString buildKernel "-${kernel.version}"}";
2222
23− version = "0.6.5.3";
23+ version = "0.6.5.4";
2424
2525 src = fetchFromGitHub {
2626 owner = "zfsonlinux";
2727 repo = "zfs";
2828 rev = "zfs-${version}";
29− sha256 = "1hq65kq50hzhd1zqgyzqq2whg1fckigq8jmhhdsnbwrwmx5y76lh";
29+ sha256 = "10zf1kdgmdiaaa3zmz4sz5aj5ql6v24wcwixlxbwhwc51mr46k50";
3030 };
3131
3232 patches = [ ./nix-build.patch ];
pkgs/os-specific/linux/zfs/nix-build.patch+10−9
@@ -1,8 +1,8 @@
11diff --git a/Makefile.am b/Makefile.am
2−index 49b417a..f4af44d 100644
2+index f8abb5f..82e8fb6 100644
33--- a/Makefile.am
44+++ b/Makefile.am
5−@@ -12,10 +12,10 @@ endif
5+@@ -11,10 +11,10 @@ endif
66 if CONFIG_KERNEL
77 SUBDIRS += module
88
@@ -28,10 +28,10 @@ index a94cad5..a160fe2 100644
2828 kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
2929 endif
3030diff --git a/include/linux/Makefile.am b/include/linux/Makefile.am
31−index d00b1c8..3242d2e 100644
31+index 595d1db..d41375d 100644
3232--- a/include/linux/Makefile.am
3333+++ b/include/linux/Makefile.am
34−@@ -17,6 +17,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H)
34+@@ -18,6 +18,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H)
3535 endif
3636
3737 if CONFIG_KERNEL
@@ -40,10 +40,10 @@ index d00b1c8..3242d2e 100644
4040 kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
4141 endif
4242diff --git a/include/sys/Makefile.am b/include/sys/Makefile.am
43−index 7ddace0..8da3870 100644
43+index 77ecfb2..52b3612 100644
4444--- a/include/sys/Makefile.am
4545+++ b/include/sys/Makefile.am
46−@@ -102,6 +102,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H)
46+@@ -114,6 +114,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H)
4747 endif
4848
4949 if CONFIG_KERNEL
@@ -88,7 +88,7 @@ index 0859b9f..b0c6eec 100644
8888 kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
8989 endif
9090diff --git a/module/Makefile.in b/module/Makefile.in
91−index 686402b..9cbf598 100644
91+index d4ddee2..876c811 100644
9292--- a/module/Makefile.in
9393+++ b/module/Makefile.in
9494@@ -18,9 +18,9 @@ modules:
@@ -107,7 +107,7 @@ index 686402b..9cbf598 100644
107107 "*** - @SPL_OBJ@/module/@SPL_SYMBOLS@\n"; \
108108 exit 1; \
109109 fi
110−+ @# when copying a file out of the nix store, we need to make it writable again.
110++ @# when copying a file out of the nix store, we need to make it writable again.
111111+ chmod +w @SPL_SYMBOLS@
112112 $(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ CONFIG_ZFS=m $@
113113
@@ -122,8 +122,9 @@ index 686402b..9cbf598 100644
122122 KERNELRELEASE=@LINUX_VERSION@
123123 @# Remove extraneous build products when packaging
124124- kmoddir=$(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@; \
125+- if [ -n "$(DESTDIR)" ]; then \
125126+ kmoddir=@prefix@/$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@; \
126− if [ -n $$kmoddir ]; then \
127++ if [ -n "@prefix@" ]; then \
127128 find $$kmoddir -name 'modules.*' | xargs $(RM); \
128129 fi
129130- sysmap=$(DESTDIR)$(INSTALL_MOD_PATH)/boot/System.map-@LINUX_VERSION@; \