about summary refs log tree commit diff
path: root/users/edef/depot-scan.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/edef/depot-scan.nix')
-rw-r--r--users/edef/depot-scan.nix12
1 files changed, 0 insertions, 12 deletions
diff --git a/users/edef/depot-scan.nix b/users/edef/depot-scan.nix
deleted file mode 100644
index f0654188c87a..000000000000
--- a/users/edef/depot-scan.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{ pkgs, ... }:
-
-pkgs.writeShellScriptBin "depot-scan" ''
-  set -euo pipefail
-
-  path="''${1:-$(git rev-parse --show-prefix)}"
-  path="''${path%%/}"
-  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
-''