aboutsummaryrefslogtreecommitdiff
path: root/src/nix-env/nix-env.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-08-06 16:08:09 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-08-06 16:08:09 +0000
commit4cad125e088576035ea8f7955d7770278aa6ed24 (patch)
treeacb323d7f095f5d954fc4b0bd7c26a2ff16c290a /src/nix-env/nix-env.cc
parent6da6fbfbe940feb807eeef20035d6603448d4d5e (diff)
* Optionally warn about packages that give an assertion failure.
Diffstat (limited to 'src/nix-env/nix-env.cc')
-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 9c78f0121..e0de2812c 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);
}
}