writeReferencesToFile: remove entirely (#409948)

This commit is contained in:
Philip Taron
2025-05-22 16:53:40 -07:00
committed by GitHub
2 changed files with 1 additions and 5 deletions
@@ -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 =
@@ -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