aboutsummaryrefslogtreecommitdiff
path: root/_pastebins/guix-shebang.md
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-02-14 22:27:01 -0300
committerEuAndreh <eu@euandre.org>2020-02-14 22:27:01 -0300
commit408f77cfc59849afe95bdf3b4ec0ff0bd6fc8486 (patch)
treeaa992858134d132a6fb2dc4b1a8c7c6c171f66ca /_pastebins/guix-shebang.md
parenthtml tidy wip (diff)
parent.build.yml: Don't publish when not on master branch (diff)
downloadeuandre.org-408f77cfc59849afe95bdf3b4ec0ff0bd6fc8486.tar.gz
euandre.org-408f77cfc59849afe95bdf3b4ec0ff0bd6fc8486.tar.xz
Merge branch 'master' into tidy
Diffstat (limited to '_pastebins/guix-shebang.md')
-rw-r--r--_pastebins/guix-shebang.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/_pastebins/guix-shebang.md b/_pastebins/guix-shebang.md
new file mode 100644
index 0000000..626aea8
--- /dev/null
+++ b/_pastebins/guix-shebang.md
@@ -0,0 +1,14 @@
+---
+title: Guix shebang
+date: 2020-02-14
+layout: pastebin
+lang: en
+---
+
+```shell
+#!/usr/bin/env -S guix environment --ad-hoc bash -- bash
+set -Eeuo pipefail
+cd "$(dirname "${BASH_SOURCE[0]}")"
+
+pwd
+```