From a46146864967eef1bc4e7f6578488fa65d3a5717 Mon Sep 17 00:00:00 2001 From: Niclas Overby Date: Mon, 17 Aug 2026 14:38:59 +0200 Subject: [PATCH] chore(platform/tangled/publish): Relock the published flakes onto nix-workspace Every generated lock still resolved nix-project, which no longer exists, so a clone of any published repo could not evaluate. Each is relocked in a scratch directory holding only that flake.nix, which is what a clone actually has, and now pins tangled.org/overby.me/nix-workspace at the revision just published. Also stops ssh reusing a multiplexed connection. With ControlMaster on, ssh answers from the socket that is already open and never consults -i or IdentitiesOnly, so the knot sees whichever key opened it first and refuses the push with "this ssh key doesn't match any key published by the accounts that may push here" - the one message whose own advice, adding IdentitiesOnly, does not help. ControlPath=none is what makes the offered key the one asked for. Signed-off-by: Niclas Overby --- flake.lock | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/flake.lock b/flake.lock index 922596a..be74c41 100644 --- a/flake.lock +++ b/flake.lock @@ -20,7 +20,7 @@ "inputs": { "flake-compat": "flake-compat", "nixpkgs": [ - "project", + "workspace", "nixpkgs" ] }, @@ -54,28 +54,28 @@ "type": "github" } }, - "project": { + "root": { + "inputs": { + "workspace": "workspace" + } + }, + "workspace": { "inputs": { "git-hooks": "git-hooks", "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1786914078, - "narHash": "sha256-0LgysXfzihGFyifwUrQy4YPc1oXe3VEqUELt/r9LSgU=", + "lastModified": 1786969942, + "narHash": "sha256-NkupovRJNpaVnbKVm+OJkzO+cOHg8Ga9W0V90entEZM=", "ref": "refs/heads/main", - "rev": "8074575ff47056415467ffdf1059a5edf6c500eb", - "revCount": 23, + "rev": "54d06ccb4c76c4124752a6f4139d0955f643cafa", + "revCount": 28, "type": "git", - "url": "https://tangled.org/overby.me/nix-project" + "url": "https://tangled.org/overby.me/nix-workspace" }, "original": { "type": "git", - "url": "https://tangled.org/overby.me/nix-project" - } - }, - "root": { - "inputs": { - "project": "project" + "url": "https://tangled.org/overby.me/nix-workspace" } } }, -- 2.51.2