diff options
Diffstat (limited to 'users/edef/depot-scan.nix')
-rw-r--r-- | users/edef/depot-scan.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/edef/depot-scan.nix b/users/edef/depot-scan.nix index ce0f8d97990b..f0654188c87a 100644 --- a/users/edef/depot-scan.nix +++ b/users/edef/depot-scan.nix @@ -8,5 +8,5 @@ pkgs.writeShellScriptBin "depot-scan" '' attr="''${path//\//.}" root="$(git rev-parse --show-toplevel)" echo "scanning //$path" >&2 - nix-instantiate "$root" -A "$attr" -vv 2> >(${pkgs.perl}/bin/perl ${./depot-scan.pl}) >&2 + nix-instantiate -E "import ${./depot-scan-wrap.nix} {} $root" -A "$attr" -vv 2> >(${pkgs.perl}/bin/perl ${./depot-scan.pl}) >&2 '' |