diff options
Diffstat (limited to '_pastebins/2020-02-14-guix-shebang.md')
-rw-r--r-- | _pastebins/2020-02-14-guix-shebang.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/_pastebins/2020-02-14-guix-shebang.md b/_pastebins/2020-02-14-guix-shebang.md new file mode 100644 index 0000000..626aea8 --- /dev/null +++ b/_pastebins/2020-02-14-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 +``` |