about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-09-15T10·57+0200
committersterni <sternenseemann@systemli.org>2021-09-15T12·20+0000
commit391a186d2751ee8500976e8bd60dc6feecf75a92 (patch)
treee7c7d84758f51cf25f729fe6ebb09a93d58b4c88 /nix
parent7b13aa62a81397340a67ba28084a47fb16091e4e (diff)
refactor(nix/readTree): remove unused assertMsg function r/2861
Change-Id: I4048a59ca3daeb541a7294ce72eebe32982d852c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3553
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'nix')
-rw-r--r--nix/readTree/default.nix5
1 files changed, 0 insertions, 5 deletions
diff --git a/nix/readTree/default.nix b/nix/readTree/default.nix
index f433b2736061..5443d2edf539 100644
--- a/nix/readTree/default.nix
+++ b/nix/readTree/default.nix
@@ -33,11 +33,6 @@ let
     readDir
     substring;
 
-  assertMsg = pred: msg:
-    if pred
-    then true
-    else builtins.trace msg false;
-
   argsWithPath = args: parts:
     let meta.locatedAt = parts;
     in meta // (if isAttrs args then args else args meta);