Skip to content

Instantly share code, notes, and snippets.

@rfb
Created September 23, 2024 15:13
Show Gist options
  • Save rfb/ed141d99d864017c31cc17026dbfeeb8 to your computer and use it in GitHub Desktop.
Save rfb/ed141d99d864017c31cc17026dbfeeb8 to your computer and use it in GitHub Desktop.
guix environment for launching qcad
(specifications->manifest
'( ;; Library Dependencies
"libsm"
"grep"
"bash-minimal"
"coreutils"
"gcc-toolchain"
"glib"
"gtk+"
))

Extract qcad tarball, add guix.scm - this command should do it!

  guix shell --container \
             --emulate-fhs \
             --network \
             --share=/tmp \
             --share=/run \
             --preserve="XAUTHORITY" \
             --preserve='^DISPLAY$' \
             -m guix.scm -- ./qcad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment