Skip to content

Update nixpkgs snapshot #38

Update nixpkgs snapshot

Update nixpkgs snapshot #38

name: Update nixpkgs snapshot
on:
schedule:
- cron: "00 9 1 * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Update snapshot commit
run: 'nix flake update nixpkgs'
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
title: 'Update nixpkgs snapshot'
body: ''
commit-message: 'Update nixpkgs snapshot'
branch: nixpkgs-snapshot-update
branch-suffix: timestamp
delete-branch: true
add-paths: flake.lock