Skip to content

Commit

Permalink
Merge pull request #163 from DeterminateSystems/update-flake-lock
Browse files Browse the repository at this point in the history
Update flake.lock and add update-flake-lock support
  • Loading branch information
lucperkins authored Feb 21, 2025
2 parents ed73c2d + 5c74dcd commit 910f456
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 24 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/update-flake-lock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: update-flake-lock

on:
workflow_dispatch: # enable manual triggering
schedule:
- cron: "0 0 * * 0" # every Sunday at midnight

jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/flakehub-cache-action@main
- uses: DeterminateSystems/update-flake-lock@main
with:
pr-title: Update flake.lock
pr-labels: |
dependencies
automated
inputs: |
fenix
naersk
nixpkgs
42 changes: 21 additions & 21 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
description = "The official CLI for FlakeHub: search for flakes, and add new inputs to your Nix flake.";

inputs = {
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.2411.*.tar.gz";
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.2411.*";

fenix = {
url = "https://flakehub.com/f/nix-community/fenix/0.1.1584.tar.gz";
url = "https://flakehub.com/f/nix-community/fenix/0.1.*";
inputs.nixpkgs.follows = "nixpkgs";
};

naersk = {
url = "https://flakehub.com/f/nix-community/naersk/0.1.345.tar.gz";
url = "https://flakehub.com/f/nix-community/naersk/0.1.*";
inputs.nixpkgs.follows = "nixpkgs";
};
};
Expand Down

0 comments on commit 910f456

Please sign in to comment.