summary refs log tree commit diff
path: root/pkgs/desktops/plasma-5.2/manifest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/plasma-5.2/manifest.sh')
-rwxr-xr-xpkgs/desktops/plasma-5.2/manifest.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/desktops/plasma-5.2/manifest.sh b/pkgs/desktops/plasma-5.2/manifest.sh
new file mode 100755
index 00000000000..6d0b6ef1452
--- /dev/null
+++ b/pkgs/desktops/plasma-5.2/manifest.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if [ $# -eq 0 ]; then
+
+  # The extra slash at the end of the URL is necessary to stop wget
+  # from recursing over the whole server! (No, it's not a bug.)
+  $(nix-build ../../.. -A autonix.manifest) \
+      http://download.kde.org/stable/plasma/5.2.0/ \
+      -A '*.tar.xz'
+
+else
+
+  $(nix-build ../../.. -A autonix.manifest) -A '*.tar.xz' "$@"
+
+fi