error: while calling the 'derivationStrict' builtin at /builtin/derivation.nix:9:12: (source not available)
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 3.2k
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Description
OS Version: 24.10
OS Distro: Ubuntu
I run the install commands and everything looks like it's working until this:
Configured https://simula.cachix.org binary cache in /home/user/.config/nix/nix.conf
Message from Simula Contributors.
=================================
In order to show project funders that Simula is useful,
we anonymously collect the following data:
- Session length
- Number of windows active
- Error logs on crashes
error:
… while calling the 'derivationStrict' builtin
at /builtin/derivation.nix:9:12: (source not available)
… while evaluating derivation 'Simula'
whose name attribute is located at /nix/store/izxcyr1301yh0yi4g94ghfc72wrxn8sc-nixpkgs-24.05/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'src' of derivation 'Simula'
at /home/user/Documents/VR/Simula/Simula.nix:338:7:
337| name = "Simula";
338| src = if externalSrc != null then externalSrc else localSrc;
| ^
339| buildInputs = [ xpra xrdb wmctrl fontconfig glibc-locales xfce4-terminal-wrapped openxr-loader midori-wrapped pernoscoSubmit i3status-wrapped cabal-install ghc ] ++ simulaPackages;
error: '/home/user/Documents/VR/Simula' is a shallow Git repository, but shallow repositories are only allowed when `shallow = true;` is specified.
Please let me know what info to provide and I'll see what I can do. It's probably something silly that I missed.
Thanks and Happy Holidays.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the install failure and inspect Simula.nix around line 338, where the derivation selects its source. Check how the local Git checkout is obtained and why its shallow state reaches this derivation. Done means the intended checkout is accepted and the Simula derivation completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100