diff options
Diffstat (limited to 'v2/src/content/en/pastebin')
-rw-r--r-- | v2/src/content/en/pastebin/guix-shebang.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/v2/src/content/en/pastebin/guix-shebang.md b/v2/src/content/en/pastebin/guix-shebang.md new file mode 100644 index 0000000..5be9ada --- /dev/null +++ b/v2/src/content/en/pastebin/guix-shebang.md @@ -0,0 +1,15 @@ +--- + +title: Guix shebang + +date: 2020-02-14 + +--- + +```shell +#!/usr/bin/env -S guix environment --ad-hoc bash -- bash +set -Eeuo pipefail +cd "$(dirname "${BASH_SOURCE[0]}")" + +pwd +``` |