summaryrefslogtreecommitdiff
path: root/src/content/en/pastebin/2020/02/14/guix-shebang.adoc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-04-30 06:23:27 -0300
committerEuAndreh <eu@euandre.org>2025-04-30 06:33:36 -0300
commit61ffa8466bbfa4ca8b13b442a3bd63ef9504a6da (patch)
treefc3c799bece509682b712f6e42e2816059c83c7a /src/content/en/pastebin/2020/02/14/guix-shebang.adoc
parentMakefile: No need to remove non-generated *.mo files (diff)
downloadeuandre.org-61ffa8466bbfa4ca8b13b442a3bd63ef9504a6da.tar.gz
euandre.org-61ffa8466bbfa4ca8b13b442a3bd63ef9504a6da.tar.xz
src/content/en/: Unpluralize collection names
Diffstat (limited to 'src/content/en/pastebin/2020/02/14/guix-shebang.adoc')
-rw-r--r--src/content/en/pastebin/2020/02/14/guix-shebang.adoc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/content/en/pastebin/2020/02/14/guix-shebang.adoc b/src/content/en/pastebin/2020/02/14/guix-shebang.adoc
new file mode 100644
index 0000000..d415d36
--- /dev/null
+++ b/src/content/en/pastebin/2020/02/14/guix-shebang.adoc
@@ -0,0 +1,11 @@
+= Guix shebang
+:categories: guix
+
+[source,sh]
+----
+#!/usr/bin/env -S guix environment --ad-hoc bash -- bash
+set -Eeuo pipefail
+cd "$(dirname "${BASH_SOURCE[0]}")"
+
+pwd
+----