From 64653e731d2c29ecb837e173f6ad21ca1eba1df7 Mon Sep 17 00:00:00 2001 From: Jason Samsa Date: Fri, 27 Apr 2018 11:28:57 -0500 Subject: [PATCH] may -> must as attribute is required to avoid ambiguity --- pills/15-nix-search-paths.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pills/15-nix-search-paths.xml b/pills/15-nix-search-paths.xml index bf8345f..bc8fb21 100644 --- a/pills/15-nix-search-paths.xml +++ b/pills/15-nix-search-paths.xml @@ -105,7 +105,7 @@ This form, other than being more precise, it's also faster because nix-env does not have to parse all the derivations. - For completeness: you may install graphvizCore with -A, since without the -A switch it's ambiguous. + For completeness: you must install graphvizCore with -A, since without the -A switch it's ambiguous. In summary, it may happen when playing with nix that nix-env peeks a different derivation than nix-build. In such case you probably specified NIX_PATH, but nix-env is instead looking into ~/.nix-defexpr.