nixpkgs/pkgs/servers/nextcloud/packages/generate.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
309 B
Bash
Raw Normal View History

2022-10-23 12:54:25 +00:00
#!/usr/bin/env nix-shell
#! nix-shell -I nixpkgs=../../../.. -i bash -p nc4nix
set -e
set -u
set -o pipefail
set -x
export NEXTCLOUD_VERSIONS=$(nix-instantiate --eval -E 'import ./nc-versions.nix {}' -A e)
APPS=`cat nextcloud-apps.json | jq -r '.[]' | sed -z 's/\n/,/g;s/,$/\n/'`
nc4nix -a $APPS
rm *.log