mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
12 lines
274 B
Bash
12 lines
274 B
Bash
findInputs() {
|
|
local pkg=$1
|
|
|
|
## More goes here in reality that we can ignore for now.
|
|
|
|
if test -f $pkg/nix-support/propagated-build-inputs; then
|
|
for i in $(cat $pkg/nix-support/propagated-build-inputs); do
|
|
findInputs $i
|
|
done
|
|
fi
|
|
}
|