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
This commit is contained in:
rockofox
2022-12-22 02:11:42 +01:00
committed by GitHub
parent 313f103e26
commit 7fe7f79904
8 changed files with 124 additions and 7 deletions

View File

@@ -9,7 +9,7 @@
- Run shell command in non-interactive shell and exit:
`nix-shell --run "{{command}} {{command_arguments}}"`
`nix-shell --run "{{command}} {{arg1 arg2 ...}}"`
- Start with expression in `default.nix` in the current directory:
@@ -17,12 +17,12 @@
- Start with packages loaded from nixpkgs:
`nix-shell --packages {{package_name_1}} {{package_name_2}}`
`nix-shell --packages {{package_name_1 package_name_2 ...}}`
- Start with packages loaded from specific nixpkgs revision:
`nix-shell --packages {{package_names}} -I nixpkgs={{https://github.com/NixOS/nixpkgs/archive/nixpkgs_revision.tar.gz}}`
`nix-shell --packages {{package_name_1 package_name_2 ...}} -I nixpkgs={{https://github.com/NixOS/nixpkgs/archive/nixpkgs_revision.tar.gz}}`
- Evaluate rest of file in specific interpreter, for use in `#!-scripts` (see <https://nixos.org/manual/nix/stable/#use-as-a-interpreter>):
`nix-shell -i {{interpreter}} --packages {{package_names}}`
`nix-shell -i {{interpreter}} --packages {{package_name_1 package_name_2 ...}}`