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: