me
/
guix
Archived
1
0
Fork 0
Commit Graph

135027 Commits (f1ed3d4699a726cd13985afa32b9c97e72505970)

Author SHA1 Message Date
Ludovic Courtès 6062339156
mapped-devices: <mapped-device-type> can specify modules to import.
* gnu/system/mapped-devices.scm (<mapped-device-type>)[modules]: New
field.
(device-mapping-service-type): Honor it.
* gnu/system/linux-initrd.scm (raw-initrd): Likewise.

Change-Id: Icc702cb6f281741975e33203f87fbc1ffa9856da
2024-04-08 00:13:25 +02:00
Ludovic Courtès b30b838d50
gexp: Add #:guile parameter to ‘gexp->file’ and ‘scheme-file’.
This brings ‘gexp->file’ in line with its documentation and mirrors
what’s done for ‘gexp->script’ and ‘program-file’.

Fixes <https://issues.guix.gnu.org/69401>.

* guix/gexp.scm (gexp->file): Add #:guile, as was already documented.
(<scheme-file>)[guile]: New field.
(scheme-file): Add #:guile.
(scheme-file-compiler): Honor ‘guile’ field.
* tests/gexp.scm ("gexp->file")
("gexp->file + file-append", "gexp->file + #:splice?")
("gexp->file, cross-compilation")
("gexp->file, cross-compilation with default target")
Add #:guile to ‘gexp->file’ calls.
("gexp-modules deletes duplicates")
("gexp->derivation & with-imported-module & computed module")
("gexp->derivation & with-extensions", "scheme-file"): Likewise for
‘scheme-file’ calls.

Change-Id: I47536063d5e411e561ec321e535267e92dd06044

Reported-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I58d653c7fbe65c665bafcbd332ac9b264ddeab64
2024-04-08 00:05:48 +02:00
Ludovic Courtès a7f15c9ecf
reconfigure: /run/current-system points to generation.
* guix/scripts/system/reconfigure.scm (switch-system-program): Set
‘GUIX_NEW_SYSTEM’ to GENERATION rather than OS, for consistency with
what ‘boot-system’ does.
* gnu/tests/reconfigure.scm (run-switch-to-system-test)
["script activated the new generation"]: Adjust accordingly.

Change-Id: I57b693606a41b8c952df32bbdc2b9120c6dbfd6a
2024-04-08 00:05:48 +02:00
Ricardo Wurmus 682d13bf39
gnu: Remove withershins.
This was only ever needed for powertabeditor.

* gnu/packages/code.scm (withershins): Remove variable.

Change-Id: I1c286073d1415cd2261ad58017855fedb7701b05
2024-04-07 22:04:21 +02:00
Ricardo Wurmus 95d5795a99
gnu: powertabeditor: Update to 2.0.0-alpha19.
* gnu/packages/music.scm (powertabeditor): Update to 2.0.0-alpha19.
[arguments]: Remove 'fix-pugixml-detection phase; respect #:tests? setting in
custom 'check phase.
[inputs]: Drop labels; add nlohmann-json and qttools-5; remove rapidjson.
[home-page]: Add missing letter.

Change-Id: Idf8617f3d39dd97ba59753fc7294515032f1656d
2024-04-07 21:57:47 +02:00
Ricardo Wurmus 3571e47525
gnu: java-usb4java: Update to 1.3.0.
* gnu/packages/libusb.scm (java-usb4java): Update to 1.3.0.
[arguments]: Use plain list; use SEARCH-INPUT-FILE; adjust
'disable-broken-tests; remove trailing #T from build phases.

Change-Id: Ia5cd72b7c6c0426bcd95804802d14f3e5c728e1c
2024-04-07 21:40:20 +02:00
Ricardo Wurmus 81b2765140
gnu: libusb4java: Update to 1.3.1-1.0842e81.
* gnu/packages/libusb.scm (libusb4java): Update to 1.3.1-1.0842e81.
[arguments]: Remove 'disable-Werror phase; remove trailing #T from build
phases; use G-expression.

