summary refs log tree commit diff
path: root/pkgs/desktops/plasma-5.2/manifest.sh
blob: 9b76cca084061af775fcab83e0955fd9a1937928 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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/ \
      http://download.kde.org/stable/plasma/5.2.1/ \
      -A '*.tar.xz'

else

  $(nix-build ../../.. -A autonix.manifest) -A '*.tar.xz' "$@"

fi