Volker Diels-Grabsch
1d7ac6603c
Fix NIX_CONF_DIR description
...
Fix description of `NIX_CONF_DIR`. It currently say that it defaults to `prefix/etc/nix`, which would mean `/nix/etc/nix` on default installations, and contradicts the description in `conf-file-prefix.md`.
This fix makes the description of `NIX_CONF_DIR` consistent with `conf-file-prefix.md`, assuming that the latter is correct.
2025-08-17 17:28:46 +02:00
Jörg Thalheim
e74cfc52fe
docs/uninstall: add instructions for freebsd
2025-08-08 09:10:35 +02:00
Sergei Zimmerman
385e2c3542
meson: Apply formatting universally
...
Now that we have applied the [1] patch, the diff is much
nicer and less noisy.
[1]: https://www.github.com/mesonbuild/meson/pull/14861
2025-08-07 02:58:29 +03:00
Jörg Thalheim
1989dd7bf9
add derivation parser benchmark
...
the current identified bottlenecks are parseString in derivations.cc and dirOf (because of std::filessystem creation).
2025-07-29 16:51:55 +02:00
Sergei Zimmerman
cff021898d
Merge pull request #13525 from alurm/patch-1
...
doc/advanced-attributes.md: remove stray backslashes in the rendered output
2025-07-28 01:34:58 +03:00
Sergei Zimmerman
60d124b36e
meson: Fix nix_system_cpu for MIPS and 32 bit ARM systems
...
Prior patches in 54dc5314e8
and 6db6190002 fixed the default
system double for i686 and ppc/ppc64. This also patch also covers
32 bit arm and mips. ARM cpu names are taken from host_machine.cpu()
for a lack of a better option, but host_machine.cpu_family() is
preferred, since that is supposed to be somewhat standard for cross
files. Endianness is handled correctly by looking at host_machine.endian().
This also updates the documentation to be up to date to how system cpu
is translated from the host_machine specification.
2025-07-27 00:50:53 +03:00
Robert Hensing
b7782809cb
docs, messages: Resolve nixos.org/manual/nix/stable redirect
...
Loads a bit quicker
2025-07-25 10:18:13 +02:00
Alan Urmancheev
bd29dc67b7
doc/advanced-attributes.md: remove stray backslashes in the rendered output
...
They have appeared literally because the was an empty line after them.
2025-07-23 17:32:52 +04:00
Dmitry Bogatov
143b87c1a9
Fix documentation of the NAR archive structure
...
For regular, non-executable files, there is no str("") between str("regular")
and str("contents"). Note that str("") is exactly 8 zero bytes, while just ""
is actual empty string (0 bytes).
2025-07-22 20:00:00 -04:00
Elliot Cameron
a17f377f69
Fix documentation for GC w.r.t. symlinks
2025-07-10 16:19:43 -04:00
Robert Hensing
9f8df6878f
doc: Add more links
...
Mostly in the 2.30 release notes
2025-07-07 16:47:02 +02:00
Eelco Dolstra
58e07c3291
Sort contributors
2025-07-07 16:17:06 +02:00
Eelco Dolstra
8c71de202f
Add link
2025-07-07 15:50:51 +02:00
Eelco Dolstra
a492493d97
Rearrange release notes
2025-07-07 15:10:25 +02:00
Eelco Dolstra
2c0343ec51
# Contributors -> ## Contributors
2025-07-07 15:00:49 +02:00
Eelco Dolstra
f5312492c1
Add manual release notes
2025-07-07 14:53:11 +02:00
Eelco Dolstra
19c4e78d97
Typo
2025-07-07 14:19:57 +02:00
Eelco Dolstra
8a9e625ba5
release notes: 2.30.0
2025-07-07 14:09:18 +02:00
Egor Konovalov
df21f24987
Fix link
...
Remove extra `realise`
2025-06-23 11:26:59 +02:00
Nikita Krasnov
785f3867fd
Update docs
2025-06-20 21:19:13 +03:00
John Ericson
d254c840b5
Merge pull request #13349 from obsidiansystems/structured-attrs-json
...
Introduce top-level `structuredAttrs` field in JSON derivation format
2025-06-18 16:35:42 -04:00
Eelco Dolstra
fc47178d0d
Merge pull request #13372 from synalice/patch-1
...
Fix broken link
2025-06-18 17:54:04 +02:00
Nikita Krasnov
86dda9884a
Fix typo
2025-06-18 12:46:53 +03:00
Nikita Krasnov
da76bc0cac
Fix broken link
2025-06-18 12:40:07 +03:00
jayeshv
699db04df3
Fix a minor typo
2025-06-13 12:28:27 +02:00
John Ericson
f8c1ac9515
Introduce top-level structuredAttrs field in JSON derivation format
...
Makes the behavoral change of #13263 without the underlying refactor.
Hopefully this clearly safe from a perf and GC perspective, and will
make it easier to benchmark #13263 .
2025-06-12 20:45:47 -04:00
Jade Masker
c0ceaa2d5d
add reference to the tarball-ttl documentation
...
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2025-06-01 15:56:46 -04:00
Jade Masker
633d39109b
remove overly verbose mention of fetchTarball
...
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2025-06-01 15:55:49 -04:00
Jade Lynn Masker
6badd21b6a
add documentation of tarball-ttl to nix-channel
2025-05-31 19:05:29 -04:00
Jörg Thalheim
ed3e2a71ea
Merge pull request #12994 from fricklerhandwerk/reword-derivation
...
glossary: re-introduce "derivation"
2025-05-26 14:58:52 +02:00
Sergei Zimmerman
2190bf2006
doc: Add eval-profiler documentation and release note
2025-05-21 22:16:31 +00:00
Jörg Thalheim
fad975b58f
Merge pull request #13231 from gwennlbh/docs-attrset-functor
...
docs: clarify attrset __functor
2025-05-20 09:03:13 +02:00
Gwenn Le Bihan
51151c2c28
docs: add another equivalence for the implication operator
...
the second equivalence, using a if-else expression, aligns much closer to how most humans think about implication, adding it might help some people :)
2025-05-19 17:37:29 +02:00
Gwenn Le Bihan
5c512a4ee1
docs: clarify attrset __functor
2025-05-19 16:58:16 +02:00
Eelco Dolstra
e5e5c819dd
Merge pull request #13221 from roberth/doc-rl-docroot
...
doc: Render verbatim `@docroot@` on contributing page
2025-05-17 19:18:59 +02:00
Robert Hensing
147a34c573
doc: Render verbatim @docroot@ on contributing page
...
In rendered form:
```diff
-Add references to the manual using ..
+Add references to the manual using [links like this](@docroot@/example.md)
```
2025-05-17 17:50:49 +02:00
Jörg Thalheim
d692729759
Merge pull request #13212 from pbsds/lexical-illusions
...
docs: remove repeated "allowedReferences" and other lexical illusion
2025-05-16 16:59:23 +02:00
Peder Bergebakken Sundt
4c50cf798e
docs: fix duplicate anchor
...
`#deriving-path-encoding` is defined in two places, I _think_ this is the correct one to change.
2025-05-16 10:27:29 +02:00
Peder Bergebakken Sundt
ea5302c4a2
docs: remove lexical illusions detected with write-good
...
I made this this non-markdown aware tool somewhat behave with some cursed fd+pandoc invocations
2025-05-16 09:52:19 +02:00
Peder Bergebakken Sundt
cb16cd707c
docs: remove repeated "allowedReferences"
...
This is what write-good lints as a "lexical illusion"
2025-05-16 09:20:55 +02:00
John Ericson
6e9350d53f
Add little blurb at the top of 2.29 release notes
2025-05-14 19:05:27 -04:00
John Ericson
29e78faa59
Slightly sort 2.29 release notes
2025-05-14 18:46:35 -04:00
John Ericson
d5e7359155
release notes: 2.29.0
2025-05-14 18:43:53 -04:00
Jörg Thalheim
c12fd7b319
docs/building: fix attribute for nix-cli-ccacheStdenv
2025-05-14 22:22:01 +02:00
Jörg Thalheim
723f2c7352
docs: update cross compilation section from autotools to meson
...
fixes https://github.com/NixOS/nix/issues/12934
Update doc/manual/source/development/building.md
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
Update doc/manual/source/development/building.md
Co-authored-by: John Ericson <git@JohnEricson.me>
2025-05-14 22:22:01 +02:00
Jörg Thalheim
a70140b55a
fix various typos in docs
2025-05-14 21:29:17 +02:00
John Ericson
b287438476
Document more references concepts
2025-05-14 12:57:06 -04:00
Sergei Zimmerman
20a724d131
docs: Fix miscellaneous typos and formatting issues
2025-05-13 22:20:11 +00:00
Andrey Butirsky
3cc16d13f0
index.md: add warning for installing as root
...
warning: installing Nix as root is not supported by this script!
performing a single-user installation of Nix...
copying Nix to /nix/store.......................................................
......
warning: the group 'nixbld' specified in 'build-users-group' does not exist
warning: the group 'nixbld' specified in 'build-users-group' does not exist
installing 'nix-2.28.3'
error: the group 'nixbld' specified in 'build-users-group' does not exist
/tmp/nix-binary-tarball-unpack.2j3lCU0A89/unpack/nix-2.28.3-x86_64-linux/install: unable to install Nix into your default profile
2025-05-10 18:13:58 +03:00
Valentin Gagarin
cb9182f9ed
docs: don't mention Haskell
...
sometimes it's these little things that let beginners stumble at the
first step...
mentioning one potentially foreign concept while introducing an entirely
new concept is asking enough already.
2025-04-29 10:58:34 +02:00