From 4cad125e088576035ea8f7955d7770278aa6ed24 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 6 Aug 2007 16:08:09 +0000 Subject: [PATCH] * Optionally warn about packages that give an assertion failure. --- src/nix-env/nix-env.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nix-env/nix-env.cc b/src/nix-env/nix-env.cc index 9c78f01214..e0de2812ca 100644 --- a/src/nix-env/nix-env.cc +++ b/src/nix-env/nix-env.cc @@ -1062,7 +1062,7 @@ static void opQuery(Globals & globals, cout.flush(); } catch (AssertionError & e) { - /* !!! hm, maybe we should give some sort of warning here? */ + printMsg(lvlTalkative, format("skipping derivation named `%1%' which gives an assertion failure") % i->name); } }