Nixpkgs provides two similar functions for removing references to Nix store paths in derivation outputs: removeReferencesTo
(and the corresponding Bash function remove-references-to
) and nukeReferences
(and the corresponding Bash function nuke-refs
).
- source for Nix function
removeReferencesTo
- source for Bash function
remove-references-to
- source for Nix function
nukeReferences
- source for Bash function
nuke-refs
What are the differences between these two functions?