about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-08-06T16·08+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-08-06T16·08+0000
commit4cad125e088576035ea8f7955d7770278aa6ed24 (patch)
treeacb323d7f095f5d954fc4b0bd7c26a2ff16c290a /src
parent6da6fbfbe940feb807eeef20035d6603448d4d5e (diff)
* Optionally warn about packages that give an assertion failure.
Diffstat (limited to 'src')
-rw-r--r--src/nix-env/nix-env.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-env/nix-env.cc b/src/nix-env/nix-env.cc
index 9c78f012141a..e0de2812ca43 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);
         }
     }