From c68cfdae7d559805f5b9593c80dd9dba4b5afebe Mon Sep 17 00:00:00 2001 From: Steve Purcell Date: Fri, 1 Dec 2023 09:21:53 +0000 Subject: [PATCH] Updating flake inputs is now different (Nix 2.19) See https://nixos.org/manual/nix/unstable/release-notes/rl-2.19 --- .github/workflows/update-nixpkgs.yml | 2 +- .github/workflows/update-snapshot.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-nixpkgs.yml b/.github/workflows/update-nixpkgs.yml index d2a9ee0..8f6d682 100644 --- a/.github/workflows/update-nixpkgs.yml +++ b/.github/workflows/update-nixpkgs.yml @@ -14,7 +14,7 @@ jobs: with: nix_path: nixpkgs=channel:nixos-unstable - name: Update snapshot commit - run: 'nix flake lock --update-input nixpkgs' + run: 'nix flake update nixpkgs' - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: diff --git a/.github/workflows/update-snapshot.yml b/.github/workflows/update-snapshot.yml index d79c4ff..94f8636 100644 --- a/.github/workflows/update-snapshot.yml +++ b/.github/workflows/update-snapshot.yml @@ -14,9 +14,9 @@ jobs: with: nix_path: nixpkgs=channel:nixos-unstable - name: Update release snapshot commit - run: 'nix flake lock --update-input emacs-release-snapshot' + run: 'nix flake update emacs-release-snapshot' - name: Update HEAD snapshot commit - run: 'nix flake lock --update-input emacs-snapshot' + run: 'nix flake update emacs-snapshot' - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: