Skip to content

auto update nixpkgs

auto update nixpkgs #2

Workflow file for this run

name: auto update nixpkgs
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: update nixpkgs
run: nix flake lock . --update-input nixpkgs
- name: push to main branch
run: |
git config --global user.name "Alper Çelik (GitHub Actions)"
git config --global user.email "[email protected]"
git add flake.lock
git commit -m "update nixpkgs"
git push origin main