1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-22 02:44:09 +02:00
tldr/pages.de/common/nix-shell.md
K.B.Dharun Krishna 8538a31451
pages/*: add standard translation and links (#11331)
* pages/*: add standard translation and links

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* fix1: false positives; standardize Bengali, Hindi, Nepali periods

* fix: periods in recently added Bengali pages

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* fix: false positives in modified files

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup: update to native period in Bengali l10n

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-06 14:02:31 +05:30

28 lines
1 KiB
Markdown

# nix-shell
> Startet eine interaktive Shell, die auf einem Nix-Ausdruck basiert.
> Weitere Informationen: <https://nixos.org/manual/nix/stable/command-ref/nix-shell.html>.
- Starte mit Nix-Ausdruck in `shell.nix` oder `default.nix` im aktuellen Verzeichnis:
`nix-shell`
- Führe Shell-Befehl in nicht-interaktiver Shell aus und beende:
`nix-shell --run "{{befehl}} {{argument1 argument2 ...}}"`
- Starte mit Ausdruck in `default.nix` im aktuellen Verzeichnis:
`nix-shell {{default.nix}}`
- Starte mit aus nixpkgs geladenen Paketen:
`nix-shell --packages {{paket_name_1 paket_name_2 ...}}`
- Starte mit Paketen, die aus einer bestimmten Nixpkgs-Revision geladen wurden:
`nix-shell --packages {{paket_name_1 paket_name_2 ...}} -I nixpkgs={{https://github.com/NixOS/nixpkgs/archive/nixpkgs_revision.tar.gz}}`
- Führe den Rest der Datei mit einem bestimmten Interpreter aus, zur Verwendung in `#!-scripts` (siehe <https://nixos.org/manual/nix/stable/#use-as-a-interpreter>):
`nix-shell -i {{interpreter}} --packages {{paket_name_1 paket_name_2 ...}}`