mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
15 lines
258 B
Bash
15 lines
258 B
Bash
|
findInputs() {
|
||
|
local pkg=$1
|
||
|
|
||
|
## Don't need to repeat already processed package
|
||
|
case $pkgs in
|
||
|
*\ $pkg\ *)
|
||
|
return 0
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
pkgs="$pkgs $pkg "
|
||
|
|
||
|
## More goes here in reality that we can ignore for now.
|
||
|
}
|