a linter for your flake.lock file
  • Rust 83.6%
  • Nix 16.4%
Find a file
isabel 5c845c0919
Merge pull request #2 from luisnquin/feat/display-exact-dep-path-for-dupl-flake-inputs
feat: display exact dep path for duplicated flake inputs
2026-03-22 09:37:07 +00:00
.github/workflows ci: add tangled mirror 2025-08-12 17:03:08 +01:00
docs docs: add example useages 2025-07-27 17:51:19 +01:00
src feat: display exact dep path for duplicated flake inputs 2026-03-22 01:08:02 -05:00
test tests: add really cursed example 2025-07-27 19:57:32 +01:00
.envrc feat: init 2025-07-27 17:02:45 +01:00
.gitignore feat: init 2025-07-27 17:02:45 +01:00
Cargo.lock chore: update deps 2026-02-26 14:59:36 +00:00
Cargo.toml chore: update deps 2026-02-26 14:59:36 +00:00
default.nix fix: add test dir to src 2025-08-01 22:57:41 +01:00
flake.lock chore: update deps 2026-02-26 14:59:36 +00:00
flake.nix feat: init 2025-07-27 17:02:45 +01:00
LICENSE feat: init 2025-07-27 17:02:45 +01:00
shell.nix feat: init 2025-07-27 17:02:45 +01:00

Locker

Locker is a tool designed to lint your flake.lock file to find duplicate entries by their flake uri.

demo image

Usage

locker <flake-lock-file>

GitHub Action

name: Validate Flake Lock

on:
  workflow_dispatch:
  push:
    paths:
      - "**.lock"

jobs:
  check-flake:
    name: Check Lock
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Install Nix
        uses: cachix/install-nix-action@v31

      - name: Check flake.lock
        run: nix run github:tgirlcloud/locker