You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
now i want to switch to using flakes. so, i created flake.nix in this repo, and create symlink in /etc/nixos/flake.nix to point to this.
running sudo nixos-rebuild dry-build results in following error.
building the system configuration...
error:
… while fetching the input 'git+file:///xxx'
error: opening Git repository '"/xxx"': unsupported extension name extensions.refstorage
[ble: exit 1]
i tried fixing it with creating a dummy repo /yyy as follows, and symlinking the /etc/nixos/flake.nix to it:
$ sudo nixos-rebuild dry-buildbuilding the system configuration...error: … while fetching the input 'git+file:///yyy' error: opening Git repository '"/yyy"': unknown object format 'sha256'[ble: exit 1]
or
+
$ sudo nixos-rebuild dry-buildbuilding the system configuration...error: … while fetching the input 'git+file:///yyy?shallow=1' error: opening Git repository '"/yyy"': unsupported extension name extensions.compatobjectformat[ble: exit 1]
The text was updated successfully, but these errors were encountered:
goyalyashpal
changed the title
nixos-rebuld: error opening Git repo which uses reftable
nixos-rebuld: error opening Git repo which uses reftable/sha256
Mar 19, 2025
goyalyashpal
changed the title
nixos-rebuld: error opening Git repo which uses reftable/sha256
nixos-rebuld: error opening Git repo which uses reftable/sha256/compatobject sha1
Mar 19, 2025
titles / summaries
reftable
refs,sha256
objects or evensha1
compat objects.details
high level steps to reproduce the error:
/xxx
as follows to store my nixos config files in. the/etc/nixos/configuration.nix
is symlinked to file in this repo.now i want to switch to using flakes. so, i created
flake.nix
in this repo, and create symlink in/etc/nixos/flake.nix
to point to this.running
sudo nixos-rebuild dry-build
results in following error./yyy
as follows, and symlinking the/etc/nixos/flake.nix
to it:or
+
environment
The text was updated successfully, but these errors were encountered: