Alex Griffin
c8112f3bd9
system: images: Add wsl2 module.
...
* gnu/system/images/wsl2.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi ("System Images"): Document it.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-24 14:49:09 +02:00
Alex Griffin
233cf9f036
system: image: Add wsl2 support.
...
* gnu/image.scm (<image>)[format]: Add wsl2 support.
* gnu/system/image.scm (wsl2-image, wsl2-image-type): New variables.
(image->root-file-system): Add wsl2 image support.
(system-image): Ditto.
2022-09-24 14:49:09 +02:00
Alex Griffin
8757c3f293
system: image: Add tarball support.
...
* gnu/image.scm (<image>)[fields]: Add tarball to the supported formats.
* gnu/system/image.scm (tarball-image, tarball-image-type): New variables.
(system-tarball-image): New procedure.
(image->root-file-system): Add tarball image support.
(system-image): Ditto.
* doc/guix.texi ("System Images"): Document it.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-24 14:49:09 +02:00
Mathieu Othacehe
ebe9d660a5
gnu: Add compression module.
...
Move the compression record to a dedicated module so that it can be used
outside (guix scripts pack) module.
* guix/scripts/pack.scm (<compressor>, %compressors, lookup-compressor): Move
it to ...
* gnu/compression.scm: ... this new file.
* gnu/ci.scm: Adapt it.
* local.mk (GNU_SYSTEM_MODULES): Add it.
2022-09-24 14:49:09 +02:00
Mathieu Othacehe
a13f5ead02
doc: Add a "System Images" chapter.
...
* doc/guix.texi ("System Images"): New chapter.
2022-09-24 14:49:09 +02:00
Mathieu Othacehe
61bf25bb4e
doc: Add a "Platforms" chapter.
...
* doc/guix.texi ("Platforms"): New chapter.
("Porting"): Link it.
2022-09-24 14:49:08 +02:00
Mathieu Othacehe
08a7eb187f
platforms: x86: Rename Hurd hurd to i586-gnu.
...
* guix/platforms/x86.scm (hurd): Rename it to ...
(i586-gnu): ... this variable.
* gnu/system/images/hurd.scm (hurd-disk-image, hurd-barebones-disk-image,
hurd-barebones-qcow2-image): Adapt those.
2022-09-24 14:49:07 +02:00
Mathieu Othacehe
c009c286a2
image: Make the operating-system field mandatory.
...
Make the operating-system field mandatory as creating an image without it
makes no sense. Introduce a new macro, image-without-os for the specific cases
where the image is only created to be inherited from afterwards.
* gnu/image.scm (<image>)[operating-system]: Make it mandatory.
* gnu/system/image.scm (image-without-os): New macro.
(efi-disk-image, efi32-disk-image, iso9660-image, docker-image,
raw-with-offset-disk-image): Use it.
* gnu/system/images/hurd.scm (hurd-disk-image): Ditto.
2022-09-24 14:20:36 +02:00
Mathieu Othacehe
f38e91a84c
installer: tests: Fix typo.
...
* gnu/installer/tests.scm (edit-configuration-file): Fix it.
2022-09-24 14:15:47 +02:00
Lars-Dominik Braun
dc7191302e
Revert "gnu: samba: Add avahi to inputs."
...
This reverts commit 4cbc162296
.
samba/fixed inherits from samba, which causes ~9000 rebuilds.
2022-09-24 13:15:42 +02:00
Mathieu Othacehe
fe4663ae24
installer: Fix configuration edition during testing.
...
When the configuration is edited, it looks like there are some leftover
fragments from the input configuration:
Example content of config.scm after edition:
#:imported-modules
'((gnu services herd)
(guix build utils)
(guix combinators)))
unted". The unique
;; file system identifiers there ("UUIDs") can be obtained
;; by running 'blkid' in a terminal.
...
This is strange because call-with-output-file uses the O_TRUNC flag which
resets the file size to zero. Remove the configuration file before writing it
as a work-around.
* gnu/installer/tests.scm (edit-configuration-file): Remove the configuration
file before re-writing it.
2022-09-24 12:48:16 +02:00
Simon Streit
e1ce100915
services: Add wsdd service.
...
* doc/guix.texi: Add documentation for wsdd service.
* gnu/services/samba.scm (<wsdd-configuration>): New record.
(wsdd-service-type): New variable.
(wsdd-shepherd-services): New procedure.
* gnu/tests/samba.scm (%wsdd-os): Add variable.
(run-wsdd-test): New procedure.
(%test-wsdd): New variable.
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-09-24 09:41:24 +02:00
Simon Streit
14359befa9
gnu: Add wsdd.
...
* gnu/packages/samba.scm (wsdd): New variable.
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-09-24 09:41:24 +02:00
Simon Streit
d68721c55a
services: Add samba service.
...
* gnu/services/samba.scm: New file.
* gnu/tests/samba.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add them.
* po/guix/POTFILES.in Add 'gnu/services/samba.scm'.
* doc/guix.texi: Document it.
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-09-24 09:38:57 +02:00
Simon Streit
4cbc162296
gnu: samba: Add avahi to inputs.
...
* gnu/packages/samba.scm (samba) <inputs>: Add avahi.
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-09-24 09:38:57 +02:00
Liliana Marie Prikler
a5c876cdb2
gnu: emacs-jsonrpc: Correct URL.
...
* gnu/packages/emacs-xyz.scm (emacs-jsonrpc)[source]<url>: Drop trailing slash.
2022-09-24 06:53:37 +02:00
Fredrik Salomonsson
ff643b077c
gnu: emacs-jsonrpc: Correct hash.
...
* gnu/packages/emacs-xyz.scm (emacs-jsonrpc)[source]: Correct hash.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-24 06:50:04 +02:00
Maxim Cournoyer
35e8615d38
Revert "tests: telephony: Add extra packages to %jami-os for debugging."
...
This reverts commit 829c19142e
, as it broke
'guix pull'.
2022-09-24 00:22:19 -04:00
Maxim Cournoyer
fd109c5c09
tests: jami-provisioning: Fix test derivation name.
...
* gnu/tests/telephony.scm (run-jami-test): Fix test derivation name.
2022-09-23 23:56:16 -04:00
Maxim Cournoyer
effdc6c83e
services: jami-service-type: Streamline stop slot.
...
* gnu/services/telephony.scm (jami-shepherd-services)
[stop]: Use make-kill-destructor with SIGKILL. Add comment.
2022-09-23 23:56:16 -04:00
Maxim Cournoyer
829c19142e
tests: telephony: Add extra packages to %jami-os for debugging.
...
* gnu/tests/telephony.scm (make-jami-os): Add libjami:debug, gdb, guile,
guile-ac-d-bus, guile-readline, guile-fibers, screen and strace.
(run-jami-test)<jami service actions, ban/unban contacts>: Add (ice-9 match),
for lambda-match (worked without it but needed when manually testing).
2022-09-23 23:56:15 -04:00
Maxim Cournoyer
21afbf54cd
build: jami-service: account->username always return a fingerprint.
...
This change is motivated by the fact that Account.registeredName is a volatile
account data, not exported along the account and retrieved from the name
server. Have it always return Account.username instead, so that the result is
reproducible independent of whether networking is available or not.
* gnu/build/jami-service.scm (account->username): Always return the account
fingerprint. Adjust doc.
(id->username): Likewise.
2022-09-23 23:56:15 -04:00
Maxim Cournoyer
c50231cfcb
gnu: ffmpeg-jami: Update to 5.0.1 and enable tests.
...
* gnu/packages/jami.scm (ffmpeg-jami): Update to 5.0.1.
[tests?]: Delete argument.
[phases]{disable-problematic-tests}: New phase.
2022-09-23 23:56:15 -04:00
Maxim Cournoyer
c8ab64b2df
gnu: pjproject-jami: Update to 2.12-0.5e478bb.
...
* gnu/packages/jami.scm (pjproject-jami): Update to 2.12-0.5e478bb.
2022-09-23 23:56:15 -04:00
Maxim Cournoyer
84369105d4
gnu: jami: Update to 20220825.0828.c10f01f.
...
* gnu/packages/jami.scm (jami): Update to 20220825.0828.c10f01f.
(%jami-version): Set to latest release.
(%jami-sources): Remove jami-fix-esc-bug.patch; add
jami-fix-crash-on-block-contact.patch.
* gnu/packages/patches/jami-fix-esc-bug.patch: Delete file.
* gnu/packages/patches/jami-fix-crash-on-block-contact.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-09-23 23:56:15 -04:00
Maxim Cournoyer
503cfd5421
gnu: pjproject: Update to 2.12.1.
...
* gnu/packages/telephony.scm (pjproject): Update to 2.12.1.
[source]: Delete patches field.
[arguments]: Use gexps.
* gnu/packages/patches/pjproject-install-libpjsua2.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
2022-09-23 23:56:14 -04:00
Nicolas Graves
dab3800691
gnu: Add emacs-org-babel-eval-in-repl.
...
* gnu/packages/emacs-xyz.scm (emacs-org-babel-eval-in-repl): New variable.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-24 01:49:55 +02:00
Nicolas Graves
7b1d02247b
gnu: Add emacs-ob-elm.
...
* gnu/packages/emacs-xyz.scm (emacs-ob-elm): New variable.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-24 01:49:54 +02:00
Nicolas Graves
0b120ad5f8
gnu: Add emacs-eval-in-repl packages.
...
* gnu/packages/emacs-xyz.scm (make-emacs-eval-in-repl)
(emacs-eval-in-repl-cider, emacs-eval-in-repl-elm, emacs-eval-in-repl-erlang)
(emacs-eval-in-repl-geiser, emacs-eval-in-repl-hy, emacs-eval-in-repl-ielm)
(emacs-eval-in-repl-iex, emacs-eval-in-repl-javascript)
(emacs-eval-in-repl-lua, emacs-eval-in-repl-ocaml, emacs-eval-in-repl-prolog)
(emacs-eval-in-repl-python, emacs-eval-in-repl-racket)
(emacs-eval-in-repl-shell, emacs-eval-in-repl-slime, emacs-eval-in-repl-sly)
(emacs-eval-in-repl-sml): New variables.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-24 01:46:34 +02:00
Nicolas Graves
7a4465473e
gnu: Add emacs-alchemist.
...
* gnu/packages/emacs-xyz.scm (emacs-alchemist): New variable.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-24 01:46:34 +02:00
Nicolas Graves
10420af4b1
gnu: Add emacs-js-comint.
...
* gnu/packages/emacs-xyz.scm (emacs-js-comint): New variable.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-24 01:46:34 +02:00
Nicolas Graves
63ba25cf67
gnu: Add emacs-eval-in-repl.
...
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl): New variable.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-24 01:16:55 +02:00
Fredrik Salomonsson
08d5152332
gnu: emacs-jsonrpc: Use upstream source.
...
* gnu/packages/emacs-xyz.scm (emacs-jsonrpc)[version]: Use git-version.
[source]: Use Emacs' git repository.
[arguments]: Replace ‘unpack’ phase to only unpack jsonrpc.el.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-23 18:18:29 +02:00
Maxim Cournoyer
a57c4eff6b
Update NEWS.
2022-09-23 00:50:17 -04:00
Maxim Cournoyer
46fee48d5c
services: configuration: Fix typo.
...
* gnu/services/configuration.scm (interpose): Fix typo in doc.
(text-config?): Add a newline following definition.
2022-09-23 00:50:12 -04:00
Ricardo Wurmus
cbe8391d7c
gnu: Add mudskipper.
...
* gnu/packages/bioinformatics.scm (mudskipper): New variable.
2022-09-23 00:21:40 +02:00
Ricardo Wurmus
2eb7061aa2
gnu: Add rust-libradicl-0.4.
...
* gnu/packages/crates-io.scm (rust-libradicl-0.4): New variable.
2022-09-23 00:21:40 +02:00
Ricardo Wurmus
dbf54f43c4
gnu: Add rust-rust-htslib-0.38.
...
* gnu/packages/crates-io.scm (rust-rust-htslib-0.38): New variable.
2022-09-23 00:21:40 +02:00
Ricardo Wurmus
3a3eb0b155
gnu: Add rust-hts-sys-2.
...
* gnu/packages/crates-io.scm (rust-hts-sys-2): New variable.
2022-09-23 00:21:40 +02:00
Ricardo Wurmus
9365a18385
gnu: Add rust-needletail-0.4.
...
* gnu/packages/crates-io.scm (rust-needletail-0.4): New variable.
2022-09-23 00:21:40 +02:00
Ricardo Wurmus
090fa61951
gnu: Add rust-sce-0.1.
...
* gnu/packages/crates-io.scm (rust-sce-0.1): New variable.
2022-09-23 00:21:40 +02:00
Ricardo Wurmus
93e23c6b26
gnu: Add rust-coitrees-0.2.
...
* gnu/packages/crates-io.scm (rust-coitrees-0.2): New variable.
2022-09-23 00:21:40 +02:00
Ricardo Wurmus
4e38e11a0b
gnu: Add rust-executors-0.9.
...
* gnu/packages/crates-io.scm (rust-executors-0.9): New variable.
2022-09-23 00:21:39 +02:00
Ricardo Wurmus
4ded080b51
gnu: rust-obj-0.10: Disable tests.
...
* gnu/packages/crates-io.scm (rust-obj-0.10)[arguments]: Disable tests.
2022-09-23 00:21:39 +02:00
Ricardo Wurmus
309b013c41
gnu: rust-glium-0.31: Add missing development inputs.
...
* gnu/packages/crates-io.scm (rust-glium-0.31)[arguments]: Add rust-cgmath,
rust-genmesh, rust-obj, and rust-ouroboros.
2022-09-23 00:21:39 +02:00
Ricardo Wurmus
4ce25a6158
gnu: Add rust-obj-0.10.
...
* gnu/packages/crates-io.scm (rust-obj-0.10): New variable.
2022-09-23 00:21:39 +02:00
Ricardo Wurmus
646686f66c
gnu: rust-winit-0.24: Add missing development inputs.
...
* gnu/packages/crates-graphics.scm (rust-winit-0.24)[arguments]: Add
rust-console-log and rust-simple-logger to cargo-development-inputs.
2022-09-23 00:21:39 +02:00
Ricardo Wurmus
ecac40cf32
gnu: rust-winit: Add missing development inputs.
...
* gnu/packages/crates-graphics.scm (rust-winit)[arguments]: Add
rust-console-log and rust-simple-logger to cargo-development-inputs.
2022-09-23 00:21:39 +02:00
Ricardo Wurmus
4b01a19a52
gnu: Add rust-console-log-0.2.
...
* gnu/packages/crates-io.scm (rust-console-log-0.2): New variable.
2022-09-23 00:21:39 +02:00
Ricardo Wurmus
78c318636e
gnu: rust-mint-0.5: Update to 0.5.9.
...
* gnu/packages/crates-io.scm (rust-mint-0.5): Update to 0.5.9.
[arguments]: Add rust-serde-1 to cargo-inputs; add rust-serde-json-1 to
cargo-development-inputs.
2022-09-23 00:21:39 +02:00