Find a file
John Ericson ab822af0df Factor out serialization for BuildResult
Worker Protocol:

Note that the worker protocol already had a serialization for
`BuildResult`; this was added in
a4604f1928. It didn't have any versioning
support because at that time reusable seralizers were not away for the protocol
version. It could thus only be used for new messages also introduced in
that commit.

Now that we do support versioning in reusable serializers, we can expand
it to support all known versions and use it in many more places.

The exist test data becomes the version 1.29 tests: note that those
files' contents are unchanged. 1.28 and 1.27 tests are added to cover
the older code-paths.

The keyered build result test only has 1.29 because the keying was also
added in a4604f19284254ac98f19a13ff7c2216de7fe176; the older
serializations are always used unkeyed.

Serve Protocol:

Conversely, no attempt was made to factor out such a serializer for the
serve protocol, so our work there in this commit for that protocol
proceeds from scratch.
2023-10-20 15:19:28 -04:00
.github docker: publish images to ghcr.io (#8066) 2023-10-20 19:28:26 +02:00
config Run autoupdate 2021-06-01 11:42:38 +02:00
contrib function-trace: always show the trace 2019-09-18 23:23:21 +02:00
doc Expand derivation examples (#9048) 2023-10-20 15:17:28 -04:00
m4 autoconf: Fix C++17 detection not working on Ubuntu 16.04. 2019-07-03 04:32:25 +02:00
maintainers add a link to all maintainer meeting notes 2023-10-19 10:57:45 +02:00
misc Choose a reasonable number similar to LimitNOFile 2023-07-07 07:52:16 -07:00
mk Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
perl treewide: Reference HashFormat members with scope 2023-10-19 00:56:41 +08:00
scripts Merge pull request #7593 from miallo/ignore-identical-rc-backup-files-for-installation 2023-09-25 14:14:53 +02:00
src Factor out serialization for BuildResult 2023-10-20 15:19:28 -04:00
tests primops: add builtins.convertHash 2023-10-19 00:58:56 +08:00
unit-test-data/libstore Factor out serialization for BuildResult 2023-10-20 15:19:28 -04:00
.dir-locals.el .dir-locals.el: Set c-block-comment-prefix 2020-07-10 11:21:06 +02:00
.editorconfig Add .editorconfig 2017-06-05 22:57:28 +01:00
.gitignore Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
.version Bump version 2023-09-20 15:21:21 +02:00
boehmgc-coroutine-sp-fallback.diff Fix boehmgc-coroutine-sp-fallback.diff for FreeBSD 2023-09-20 09:04:42 -04:00
configure.ac Use positive source filtering for the standalone functional tests job 2023-10-09 08:29:27 -04:00
CONTRIBUTING.md Merge pull request #9182 from fricklerhandwerk/popular-issues 2023-10-19 16:25:36 -04:00
COPYING * Change this to LGPL to keep the government happy. 2006-04-25 16:41:06 +00:00
default.nix add flake-compat to flake.nix and use sha256 in default.nix 2023-03-06 21:11:24 +01:00
docker.nix fix "add an option to include flake-registry..." 2023-05-16 14:35:31 +02:00
flake.lock flake: complete update to 23.05 2023-09-21 21:00:53 -04:00
flake.nix Merge pull request #9162 from eclairevoyant/add-mainprogram 2023-10-17 14:44:29 +02:00
local.mk Use positive source filtering for the standalone functional tests job 2023-10-09 08:29:27 -04:00
Makefile Use positive source filtering for the standalone functional tests job 2023-10-09 08:29:27 -04:00
Makefile.config.in Use positive source filtering for the standalone functional tests job 2023-10-09 08:29:27 -04:00
precompiled-headers.h Config: Use nlohmann/json 2020-08-20 11:02:16 +02:00
README.md Merge pull request #9010 from fricklerhandwerk/first-steps 2023-10-06 00:07:24 +02:00
shell.nix Remove url literals 2022-01-24 13:28:21 +01:00

Nix

Open Collective supporters Test

Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible. Please refer to the Nix manual for more details.

Installation and first steps

Visit nix.dev for installation instructions and beginner tutorials.

Full reference documentation can be found in the Nix manual.

Building And Developing

See our Hacking guide in our manual for instruction on how to to set up a development environment and build Nix from source.

Contributing

Check the contributing guide if you want to get involved with developing Nix.

Additional Resources

License

Nix is released under the LGPL v2.1.