pages/*, style-guide: update contents, fix Markdown (#10492)

* pages/*, style-guide: update pages, fix Markdown (commit 1)

* Update pages

* style-guide.de: update page

* Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* pip3: remove search command

* rpm: update path placeholder

Co-authored-by: pixel <pixel+github@chrissx.de>

* Update pages/linux/pkgfile.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: pixel <pixel+github@chrissx.de>
This commit is contained in:
K.B.Dharun Krishna
2023-08-26 23:00:06 +05:30
committed by GitHub
parent 587d8443d8
commit 2135714193
83 changed files with 232 additions and 222 deletions

View File

@@ -10,7 +10,7 @@
- Run shell command in non-interactive shell and exit:
`nix-shell --run "{{command}} {{arg1 arg2 ...}}"`
`nix-shell --run "{{command}} {{argument1 argument2 ...}}"`
- Start with expression in `default.nix` in the current directory:
@@ -18,12 +18,12 @@
- Start with packages loaded from nixpkgs:
`nix-shell --packages {{package_name_1 package_name_2 ...}}`
`nix-shell --packages {{package1 package2 ...}}`
- Start with packages loaded from specific nixpkgs revision:
`nix-shell --packages {{package_name_1 package_name_2 ...}} -I nixpkgs={{https://github.com/NixOS/nixpkgs/archive/nixpkgs_revision.tar.gz}}`
`nix-shell --packages {{package1 package2 ...}} -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_name_1 package_name_2 ...}}`
`nix-shell -i {{interpreter}} --packages {{package1 package2 ...}}`