nix
nix copied to clipboard
boehmgc-traceable_allocator-public.diff patch fails with latest nixpkgs
Describe the bug
When I overwrite the input to follow the latest Nixpkgs, it cannot be built anymore
error: builder for '/nix/store/l62fvmlm02fpn3isiqjjhw36ynr1idlh-boehm-gc-8.2.6.drv' failed with exit code 1;
last 10 log lines:
> Running phase: unpackPhase
> unpacking source archive /nix/store/1knirm8jgazkcgnrv72bajb3vlg039wd-source
> source root is source
> Running phase: patchPhase
> applying patch /nix/store/bj54wqjwik55hpiq7kgdi4j6wcw07hza-boehmgc-traceable_allocator-public.diff
> patching file include/gc_allocator.h
> Reversed (or previously applied) patch detected! Assume -R? [n]
> Apply anyway? [n]
> Skipping patch.
> 1 out of 1 hunk ignored -- saving rejects to file include/gc_allocator.h.rej
For full logs, run 'nix log /nix/store/l62fvmlm02fpn3isiqjjhw36ynr1idlh-boehm-gc-8.2.6.drv'.
Expected behavior
A clear and concise description of what you expected to happen.
nix-env --version
output
Additional context
Add any other context about the problem here.
Priorities
Add :+1: to issues you find important.
Some info
- https://github.com/cachix/devenv/issues/1200
- PR that introduced it; https://github.com/NixOS/nixpkgs/pull/306036
The solution for me was to remove inputs.nixpkgs.follows
for the devenv flake dep.