Add a substituteAllInPlace() function to stdenv
svn path=/nixpkgs/branches/stdenv-updates/; revision=27993
This commit is contained in:
parent
d00b303766
commit
1a43ce8e08
@ -386,6 +386,13 @@ substituteAll() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
substituteAllInPlace() {
|
||||||
|
local fileName="$1"
|
||||||
|
shift
|
||||||
|
substituteAll "$fileName" "$fileName" "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# What follows is the generic builder.
|
# What follows is the generic builder.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user