https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
8 lines
238 B
Bash
8 lines
238 B
Bash
addNetBSDInstallMakeFlags() {
|
|
export INSTALL_FILE="install -U -c"
|
|
export INSTALL_DIR="install -U -d"
|
|
export INSTALL_LINK="install -U -l h"
|
|
export INSTALL_SYMLINK="install -U -l s"
|
|
}
|
|
|
|
preConfigureHooks+=(addNetBSDInstallMakeFlags)
|