1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-07 08:46:01 +02:00
tldr/pages.de/common/nix-shell.md
rockofox 7fe7f79904
nix, nix-build, nix-env, nix-collect-garbage, nix-shell: add German translation (#9365)
* nix, nix-build, nix-env, nix-collect-garbage, nix-shell: add German translation

* nix, nix-build, nix-env, nix-collect-garbage, nix-shell: apply suggestions from code review

* nix, nix-build, nix-env, nix-collect-garbage, nix-shell: Applied changes
from German code review to originals

* Update pages.de/common/nix-collect-garbage.md
2022-12-22 11:11:42 +10:00

1 KiB

nix-shell

Startet eine interaktive Shell, die auf einem Nix-Ausdruck basiert. Weitere Informationen: https://nixos.org/manual/nix/stable/#sec-nix-shell.

  • Start mit Nix-Ausdruck in shell.nix oder default.nix im aktuellen Verzeichnis:

nix-shell

  • Shell-Befehl in nicht-interaktiver Shell ausführen und beenden:

nix-shell --run "{{befehl}} {{arg1 arg2 ...}}"

  • Start mit Ausdruck in default.nix im aktuellen Verzeichnis:

nix-shell {{default.nix}}

  • Start mit aus nixpkgs geladenen Paketen:

nix-shell --packages {{paket_name_1 paket_name_2 ...}}

  • Start 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}}

nix-shell -i {{interpreter}} --packages {{paket_name_1 paket_name_2 ...}}