Created
November 16, 2017 22:06
-
-
Save sorki/f4046f6707566f51100fbdd6c92ce5a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/zfsonlinux/zfs | |
cd zfs | |
git remote add aither https://github.com/aither64/zfs/ | |
git remote add mic https://github.com/Mic92/zfs/ | |
git checkout nixos-zfs-2017-09-12 | |
git show | |
git checkout uid_offset | |
git cherry-pick 3a504aa46962295f14f374ca839689bfb57ce8b8 | |
git push srk .. | |
nix-prefetch-git https://github.com/sorki/zfs c1162b34f9c2fd108a7a10e0da83d2a612d0c5e6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nixpkgs.config = { | |
packageOverrides = self: { | |
utillinux = self.utillinux.override { systemd = null; }; | |
linux_4_14 = self.linux_4_14.override { | |
extraConfig = '' | |
EXPERT y | |
CHECKPOINT_RESTORE y | |
''; | |
}; | |
linux_testing = self.linux_testing.override { | |
extraConfig = '' | |
EXPERT y | |
CHECKPOINT_RESTORE y | |
''; | |
}; | |
zfs = self.zfs.overrideAttrs (oldAttrs: rec { | |
src = pkgs.fetchFromGitHub { | |
owner = "sorki"; | |
repo = "zfs"; | |
rev = "c1162b34f9c2fd108a7a10e0da83d2a612d0c5e6"; | |
sha256 = "0hh9armzjfa9dg7d481nrd0ahgq6xyjlm4m5fh02ldzws276gryz"; | |
}; | |
patches = []; | |
buildInputs = oldAttrs.buildInputs ++ [ pkgs.openssl ]; | |
}); | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment