Merge pull request #98992 from tvbeat/terraform-provider-libvirt-patch
terraform-provider-libvirt: base volume snapshot or copy
This commit is contained in:
commit
ec334a1b01
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, buildGoPackage, fetchFromGitHub, libvirt, pkg-config, makeWrapper, cdrtools }:
|
{ lib, stdenv, buildGoPackage, fetchFromGitHub, fetchpatch, libvirt, pkg-config, makeWrapper, cdrtools }:
|
||||||
|
|
||||||
# USAGE:
|
# USAGE:
|
||||||
# install the following package globally or in nix-shell:
|
# install the following package globally or in nix-shell:
|
||||||
|
@ -23,6 +23,14 @@ buildGoPackage rec {
|
||||||
|
|
||||||
goPackagePath = "github.com/dmacvicar/terraform-provider-libvirt";
|
goPackagePath = "github.com/dmacvicar/terraform-provider-libvirt";
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "base_volume_copy.patch";
|
||||||
|
url = "https://github.com/cyril-s/terraform-provider-libvirt/commit/52df264e8a28c40ce26e2b614ee3daea882931c3.patch";
|
||||||
|
sha256 = "1fg7ii2fi4c93hl41nhcncy9bpw3avbh6yiq99p1vkf87hhrw72n";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dmacvicar";
|
owner = "dmacvicar";
|
||||||
repo = "terraform-provider-libvirt";
|
repo = "terraform-provider-libvirt";
|
||||||
|
|
Loading…
Reference in a new issue