mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-13 23:53:26 +00:00
![Yueh-Shun Li](/assets/img/avatar_default.png)
Always specify the prePhases attribute as a list instead of a string. Append elements to the prePhases Bash variable using appendToVar instead of string or Bash array concatenation.
7 lines
99 B
Bash
7 lines
99 B
Bash
appendToVar prePhases moveBuildDir
|
|
|
|
moveBuildDir() {
|
|
mkdir -p $out/.build
|
|
cd $out/.build
|
|
}
|