Change-Id: I9d9ef6d9ede5254ee7a130aec182ad53b2823bbe
2024-04-07 21:40:20 +02:00
Ian Eure 298aed72a2
gnu: open-ssh-session: Don’t require public key.
Public keys aren’t required for client connections, and this binding is
unused.  The behavior of assuming a ".pub"-suffixed file exists in the same
directory as the secret key is undocumented and surprising.

* guix/scripts/offload.scm (open-ssh-session): Delete `public' binding.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Change-Id: I9b532be2abe68dae0323e4ef6e1ceab1e5603359
2024-04-07 19:43:07 +01:00
Andy Tai 6cf91aa1c8
gnu: octave-cli: Update to 9.1.0.
* gnu/packages/maths.scm (octave-cli): Update to 9.1.0.

Change-Id: I8b8c3245644e0958d13d635f514d7fcc1d656a91
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-07 19:40:49 +01:00
Andrew Jose 1977fa35c5
gnu: Add python-shshsh.
* gnu/packages/python-xyz.scm (python-shshsh): New variable.

Reviewed-by: Steve George <steve@futurile.net>
Signed-off-by: Christopher Baines <mail@cbaines.net>
Change-Id: Iadd75c769a4391195b32789590f94fd8afbe21b6
2024-04-07 19:40:00 +01:00
Ivan Vilata-i-Balaguer 1acd3cdc9e
gnu: Add xssstate.
* gnu/packages/suckless.scm (xssstate): New variable.

Reviewed-by: Steve George <steve@futurile.net>
Signed-off-by: Christopher Baines <mail@cbaines.net>
Change-Id: I80a44b979ae987b953dcbdb3979b9b4ad8e30c79
2024-04-07 19:36:51 +01:00
Christopher Baines acd3cb258f
guix: nar: Update path-id to valid-path-id.
To match the change in (guix store database).

* guix/nar.scm (finalize-store-file): Update path-id to valid-path-id.

Change-Id: I69255c7acc1ea4e4855a4621bfcec54f595dd24d
2024-04-07 19:32:33 +01:00
Wojtek Kosior c3dfb14f9b
store: database: Use correct function name in assertion.
* guix/store/database.scm (register-valid-path): Replace "sqlite-register"
with "register-valid-path" as argument to `assert-integer'.

