Nix ecosystem/ja: Difference between revisions

FuzzyBot (talk | contribs)
Updating to match new version of source page
Tags: Mobile edit Mobile web edit
FuzzyBot (talk | contribs)
Updating to match new version of source page
Tags: Mobile edit Mobile web edit
 
Line 1: Line 1:
<languages/>
<languages/>
Nixエコシステムの中核をなすものは再現可能なビルドと宣言的な設定、依存関係を含むパッケージやシステムの宣言的な管理ができるように設計された技術の集合です。これはプログラムにおける関数型のパラダイムをシステム領域に応用することで実現でき、そのために再現可能なビルドのために設計された動的型付けで非正格な関数型のDSL、[[Overview of the Nix Language|Nix言語]]を採用しています。  
<div class="mw-translate-fuzzy">
Nixエコシステムの中核をなすものは再現可能なビルドと宣言的な設定、依存関係を含むパッケージやシステムの宣言的な管理ができるように設計された技術の集合です。これはプログラムにおける関数型のパラダイムをシステム領域に応用することで実現でき、そのために再現可能なビルドのために設計された動的型付けで非正格な関数型のDSL、[[Overview of the Nix Language|Nix言語]]を採用しています。
</div>


さらに、多くの[[applications]]('''''拡張Nixエコシステム''''')がNixのコミュニティによって開発されており、これらの核となる技術を使用し、サポートしています。  
<div class="mw-translate-fuzzy">
さらに、多くの[[applications]]('''''拡張Nixエコシステム''''')がNixのコミュニティによって開発されており、これらの核となる技術を使用し、サポートしています。
</div>


<span id="Official_ecosystem"></span>
<span id="Official_ecosystem"></span>
== 公式エコシステム ==
== 公式エコシステム ==


