-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into lazy-trees
- Loading branch information
Showing
56 changed files
with
689 additions
and
521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,54 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
about: Report unexpected or incorrect behaviour | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
## Describe the bug | ||
|
||
A clear and concise description of what the bug is. | ||
<!-- | ||
A clear and concise description of what the bug is. | ||
If you have a problem with a specific package or NixOS, | ||
you probably want to file an issue at https://github.com/NixOS/nixpkgs/issues. | ||
If you have a problem with a specific package or NixOS, | ||
you probably want to file an issue at https://github.com/NixOS/nixpkgs/issues. | ||
--> | ||
|
||
**Steps To Reproduce** | ||
## Steps To Reproduce | ||
|
||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
<!-- | ||
Example: | ||
**Expected behavior** | ||
1. Clone this repository: ... | ||
2. Run `nix-... ...` | ||
3. Observe unexpected behaviour | ||
--> | ||
|
||
A clear and concise description of what you expected to happen. | ||
## Expected behavior | ||
|
||
**`nix-env --version` output** | ||
<!-- A clear and concise description of what you expected to happen. --> | ||
|
||
**Additional context** | ||
## Metadata | ||
|
||
Add any other context about the problem here. | ||
<!-- Please insert the output of running `nix-env --version` below this line --> | ||
|
||
**Priorities** | ||
## Additional context | ||
|
||
<!-- Add any other context about the problem here. --> | ||
|
||
## Checklist | ||
|
||
<!-- make sure this issue is not redundant or obsolete --> | ||
|
||
- [ ] checked [latest Nix manual] \([source]) | ||
- [ ] checked [open bug issues and pull requests] for possible duplicates | ||
|
||
[latest Nix manual]: https://nixos.org/manual/nix/unstable/ | ||
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source | ||
[open bug issues and pull requests]: https://github.com/NixOS/nix/labels/bug | ||
|
||
--- | ||
|
||
Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,39 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
about: Suggest a new feature | ||
title: '' | ||
labels: feature | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
## Is your feature request related to a problem? | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] --> | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
## Proposed solution | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. | ||
<!-- A clear and concise description of what you want to happen. --> | ||
|
||
**Priorities** | ||
## Alternative solutions | ||
|
||
<!-- A clear and concise description of any alternative solutions or features you've considered. --> | ||
|
||
## Additional context | ||
|
||
<!-- Add any other context or screenshots about the feature request here. --> | ||
|
||
## Checklist | ||
|
||
<!-- make sure this issue is not redundant or obsolete --> | ||
|
||
- [ ] checked [latest Nix manual] \([source]) | ||
- [ ] checked [open feature issues and pull requests] for possible duplicates | ||
|
||
[latest Nix manual]: https://nixos.org/manual/nix/unstable/ | ||
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source | ||
[open feature issues and pull requests]: https://github.com/NixOS/nix/labels/feature | ||
|
||
--- | ||
|
||
Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# This is only conditional to work around | ||
# https://github.com/mesonbuild/meson/issues/13293. It should be | ||
# unconditional. | ||
if not (host_machine.system() == 'windows' and cxx.get_id() == 'gcc') | ||
deps_private += dependency('threads') | ||
endif | ||
|
||
add_project_arguments( | ||
'-Wdeprecated-copy', | ||
'-Werror=suggest-override', | ||
'-Werror=switch', | ||
'-Werror=switch-enum', | ||
'-Werror=unused-result', | ||
'-Wignored-qualifiers', | ||
'-Wimplicit-fallthrough', | ||
'-Wno-deprecated-declarations', | ||
language : 'cpp', | ||
) | ||
|
||
if get_option('buildtype') not in ['debug'] | ||
add_project_arguments('-O3', language : 'cpp') | ||
endif |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
synopsis: "`nix copy` supports `--profile` and `--out-link`" | ||
prs: [11657] | ||
--- | ||
|
||
The `nix copy` command now has flags `--profile` and `--out-link`, similar to `nix build`. `--profile` makes a profile point to the | ||
top-level store path, while `--out-link` create symlinks to the top-level store paths. | ||
|
||
For example, when updating the local NixOS system profile from a NixOS system closure on a remote machine, instead of | ||
``` | ||
# nix copy --from ssh://server $path | ||
# nix build --profile /nix/var/nix/profiles/system $path | ||
``` | ||
you can now do | ||
``` | ||
# nix copy --from ssh://server --profile /nix/var/nix/profiles/system $path | ||
``` | ||
The advantage is that this avoids a time window where *path* is not a garbage collector root, and so could be deleted by a concurrent `nix store gc` process. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.