substituteAllFiles: deprecate
This commit is contained in:
parent
fe7dba6858
commit
ac825aaea5
@ -112,7 +112,7 @@
|
|||||||
|
|
||||||
- All support for 32‐bit Darwin systems has been dropped.
|
- All support for 32‐bit Darwin systems has been dropped.
|
||||||
|
|
||||||
- `substituteAll` has been deprecated in favor of `replaceVars` and will be removed in the next release.
|
- `substituteAll` and `substituteAllFiles` have been deprecated in favor of `replaceVars` and will be removed in the next release.
|
||||||
|
|
||||||
- Default ICU version updated from 74 to 76
|
- Default ICU version updated from 74 to 76
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,11 @@
|
|||||||
|
|
||||||
args:
|
args:
|
||||||
|
|
||||||
stdenv.mkDerivation (
|
# TODO(@wolfgangwalther): Remove substituteAllFiles after 25.05 branch-off.
|
||||||
|
lib.warn
|
||||||
|
"substituteAllFiles is deprecated and will be removed in 25.11. Use replaceVars for each file instead."
|
||||||
|
(
|
||||||
|
stdenv.mkDerivation (
|
||||||
{
|
{
|
||||||
name = if args ? name then args.name else baseNameOf (toString args.src);
|
name = if args ? name then args.name else baseNameOf (toString args.src);
|
||||||
builder = builtins.toFile "builder.sh" ''
|
builder = builtins.toFile "builder.sh" ''
|
||||||
@ -25,4 +29,5 @@ stdenv.mkDerivation (
|
|||||||
allowSubstitutes = false;
|
allowSubstitutes = false;
|
||||||
}
|
}
|
||||||
// args
|
// args
|
||||||
)
|
)
|
||||||
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user