doc/builders/packages/xorg: Use ShellSession for shell.
I was worried, but the HTML output can still be copy-and-pasted, so it's not a problem.
This commit is contained in:
parent
65fe2546b7
commit
874e3587ee
@ -6,7 +6,7 @@ The Nix expressions for the X.org packages reside in `pkgs/servers/x11/xorg/defa
|
|||||||
|
|
||||||
X.org upstream releases used to include [katamari](https://en.wiktionary.org/wiki/%E3%81%8B%E3%81%9F%E3%81%BE%E3%82%8A) releases, which included a holistic recommended version for each tarball, up until 7.7. To create a list of tarballs in a katamari release:
|
X.org upstream releases used to include [katamari](https://en.wiktionary.org/wiki/%E3%81%8B%E3%81%9F%E3%81%BE%E3%82%8A) releases, which included a holistic recommended version for each tarball, up until 7.7. To create a list of tarballs in a katamari release:
|
||||||
|
|
||||||
```sh
|
```ShellSession
|
||||||
export release="X11R7.7"
|
export release="X11R7.7"
|
||||||
export url="mirror://xorg/$release/src/everything/"
|
export url="mirror://xorg/$release/src/everything/"
|
||||||
cat $(PRINT_PATH=1 nix-prefetch-url $url | tail -n 1) \
|
cat $(PRINT_PATH=1 nix-prefetch-url $url | tail -n 1) \
|
||||||
@ -22,7 +22,7 @@ The upstream release process for [X11R7.8](https://x.org/wiki/Releases/7.8/) doe
|
|||||||
|
|
||||||
The generator is invoked as follows:
|
The generator is invoked as follows:
|
||||||
|
|
||||||
```sh
|
```ShellSession
|
||||||
cd pkgs/servers/x11/xorg
|
cd pkgs/servers/x11/xorg
|
||||||
<tarballs.list perl ./generate-expr-from-tarballs.pl
|
<tarballs.list perl ./generate-expr-from-tarballs.pl
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user