Nix Packages collection & NixOS
Go to file
Lin Jian 4092c0d850
emacs: make trivialBuild know its elisp dependencies in another way
Previously, trivialBuild did not know how to find its elisp
dependencies.  This was[1] fixed[2] by basically rewriting part of
package-activate-all in bash.

I think it is better to call package-activate-all (or
package-initialize if Emacs is old) directly.  It reduces maintenance
burden a bit.  It also improves consistency since elpaBuild and
melpaBuild already do so.

This change provides almost the same functionality as before.  It only
breaks elisp packages with non-standard[^3] elisp dependencies.
However, I think those non-standard ones should be fixed instead.
As an example, mu4e used to be a non-standard one and was fixed[4].

This change does not cause more build failures in emacsPackages.

[1]: https://github.com/NixOS/nixpkgs/pull/82604
[2]: bf486f784d
[^3]: Non-standard elisp packages do not meet requirements of
package.el, the builtin package manager of Emacs.  Usually, they are
installed to $out/share/emacs/site-lisp/$pname-$version and/or miss a
$pname-pkg.el file.
[4]: https://github.com/NixOS/nixpkgs/pull/253438
2024-09-20 15:19:45 +08:00
.github .github/labeler.yml: mark CONTRIBUTING.md and README's for "policy discussion" 2024-09-18 02:45:57 +02:00
ci treewide: Fix or remove some markdown links 2024-09-03 23:37:05 +02:00
doc Merge remote-tracking branch 'origin/staging-next' into staging 2024-09-17 21:07:02 +03:00
lib lib.types.anything: remove custom logic for lists (#340202) 2024-09-18 17:08:15 +02:00
maintainers maintainers: add pixelsergey 2024-09-18 08:49:55 +02:00
nixos Merge staging-next into staging 2024-09-19 12:05:50 +00:00
pkgs emacs: make trivialBuild know its elisp dependencies in another way 2024-09-20 15:19:45 +08:00
.editorconfig .editorconfig: accept package.json indent as is 2024-07-29 19:24:33 +02:00
.git-blame-ignore-revs nixos/kanidm: inherit lib, nixfmt 2024-08-26 18:04:30 +00:00
.gitattributes
.gitignore Ignore Direnv files 2024-07-23 17:06:34 +07:00
.mailmap mailmap: add entries for linj 2024-09-03 13:11:10 +08:00
.version
CONTRIBUTING.md CONTRIBUTING: offer clearer guidelines about blocker vs. non-blocker issues (#264651) 2024-09-16 13:17:33 +02:00
COPYING
default.nix
flake.nix flake.nix: add pinned devshell 2024-08-09 19:25:59 -07:00
README.md Release NixOS 24.05 2024-05-31 20:17:44 +02:00
shell.nix shell.nix: Enable e.g. --arg nixpkgs ./. (#330823) 2024-08-29 22:42:20 +02:00

NixOS logo

Contributors badge Open Collective supporters

Nixpkgs is a collection of over 100,000 software packages that can be installed with the Nix package manager. It also implements NixOS, a purely-functional Linux distribution.

Manuals

  • NixOS Manual - how to install, configure, and maintain a purely-functional Linux distribution
  • Nixpkgs Manual - contributing to Nixpkgs and using programming-language-specific Nix expressions
  • Nix Package Manager Manual - how to write Nix expressions (programs), and how to use Nix command line tools

Community

Other Project Repositories

The sources of all official Nix-related projects are in the NixOS organization on GitHub. Here are some of the main ones:

  • Nix - the purely functional package manager
  • NixOps - the tool to remotely deploy NixOS machines
  • nixos-hardware - NixOS profiles to optimize settings for different hardware
  • Nix RFCs - the formal process for making substantial changes to the community
  • NixOS homepage - the NixOS.org website
  • hydra - our continuous integration system
  • NixOS Artwork - NixOS artwork

Continuous Integration and Distribution

Nixpkgs and NixOS are built and tested by our continuous integration system, Hydra.

Artifacts successfully built with Hydra are published to cache at https://cache.nixos.org/. When successful build and test criteria are met, the Nixpkgs expressions are distributed via Nix channels.

Contributing

Nixpkgs is among the most active projects on GitHub. While thousands of open issues and pull requests might seem a lot at first, it helps consider it in the context of the scope of the project. Nixpkgs describes how to build tens of thousands of pieces of software and implements a Linux distribution. The GitHub Insights page gives a sense of the project activity.

Community contributions are always welcome through GitHub Issues and Pull Requests.

For more information about contributing to the project, please visit the contributing page.

Donations

The infrastructure for NixOS and related projects is maintained by a nonprofit organization, the NixOS Foundation. To ensure the continuity and expansion of the NixOS infrastructure, we are looking for donations to our organization.

You can donate to the NixOS foundation through SEPA bank transfers or by using Open Collective:

License

Nixpkgs is licensed under the MIT License.

Note: MIT license does not apply to the packages built by Nixpkgs, merely to the files in this repository (the Nix expressions, build scripts, NixOS modules, etc.). It also might not apply to patches included in Nixpkgs, which may be derivative works of the packages to which they apply. The aforementioned artifacts are all covered by the licenses of the respective packages.