`nix profile install` fails: libgit2 error 9 – missing blob in `SimulaVR/environments@91bb377`
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 52/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- git, github
- 领域
- build-system
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Haskell
- 星标
- 3.2k
- 派生
- 111
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
SimulaVR/Simula 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 28/100
-
难度 3/5 1-2 天 新手友好度 48/100
-
难度 3/5 1-2 天 新手友好度 35/100
-
难度 2/5 1-3 小时 新手友好度 45/100
-
Install error未关闭
难度 3/5 1-2 天 新手友好度 35/100
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 76/100
severo/awesome-parquet#50 ·
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
objectionary/phino#1444 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
enhancement triage
难度 2/5 1-3 小时 新手友好度 72/100
simplex-chat/simplex-chat#7585 ·
维护者通常 1 天内回复
-
typst-0.12未关闭
难度 2/5 1-3 小时 新手友好度 68/100
commercialhaskell/stackage#8127 ·