mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
11 lines
222 B
Bash
11 lines
222 B
Bash
addToEnv() {
|
|
local pkg=$1
|
|
|
|
## More goes here in reality that we can ignore for now.
|
|
|
|
# Run the package-specific hooks set by the setup-hook scripts.
|
|
for i in "${envHooks[@]}"; do
|
|
$i $pkg
|
|
done
|
|
}
|