mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
zrepl: fix build with go 1.18
This commit is contained in:
parent
bd6329dd11
commit
4f647e91a8
@ -4,6 +4,7 @@
|
||||
, makeWrapper
|
||||
, nixosTests
|
||||
, openssh
|
||||
, fetchpatch
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "zrepl";
|
||||
@ -16,7 +17,15 @@ buildGoModule rec {
|
||||
sha256 = "4q/wwlF11HPDS2lTXUizJ3RFQ9sX5qNnWZUKAgnvDiE=";
|
||||
};
|
||||
|
||||
vendorSha256 = "xToq9pKAxxknh4kE8S3uUg5ySPMbJkLftkMhofNxotc=";
|
||||
patches = [
|
||||
# fix build with go 1.18
|
||||
(fetchpatch {
|
||||
url = "https://github.com/zrepl/zrepl/commit/19b2deb2cfe5e63b944fa83d12f474b11946ca3f.patch";
|
||||
sha256 = "sha256-/SQhU1LnN2n4nwgWF6mq7sW2u52y8mwr6yntakAvSuk=";
|
||||
})
|
||||
];
|
||||
|
||||
vendorSha256 = "sha256-xToq9pKAxxknh4kE8S3uUg5ySPMbJkLftkMhofNxotc=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
|
@ -37210,10 +37210,7 @@ with pkgs;
|
||||
|
||||
zfs-replicate = python3Packages.callPackage ../tools/backup/zfs-replicate { };
|
||||
|
||||
zrepl = callPackage ../tools/backup/zrepl {
|
||||
# pinned due to build failure or vendoring problems. When unpinning double check with: nix-build -A $name.go-modules --rebuild
|
||||
buildGoModule = buildGo117Module;
|
||||
};
|
||||
zrepl = callPackage ../tools/backup/zrepl { };
|
||||
|
||||
uhubctl = callPackage ../tools/misc/uhubctl {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user