Skip to content

Instantly share code, notes, and snippets.

@tarsius
Created December 3, 2023 20:15
Show Gist options
  • Select an option

  • Save tarsius/509e9c65c9df1bc243d77cd968d60daa to your computer and use it in GitHub Desktop.

Select an option

Save tarsius/509e9c65c9df1bc243d77cd968d60daa to your computer and use it in GitHub Desktop.

Revisions

  1. tarsius created this gist Dec 3, 2023.
    11 changes: 11 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    #!/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