`nix profile install` fails: libgit2 error 9 – missing blob in `SimulaVR/environments@91bb377`
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- git, github
- Lĩnh vực
- build-system
Hướng nghiên cứu
Inspect flake.nix around the installPhase at line 421 and trace how the environments input is pinned and used for AllSkyFree_Sky_AnotherPlanet_Equirect.png. Verify whether revision 91bb3777d558e809be12bcc94f6c984487994765 contains the referenced blob, then test the documented nix profile install command. Done means the flake evaluates and the simula package can be installed, or the README documents a confirmed workaround.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I was testing whether Simula works as a potential display server/compositor for Rokid Max 1st gen AR glasses (considering a purchase). Installation via the documented Nix flake command fails during evaluation.
Environment
- OS: CachyOS (Arch-based) x86_64
- Nix: Flakes-enabled, non-NixOS
- Hardware: ThinkPad E14 Gen 5, AMD Radeon graphics
- Command run from: clean shell, no local clone
Command
nix profile install github:SimulaVR/Simula
Error Output
~
❯ nix profile install github:SimulaVR/Simula
warning: 'install' is a deprecated alias for 'add'
warning: ignoring untrusted substituter 'https://simula.cachix.org', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
error:
… while calling the 'derivationStrict' builtin
at «nix-internal»/derivation-internal.nix:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating derivation 'simula-0.0.0'
whose name attribute is located at «github:nixos/nixpkgs/23d72dabcb3b12469f57b37170fcbc1789bd7457?narHash=sha256-z5NJPSBwsLf/OfD8WTmh79tlSU8XgIbwmk6qB1/TFzY%3D»/pkgs/stdenv/generic/make-derivation.nix:541:13
… while evaluating attribute 'installPhase' of derivation 'simula-0.0.0'
at «github:SimulaVR/Simula/2fbec171759f5e0d7cca2d121dfd081d476c0073»/flake.nix:421:15:
420|
421| installPhase = ''
| ^
422| runHook preInstall
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: looking up file '«git+https://github.com/SimulaVR/environments?ref=refs/heads/master&rev=91bb3777d558e809be12bcc94f6c984487994765&shallow=1»/AllSkyFree_Sky_AnotherPlanet_Equirect.png': object not found - no match for id (6f37903fa7bf58d67d2bee12454315a577f56903) (libgit2 error code = 9)
~
❯
Observed Behavior
Nix evaluation fails when attempting to fetch a file from the environments input at the pinned revision 91bb3777d558e809be12bcc94f6c984487994765. The error references a specific blob ID (6f37903fa7bf58d67d2bee12454315a577f56903) that the Git fetcher cannot resolve.
Expected Behavior
nix profile install github:SimulaVR/Simula should successfully evaluate the flake, fetch all inputs (including environments), and build/install the simula package.
Steps to Reproduce
- Run
nix profile install github:SimulaVR/Simulaon a flakes-enabled Nix installation (non-NixOS) - Observe evaluation failure during
installPhase
Additional Context
- The
environmentsinput is used to copy skybox assets into the Nix store duringinstallPhase. - I have not cloned the repository locally; this occurs with a direct flake reference.
Request
Could maintainers verify whether the environments repository at revision 91bb3777d558e809be12bcc94f6c984487994765 contains the referenced blob for AllSkyFree_Sky_AnotherPlanet_Equirect.png? If the object is missing, updating the pinned revision or providing a local-build workaround in the README would help unblock installation attempts.
Note: I am filing this as a user evaluating Simula for potential use with AR glasses; I do not have push access to either repository. Happy to provide additional logs if helpful.
- Ngôn ngữ chính
- Haskell
- Star
- 3.2k
- Fork
- 111
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của SimulaVR/Simula
-
Trying to make it work for days Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Continuous Cachix Pushing Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
-
Install error Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Tất cả issue của SimulaVR/Simula
Issue tương tự
-
docs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
needs triage type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
doclayout-0.6 Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
commercialhaskell/stackage#8126 ·