A modern, delicious implementation of the Nix package manager, focused on correctness, usability, and growth — and committed to doing right by its community
Find a file
Qyriad 3ac2dd0613 package: put boehmgc patch logic in package.nix
In our view it really doesn't make sense to not have this in in
package.nix in some way. These patches aren't just for performance or
something -- Lix flat out doesn't build without these patches.

(Arguably that makes them a buildsystem responsibility as well, but that
can wait for when we're ready to start adding subproject fallback
dependency resolution to Meson.)

This is a step towards making `package.nix` more self-sufficient and
`callPackage`able without excessive external logic.

With this change the following command is enough to build Lix from out
of the flake:

nix-build -E 'let pkgs = import <nixpkgs> { }; in pkgs.callPackage
./package.nix { build-release-notes = false; inherit (pkgs.lib) fileset;
nix-doc = pkgs.callPackage ./nix-doc/package.nix { }; }'

Change-Id: Ia37fe8171f87d3293033de8be07d9bab12716f1d
2024-04-07 22:44:04 +00:00
.github
clang-tidy Create clang-tidy check to rename all our includes 2024-04-06 04:40:19 +00:00
contrib
doc meson: fix warm nix3 CLI manual generation 2024-04-06 14:43:14 -06:00
m4
maintainers repl: improve :doc builtin repl command to support lambdas. 2024-04-03 13:47:22 -06:00
meson
misc
mk
nix-doc repl: improve :doc builtin repl command to support lambdas. 2024-04-03 13:47:22 -06:00
perl
scripts
src avoid markdown which the repl's :doc cannot handle 2024-04-06 13:14:14 +00:00
tests Merge "Rewrite REPL test parser" into main 2024-04-06 21:36:26 +00:00
.clang-format
.clang-tidy
.dir-locals.el
.editorconfig
.envrc
.gitignore
.version
boehmgc-coroutine-sp-fallback.diff
boehmgc-traceable_allocator-public.diff
configure.ac
CONTRIBUTING.md
COPYING
default.nix
docker.nix
flake.lock
flake.nix package: put boehmgc patch logic in package.nix 2024-04-07 22:44:04 +00:00
justfile
local.mk
Makefile
Makefile.config.in repl: improve :doc builtin repl command to support lambdas. 2024-04-03 13:47:22 -06:00
meson.build meson: add missing tests: ca, dyn-drv, plugins, libstoreconsumer 2024-04-04 20:43:38 -06:00
meson.options
package.nix package: put boehmgc patch logic in package.nix 2024-04-07 22:44:04 +00:00
precompiled-headers.h
README.md
shell.nix
treefmt.toml

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

On Linux and macOS the easiest way to install Nix is to run the following shell command (as a user other than root):

$ curl -L https://nixos.org/nix/install | sh

Information on additional installation methods is available on the Nix download page.

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.

Additional Resources

License

Nix is released under the LGPL v2.1.