From 78bf995193a98fc341b68ba19c47000ae6f997c8 Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Sat, 31 Jul 2021 20:02:21 +0900 Subject: Add `before` script. --- before | 11 +++++++++++ cfg/before | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100755 before create mode 100755 cfg/before diff --git a/before b/before new file mode 100755 index 0000000..374ddd4 --- /dev/null +++ b/before @@ -0,0 +1,11 @@ +#!/bin/sh +set -eu + +PATH="${PATH}:/run/current-system/profile/bin:/run/current-system/profile/sbin" + +GUIX_PROFILE="/var/lib/laminar/.config/guix/current" +. "$GUIX_PROFILE/etc/profile" + +env | while read kv; do + laminarc set "$kv" +done diff --git a/cfg/before b/cfg/before new file mode 100755 index 0000000..374ddd4 --- /dev/null +++ b/cfg/before @@ -0,0 +1,11 @@ +#!/bin/sh +set -eu + +PATH="${PATH}:/run/current-system/profile/bin:/run/current-system/profile/sbin" + +GUIX_PROFILE="/var/lib/laminar/.config/guix/current" +. "$GUIX_PROFILE/etc/profile" + +env | while read kv; do + laminarc set "$kv" +done -- cgit v1.2.3