From be18707da4146656f98db1aa175c4b550336268e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 6 Nov 2022 11:37:44 -0800 Subject: fix(drone): specify the path to `awk' in the deployment script --- flake.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 1821893..b9a6b62 100644 --- a/flake.nix +++ b/flake.nix @@ -44,8 +44,7 @@ set -euxo pipefail export PATH="${pkgs.lib.makeBinPath [(pkgs.docker.override { clientOnly = true; }) pkgs.flyctl]}:$PATH" archive=${self.packages.x86_64-linux.container} - # load archive, drop all output except last line case of warnings), print image name - image=$(docker load < $archive | tail -n1 | awk '{ print $3; }') + image=$(docker load < $archive | tail -n1 | ${pkgs.gawk}/bin/awk '{ print $3; }') flyctl deploy --image $image --local-only ''; hugo = pkgs.writeShellScriptBin "hugo" '' -- cgit 1.4.1