From db0d51794ccd4ff229ff898c7653973f037f641a Mon Sep 17 00:00:00 2001 From: kat witch Date: Sun, 21 Nov 2021 23:02:03 +0000 Subject: [PATCH] nix! in the CI: it's my new panic! at the disco cover band --- ci/flake-cron.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/flake-cron.nix b/ci/flake-cron.nix index f27970b9..36d2218c 100644 --- a/ci/flake-cron.nix +++ b/ci/flake-cron.nix @@ -77,6 +77,10 @@ with lib; { nixpkgs.path = "${channels.nixfiles.inputs.nixpkgs}"; }; + environment.test = { + inherit (channels.nixpkgs) nix; + }; + jobs.flake-update = { tasks.flake-build.inputs = with channels.cipkgs; ci.command { @@ -105,7 +109,7 @@ with lib; { chmod 0600 ~/.ssh/id_rsa fi - ${concatStringsSep "\n" (mapAttrsToList (n: v: "nix flake --update-input ${n}") channels.nixfiles.inputs)} + ${concatStringsSep "\n" (mapAttrsToList (n: v: "nix flake lock --update-input ${n}") channels.nixfiles.inputs)} if git status --porcelain | grep -qF flake.lock; then git -P diff flake.lock