docs: Replace NixOS prereqs instructions with link to NixOS wiki. (#3458)

Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
This commit is contained in:
Fabian-Lars
2025-08-18 11:38:24 +02:00
committed by GitHub
parent 6d19b6fce9
commit 3cdc384e76
5 changed files with 5 additions and 165 deletions

View File

@@ -122,41 +122,9 @@ sudo apk add \
<TabItem label="NixOS">
:::note
Esto también instalará Rust y Node.js, además de la CLI de `cargo-tauri` por ti, por lo que puedes omitir esos pasos a continuación.
Las instrucciones para Nix/NixOS pueden ser encontradas en [NixOS Wiki](https://wiki.nixos.org/wiki/Tauri).
:::
Using `nix-shell`:
```nix
let
pkgs = import <nixpkgs> { };
in
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
pkg-config
gobject-introspection
cargo
cargo-tauri
nodejs
];
buildInputs = with pkgs;[
at-spi2-atk
atkmm
cairo
gdk-pixbuf
glib
gtk3
harfbuzz
librsvg
libsoup_3
pango
webkitgtk_4_1
openssl
];
}
```
</TabItem>
</Tabs>

View File

@@ -122,41 +122,9 @@ sudo apk add \
<TabItem label="NixOS">
:::note
Cela installera également Rust et Node.js ainsi que le CLI `cargo-tauri` pour vous, vous pouvez donc sauter ces étapes ci-dessous.
Les instructions pour Nix/NixOS peuvent être trouvées dans le [NixOS Wiki](https://wiki.nixos.org/wiki/Tauri).
:::
Using `nix-shell`:
```nix
let
pkgs = import <nixpkgs> { };
in
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
pkg-config
gobject-introspection
cargo
cargo-tauri
nodejs
];
buildInputs = with pkgs;[
at-spi2-atk
atkmm
cairo
gdk-pixbuf
glib
gtk3
harfbuzz
librsvg
libsoup_3
pango
webkitgtk_4_1
openssl
];
}
```
</TabItem>
</Tabs>

View File

@@ -121,41 +121,9 @@ sudo apk add \
<TabItem label="NixOS">
:::note
この処理では、Rust と Node.js および「`cargo-tauri`」コマンドライン・インターフェースCLI のインストールも同時に行なわれますので、以下の作業ステップを省略できます。
Instructions for Nix/NixOS can be found in the [NixOS Wiki](https://wiki.nixos.org/wiki/Tauri).
:::
Using `nix-shell`:
```nix
let
pkgs = import <nixpkgs> { };
in
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
pkg-config
gobject-introspection
cargo
cargo-tauri
nodejs
];
buildInputs = with pkgs;[
at-spi2-atk
atkmm
cairo
gdk-pixbuf
glib
gtk3
harfbuzz
librsvg
libsoup_3
pango
webkitgtk_4_1
openssl
];
}
```
</TabItem>
</Tabs>

View File

@@ -119,41 +119,9 @@ sudo apk add \
<TabItem label="NixOS">
:::note
This will also install Rust and Node.js as well as the `cargo-tauri` CLI for you, so you can skip those steps below.
Instructions for Nix/NixOS can be found in the [NixOS Wiki](https://wiki.nixos.org/wiki/Tauri).
:::
Using `nix-shell`:
```nix
let
pkgs = import <nixpkgs> { };
in
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
pkg-config
gobject-introspection
cargo
cargo-tauri
nodejs
];
buildInputs = with pkgs;[
at-spi2-atk
atkmm
cairo
gdk-pixbuf
glib
gtk3
harfbuzz
librsvg
libsoup_3
pango
webkitgtk_4_1
openssl
];
}
```
</TabItem>
</Tabs>

View File

@@ -117,41 +117,9 @@ sudo apk add \
<TabItem label="NixOS">
:::note
这也会为你安装 Rust 和 Node.js 以及 `cargo-tauri` CLI因此你可以跳过下面的步骤。
Instructions for Nix/NixOS can be found in the [NixOS Wiki](https://wiki.nixos.org/wiki/Tauri).
:::
使用 `nix-shell`
```nix
let
pkgs = import <nixpkgs> { };
in
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
pkg-config
gobject-introspection
cargo
cargo-tauri
nodejs
];
buildInputs = with pkgs;[
at-spi2-atk
atkmm
cairo
gdk-pixbuf
glib
gtk3
harfbuzz
librsvg
libsoup_3
pango
webkitgtk_4_1
openssl
];
}
```
</TabItem>
</Tabs>