mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-01-09 07:17:28 +08:00
initial commit
This commit is contained in:
parent
0ba023597a
commit
48ab38febf
1 changed files with 12 additions and 0 deletions
12
source/shebangs/bash-with-nix-pkg/main.adoc0
Normal file
12
source/shebangs/bash-with-nix-pkg/main.adoc0
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
= A Bash script depending on a package in the nixpkgs repo.
|
||||
|
||||
[source,bash,linenums]
|
||||
.Script
|
||||
....
|
||||
include::my-script.sh[]
|
||||
....
|
||||
|
||||
.Output
|
||||
....
|
||||
$# ./my-script.sh
|
||||
....
|
||||
Loading…
Add table
Add a link
Reference in a new issue