From 655629b621bc2b133ccc24eae39b398ff0d45a6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 28 Jun 2022 08:39:11 +0100 Subject: [PATCH] enable nix-command and flakes for matrix-media-repo and mautrix-whatsapp --- .drone.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 028d453..9fd96be 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,7 +18,7 @@ steps: - name: Update mastodon-glitch image: nixery.dev/shell/bundix/yarn2nix/yarn/nix-prefetch-git/jq/gnugrep/gnused/nix commands: - - nix-shell --add https://nixos.org/channels/unstable-small nixpkgs + - nix-channel --add https://nixos.org/channels/unstable-small nixpkgs - (cd mastodon && bash ./update.sh) environment: USER: nobody @@ -27,7 +27,8 @@ steps: - name: Update matrix-media-repo image: nixery.dev/shell/nix-prefetch-git/jq/gnugrep/gnused/nix commands: - - nix-shell --add https://nixos.org/channels/unstable-small nixpkgs + - nix-channel --add https://nixos.org/channels/unstable-small nixpkgs + - echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf - (cd matrix/matrix-media-repo && bash ./update.sh) environment: USER: nobody @@ -36,7 +37,8 @@ steps: - name: Update mautrix-whatsapp image: nixery.dev/shell/nix-prefetch-git/jq/gnugrep/gnused/nix commands: - - nix-shell --add https://nixos.org/channels/unstable-small nixpkgs + - nix-channel --add https://nixos.org/channels/unstable-small nixpkgs + - echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf - (cd matrix/mautrix-whatsapp && bash ./update.sh) environment: USER: nobody