Merge pull request #109 from viperML/main

nix: update workflow and bump flake
This commit is contained in:
vaxerski 2022-05-26 11:03:25 +02:00 committed by GitHub
commit 6751ec6f54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 6 deletions

25
.github/workflows/nix-update.yaml vendored Normal file
View File

@ -0,0 +1,25 @@
name: "Nix: update lockfile"
on:
schedule:
- cron: '0 0 */14 * *'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Install nix
uses: cachix/install-nix-action@v17
with:
install_url: https://releases.nixos.org/nix/nix-2.8.0/install
extra_nix_config: |
auto-optimise-store = true
experimental-features = nix-command flakes
- name: Update lockfile
run: nix flake update
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "[gha] bump flake inputs"

View File

@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1652659998,
"narHash": "sha256-FqNrXC1EE6U2RACwXBlsAvg1lqQGLYpuYb6+W3DL9vA=",
"lastModified": 1653407748,
"narHash": "sha256-g9puJaILRTb9ttlLQ7IehpV7Wcy0n+vs8LOFu6ylQcM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1d7db1b9e4cf1ee075a9f52e5c36f7b9f4207502",
"rev": "5ce6597eca7d7b518c03ecda57d45f9404b5e060",
"type": "github"
},
"original": {
@ -26,11 +26,11 @@
"flake": false,
"locked": {
"host": "gitlab.freedesktop.org",
"lastModified": 1652629480,
"narHash": "sha256-4mouFPYB2VwgPi92trvAk8JAGjvkYm+DX72sUzljCXA=",
"lastModified": 1653502661,
"narHash": "sha256-unQ1j3jleghIMi340dJTJZZ1ffwm1cI7gaQbdKd7laE=",
"owner": "wlroots",
"repo": "wlroots",
"rev": "8fe3aa29da56be16faa73aca947647bd60cd4a94",
"rev": "1cb6b2cf673a5b580d7ad79ce2b37c14b14b0268",
"type": "gitlab"
},
"original": {