<div lang="en" dir="ltr" class="mw-content-ltr">
{| class="wikitable"
{| class="wikitable"
|+ Core Components of the Nix Ecosystem
|+ <span lang="en" dir="ltr" class="mw-content-ltr">Core Components of the Nix Ecosystem</span>
|-
|-
! Component
! <span lang="en" dir="ltr" class="mw-content-ltr">Component</span>
! Manual
! <span lang="en" dir="ltr" class="mw-content-ltr">Manual</span>
! Description
! <span lang="en" dir="ltr" class="mw-content-ltr">Description</span>
! Use
! <span lang="en" dir="ltr" class="mw-content-ltr">Use</span>
! License
! <span lang="en" dir="ltr" class="mw-content-ltr">License</span>
|-  
|-  
| [[NixOS]]
| [[Special:MyLanguage/NixOS|NixOS]]
| [https://nixos.org/nixos/manual/ NixOS Manual]
| <span lang="en" dir="ltr" class="mw-content-ltr">[https://nixos.org/nixos/manual/ NixOS Manual]</span>
| A Linux distribution with ''all'' components built by Nix, and thus supporting reproducible and declarative system-wide configuration management as well as atomic upgrades and rollbacks.  
| <span lang="en" dir="ltr" class="mw-content-ltr">A Linux distribution with ''all'' components built by Nix, and thus supporting reproducible and declarative system-wide configuration management as well as atomic upgrades and rollbacks.</span>
| Declaratively configure desktops, servers & clusters
| <span lang="en" dir="ltr" class="mw-content-ltr">Declaratively configure desktops, servers & clusters</span>
| MIT
| MIT
|-
|-
| [[Nixpkgs]]
| [[Special:MyLanguage/Nixpkgs|Nixpkgs]]
| [https://nixos.org/nixpkgs/manual/ Nixpkgs Manual]
| <span lang="en" dir="ltr" class="mw-content-ltr">[https://nixos.org/nixpkgs/manual/ Nixpkgs Manual]</span>
| The largest community maintained Nix package and NixOS module repository; standard releases of NixOS are hosted here.
| <span lang="en" dir="ltr" class="mw-content-ltr">The largest community maintained Nix package and NixOS module repository; standard releases of NixOS are hosted here.</span>
| Share Nix packages & NixOS modules
| <span lang="en" dir="ltr" class="mw-content-ltr">Share Nix packages & NixOS modules</span>
| MIT
| MIT
|-
|-
| [[Hydra]]
| [[Special:MyLanguage/Hydra|Hydra]]
| [https://nixos.org/hydra/manual/ Hydra Manual]
| <span lang="en" dir="ltr" class="mw-content-ltr">[https://nixos.org/hydra/manual/ Hydra Manual]</span>
| A Nix based continuous build system.
| <span lang="en" dir="ltr" class="mw-content-ltr">A Nix based continuous build system.</span>
| CI build farms
| <span lang="en" dir="ltr" class="mw-content-ltr">CI build farms</span>
| GPL-3.0
| GPL-3.0
|-
|-
| [[Nix]]
| [[Special:MyLanguage/Nix|Nix]]
| [https://nixos.org/nix/manual/ Nix Manual]
| <span lang="en" dir="ltr" class="mw-content-ltr">[https://nixos.org/nix/manual/ Nix Manual]</span>
| A package manager that parses Nix expressions specifying reproducible build, putting the result in a store address with a hash of the dependency tree, sidestepping dependency hell and supporting multiversion installs and rollbacks.
| <span lang="en" dir="ltr" class="mw-content-ltr">A package manager that parses Nix expressions specifying reproducible build, putting the result in a store address with a hash of the dependency tree, sidestepping dependency hell and supporting multiversion installs and rollbacks.</span>
| Reproducible builds & package management in Linux & Darwin
| <span lang="en" dir="ltr" class="mw-content-ltr">Reproducible builds & package management in Linux & Darwin</span>
| LGPL-2.1
| LGPL-2.1
|}
|}  
</div>
 


<div lang="en" dir="ltr" class="mw-content-ltr">
{| style="max-width: 36rem; margin: auto;"
{| style="max-width: 36rem; margin: auto;"
|+'''The NixOS core ecosystem stack'''
|+ <span lang="en" dir="ltr" class="mw-content-ltr">'''The NixOS core ecosystem stack'''</span>
|style="text-align: center; border: 1px solid var(--border-color-base); background: var(--background-color-neutral); padding: 1.6rem" width="2%"|
| style="text-align: center; border: 1px solid var(--border-color-base); background: var(--background-color-neutral); padding: 1.6rem" width="2%"|
<div style="font-size: 1.3em; font-weight: bold">NixOS</div>
<div style="font-size: 1.3em; font-weight: bold">NixOS</div>
A Linux distribution and configuration system built using Nixpkgs.
<span lang="en" dir="ltr" class="mw-content-ltr">A Linux distribution and configuration system built using Nixpkgs.</span>
!
|-
|-
|style="text-align: center; border: 1px solid var(--border-color-base); background: var(--background-color-neutral); padding: 1.6rem" width="2%"|
| style="text-align: center; border: 1px solid var(--border-color-base); background: var(--background-color-neutral); padding: 1.6rem" width="2%"|
<div style="font-size: 1.3em; font-weight: bold">Nixpkgs</div>
<div style="font-size: 1.3em; font-weight: bold">Nixpkgs</div>
A large, community-maintained repository of packages.
<span lang="en" dir="ltr" class="mw-content-ltr">A large, community-maintained repository of packages.</span>
|style="text-align: center; border: 1px solid var(--border-color-base); background: var(--background-color-neutral); padding: 1.6rem" width="2%"|
| style="text-align: center; border: 1px solid var(--border-color-base); background: var(--background-color-neutral); padding: 1.6rem" width="2%"|
<div style="font-size: 1.3em; font-weight: bold">Hydra</div>
<div style="font-size: 1.3em; font-weight: bold">Hydra</div>
A continuous build system built on Nix.
<span lang="en" dir="ltr" class="mw-content-ltr">A continuous build system built on Nix.</span>
|-
|-
|style="text-align: center; border: 1px solid var(--border-color-base); background: var(--background-color-neutral); padding: 1.6rem" width="2%" colspan="2"|
| style="text-align: center; border: 1px solid var(--border-color-base); background: var(--background-color-neutral); padding: 1.6rem" width="2%" colspan="2"|
<div style="font-size: 1.3em; font-weight: bold">Nix</div>
<div style="font-size: 1.3em; font-weight: bold">Nix</div>
A pure and functional build system.
<span lang="en" dir="ltr" class="mw-content-ltr">A pure and functional build system.</span>
|}
|}
<div lang="en" dir="ltr" class="mw-content-ltr">
== Usage of NixOS ==
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
== Usage of NixOS ==
Users install the ''NixOS'' distribution on their computers just as any other Linux distribution. They read about packages to install and configuration options in ''Nixpkgs'' via https://search.nixos.org and this wiki. They use the ''Nix'' language to declaratively describe in a text file what software packages should be installed and how the system should be configured. They run 2 command line programs in a terminal to transform the system into the described system. They use the system as any other Linux system.
Users install the ''NixOS'' distribution on their computers just as any other Linux distribution. They read about packages to install and configuration options in ''Nixpkgs'' via https://search.nixos.org and this wiki. They use the ''Nix'' language to declaratively describe in a text file what software packages should be installed and how the system should be configured. They run 2 command line programs in a terminal to transform the system into the described system. They use the system as any other Linux system.
</div>
</div>


<span id="Development_of_NixOS"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
== NixOSの開発 ==
== NixOSの開発 ==
''NixOS'' の開発者は主に ''Nixpkgs'' で活動しており、ソフトウェアのビルド手順を ''Nix'' 言語を用いてテキストファイルに記述します。変更はレビューののち ''Nixpkgs'' にマージされます。 パッケージのいくつかは ''NixOS'' ユーザーのアップデートに要する時間を削減するために ''Hydra'' によって事前にビルドされます。
''NixOS'' の開発者は主に ''Nixpkgs'' で活動しており、ソフトウェアのビルド手順を ''Nix'' 言語を用いてテキストファイルに記述します。変更はレビューののち ''Nixpkgs'' にマージされます。 パッケージのいくつかは ''NixOS'' ユーザーのアップデートに要する時間を削減するために ''Hydra'' によって事前にビルドされます。
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Developers of ''NixOS'' mainly work on ''Nixpkgs''. ''NixOS'' development itself is compromised of three large areas as well as some others which are smaller by volume (but no less important). The major ones include packaging, the module system, and documentation.
</div>
</div>


Line 94: Line 102:
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
{| class="wikitable"
{| class="wikitable"
|+ Various examples of ''NixOS'' development along with links.
|+ <span lang="en" dir="ltr" class="mw-content-ltr">Various examples of ''NixOS'' development along with links.</span>
! Type of development !! Location of Development !! Examples
! <span lang="en" dir="ltr" class="mw-content-ltr">Type of development</span> !! <span lang="en" dir="ltr" class="mw-content-ltr">Location of Development</span> !! <span lang="en" dir="ltr" class="mw-content-ltr">Examples</span>
|-
|-
| Platform Agnostic Packaging || ''Nixpkgs'' || [https://github.com/NixOS/nixpkgs/blob/bf3287dac860542719fe7554e21e686108716879/pkgs/tools/misc/coreutils/default.nix coreutils package], [https://github.com/NixOS/nixpkgs/tree/5fe6820251dfab92c84ff356a7c7c336f8d8490c/pkgs/stdenv ''stdenv'' framework], [https://github.com/NixOS/nixpkgs/blob/5fe6820251dfab92c84ff356a7c7c336f8d8490c/pkgs/applications/office/libreoffice/default.nix Libreoffice package]
| <span lang="en" dir="ltr" class="mw-content-ltr">Platform Agnostic Packaging</span> || ''Nixpkgs'' || <span lang="en" dir="ltr" class="mw-content-ltr">[https://github.com/NixOS/nixpkgs/blob/bf3287dac860542719fe7554e21e686108716879/pkgs/tools/misc/coreutils/default.nix coreutils package], [https://github.com/NixOS/nixpkgs/tree/5fe6820251dfab92c84ff356a7c7c336f8d8490c/pkgs/stdenv ''stdenv'' framework], [https://github.com/NixOS/nixpkgs/blob/5fe6820251dfab92c84ff356a7c7c336f8d8490c/pkgs/applications/office/libreoffice/default.nix Libreoffice package]</span>
|-
|-
| Platform Agnostic Tooling || ''Nixpkgs'' and various repositories || [https://github.com/NixOS/nix upstream/default Nix implementation (CppNix)], [https://github.com/NixOS/hydra ''Hydra'' source code], [https://github.com/NixOS/nixpkgs-merge-bot ''Nixpkgs'' merge bot]
| <span lang="en" dir="ltr" class="mw-content-ltr">Platform Agnostic Tooling</span> || <span lang="en" dir="ltr" class="mw-content-ltr">''Nixpkgs'' and various repositories</span> || <span lang="en" dir="ltr" class="mw-content-ltr">[https://github.com/NixOS/nix upstream/default Nix implementation (CppNix)], [https://github.com/NixOS/hydra ''Hydra'' source code], [https://github.com/NixOS/nixpkgs-merge-bot ''Nixpkgs'' merge bot]</span>
|-
|-
| ''NixOS'' Tooling || mostly ''Nixpkgs'' || [https://github.com/NixOS/nixpkgs/tree/5fe6820251dfab92c84ff356a7c7c336f8d8490c/pkgs/by-name/ni/nixos-rebuild-ng nixos-rebuild-ng source code], [https://github.com/NixOS/nixpkgs/blob/5fe6820251dfab92c84ff356a7c7c336f8d8490c/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix ''NixOS'' Installation ISOs]  
| <span lang="en" dir="ltr" class="mw-content-ltr">''NixOS'' Tooling</span> || <span lang="en" dir="ltr" class="mw-content-ltr">mostly ''Nixpkgs''</span> || <span lang="en" dir="ltr" class="mw-content-ltr">[https://github.com/NixOS/nixpkgs/tree/5fe6820251dfab92c84ff356a7c7c336f8d8490c/pkgs/by-name/ni/nixos-rebuild-ng nixos-rebuild-ng source code], [https://github.com/NixOS/nixpkgs/blob/5fe6820251dfab92c84ff356a7c7c336f8d8490c/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix ''NixOS'' Installation ISOs]</span>
|-
|-
| ''NixOS'' Module System || ''Nixpkgs'' || [https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/display-managers/default.nix Display Manager configuration], [https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/databases/mysql.nix MySQL (and derivative) database configuration]
| <span lang="en" dir="ltr" class="mw-content-ltr">''NixOS'' Module System</span> || ''Nixpkgs'' || <span lang="en" dir="ltr" class="mw-content-ltr">[https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/display-managers/default.nix Display Manager configuration], [https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/databases/mysql.nix MySQL (and derivative) database configuration]</span>
|-
|-
| Infrastructure || || [https://github.com/NixOS/nixos-wiki-infra Infrastructure for this Wiki], [https://github.com/NixOS/infra ''NixOS'' infra]
| <span lang="en" dir="ltr" class="mw-content-ltr">Infrastructure</span> || || <span lang="en" dir="ltr" class="mw-content-ltr">[https://github.com/NixOS/nixos-wiki-infra Infrastructure for this Wiki], [https://github.com/NixOS/infra ''NixOS'' infra]</span>
|-
|-
| Documentation || || [https://wiki.nixos.org This Wiki], [https://github.com/NixOS/nixpkgs/blob/8d92119c540d78599ba208010c722a60958810f4/doc/stdenv/stdenv.chapter.md ''stdenv'' documentation], [https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/configuration/ipv6-config.section.md ''NixOS'' IPv6 configuration] (visible in the [https://nixos.org/manual/nixos/stable/#sec-ipv6 IPv6 section of the ''NixOS'' manual]), [https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md ''Nixpkgs'' Contribution Guidelines]
| <span lang="en" dir="ltr" class="mw-content-ltr">Documentation</span> || || <span lang="en" dir="ltr" class="mw-content-ltr">[https://wiki.nixos.org This Wiki], [https://github.com/NixOS/nixpkgs/blob/8d92119c540d78599ba208010c722a60958810f4/doc/stdenv/stdenv.chapter.md ''stdenv'' documentation], [https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/configuration/ipv6-config.section.md ''NixOS'' IPv6 configuration] (visible in the [https://nixos.org/manual/nixos/stable/#sec-ipv6 IPv6 section of the ''NixOS'' manual]), [https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md ''Nixpkgs'' Contribution Guidelines]</span>
|-
|-
| Tech Organisation || || [https://github.com/NixOS/nixpkgs/issues/390768 ''NixOS'' RelEng], [https://github.com/NixOS/rfcs/ ''Nix'' and ''NixOS'' RFCs]
| <span lang="en" dir="ltr" class="mw-content-ltr">Tech Organisation</span> || || <span lang="en" dir="ltr" class="mw-content-ltr">[https://github.com/NixOS/nixpkgs/issues/390768 ''NixOS'' RelEng], [https://github.com/NixOS/rfcs/ ''Nix'' and ''NixOS'' RFCs]</span>
|-
|-
| Other || || [https://github.com/NixOS/nixos-artwork ''NixOS'' artwork], [https://discourse.nixos.org/ ''NixOS'' (and related) discourse], [https://github.com/NixOS/foundation ''NixOS Foundation'']  
| <span lang="en" dir="ltr" class="mw-content-ltr">Other</span> || || <span lang="en" dir="ltr" class="mw-content-ltr">[https://github.com/NixOS/nixos-artwork ''NixOS'' artwork], [https://discourse.nixos.org/ ''NixOS'' (and related) discourse], [https://github.com/NixOS/foundation ''NixOS Foundation'']</span>
|}
|}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">