4a91cfd32b
This is primarily useful in Nix expressions that are also intended to be used by nix-shell. It allows saying things like: buildInputs = [ ... ] ++ (if inNixShell then [ emacs ] else [ ]); This should not be used in Nixpkgs (since the question of what constitutes a useful nix-shell environment is very subjective). |
||
---|---|---|
.. | ||
attrsets.nix | ||
composable-derivation.nix | ||
customisation.nix | ||
debug.nix | ||
default.nix | ||
licenses.nix | ||
lists.nix | ||
maintainers.nix | ||
meta.nix | ||
misc.nix | ||
modules.nix | ||
options.nix | ||
platforms.nix | ||
sources.nix | ||
strings-with-deps.nix | ||
strings.nix | ||
systems.nix | ||
tests.nix | ||
trivial.nix | ||
types.nix |