Skip to content

Instantly share code, notes, and snippets.

@tarsius
Created December 3, 2023 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tarsius/509e9c65c9df1bc243d77cd968d60daa to your computer and use it in GitHub Desktop.
Save tarsius/509e9c65c9df1bc243d77cd968d60daa to your computer and use it in GitHub Desktop.
Start hyper-gateway with guix
#!/usr/bin/env bash
BASE=~/src/ushin
GATE=$BASE/hyper-gateway/dist
DATA=$BASE/test-data/gateway
guix shell --container --emulate-fhs --network \
--expression='(list (@@ (gnu packages gcc) gcc) "lib")' \
--no-cwd --expose=$GATE --share=$DATA \
-- $GATE/hyper-gateway-linux \
run --writable --persist --storage-location $DATA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment