aboutsummaryrefslogtreecommitdiff
path: root/src/content/pastebins/2020/02
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/pastebins/2020/02')
-rw-r--r--src/content/pastebins/2020/02/14/guix-shebang.adoc23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/content/pastebins/2020/02/14/guix-shebang.adoc b/src/content/pastebins/2020/02/14/guix-shebang.adoc
new file mode 100644
index 0000000..67d504d
--- /dev/null
+++ b/src/content/pastebins/2020/02/14/guix-shebang.adoc
@@ -0,0 +1,23 @@
+---
+
+title: Guix shebang
+
+date: 2020-02-14
+
+layout: post
+
+lang: en
+
+eu_categories: guix
+
+ref: guix-shebang
+
+---
+
+```shell
+#!/usr/bin/env -S guix environment --ad-hoc bash -- bash
+set -Eeuo pipefail
+cd "$(dirname "${BASH_SOURCE[0]}")"
+
+pwd
+```