https://github.com/fuuzetsu/crate2nix-stack-overflow-repro
https://github.com/fuuzetsu/crate2nix-stack-overflow-repro
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fuuzetsu/crate2nix-stack-overflow-repro
- Owner: Fuuzetsu
- Created: 2023-10-13T04:41:49.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-13T04:42:02.000Z (over 2 years ago)
- Last Synced: 2025-03-24T08:57:35.306Z (11 months ago)
- Language: Nix
- Size: 43.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
To reproduce and get a stack overflow fairly quickly run:
```console
nix -L build .#crate2nix-stack-overflow-repro --no-link --show-trace
```
We can however do better. You can use a patched `nix` version to get a trace
from before the overflow happens:
```console
nix -L run .#nix-stack-overflow -- -L build .#crate2nix-stack-overflow-repro --no-link --show-trace
```
This latter will take a while. I recommend suffixing something like `2>&1 | tee
/tmp/log` as the output will be quite large.