Vladimir Panteleev
ba074465ba
doc: Clarify that nix-shell still uses shell from host environment ( #8809 )
...
* doc: Clarify that nix-shell still uses shell from host environment
* doc: Fix NIX_BUILD_SHELL description
* doc: Add anchor and link to NIX_BUILD_SHELL
* doc: Add example of default shell trickiness
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-11-21 20:08:13 +00:00
Eelco Dolstra
d002324f1b
Merge remote-tracking branch 'origin/master' into nix-copy-gc
2024-11-20 21:05:52 +01:00
Robert Hensing
d8d59298e5
Merge pull request #9854 from the-sun-will-rise-tomorrow/docker-user
...
docker: Allow building for non-root user
2024-11-18 14:55:51 +01:00
dbdr
e53e0a04f4
Fix typo in nix-collect-garbage.md
2024-11-14 09:16:00 +01:00
Eelco Dolstra
e6aae64318
Make the default stdenv phases do the right thing
...
Fixes #11858 .
2024-11-12 20:42:53 +01:00
WxNzEMof
1dda18ef0a
doc/manual: add documentation for non-root container images
2024-11-11 22:54:37 +00:00
Eelco Dolstra
f29e7867a9
Revert "Merge pull request #11826 from DeterminateSystems/revert-11804"
...
This reverts commit aeffdeffc8
, reversing
changes made to 723fdeb4f1
.
2024-11-11 15:21:34 +01:00
Eelco Dolstra
036359ac84
Remove release note about flake substitution
2024-11-11 13:58:12 +01:00
Valentin Gagarin
17c94b7ff7
Merge pull request #11842 from DeterminateSystems/release-notes
...
Nix 2.25 release notes
2024-11-11 12:24:05 +01:00
Eelco Dolstra
397f3c544e
Add credits
2024-11-08 17:10:20 +01:00
Eelco Dolstra
d228c00614
Trim release notes
2024-11-08 17:06:49 +01:00
Jörg Thalheim
aeffdeffc8
Merge pull request #11826 from DeterminateSystems/revert-11804
...
Revert "Merge pull request #11804 from obsidiansystems/remove-old-make"
2024-11-08 12:04:55 +01:00
Eelco Dolstra
47bffe20e4
Revert "Merge pull request #10980 from kjeremy/flake-show-description"
...
This reverts commit 1c5ad159d6
, reversing
changes made to 67de193277
.
This reverts commit ce4e4a158e
, reversing
changes made to 43e82c9446
.
2024-11-07 18:12:04 +01:00
Eelco Dolstra
cd42f7664e
release notes: 2.25.0
2024-11-07 17:53:26 +01:00
Eelco Dolstra
67d231c046
Revert "Merge pull request #11804 from obsidiansystems/remove-old-make"
...
This reverts commit 619eeb658a
, reversing
changes made to 1af94bf471
.
2024-11-07 13:46:37 +01:00
John Ericson
e70c9bb06a
Remove old build system
2024-11-06 16:09:18 -05:00
John Ericson
f07aee934a
Update docs in line of build system changes
2024-11-04 10:35:11 -05:00
Eelco Dolstra
1c832d6050
Merge remote-tracking branch 'origin/master' into nix-copy-gc
2024-11-04 14:52:56 +01:00
Valentin Gagarin
14c8b08c86
docs: add links to string context documentation
...
operators are an everyday thing in the Nix language, and this page will
hopefully be consulted by many users.
string contexts are quite exotic, and not linking to the detailed
explanation will require readers to figure out manually what this is
about, or worse, skim over and run into problems later.
2024-11-03 12:42:32 +01:00
Michael
55fe4ee4f3
doc/manual: Add 'Debugging Nix' section ( #11637 )
...
* doc/manual: Add 'Debugging Nix' section
This commit adds a new 'Debugging Nix' section to the Nix manual. It provides instructions on how to build Nix with debug symbols and how to debug the Nix binary using debuggers like `lldb`.
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-11-01 19:42:34 +00:00
Bjørn Forsman
020dbac0e0
doc/rl-2.19: add entry for always-allow-substitutes option ( #11775 )
...
* doc/rl-2.19: add entry for always-allow-substitutes option
Fixes https://github.com/NixOS/nix/issues/9427 .
2024-11-01 10:55:33 +00:00
Emil Petersen
78aedda6bd
Update content-address.md ( #11771 )
...
Correct a few typos. Make explicit that FSO acronym refers to File System Object.
2024-10-30 23:31:03 +00:00
Adrian Hesketh
9491abdfec
docs: update distributed-builds.md
2024-10-30 13:28:13 +01:00
Eman Resu
defff01a51
docs: clarify syntax for escaping dollar curlies
2024-10-18 13:26:38 -04:00
John Ericson
e65510da56
Move unit tests to the location Meson expects them to be
...
Everything that is a separate subproject should live in the subprojects
directory.
Progress on #2503
This reverts commit 451f8a8c19
.
2024-10-17 15:42:16 -04:00
John Ericson
eb7d7780b1
Rename doc/manual{src -> source}
...
This is needed to avoid this
https://github.com/mesonbuild/meson/issues/13774 when we go back to
making our subproject directory `src`.
2024-10-14 11:21:24 -04:00
Onni Hakala
e6db2dafe6
Update distributed-builds.md
...
Fixes deprecation warning from nix build:
warning: 'nix store ping' is a deprecated alias for 'nix store info'
2024-10-10 20:35:55 +03:00
Jacek Galowicz
39da9462e9
Document common options in stable nix binaries ( #11663 )
2024-10-10 09:00:01 +00:00
John Ericson
08b59aad31
Build the manual with Meson
...
Co-Authored-By: Qyriad <qyriad@qyriad.me>
Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
Co-Authored-By: eldritch horrors <pennae@lix.systems>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
Co-authored-by: Tom Bereknyei <tomberek@gmail.com>
2024-10-09 11:58:17 -04:00
John Ericson
f7db612e8b
Reword next release release note a bit
...
This is unrelated to this PR, but requested in https://github.com/NixOS/nix/pull/11224#discussion_r1715031841
Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
2024-10-09 11:07:15 -04:00
Eelco Dolstra
e9b5704d1c
Add release note
2024-10-08 16:49:35 +02:00
Vinayak Kaushik
c88e901096
Fix typo in uninstall.md
2024-10-06 19:26:42 +02:00
Robert Hensing
071ddbed57
doc/manual: Fix some broken fragments
2024-10-03 01:17:53 +02:00
Valentin Gagarin
b6656160ba
doc: don't use bash substitution in install command
2024-10-01 17:28:43 +02:00
Jordan Justen
3b6cf350e7
doc, src: Fix various spelling typos
...
Signed-off-by: Jordan Justen <jljusten@gmail.com>
2024-09-28 15:29:15 -07:00
Eelco Dolstra
ef8987955b
Typo
2024-09-26 00:15:04 +02:00
Eelco Dolstra
062b4a489e
Merge pull request #11585 from NixOS/verify-tls
...
builtin:fetchurl: Enable TLS verification
2024-09-25 23:52:25 +02:00
Eelco Dolstra
7b39cd631e
Add release note
2024-09-25 23:07:11 +02:00
Jörg Thalheim
eb3a368a33
docs/testing: add --verbose flag for running single tests
...
Most of the time people run single tests for debugging reason,
so it's a sane default to have them see all the console output.
This commit still retains the section about running tests directly with
meson, because in some debugging cases it's just nice to have less
abstractions i.e. when using strace.
2024-09-25 09:46:29 +02:00
Eelco Dolstra
176334d8be
Merge pull request #10612 from edolstra/no-flake-substitution
...
Input::fetchToStore(): Don't try to substitute
2024-09-16 12:47:50 +02:00
Travis A. Everett
48477d4a3e
doc: add admonitions for macOS 15 Sequoia update ( #11487 )
...
The impending release of macOS 15 Sequoia will break many existing nix
installs on macOS, which may lead to an increased number of people who
are looking to try to reinstall Nix without noticing the open/pinned
issue (#10892 ) that explains the problem and outlines how to migrate
existing installs.
These admonitions are a short-term measure until we are over the hump
and support volumes dwindle.
2024-09-11 17:50:47 +00:00
John Ericson
db7c868d24
Merge pull request #11378 from Mic92/nix-dir-errors
...
builtins.readDir: fix nix error trace on filesystem errors
2024-09-11 13:10:28 -04:00
Eelco Dolstra
e557096cef
Add release note
2024-09-11 17:32:16 +02:00
Noam Yorav-Raphael
38bfbb297c
Use envvars NIX_CACHE_HOME, NIX_CONFIG_HOME, NIX_DATA_HOME, NIX_STATE_HOME if defined ( #11351 )
2024-09-11 10:36:46 +00:00
Jörg Thalheim
04ce0e648a
add release notes for filesystem fixes
...
Update doc/manual/rl-next/filesystem-errors.md
Co-authored-by: John Ericson <git@JohnEricson.me>
2024-09-11 08:23:18 +02:00
tomberek
c60e1be62c
Merge pull request #11438 from zimbatm/nix-fmt-pwd
...
fix(nix fmt): remove the default "." argument
2024-09-10 23:44:16 -04:00
zimbatm
c4766d7b8b
fix(nix fmt): remove the default "." argument
...
When `nix fmt` is called without an argument, Nix appends the "." argument before calling the formatter. The comment in the code is:
> Format the current flake out of the box
This also happens when formatting sub-folders.
This means that the formatter is now unable to distinguish, as an interface, whether the "." argument is coming from the flake or the user's intent to format the current folder. This decision should be up to the formatter.
Treefmt, for example, will automatically look up the project's root and format all the files. This is the desired behaviour. But because the "." argument is passed, it cannot function as expected.
2024-09-10 22:18:56 +02:00
Robert Hensing
69e925640f
Merge pull request #11432 from fricklerhandwerk/docs-defexpr
...
docs: small fixups on the default expression
2024-09-08 12:31:23 +02:00
Robert Hensing
9ae7140beb
Merge pull request #11436 from fricklerhandwerk/reword-nix-expr-gloss
...
docs: reword glossary entry on Nix expression
2024-09-07 22:47:32 +01:00
Valentin Gagarin
92be107c8e
update instructions to build the manual
2024-09-06 10:33:12 +02:00