diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-04-08 16:11:17 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-04-08 16:11:17 +0200 |
commit | 101d964a59d5c9098845d3109ea1eba99b5f31df (patch) | |
tree | 8a738ce81315587f8bbc9260a05dd4a8e5ae344f /src/nix/search.cc | |
parent | 9b7eac332b6af48f7ee5dc820c75706b4cb22c46 (diff) |
nix: Make -f work for compatibility
Diffstat (limited to 'src/nix/search.cc')
-rw-r--r-- | src/nix/search.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nix/search.cc b/src/nix/search.cc index e086de226..55f8d106a 100644 --- a/src/nix/search.cc +++ b/src/nix/search.cc @@ -257,7 +257,9 @@ struct CmdSearch : SourceExprCommand, MixJSON auto cache = writeCache ? std::make_unique<JSONObject>(jsonCacheFile, false) : nullptr; - doExpr(getSourceExpr(*state), "", true, cache.get()); + // FIXME + throw Error("NOT IMPLEMENTED"); + //doExpr(getSourceExpr(*state), "", true, cache.get()); } catch (std::exception &) { /* Fun fact: catching std::ios::failure does not work |