commit 12a3b2674bfc5900cce1e691b07dafce6f58f314
parent d47b756b6e593e4e5d00e52d22fcc8f489a477c9
Author: Vincent Demeester <vincent@sbr.pm>
Date: Sat, 23 May 2020 12:58:14 +0200
builds/fedora: use jq for home-manager url
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.builds/fedora.yml b/.builds/fedora.yml
@@ -5,13 +5,13 @@ sources:
- git@git.sr.ht:~vdemeester/secrets
tasks:
- setup: |
- sudo dnf install -y tar gzip
+ sudo dnf install -y tar jq
- install_nix: |
set -euo pipefail
curl -L https://nixos.org/nix/install | sh
- install_home_manager: |
. /home/build/.nix-profile/etc/profile.d/nix.sh
- nix-shell $(nix eval --raw '(import ./home/nix/sources.nix).["home-manager"].outPath') -A install
+ nix-shell $(jq --raw-output '.["home-manager"].url' ./home/nix/sources.json) -A install
triggers:
- action: email
condition: failure