about summary refs log tree commit diff
path: root/pkgs/build-support/remove-references-to
AgeCommit message (Collapse)AuthorFilesLines
2024-03-19treewide: add meta.mainProgram to packages with a single binarystuebinm1-0/+1
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
2023-05-17Merge pull request #162447 from thefloweringash/remove-references-to-regionWeijia Wang1-1/+1
removeReferencesTo: correct region reference in fixupHook
2022-08-25removeReferencesTo: kill lone hashesNaïm Favier1-1/+1
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-03-05removeReferencesTo: correct region reference in fixupHookAndrew Childs1-1/+1
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.
2021-05-17removeReferencesTo: fix code signatures on aarch64-darwinAndrew Childs3-29/+72
2017-03-09Add removeReferencesTo for removing specific refsLinus Heckemann1-0/+34
This allows for a less blanket approach than nuke-refs, targetting specific references that we know we don't want rather than all references that we don't know we want.