Change-Id: Id93687e90d0a806d715006ca0b2498a1d10cfba6
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-07 19:07:26 +01:00
Wojtek Kosior a3c28d7f7e
scripts: system: Rename `sqlite-register'.
* guix/scripts/system.scm (define-module): #:autoload `register-valid-path'
instead of `sqlite-register'.
(copy-item): Call it with the new name.

Change-Id: I24f71f822a5f400a47adee43f61184a4fbcb9741
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-07 19:07:15 +01:00
Janneke Nieuwenhuizen 78390634d7
guix-install.sh: Make Guix modules available too.
* etc/guix-install.sh (GUILE_LOAD_PATH): Prepend directory to current Guix
modules.
(GUILE_LOAD_COMPILED_PATH): Likewise to compiled modules.

Change-Id: I0b2722a38b1f8ebab32142cbc372a23cadfb0620
2024-04-07 16:26:28 +02:00
Efraim Flashner 0fa6ba879a
gnu: python: Use system SSL certificates.
* gnu/packages/python.scm (python)[replacement]: New field.
(python/fixed): Provide a python with a patched python-certifi which
only offers to use the system's SSL certificates.

Change-Id: Ic5bcfb6b32282a7e0628232b1dc4cd60f3f2da52
2024-04-07 14:51:04 +03:00
Efraim Flashner eae83f64ef
gnu: python-pip: Use system SSL certificates.
* gnu/packages/python-build.scm (python-pip)[replacement]: New
field.
(python-pip/fixed): Provide a python-pip with a patched python-certifi
which only offers to use the system's SSL certificates.

Change-Id: Icea0769b881dc8d760562f0405fa8ea8167a4bd4
2024-04-07 14:42:20 +03:00
Efraim Flashner d020191ed9
gnu: python-certifi: Use system SSL certificates.
* gnu/packages/python-crypto.scm (python-certifi)[replacement]: New
field.
(python-certifi/fixed): Provide a python-certifi which only offers to
use the system's SSL certificates.

Change-Id: Ie1871be42988dff3cccfe24bca626149fee0f371
2024-04-07 14:42:20 +03:00
Efraim Flashner b1b22cab72
gnu: mesa: Enable svga driver on all architectures.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust configure-flags so that
the svga gallium-driver is enabled on all architectures.

Change-Id: I0a604f1f8e4dac511c273149b95bf9b270e8e1fe
2024-04-07 14:24:37 +03:00
Sharlatan Hellseher 12f02c9bb8
gnu: automatic-component-toolkit: Swap to go-build-system.
* gnu/packages/code.scm (automatic-component-toolkit):
[build-system]: Swap to go-build-system to make the package more
maintainable and build predictable.
[arguments] <#:phases>: Swap to default 'build and 'install phases,
revert 'configure phase. Add 'pretend-cmd-act phase to satisfy
go-build-system.
[native-inputs]: Remove go.

Change-Id: Iba7bd4c87bdbbb91381f81a77c7811cb9f1f4943
2024-04-07 10:50:13 +01:00
Liliana Marie Prikler 08de161274
gnu: Fix builds that require old blueprint-compiler.
This is a follow-up commit to cee21ef865 and
fixes two builds that rely on an older version of blueprint-compiler.
The giara package remains broken as a result of a test failure.

* gnu/packages/gnome.scm (blueprint-compiler-0.4): New variable.
* gnu/packages/syndication.scm (giara, gfeeds): Replace blueprint-compiler
with blueprint-compiler-0.4.
* gnu/packages/text-editors.scm (textpieces): Likewise
2024-04-07 11:18:23 +02:00
Efraim Flashner 14b256f10e
gnu: glslang: Skip a test on powerpc-linux.
* gnu/packages/vulkan.scm (glslang)[arguments]: When building for
powerpc-linux add a phase to skip a test.

Change-Id: I00fd2273fcd2514c3086eee433f74f0bb4c3ebe6
2024-04-07 12:13:42 +03:00
Florian Pelz 80d364b92b
doc: Restore some of the old installation instructions.
Follow-up to 227e0469db.

* doc/guix.texi (Binary Installation):
Revert wording for installing the Debian package.
Restore how to reproduce the binary tarball.
Restore how to uninstall.
(copying): Add copyright notice for Matthew Trzcinski.

Change-Id: Ib74199e39bd7a50ac58045f2bc47f61fc04eacb9
2024-04-07 10:29:37 +02:00
Efraim Flashner f6a62ce9ba
gnu: quickjs: Update to 2024-01-13.
* gnu/packages/javascript.scm (quickjs): Update to 2024-01-13.
[arguments]: Adjust make-flags to set PREFIX and not DESTDIR.
[description]: Update with new features.

Change-Id: I76189212c3baafda36b7327d47001147ffacb8a8
2024-04-07 10:06:43 +03:00
Efraim Flashner 1e58b81da9
gnu: glslang: Give more information on test failures.
* gnu/packages/vulkan.scm (glslang)[arguments]: Adjust the 'check phase
to run the tests in parallel, rerun tests which fail and to provide
information when a test fails.

Change-Id: I13962bb503a20338901cdd878d356e1bcce7f2eb
2024-04-07 09:49:30 +03:00
Efraim Flashner 1fed3f9877
gnu: mesa: Enable all the video codecs.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the configure-flags to
enable all the video codecs.

Change-Id: Id540e4d8af8b756f1d0e4978b18e22dd19dd8985
2024-04-07 09:48:33 +03:00
Efraim Flashner 8ec53cabf2
gnu: quickjs: Fix building on powerpc-linux.
* gnu/packages/javascript.scm (quickjs)[arguments]: When building for
powerpc-linux add a make-flag to link with latomic.

Change-Id: I8838c8b750f919a58fc3bfe73919de0c1e585243
2024-04-07 09:40:01 +03:00
Efraim Flashner f3460a82c8
gnu: quickjs: Remove pre-generated documentation.
* gnu/packages/javascript.scm (quickjs)[source]: Add snippet to remove
pre-generated documentation.

Change-Id: Ie616fb590ff6b9e6db6c7d6cccc79d029e8e3e14
2024-04-07 09:31:43 +03:00
Efraim Flashner 1b86dfa34d
gnu: mesa: Adjust skipped tests on powerpc-linux.
* gnu/packages/gl.scm (mesa)[arguments]: In the 'disable-failing-test
phase enable another test when building for powerpc-linux.

Change-Id: Ib043b2ea77dc145b3b067496ed45662ad635dc72
2024-04-07 09:22:23 +03:00
TakeV eaccfececd
gnu: magic-wormhole: Update to 0.14.0.
* gnu/packages/magic-wormhole.scm (magic-wormhole): Update to 0.14.0.
[propagated-inputs]: Add python-iterable-io; and python-zipstream-ng.

Change-Id: I1c91db96bf4a96ab1758925deaae87a174b4b03d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-04-06 23:30:55 +01:00
TakeV 79bab7853b
gnu: Add python-zipstream-ng.
* gnu/packages/python-xyz.scm (python-zipstream-ng): New variable.

Change-Id: Idf0c0d471aa1eda45cf649874f6a79b6b9a7937b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-04-06 23:27:36 +01:00
TakeV fd116510b2
gnu: Add python-iterable-io.
* gnu/packages/python-xyz.scm (python-iterable-io): New variable.

Change-Id: Icd4b10e27b5f4963fd3e3ea516676e84b3c5ecd4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-04-06 23:27:36 +01:00
Sharlatan Hellseher 090fd6a4da
gnu: go-github-com-multiformats-go-multiaddr-net: Adjust inputs.
* gnu/packages/golang-web.scm (go-github-com-multiformats-go-multiaddr-net):
[propagated-inputs]: Swap from native-inputs to propagated-inputs to
access them from dependent packages.  Remove
go-github-com-mr-tron-base58, go-github-com-gxed-hashland-keccakpg,
go-github-com-minio-blake2b-simd, go-github-com-minio-sha256-simd,
go-github-com-spaolacci-murmur3, go-golang-org-x-crypto; and
go-github-com-multiformats-go-multihash

Change-Id: I577c3813d6d5a6197103b8de6d4a9b2ba2db8bef
2024-04-06 22:55:48 +01:00
Sharlatan Hellseher d3af0fd6d9
gnu: go-github-com-multiformats-go-multiaddr: Adjust inputs.
* gnu/packages/golang-web.scm (go-github-com-multiformats-go-multiaddr):
[propagated-inputs]: Swap from native-inputs to propagated-inputs to
access them from dependent packages.  Remove
go-github-com-mr-tron-base58, go-github-com-gxed-hashland-keccakpg,
go-github-com-minio-blake2b-simd, go-github-com-minio-sha256-simd,
go-github-com-spaolacci-murmur3; and go-golang-org-x-crypto.

Change-Id: Ib98ea59cf43304d9f78091da4cfd45cdbc802ad4
2024-04-06 22:50:33 +01:00
Sharlatan Hellseher 0e5a981c2b
gnu: go-github-com-libp2p-go-libp2p-peer: Adjust inputs.
* gnu/packages/golang-crypto.scm (go-github-com-libp2p-go-libp2p-peer):
[propagated-inputs]: Swap from native-inputs to propagated-inputs to
access them from dependent packages.  Remove
go-github-com-mr-tron-base58, go-github-com-gxed-hashland-keccakpg,
go-github-com-minio-blake2b-simd, go-github-com-minio-sha256-simd,
go-github-com-spaolacci-murmur3; and go-golang-org-x-crypto.

Change-Id: Ib646c1a3eba7ad31fecc99578eedc5a3892e1af1
2024-04-06 22:48:42 +01:00
Sharlatan Hellseher ab8f3b1612
gnu: go-github-com-libp2p-go-libp2p-metrics: Adjust inputs.
* gnu/packages/golang.scm (go-github-com-libp2p-go-libp2p-metrics):
[propagated-inputs]: Swap from native-inputs to propagated-inputs to
access them from dependent packages.  Remove
go-github-com-mr-tron-base58, go-github-com-gxed-hashland-keccakpg,
go-github-com-minio-blake2b-simd, go-github-com-minio-sha256-simd,
go-github-com-spaolacci-murmur3; and go-golang-org-x-crypto.

Change-Id: I28b6da0ec96554052777cdba8971e831ef24df1b
2024-04-06 22:48:29 +01:00
Sharlatan Hellseher 62b950a45d
gnu: go-github-com-multiformats-go-multihash: Adjust inputs.
* gnu/packages/golang-crypto.scm (go-github-com-multiformats-go-multihash):
[propagated-inputs]: Swap from native-inputs to propagated-inputs to
access them from dependent packages.

Change-Id: I5ad4b78153df5cdf163507ea1b51837a6351b645
2024-04-06 22:42:45 +01:00
Artyom V. Poptsov b315f4d575
gnu: Add go-github-com-multiformats-go-multibase.
* gnu/packages/golang-xyz.scm (go-github-com-multiformats-go-multibase): New
  variable.

Change-Id: If634f1497d628a23f2c2ebb1e8e9f6526faa3f3f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-04-06 21:47:10 +01:00
Artyom V. Poptsov d4686ff611
gnu: Add specification-multibase.
* gnu/packages/specifications.scm: New module.
  (specification-multibase): New variable.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add "gnu/packages/specifications.scm".

Change-Id: I5994e8f8927d5365cc201da30bd49abf03d17574
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-04-06 21:39:12 +01:00
Artyom V. Poptsov 24bfbe13a8
gnu: Add go-github-com-multiformats-go-base36.
* gnu/packages/golang-xyz.scm (go-github-com-multiformats-go-base36): New
  variable.

Change-Id: I27c5540fddae55ae9ce12a205d6f7f7c9a01569b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-04-06 21:39:12 +01:00
Artyom V. Poptsov 93b19868e6
gnu: Add go-github-com-multiformats-go-base32.
* gnu/packages/golang-xyz.scm (go-github-com-multiformats-go-base32): New
  variable.

Change-Id: If6c54a3c2d0a62e61e524da85c76ad6bf7f7bcbe
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-04-06 21:39:00 +01:00
Nicolas Goaziou 7988ca6a48
gnu: emacs-webpaste: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-webpaste)[arguments]<#:phases>: Ensure
compatibility with recent Buttercup.

Change-Id: I9eb9b9de7fcc1832691a64c0945e91a335498e5b
2024-04-06 18:27:20 +02:00
Zac Berkowitz 50a72a08af
gnu: qtserialport: Update to 6.6.3.
* gnu/packages/qt.scm (qtserialport): Rename to ...
* gnu/packages/qt.scm (qtserialport-5): ... this.
* gnu/packages/qt.scm (qtserialport): New variable.
* gnu/packages/engineering.scm (fritzing, candle)
[inputs]: Replace qtserialport with qtserialport-5.
* gnu/packages/geo.scm (qgis): Likewise.
* gnu/packages/kde-utils.scm (atelier, libatcore): Likewise.
* gnu/packages/qt.scm (qtserialbus, qtlocation, python-pyqt): Likewise.
* gnu/packages/radio.scm (wsjtx, jtdx, js8call)
(sdrangel, wfview, qdmr): Likewise.

Change-Id: I8e0c8d2408ea0bf776b2efe58e23821cb653363c
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-06 12:23:19 -04:00
Nicolas Goaziou 726e7e3996
gnu: emacs-fb2-reader: Properly enable tests.
* gnu/packages/emacs-xyz.scm (emacs-fb2-reader)[arguments]<#:test-command>:
Use command to actually run tests.
<#:phases>: Fix a bogus function name in a test.

Change-Id: I267b219e2b8f547c00cbe3971d21da2f7b599311
2024-04-06 18:20:58 +02:00
Nicolas Goaziou 7878cd0659
gnu: emacs-fb2-reader: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-fb2-reader)[arguments]<#:phases>: Add
a phase to add compatibility with recent Buttercup.

Change-Id: Ibdef2db649d46438634e20b3aa25bcbb63c21b8d
2024-04-06 18:20:58 +02:00
Zheng Junjie 91ad8a1444
build: qt-utils: Use QML_IMPORT_PATH2 for Qt 5 (fixup).
This follows a499d1772d ("build: qt-utils: Use
QML_IMPORT_PATH for Qt 6.").

* guix/build/qt-utils.scm (variables-for-wrapping): Use QML_IMPORT_PATH2 when
the Qt major version is <= 6, QML_IMPORT_PATH otherwise.

Change-Id: I2dd1d426aef117105708cc4004078deaa28c15cd
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-06 11:42:56 -04:00
Matthew Trzcinski 2ce05b362c
doc: Move "Running the Test Suite" after "Building from Git".
* doc/contributing.texi (doc/guix.texi): Move "Running the Test
Suite" after "Building from Git".

Link: <https://lists.gnu.org/archive/html/guix-devel/2024-03/msg00023.html>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-06 11:38:34 -04:00
Matthew Trzcinski fb82f6053c
doc: Move "Requirements" before "Building from Git"
* doc/contributing.texi (doc/guix.texi): Move "Requirements" before "Building
from Git".

Link: <https://lists.gnu.org/archive/html/guix-devel/2024-03/msg00023.html>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-06 11:37:44 -04:00
Maxim Cournoyer 2826596092
doc: Fix Texinfo menus.
There should be two spaces between the node name and its description.  Found
via 'M-x texinfo-all-menus-update' in Emacs.

Change-Id: I2b17180746f8d97ea5f927b8a504419c087dd5f5
2024-04-06 11:37:44 -04:00
Matthew Trzcinski 227e0469db
doc: Simplify installation instructions
* doc/guix.texi (Installation):
- Move the definition of "foreign distro" out of quotation
- Repeat overwrite warning
- Remove superfluous commentary

* doc/guix.texi (Binary Installation):
- Clarify that installing on a foreign distro has two methods: using
  packaged binaries and building from source
- Add cross reference to "Building from Git"
- Move the foreign distro installation instructions out of quotation
- Move directions for 'guix-install.sh' after instructions to use
  distribution-specific package managers
- Specify "distributions" as "GNU/Linux distributions"
- Add GnuPG as a requirement for 'guix-install.sh'
- Add comma after "Likewise"
- Remove redundant instructions to use 'guix-install.sh'
- Split the requirements between system requirements for binary
  installations, GNU/Linux or GNU/Hurd, and requirements for running
  'guix-install.sh'
- Clarify that 'guix-install.sh' guides users through the steps
- Summarize the steps 'guix-install.sh' follows rather than try to
  detail them
- Make explicit that the 'guix-install.sh' default is to download
  substitutes
- Emphasize that the substitute authorization code is an example and
  may need modification

Link: <https://lists.gnu.org/archive/html/guix-devel/2024-03/msg00023.html>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-06 11:37:39 -04:00