Skip to content

Commit c4353d0

Browse files
committed
flake/dev: pin flake-compat to PR fixing shallow repo
Pin flake-compat to edolstra/flake-compat#75 which fixes edolstra/flake-compat#74 If the flake is a shallow git repo, such as when fetched in CI, flake-compat was failing to run in nix-instantiate. Flake lock file updates: • Updated input 'flake-compat': 'https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz?narHash=sha256-NeCCThCEP3eCl2l/%2B27kNNK7QrwZB1IJCrXfrbv5oqU%3D' (2024-12-04) → 'github:edolstra/flake-compat/b70558fcb45e248abd2a0add41cfb6464c94eb03?narHash=sha256-JtdaTv%2B1VIiZpLsULCSQte6Qg3ew5axbdpOYjo%2B8D2U%3D' (2025-07-12)
1 parent 4f9e855 commit c4353d0

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

flake/dev/flake.lock

Lines changed: 10 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake/dev/flake.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
dev-nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
99

1010
# flake-compat is used by the root `default.nix` to allow non-flake users to import nixvim
11-
flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
11+
#
12+
# The pinned PR resolves an issue with shallow clones, such as those used by CI.
13+
flake-compat.url = "github:edolstra/flake-compat?ref=pull/75/merge";
1214

1315
# keep-sorted start block=yes newline_separated=yes
1416
devshell = {

0 commit comments

Comments
 (0)