GUIX/GUIX System on Lima #1264
msgilligan
started this conversation in
General
Replies: 1 comment 4 replies
-
Then it can be used with a
For instance, download the internet and say hello:
anders@lima-guix:~$ guix install hello
guix install: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.
The following package will be installed:
hello 2.10
...
anders@lima-guix:~$ hello
Hello, world!
anders@lima-guix:~$ guix size hello
store item total self
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31 38.4 36.7 51.6%
/gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib 71.0 32.6 45.8%
/gnu/store/mmhimfwmmidf09jw1plw3aw1g1zn2nkh-bash-static-5.0.16 1.6 1.6 2.3%
/gnu/store/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10 71.2 0.2 0.3%
total: 71.2 MiB
anders@lima-guix:~$ guix --version
guix (GNU Guix) 1.2.0
Copyright (C) 2020 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. In order for "GUIX System" to work with Lima, it needs Lima uses this, along with some custom scripts for Ubuntu / Alpine, See this related discussion, about starting up NixOS with cloud-init: Creating a GUIX "docker" container image would be another approach. Then you could run that with |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am successfully running the GUIX package manger in a Debian 11 VM installed with Lima. The GUIX project produces both a package manger that works on existing Linux systems and also the GUIX System which is a complete Linux distribution.
I would like to install the complete GUIX System in a macOS VM using Lima. I've done some preliminary research and found the well-written article Guix System (GuixSD) VM on an M1 Mac which is really close to what I think I need. Along with its preceding article describes a process that can be summarized as:
libvirt
.guix system image
scp
the image back to macOS and further process withqemu-img
libvirt
.I'd like to replicate that procedure but with the following changes:
libvirt
for managing the macOS vmsDoes anyone have any suggestions for me? Does the linked article and the 5 steps above look like the best approach?
Beta Was this translation helpful? Give feedback.
All reactions