diff --git a/flake.lock b/flake.lock index bd0339c..e9ee3e6 100644 --- a/flake.lock +++ b/flake.lock @@ -31,11 +31,11 @@ ] }, "locked": { - "lastModified": 1794163393, - "narHash": "sha256-RwsUSTKjNvU7qGYKdaFItKGjtI/dy3cEjdDhZuN49tE=", + "lastModified": 1794865056, + "narHash": "sha256-kMGpmxQzw3ZdNE5xl7+aDD3lms+kg05BDOQKduls/Wo=", "owner": "Emerging-Patterns", "repo": "ez", - "rev": "35ace28d9578d8809a55d16941b0633e8fa774f5", + "rev": "86e968fa2adbe1b4fc9d5b2f76636c4b3d52927e", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 9ddd003..1e65dc3 100644 --- a/flake.nix +++ b/flake.nix @@ -59,12 +59,8 @@ # only on a first line of ALL PROOFS CHECK proofs = ez.mkProofs { ez = ezBin; src = self; }; # bolt check, built from this tree, over this tree: exit 1 on any - # error. mkLint runs `bolt` with no command, which prints the usage - # and exits 2, so it is handed a `bolt` that is `bolt check` - boltCheck = pkgs.writeShellScriptBin "bolt" '' - exec ${bolt}/bin/bolt check "$@" - ''; - lint = ez.mkLint { bolt = boltCheck; src = self; }; + # error (mkLint runs `bolt check` when handed a bolt, since ez 1.16) + lint = ez.mkLint { inherit bolt; src = self; }; # bolt format --check, built from this tree, over this tree: exit 1 # when a file would change, so the tree stays formatted fmt = pkgs.runCommand "bolt-format" { } ''