writeReferencesToFile: remove entirely

It's been long enough.
This commit is contained in:
Philip Taron 2025-05-22 16:14:35 -07:00
parent e3a39e5b47
commit ca4a7eb0cd
No known key found for this signature in database
2 changed files with 1 additions and 5 deletions

View file

@ -778,9 +778,6 @@ rec {
''
);
# Remove after 25.05 branch-off
writeReferencesToFile = throw "writeReferencesToFile has been removed. Use writeClosure instead.";
# Docs in doc/build-helpers/trivial-build-helpers.chapter.md
# See https://nixos.org/manual/nixpkgs/unstable/#trivial-builder-writeClosure
writeClosure =

View file

@ -3,8 +3,7 @@
# and how deep in the tree they live. Equally-"popular" paths are then
# sorted by name.
#
# The existing writeReferencesToFile prints the paths in a simple
# ascii-based sorting of the paths.
# The existing writeClosure prints the paths in a simple ascii-based sorting of the paths.
#
# Sorting the paths by graph improves the chances that the difference
# between two builds appear near the end of the list, instead of near