758056dac7
Always specify the postPhases attribute as a list instead of a string. Append elements to the postPhases Bash variable using appendToVar instead of string or Bash array concatenation.
13 lines
183 B
Bash
13 lines
183 B
Bash
appendToVar prePhases moveBuildDir
|
|
|
|
moveBuildDir() {
|
|
mkdir -p $out/.build
|
|
cd $out/.build
|
|
}
|
|
|
|
appendToVar postPhases removeBuildDir
|
|
|
|
removeBuildDir() {
|
|
rm -rf $out/.build
|
|
}
|