Skip to content

Update Nixpkgs

Update Nixpkgs #36

Workflow file for this run

name: Update Nixpkgs
on:
schedule:
- cron: '25 0 * * 3'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v15
with:
install_url: https://nixos-nix-install-tests.cachix.org/serve/vij683ly7sl95nnhb67bdjjfabclr85m/install
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
nix_path: nixpkgs=channel:nixos-21.05
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- run: git config user.email '[email protected]'
- run: git config user.name 'Update bot'
- run: nix-env -i git -f '<nixpkgs>'
- run: nix flake update --commit-lock-file
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
title: Automated nixpkgs update
body: |
This is an automated PR to keep Nixpkgs up to date.