Files
nixpkgs/pkgs/build-support/setup-hooks/add-bin-to-path.sh
2025-02-02 21:48:57 +01:00

13 lines
224 B
Bash

# shellcheck shell=bash
# This setup hook add $out/bin to the PATH environment variable.
export PATH
addBinToPath () {
# shellcheck disable=SC2154
PATH="$out/bin:$PATH"
export PATH
}
postHooks+=(addBinToPath)