lix/src
Raphael Robatsch 9e8f209036 Display valid installable in InstallableDerivedPath::parse warning
The warning message should produce an installable name that can be
passed to `nix build`, `nix path-info`, etc. again. Since the CLI
expects that the .drv path and the output names are separated by
a caret, the warning message must also separate the .drv path and output
names with a caret.

However, `DerivedPath::Built.to_string()` uses an exclamation point as
the separator instead. This commit adds a `separator` argument to the
to_string method.

This changes the warning message from:
If this command is now failing try again with '/nix/store/foo.drv!*'
to:
If this command is now failing try again with '/nix/store/foo.drv^*'
2023-04-14 10:32:03 +02:00
..
build-remote Move enabled experimental feature to libutil struct 2023-03-20 11:05:22 -04:00
libcmd Display valid installable in InstallableDerivedPath::parse warning 2023-04-14 10:32:03 +02:00
libexpr Merge pull request #8170 from tweag/fix-aarch64-build 2023-04-11 12:35:23 +02:00
libfetchers Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
libmain Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
libstore Display valid installable in InstallableDerivedPath::parse warning 2023-04-14 10:32:03 +02:00
libutil Do not gate or hide experimental settings 2023-04-11 10:56:48 -04:00
nix Merge pull request #7798 from peeley/list-experimental-features 2023-04-11 11:55:35 +02:00
nix-build Move enabled experimental feature to libutil struct 2023-03-20 11:05:22 -04:00
nix-channel Factor out the generation of the profile/channel directory 2023-03-23 10:22:42 +01:00
nix-collect-garbage Fix nix-collect-garbage -d with the new profile location 2023-03-07 13:08:04 +01:00
nix-copy-closure Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
nix-env Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
nix-instantiate Revert to copyStore = true for nix-instantiate and nix-env 2022-08-23 14:40:27 +02:00
nix-store nix-store.cc: Refactor, remove qDefault 2023-04-03 18:45:20 +02:00
resolve-system-dependencies Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00