nixpkgs/pkgs/test/replace-vars
Wolfgang Walther 2e43b87c62
replaceVars: fail when exemption can't be found
This also changes stdenv's substitute --replace-fail to error out when
the replacement is the same as the search pattern, but can't be found.
This should not cause any problems in existing code, from what I can
tell from grepping nixpkgs.

The exception for pattern==replacement was previously introduced all the
way back in 5ff872aa24, but this was
apparently only used to make the check for the warning "simpler".
2025-02-10 19:19:59 +01:00
..
default.nix replaceVars: fail when exemption can't be found 2025-02-10 19:19:59 +01:00
source.txt