mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
commit
7f4acb9f10
13 changed files with 19 additions and 19 deletions
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
|
|
@ -45,7 +45,7 @@ assignees: ''
|
||||||
- [ ] checked [latest Nix manual] \([source])
|
- [ ] checked [latest Nix manual] \([source])
|
||||||
- [ ] checked [open bug issues and pull requests] for possible duplicates
|
- [ ] checked [open bug issues and pull requests] for possible duplicates
|
||||||
|
|
||||||
[latest Nix manual]: https://nixos.org/manual/nix/unstable/
|
[latest Nix manual]: https://nix.dev/manual/nix/development/
|
||||||
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
|
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
|
||||||
[open bug issues and pull requests]: https://github.com/NixOS/nix/labels/bug
|
[open bug issues and pull requests]: https://github.com/NixOS/nix/labels/bug
|
||||||
|
|
||||||
|
|
|
||||||
2
.github/ISSUE_TEMPLATE/feature_request.md
vendored
2
.github/ISSUE_TEMPLATE/feature_request.md
vendored
|
|
@ -30,7 +30,7 @@ assignees: ''
|
||||||
- [ ] checked [latest Nix manual] \([source])
|
- [ ] checked [latest Nix manual] \([source])
|
||||||
- [ ] checked [open feature issues and pull requests] for possible duplicates
|
- [ ] checked [open feature issues and pull requests] for possible duplicates
|
||||||
|
|
||||||
[latest Nix manual]: https://nixos.org/manual/nix/unstable/
|
[latest Nix manual]: https://nix.dev/manual/nix/development/
|
||||||
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
|
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
|
||||||
[open feature issues and pull requests]: https://github.com/NixOS/nix/labels/feature
|
[open feature issues and pull requests]: https://github.com/NixOS/nix/labels/feature
|
||||||
|
|
||||||
|
|
|
||||||
2
.github/ISSUE_TEMPLATE/installer.md
vendored
2
.github/ISSUE_TEMPLATE/installer.md
vendored
|
|
@ -38,7 +38,7 @@ assignees: ''
|
||||||
- [ ] checked [latest Nix manual] \([source])
|
- [ ] checked [latest Nix manual] \([source])
|
||||||
- [ ] checked [open installer issues and pull requests] for possible duplicates
|
- [ ] checked [open installer issues and pull requests] for possible duplicates
|
||||||
|
|
||||||
[latest Nix manual]: https://nixos.org/manual/nix/unstable/
|
[latest Nix manual]: https://nix.dev/manual/nix/development/
|
||||||
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
|
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
|
||||||
[open installer issues and pull requests]: https://github.com/NixOS/nix/labels/installer
|
[open installer issues and pull requests]: https://github.com/NixOS/nix/labels/installer
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ assignees: ''
|
||||||
- [ ] checked [latest Nix manual] \([source])
|
- [ ] checked [latest Nix manual] \([source])
|
||||||
- [ ] checked [open documentation issues and pull requests] for possible duplicates
|
- [ ] checked [open documentation issues and pull requests] for possible duplicates
|
||||||
|
|
||||||
[latest Nix manual]: https://nixos.org/manual/nix/unstable/
|
[latest Nix manual]: https://nix.dev/manual/nix/development/
|
||||||
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
|
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
|
||||||
[open documentation issues and pull requests]: https://github.com/NixOS/nix/labels/documentation
|
[open documentation issues and pull requests]: https://github.com/NixOS/nix/labels/documentation
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ Check out the [security policy](https://github.com/NixOS/nix/security/policy).
|
||||||
|
|
||||||
## Making changes to the Nix manual
|
## Making changes to the Nix manual
|
||||||
|
|
||||||
The Nix reference manual is hosted on https://nixos.org/manual/nix.
|
The Nix reference manual is hosted on https://nix.dev/manual/nix.
|
||||||
The underlying source files are located in [`doc/manual/source`](./doc/manual/source).
|
The underlying source files are located in [`doc/manual/source`](./doc/manual/source).
|
||||||
For small changes you can [use GitHub to edit these files](https://docs.github.com/en/repositories/working-with-files/managing-files/editing-files)
|
For small changes you can [use GitHub to edit these files](https://docs.github.com/en/repositories/working-with-files/managing-files/editing-files)
|
||||||
For larger changes see the [Nix reference manual](https://nix.dev/manual/nix/development/development/contributing.html).
|
For larger changes see the [Nix reference manual](https://nix.dev/manual/nix/development/development/contributing.html).
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,6 @@
|
||||||
|
|
||||||
* `nix run` is now stricter in what it accepts: members of the `apps`
|
* `nix run` is now stricter in what it accepts: members of the `apps`
|
||||||
flake output are now required to be apps (as defined in [the
|
flake output are now required to be apps (as defined in [the
|
||||||
manual](https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-run.html#apps)),
|
manual](https://nix.dev/manual/nix/stable/command-ref/new-cli/nix3-run.html#apps)),
|
||||||
and members of `packages` or `legacyPackages` must be derivations
|
and members of `packages` or `legacyPackages` must be derivations
|
||||||
(not apps).
|
(not apps).
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ fi
|
||||||
|
|
||||||
# Determine if we could use the multi-user installer or not
|
# Determine if we could use the multi-user installer or not
|
||||||
if [ "$(uname -s)" = "Linux" ]; then
|
if [ "$(uname -s)" = "Linux" ]; then
|
||||||
echo "Note: a multi-user installation is possible. See https://nixos.org/manual/nix/stable/installation/installing-binary.html#multi-user-installation" >&2
|
echo "Note: a multi-user installation is possible. See https://nix.dev/manual/nix/stable/installation/installing-binary.html#multi-user-installation" >&2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
|
|
@ -96,7 +96,7 @@ while [ $# -gt 0 ]; do
|
||||||
echo " providing multi-user support and better isolation for local builds."
|
echo " providing multi-user support and better isolation for local builds."
|
||||||
echo " Both for security and reproducibility, this method is recommended if"
|
echo " Both for security and reproducibility, this method is recommended if"
|
||||||
echo " supported on your platform."
|
echo " supported on your platform."
|
||||||
echo " See https://nixos.org/manual/nix/stable/installation/installing-binary.html#multi-user-installation"
|
echo " See https://nix.dev/manual/nix/stable/installation/installing-binary.html#multi-user-installation"
|
||||||
echo ""
|
echo ""
|
||||||
echo " --no-daemon: Simple, single-user installation that does not require root and is"
|
echo " --no-daemon: Simple, single-user installation that does not require root and is"
|
||||||
echo " trivial to uninstall."
|
echo " trivial to uninstall."
|
||||||
|
|
@ -144,7 +144,7 @@ if ! [ -e "$dest" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ -w "$dest" ]; then
|
if ! [ -w "$dest" ]; then
|
||||||
echo "$0: directory $dest exists, but is not writable by you. This could indicate that another user has already performed a single-user installation of Nix on this system. If you wish to enable multi-user support see https://nixos.org/manual/nix/stable/installation/multi-user.html. If you wish to continue with a single-user install for $USER please run 'chown -R $USER $dest' as root." >&2
|
echo "$0: directory $dest exists, but is not writable by you. This could indicate that another user has already performed a single-user installation of Nix on this system. If you wish to enable multi-user support see https://nix.dev/manual/nix/stable/installation/multi-user.html. If you wish to continue with a single-user install for $USER please run 'chown -R $USER $dest' as root." >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param baseDir Optional [base directory](https://nixos.org/manual/nix/unstable/glossary#gloss-base-directory)
|
* @param baseDir Optional [base directory](https://nix.dev/manual/nix/development/glossary#gloss-base-directory)
|
||||||
*/
|
*/
|
||||||
SourcePath lookupFileArg(EvalState & state, std::string_view s, const Path * baseDir = nullptr);
|
SourcePath lookupFileArg(EvalState & state, std::string_view s, const Path * baseDir = nullptr);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1812,7 +1812,7 @@ void EvalState::autoCallFunction(const Bindings & args, Value & fun, Value & res
|
||||||
Nix attempted to evaluate a function as a top level expression; in
|
Nix attempted to evaluate a function as a top level expression; in
|
||||||
this case it must have its arguments supplied either by default
|
this case it must have its arguments supplied either by default
|
||||||
values, or passed explicitly with '--arg' or '--argstr'. See
|
values, or passed explicitly with '--arg' or '--argstr'. See
|
||||||
https://nixos.org/manual/nix/stable/language/constructs.html#functions.)",
|
https://nix.dev/manual/nix/stable/language/syntax.html#functions.)",
|
||||||
symbols[i.name])
|
symbols[i.name])
|
||||||
.atPos(i.pos)
|
.atPos(i.pos)
|
||||||
.withFrame(*fun.lambda().env, *fun.lambda().fun)
|
.withFrame(*fun.lambda().env, *fun.lambda().fun)
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ struct FlakeRef
|
||||||
std::ostream & operator<<(std::ostream & str, const FlakeRef & flakeRef);
|
std::ostream & operator<<(std::ostream & str, const FlakeRef & flakeRef);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param baseDir Optional [base directory](https://nixos.org/manual/nix/unstable/glossary#gloss-base-directory)
|
* @param baseDir Optional [base directory](https://nix.dev/manual/nix/development/glossary.html#gloss-base-directory)
|
||||||
*/
|
*/
|
||||||
FlakeRef parseFlakeRef(
|
FlakeRef parseFlakeRef(
|
||||||
const fetchers::Settings & fetchSettings,
|
const fetchers::Settings & fetchSettings,
|
||||||
|
|
@ -92,7 +92,7 @@ FlakeRef parseFlakeRef(
|
||||||
bool preserveRelativePaths = false);
|
bool preserveRelativePaths = false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param baseDir Optional [base directory](https://nixos.org/manual/nix/unstable/glossary#gloss-base-directory)
|
* @param baseDir Optional [base directory](https://nix.dev/manual/nix/development/glossary.html#gloss-base-directory)
|
||||||
*/
|
*/
|
||||||
std::pair<FlakeRef, std::string> parseFlakeRefWithFragment(
|
std::pair<FlakeRef, std::string> parseFlakeRefWithFragment(
|
||||||
const fetchers::Settings & fetchSettings,
|
const fetchers::Settings & fetchSettings,
|
||||||
|
|
@ -103,7 +103,7 @@ std::pair<FlakeRef, std::string> parseFlakeRefWithFragment(
|
||||||
bool preserveRelativePaths = false);
|
bool preserveRelativePaths = false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param baseDir Optional [base directory](https://nixos.org/manual/nix/unstable/glossary#gloss-base-directory)
|
* @param baseDir Optional [base directory](https://nix.dev/manual/nix/development/glossary.html#gloss-base-directory)
|
||||||
*/
|
*/
|
||||||
std::tuple<FlakeRef, std::string, ExtendedOutputsSpec> parseFlakeRefWithFragmentAndExtendedOutputsSpec(
|
std::tuple<FlakeRef, std::string, ExtendedOutputsSpec> parseFlakeRefWithFragmentAndExtendedOutputsSpec(
|
||||||
const fetchers::Settings & fetchSettings,
|
const fetchers::Settings & fetchSettings,
|
||||||
|
|
|
||||||
|
|
@ -57,14 +57,14 @@ nix_err nix_libstore_init_no_load_config(nix_c_context * context);
|
||||||
* ignores `NIX_REMOTE` and the `store` option. For this reason, `NULL` is most likely the better choice.
|
* ignores `NIX_REMOTE` and the `store` option. For this reason, `NULL` is most likely the better choice.
|
||||||
*
|
*
|
||||||
* For supported store URLs, see [*Store URL format* in the Nix Reference
|
* For supported store URLs, see [*Store URL format* in the Nix Reference
|
||||||
* Manual](https://nixos.org/manual/nix/stable/store/types/#store-url-format).
|
* Manual](https://nix.dev/manual/nix/stable/store/types/#store-url-format).
|
||||||
* @endparblock
|
* @endparblock
|
||||||
*
|
*
|
||||||
* @param[in] params @parblock
|
* @param[in] params @parblock
|
||||||
* optional, null-terminated array of key-value pairs, e.g. {{"endpoint",
|
* optional, null-terminated array of key-value pairs, e.g. {{"endpoint",
|
||||||
* "https://s3.local"}}.
|
* "https://s3.local"}}.
|
||||||
*
|
*
|
||||||
* See [*Store Types* in the Nix Reference Manual](https://nixos.org/manual/nix/stable/store/types).
|
* See [*Store Types* in the Nix Reference Manual](https://nix.dev/manual/nix/stable/store/types).
|
||||||
* @endparblock
|
* @endparblock
|
||||||
*
|
*
|
||||||
* @return a Store pointer, NULL in case of errors
|
* @return a Store pointer, NULL in case of errors
|
||||||
|
|
|
||||||
|
|
@ -51,8 +51,8 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Get the [base directory](https://nixos.org/manual/nix/unstable/glossary#gloss-base-directory) for the
|
* @brief Get the [base directory](https://nix.dev/manual/nix/development/glossary.html#gloss-base-directory) for
|
||||||
* command.
|
* the command.
|
||||||
*
|
*
|
||||||
* @return Generally the working directory, but in case of a shebang
|
* @return Generally the working directory, but in case of a shebang
|
||||||
* interpreter, returns the directory of the script.
|
* interpreter, returns the directory of the script.
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ R""(
|
||||||
Nix is a tool for building software, configurations and other
|
Nix is a tool for building software, configurations and other
|
||||||
artifacts in a reproducible and declarative way. For more information,
|
artifacts in a reproducible and declarative way. For more information,
|
||||||
see the [Nix homepage](https://nixos.org/) or the [Nix
|
see the [Nix homepage](https://nixos.org/) or the [Nix
|
||||||
manual](https://nixos.org/manual/nix/stable/).
|
manual](https://nix.dev/manual/nix/stable/).
|
||||||
|
|
||||||
# Installables
|
# Installables
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue