Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note on Nix and open source #376

Merged
merged 2 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 21 additions & 3 deletions src/pages/concepts/nix.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Nix
wip: true
snippet: |
A build tool, [package manager](/concepts/package-management), and [programming language](/concepts/nix-language)
A CLI, [package manager](/concepts/package-management), and [programming language](/concepts/nix-language)
related: ["nix-language", "nixos", "nixpkgs"]
externalSources: [
{
Expand Down Expand Up @@ -44,11 +44,22 @@ externalSources: [
]
---

*Nix* refers to a few different things:
[*Nix*][nix] can be a somewhat confusing term because it refers to multiple things:

1. The pure and functional [programming language][lang]
2. The [Nix CLI](#cli)
3. The overall Nix package management system
3. The overall Nix [package management system][package-management]

All of these are closely interrelated and should be thought of as a single tool.
In this document, we'll go over each of these three aspects of Nix.

<Admonition info open title="Nix and open source" id="nix-oss" client:load>
The Nix project is fully open source and largely developed within the [`NixOS`][nixos-org] organization on [GitHub].
It's licensed under [LGPL 2.1][license], which is generally quite permissive regarding commercial use.

We at Determinate Systems have actively contributed to Nix as an open source project in the past&mdash;alongside countless talented individuals&mdash;and will continue to do so as part of our [mission] to make Nix better.
We have also created [Determinate Nix][det-nix], a downstream distribution of Nix intended for enterprise.
</Admonition>

## The Nix CLI \{#cli}

Expand All @@ -75,10 +86,17 @@ The *original CLI* for Nix is still the official CLI but, as we mention above, n

The [Determinate Nix Installer][install] enables the [unified CLI](#unified-cli) by default, but leaves the tools from the original CLI accessible.

[det-nix]: https://docs.determinate.systems/determinate-nix
[ds]: https://determinate.systems
[env]: /concepts/dev-env
[flakes]: /concepts/flakes
[github]: https://github.com
[install]: /concepts/nix-installer
[lang]: /concepts/nix-language
[license]: https://github.com/nixOS/nix?tab=LGPL-2.1-1-ov-file
[mission]: https://determinate.systems/posts/we-want-to-make-nix-better
[nix]: https://nixos.org
[nixos-org]: https://github.com/NixOS
[packages]: /concepts/packages
[package-management]: /concepts/package-management
[store]: /concepts/nix-store
Loading