mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
12 lines
167 B
Bash
12 lines
167 B
Bash
prePhases+=" moveBuildDir"
|
|
|
|
moveBuildDir() {
|
|
mkdir -p $out/.build
|
|
cd $out/.build
|
|
}
|
|
|
|
postPhases+=" removeBuildDir"
|
|
|
|
removeBuildDir() {
|
|
rm -rf $out/.build
|
|
}
|