Mirror of git.savannah.gnu.org for guix installation
https://github.com/sorend/guix-mirror.git
-- mode: org --
[[https://www.gnu.org/software/guix/]] (IPA: /Ι‘iΛks/) is a purely functional package manager, and associated free software distribution, for the [[https://www.gnu.org/gnu/gnu.html]]. In addition to standard package management features, Guix supports transactional upgrades and roll-backs, unprivileged package management, per-user profiles, and garbage collection.
It provides [[https://www.gnu.org/software/guile/]] Scheme APIs, including a high-level embedded domain-specific languages (EDSLs) to describe how packages are to be built and composed.
GNUΒ Guix can be used on top of an already-installed GNU/Linux distribution, or it can be used standalone (we call that βGuix Systemβ).
Guix is based on the [[https://nixos.org/nix/]] package manager.
info -f doc/guix.info "Requirements"
or by checking the [[https://guix.gnu.org/manual/en/html_node/Requirements.html]].
info -f doc/guix.info "Installation"
or by checking the [[https://guix.gnu.org/manual/en/html_node/Installation.html]].
info -f doc/guix.info "Building from Git"
or by checking the [[https://guix.gnu.org/manual/en/htmlnode/Building-from-Git.html]].
derivation' primitive, as well as higher-level wrappers such as
build-expression->derivation'.
Guix does remote procedure calls (RPCs) to the build daemon (the =guix-daemon= command), which in turn performs builds and accesses to the store on its behalf. The RPCs are implemented in the (guix store) module.
Please email
Join #guix on irc.libera.chat.
Nix is really two things: a package build tool, implemented by a library and daemon, and a special-purpose programming language. GNU Guix relies on the former, but uses Scheme as a replacement for the latter.
Using Scheme instead of a specific language allows us to get all the features and tooling that come with Guile (compiler, debugger, REPL, Unicode, libraries, etc.) And it means that we have a general-purpose language, on top of which we can have embedded domain-specific languages (EDSLs), such as the one used to define packages. This broadens what can be done in package recipes themselves, and what can be done around them.
Technically, Guix makes remote procedure calls to the βnix-workerβ daemon to perform operations on the store. At the lowest level, Nix βderivationsβ represent promises of a build, stored in β.drvβ files in the store. Guix produces such derivations, which are then interpreted by the daemon to perform the build. Thus, Guix derivations can use derivations produced by Nix (and vice versa).
With Nix and the [[https://nixos.org/nixpkgs]] distribution, package composition happens at the Nix language level, but builders are usually written in Bash. Conversely, Guix encourages the use of Scheme for both package composition and builders. Likewise, the core functionality of Nix is written in C++ and Perl; Guix relies on some of the original C++ code, but exposes all the API as Scheme.