diff options
Diffstat (limited to 'bin/list-module-imports')
-rwxr-xr-x | bin/list-module-imports | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/bin/list-module-imports b/bin/list-module-imports deleted file mode 100755 index 39d11bf34..000000000 --- a/bin/list-module-imports +++ /dev/null @@ -1,20 +0,0 @@ -#! /bin/sh -# list-module-imports : nix-file -> lines nix-file -set -euf - -if echo "$1" | grep -q ^/; then - : -else - set -- "./$1" -fi - -imports=$(nix-instantiate \ - -I secrets=secrets \ - --strict \ - --json \ - --eval \ - -E \ - "with builtins; with import ./lib/modules.nix; map toString (list-imports $1)") - -echo "$imports" \ - | jq -r .[] |