about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/edef/depot-scan/default.nix (renamed from users/edef/depot-scan.nix)2
-rwxr-xr-xusers/edef/depot-scan/depot-scan.pl (renamed from users/edef/depot-scan.pl)0
-rw-r--r--users/edef/depot-scan/wrap.nix (renamed from users/edef/depot-scan-wrap.nix)2
3 files changed, 1 insertions, 3 deletions
diff --git a/users/edef/depot-scan.nix b/users/edef/depot-scan/default.nix
index f0654188c87a..a9c0f382ff45 100644
--- a/users/edef/depot-scan.nix
+++ b/users/edef/depot-scan/default.nix
@@ -8,5 +8,5 @@ pkgs.writeShellScriptBin "depot-scan" ''
   attr="''${path//\//.}"
   root="$(git rev-parse --show-toplevel)"
   echo "scanning //$path" >&2
-  nix-instantiate -E "import ${./depot-scan-wrap.nix} {} $root" -A "$attr" -vv 2> >(${pkgs.perl}/bin/perl ${./depot-scan.pl}) >&2
+  nix-instantiate -E "import ${./wrap.nix} $root" -A "$attr" -vv 2> >(${pkgs.perl}/bin/perl ${./depot-scan.pl}) >&2
 ''
diff --git a/users/edef/depot-scan.pl b/users/edef/depot-scan/depot-scan.pl
index 8808e2eb0023..8808e2eb0023 100755
--- a/users/edef/depot-scan.pl
+++ b/users/edef/depot-scan/depot-scan.pl
diff --git a/users/edef/depot-scan-wrap.nix b/users/edef/depot-scan/wrap.nix
index 52ea5cc8527b..dcb557a24b1e 100644
--- a/users/edef/depot-scan-wrap.nix
+++ b/users/edef/depot-scan/wrap.nix
@@ -1,7 +1,5 @@
 # this wraps import to override readFile and readDir to trace the files it touches
 # technique inspired by lorri
-{ ... }:
-
 let
 
   global = {