diff --git a/flake.lock b/flake.lock index be74c41..20d9a75 100644 --- a/flake.lock +++ b/flake.lock @@ -65,11 +65,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1786969942, - "narHash": "sha256-NkupovRJNpaVnbKVm+OJkzO+cOHg8Ga9W0V90entEZM=", + "lastModified": 1786971797, + "narHash": "sha256-5+zU3MuO7Cwb4125fhwe6Z37/lAwM3mrPYcAuXO5FBE=", "ref": "refs/heads/main", - "rev": "54d06ccb4c76c4124752a6f4139d0955f643cafa", - "revCount": 28, + "rev": "8d1a6c77150f8b46c52c8c182aff01f4c2aae6a5", + "revCount": 30, "type": "git", "url": "https://tangled.org/overby.me/nix-workspace" }, diff --git a/flake.nix b/flake.nix index 645a7e9..a6385e7 100644 --- a/flake.nix +++ b/flake.nix @@ -1,17 +1,14 @@ -# Standalone build for this project, as the monorepo sees it. Generated by +# Standalone build for the published repo. Generated by # platform/tangled/publish/gen-project.nu; edit that template, not this file. # -# nix-workspace is a path here, so the monorepo can evaluate its own change to -# it without publishing first, and so the root flake can take this as an -# input and check that it still builds. The published repo gets the same file -# with a Tangled URL, mapped over this one by josh. -# -# The relative path only resolves when this flake is reached through the repo -# root: as a root input, or `nix eval '.?dir=#...'`. +# The build, the devshell and its hooks, the formatter and the nixpkgs this +# resolves against are shared with every other repo published from the +# monorepo, and live in the nix-workspace flake. It is callable, so what is +# particular to this project is all that is left to say. { description = "A GNU diffutils-compatible suite of file comparison tools written in Rust"; - inputs.workspace.url = "path:../../../platform/nix/workspace"; + inputs.workspace.url = "git+https://tangled.org/overby.me/nix-workspace"; outputs = inputs: inputs.workspace ./. {