diff options
-rw-r--r-- | tools/depot-scanner/default.nix | 2 | ||||
-rw-r--r-- | tools/depot-scanner/main.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/depot-scanner/default.nix b/tools/depot-scanner/default.nix index e6fd5dec292c..d18034cff0fd 100644 --- a/tools/depot-scanner/default.nix +++ b/tools/depot-scanner/default.nix @@ -13,4 +13,4 @@ in depot.nix.buildGo.program { deps = [ localProto ]; -} // { inherit localProto; meta.ci = false; } +} // { inherit localProto; } diff --git a/tools/depot-scanner/main.go b/tools/depot-scanner/main.go index 273190258958..4128fce187f0 100644 --- a/tools/depot-scanner/main.go +++ b/tools/depot-scanner/main.go @@ -165,7 +165,7 @@ func main() { if *modeFlag == "print" { if enabledPathTypes[pb.PathType_STORE] { for k, _ := range results[nixStorePath] { - if *relativePath { + if *relativeFlag { k = strings.TrimPrefix(k, *nixStoreRoot) k = strings.TrimPrefix(k, "/") } |