about summary refs log tree commit diff stats
path: root/pkgs/by-name/vi/virsh-del
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/vi/virsh-del/package.nix13
-rwxr-xr-xpkgs/by-name/vi/virsh-del/virsh-del.sh (renamed from pkgs/sources/scripts/source/wrappers/virsh-del.sh)0
2 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/by-name/vi/virsh-del/package.nix b/pkgs/by-name/vi/virsh-del/package.nix
new file mode 100644
index 00000000..3f27e2be
--- /dev/null
+++ b/pkgs/by-name/vi/virsh-del/package.nix
@@ -0,0 +1,13 @@
+{
+  sysLib,
+  libvirt,
+}:
+sysLib.writeShellScript {
+  name = "virsh-del";
+  src = ./virsh-del.sh;
+  generateCompletions = false;
+  keepPath = false;
+  dependencies = [
+    libvirt
+  ];
+}
diff --git a/pkgs/sources/scripts/source/wrappers/virsh-del.sh b/pkgs/by-name/vi/virsh-del/virsh-del.sh
index c3de5484..c3de5484 100755
--- a/pkgs/sources/scripts/source/wrappers/virsh-del.sh
+++ b/pkgs/by-name/vi/virsh-del/virsh-del.sh