Commit Graph

4 Commits

Author SHA1 Message Date
Weijia Wang
6b456c252b
Merge pull request #162447 from thefloweringash/remove-references-to-region
removeReferencesTo: correct region reference in fixupHook
2023-05-17 12:34:28 +03:00
Naïm Favier
3c697db972
removeReferencesTo: kill lone hashes
Nix counts any occurrence of a store path's *hash* as a reference, even
without a store directory prefix. The current version only kills
references of the form `/nix/store/<hash>-`, which can fail e.g. for
compressed files.
2022-08-25 17:25:58 +02:00
Andrew Childs
44886930e2 removeReferencesTo: correct region reference in fixupHook
This was causing some regions to escape the fixupHook. As a concrete
example, pkgconf's signature on aarch64-darwin was not valid because
the library was not fixed up.
2022-03-05 15:48:46 +09:00
Andrew Childs
f067102afe removeReferencesTo: fix code signatures on aarch64-darwin 2021-05-17 00:27:03 +09:00