From 4497c2f7100fa6077ad0802b0fe6154f05b78bad Mon Sep 17 00:00:00 2001 From: schickling-assistant <261620128+schickling-assistant@users.noreply.github.com> Date: Tue, 10 Nov 2026 22:58:44 +0100 Subject: [PATCH] fix(nix): fetch pinned Fractal fixture through shallow Git --- CHANGELOG.md | 4 ++++ flake.lock | 13 +++++++------ flake.nix | 2 +- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92d668e..0a92280 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Unreleased + +- Fetch the pinned Fractal fixture through shallow Git rather than GitHub's commit-tarball endpoint, preserving its source bytes and revision. + ## [0.6.1] - 2026-11-10 ### Added diff --git a/flake.lock b/flake.lock index 4c48737..401901c 100644 --- a/flake.lock +++ b/flake.lock @@ -44,16 +44,17 @@ "locked": { "lastModified": 1794333982, "narHash": "sha256-EYnLgrxDCQXThOybpPxr2okTy7BpcHkzjLvBsaAZ+vM=", - "owner": "compoundingtech", - "repo": "fractal", + "ref": "refs/heads/main", "rev": "787e8ed592dff34d2bdc2a2b0b584482da567e7f", - "type": "github" + "shallow": true, + "type": "git", + "url": "https://github.com/compoundingtech/fractal" }, "original": { - "owner": "compoundingtech", - "repo": "fractal", "rev": "787e8ed592dff34d2bdc2a2b0b584482da567e7f", - "type": "github" + "shallow": true, + "type": "git", + "url": "https://github.com/compoundingtech/fractal" } }, "nixpkgs": { diff --git a/flake.nix b/flake.nix index e31a469..1fc581c 100644 --- a/flake.nix +++ b/flake.nix @@ -7,7 +7,7 @@ inputs.effect-utils.inputs.nixpkgs.url = "github:NixOS/nixpkgs/4ba99f3209788ed04f01af38f77ddb803ad6ec63"; inputs.effect-utils.inputs.tsgo.inputs.nixpkgsUnstable.url = "github:NixOS/nixpkgs/44a91898084f46797b5fac650c7e8c9ac38c43d4"; inputs.fractal-fixture = { - url = "github:compoundingtech/fractal/787e8ed592dff34d2bdc2a2b0b584482da567e7f"; + url = "git+https://github.com/compoundingtech/fractal?rev=787e8ed592dff34d2bdc2a2b0b584482da567e7f&shallow=1"; flake = false; }; inputs.python-oracle = {