me
/
guix
Archived
1
0
Fork 0
Commit Graph

109507 Commits (c497e1b0ae48704f21146f51f9e842e5c2917a1f)

Author SHA1 Message Date
Simon Tournier 96739561b8
scripts: repl: Extend REPL %load-path with all channels.
Fixes <https://bugs.gnu.org/61343>.
Reported by 宋文武 <iyzsong@envs.net>.

* guix/scripts/repl.scm (define-command): Before starting the REPL,
call 'current-profile' to populate (%package-module-path).

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-02-27 15:54:09 +01:00
Ludovic Courtès a516a0ba93
gexp: computed-file: Do not honor %guile-for-build.
This reverts commit 68775338a5.
Fixes <https://issues.guix.gnu.org/61841>.

(%guile-for-build) is a derivation for a specific system,
whereas (default-guile) is a system-independent package.  It's crucial
to preserve this distinction.

See discussion at <https://issues.guix.gnu.org/61255#29>.

* guix/gexp.scm (computed-file-compiler): Honor (default-guile),
not (%guile-for-build).
2023-02-27 15:54:09 +01:00
Ludovic Courtès fee1d08f0d
pack: Make sure tests can run without a world rebuild.
Commit 68380db4c4 moved from
'gexp->derivation', which as a side effect, would lead tests to require
a "world rebuild"--specifically, they'd have to build (default-guile).

This was mitigated by 68775338a5, but that
change introduced another regression.

* guix/scripts/pack.scm (populate-profile-root): Define 'bootstrap?'.
Pass #:guile to 'computed-file', with a value depending on 'bootstrap?'.
* tests/pack.scm ("self-contained-tarball + localstatedir")
("docker-image + localstatedir", "squashfs-image + localstatedir")
("deb archive with symlinks and control files")
("rpm archive can be installed/uninstalled"): Use a <profile> record
instead of a derivation.
2023-02-27 15:54:09 +01:00
Efraim Flashner 2cf07434d8
gnu: dpkg: Update to 1.21.21.
* gnu/packages/debian.scm (dpkg): Update to 1.21.21.
2023-02-27 15:29:27 +02:00
Efraim Flashner 5e23071aa9
gnu: debootstrap: Update to 1.0.128.
* gnu/packages/debian.scm (debootstrap): Update to 1.0.128.
2023-02-27 15:29:26 +02:00
Efraim Flashner 90188a66b4
gnu: debian-ports-archive-keyring: Update to 2023.02.21.
* gnu/packages/debian.scm (debian-ports-archive-keyring): Update to
2023.02.01.
[arguments]: Remove trailing #t from phases.
2023-02-27 15:29:23 +02:00
Sharlatan Hellseher 55054c1235
gnu: Add cl-calm.
* gnu/packages/lisp-xyz.scm (cl-calm, ecl-calm, sbcl-calm): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-02-27 14:13:11 +01:00
Sharlatan Hellseher a71e455441
gnu: Add cl-cairo2.
* gnu/packages/lisp-xyz.scm (cl-cairo2, ecl-cl-cairo2, sbcl-cl-cairo2):
  New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-02-27 14:02:28 +01:00
Sharlatan Hellseher ad854e06b4
gnu: Add cl-sdl2-mixer.
* gnu/packages/lisp-xyz.scm (cl-sdl2-mixer, ecl-sdl2-mixer,
  sbcl-sdl2-mixer): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-02-27 13:51:23 +01:00
Sharlatan Hellseher 945edb8654
gnu: cl-sdl2: Remove input labels.
* gnu/packages/lisp.scm (sbcl-sdl2):
  [arguments]{asd-systems}: Add sdl2/examples.
  {phases}<fix-path>: Remove trailing #f from lambda, use
  search-input-file to link SO library.
  [inputs]: Remove labels, add sbcl-cl-opengl.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-02-27 13:41:32 +01:00
Sharlatan Hellseher 4ca869d151
gnu: cl-sdl2: Update to 0.0.0-2.80410b5.
* gnu/packages/lisp-xyz.scm (sbcl-sdl2): Update to 0.0.0-2.80410b5.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-02-27 13:38:26 +01:00
Christopher Baines 9ae4846c50
gnu: Fix openmpi related packages.
This makes these package definitions compatible with the openmpi package which
uses gexps as of f45fc72c28.

* gnu/packages/mpi.scm (openmpi-c++, java-openmpi,
openmpi-thread-multiple)[arguments]: Use gexps.
2023-02-27 09:34:09 +00:00
Andrew Tropin 17bd024331
gnu: Remove emacs-transient from propagated-inputs.
emacs-transient is built into emacs already and not required as an explicit
dependency anymore, but having it in propagated-inputs can break things in
various ways: for example emacs-next have a newer version and automatically
pulling older emacs-transient into profile breaks emoji-insert, or
emacs-docker.

* gnu/packages/emacs-xyz.scm (emacs-piem, emacs-clj-deps-new, emacs-dirvish):
Remove emacs-transient from propagated-inputs.
2023-02-27 07:31:22 +04:00
Ludovic Courtès 81fbf5d71f
gnu: texlive-apa6: Update reference to deprecated package.
* gnu/packages/tex.scm (texlive-apa6)[inputs]: Replace
'texlive-generic-xstring' with 'texlive-xstring'.
2023-02-27 01:17:04 +01:00
Ludovic Courtès 3f81ec18e4
gnu: libssh: Fix compilation on GNU/Hurd.
* gnu/packages/ssh.scm (libssh)[source]: Add snippet.
2023-02-27 01:16:32 +01:00
Bruno Victal 6bae14f614
gnu: perl-encode: Update to 3.19 [fixes CVE-2021-36770].
* gnu/packages/perl.scm (perl-encode): Update to 3.19.
[propagated-inputs]: Remove.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:00 +01:00
Timo Wilken eb87d2c4a0
gnu: Add actionlint.
Actionlint is a linter for GitHub Action workflow files.

* gnu/packages/check.scm (actionlint): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2023-02-26 14:29:59 -05:00
Timo Wilken ec8c7370df
gnu: Add go-github-com-robfig-cron-1.2.
* gnu/packages/check.scm (go-github-com-robfig-cron-1.2):
  New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2023-02-26 14:29:59 -05:00
Timo Wilken 1a550c93e5
gnu: Add go-golang.org-x-sync-semaphore.
* gnu/packages/golang.scm (go-golang.org-x-sync-semaphore):
  New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2023-02-26 14:29:59 -05:00
kiasoc5 226103fdd1
gnu: clamav: Update to 0.103.8 [security fixes].
Fixes CVE-2023-20032 and CVE-2023-20052.

* gnu/packages/antivirus.scm (clamav): Update to 0.103.8.

Signed-off-by: Leo Famulari <leo@famulari.name>
2023-02-26 12:44:04 -05:00
Vasile Dumitrascu via Guix-patches via 53a739ae5d
gnu: nano: Update to 7.2.
* gnu/packages/nano.scm (nano): Update to 7.2.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:15 +01:00
Vasile Dumitrascu via Guix-patches via 8d0a8ca1a9
gnu: perl-cgi: Update to 4.55
* gnu/packages/web.scm (perl-cgi): Update to 4.55.
[native-inputs]: Remove perl-test-deep.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:18 +01:00
Vasile Dumitrascu via Guix-patches via a52074001f
gnu: mpg123: Update to 1.31.2.
* gnu/packages/mp3.scm (mpg123): Update to 1.31.2.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:18 +01:00
Vasile Dumitrascu via Guix-patches via bf9db38291
gnu: simple-scan: Update to 42.5.
* gnu/packages/gnome.scm (simple-scan): Update to 42.5.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:17 +01:00
Vasile Dumitrascu via Guix-patches via 517740d1dd
gnu: network-manager-applet: Update to 1.30.0.
* gnu/packages/gnome.scm (network-manager-applet): Update to 1.30.0.
[inputs]: Remove libnotify.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:17 +01:00
Vasile Dumitrascu via Guix-patches via 9928b6c495
gnu: xarchiver: Update to 0.5.4.20.
* gnu/packages/compression.scm (xarchiver): Update to 0.5.4.20.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:17 +01:00
Vasile Dumitrascu via Guix-patches via 9beaf9ba82
gnu: adwaita-icon-theme: Update to 43.
* gnu/packages/gnome.scm (adwaita-icon-theme): Update to 43.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:16 +01:00
Efraim Flashner 156da54a50
gnu: moe: Update to 1.13.
* gnu/packages/moe.scm (moe): Update to 1.13.
2023-02-26 12:45:27 +02:00
Lars-Dominik Braun 2c0537d374
gnu: idris: Adapt to changed haskell-build-system.
…which does not support the “static” output any more.

* gnu/packages/idris.scm (idris)[arguments]: Remove phase
restore-libidris_rts.
2023-02-26 10:26:17 +01:00
Lars-Dominik Braun 6188fe2633
gnu: xmobar: Drop Haskell libraries and documentation.
* gnu/packages/wm.scm (xmobar)[arguments]: Add
'remove-libraries phase and disable #:haddock?.
2023-02-26 10:26:17 +01:00
Lars-Dominik Braun 169237aae5
gnu: purescript: Drop Haskell libraries and documentation.
* gnu/packages/purescript.scm (purescript)[arguments]: Add
'remove-libraries phase and disable #:haddock?.
2023-02-26 10:26:17 +01:00
Lars-Dominik Braun 7996bd3955
gnu: pandoc: Drop Haskell libraries and documentation.
* gnu/packages/haskell-xyz.scm (ghc-pandoc): Renamed from pandoc.
(pandoc) [arguments]: Add 'remove-libraries phase and disable #:haddock?.
2023-02-26 10:26:17 +01:00
Lars-Dominik Braun a38901c01e
gnu: shellcheck: Drop Haskell libraries.
* gnu/packages/haskell-apps.scm (shellcheck)[arguments]: Add
'remove-libraries phase.
2023-02-26 10:26:16 +01:00
Lars-Dominik Braun be398aa2b4
gnu: git-annex: Drop Haskell documentation.
* gnu/packages/haskell-apps.scm (git-annex)[arguments]: Disable #:haddock?.
2023-02-26 10:26:16 +01:00
Lars-Dominik Braun 47673272c4
gnu: darcs: Drop Haskell libraries and documentation.
* gnu/packages/haskell-apps.scm (darcs)[arguments]: Add
'remove-libraries phase and disable #:haddock?.
2023-02-26 10:26:16 +01:00
Lars-Dominik Braun 503998ac7a
gnu: hledger: Drop Haskell libraries and documentation.
* gnu/packages/finance.scm (ghc-hledger): New variable.
(hledger): Inherit from ghc-hledger and add 'remove-libraries phase and
disable #:haddock?.
2023-02-26 10:26:16 +01:00
Lars-Dominik Braun baf9e0a336
gnu: ngless: Drop Haskell libraries and documentation.
* gnu/packages/bioinformatics.scm (ngless)[arguments]: Add
'remove-libraries phase and disable #:haddock?.
2023-02-26 10:26:16 +01:00
Lars-Dominik Braun dc3e22f4d5
build: haskell-build-system: Build static executables by default.
This is the only way to get reasonably small binaries that don’t pull
in a ton of ghc-* packages.

* guix/build/haskell-build-system.scm (configure): Explicitly
add --enable-static and --disable-executable-dynamic, as well as
-split-sections to configure flags.
2023-02-26 10:26:16 +01:00
Lars-Dominik Braun 8a4ee0c113
gnu: ghc-lua: Disable symbol export.
This turns on the linker flag -Wl,-E for all libraries depending on it,
resulting in large binaries, because --gc-sections cannot clean exported
symbols.

* gnu/packages/haskell-xyz.scm (ghc-lua)[arguments]: Disable
export-dynamic feature.
2023-02-26 10:26:15 +01:00
Lars-Dominik Braun 7df12c8ca6
gnu: ghc-9.2: Support static linking with glibc < 2.34.
* gnu/packages/patches/ghc-9.2-glibc-2.33-link-order.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/haskell.scm (ghc-9.2)[origin]: Use it.
2023-02-26 10:26:15 +01:00
Lars-Dominik Braun 4bb40b098d
build-system: haskell: Drop default "static" output.
* guix/build-system/haskell.scm (lower): Pass outputs to lowered bag.
* guix/build/haskell-build-system.scm (install): Remove static library
moving code.
* gnu/packages/haskell-check.scm (ghc-hunit): Remove "static" output.
* gnu/packages/haskell-crypto.scm (ghc-crypto-api-tests): Likewise.
* gnu/packages/haskell-xyz.scm (ghc-case-insensitive): Likewise.
(ghc-cmdargs): Likewise.
(ghc-conduit): Likewise.
(ghc-fgl): Likewise.
(ghc-haskell-src-exts): Likewise.
(ghc-lib-parser): Likewise.
(ghc-mono-traversable): Likewise.
(ghc-parallel): Likewise.
(ghc-paths): Likewise.
(ghc-profunctors): Likewise.
(ghc-tf-random): Likewise.
(ghc-vector): Likewise.
2023-02-26 10:26:15 +01:00
Lars-Dominik Braun ebea18357b
gnu: elm: Support GHC 9.2.
* gnu/packages/elm.scm (elm-sans-reactor)[source]: Add patch to support GHC 9.2.
* gnu/packages/patches/elm-ghc9.2.patch: This one.
* gnu/local.mk: Add it.
2023-02-26 10:26:15 +01:00
Lars-Dominik Braun 92caedb60c
gnu: idris: Fix overly zealous regular expression.
* gnu/packages/idris.scm (idris)[arguments]: Limit characters matched
after package name in cabal file substitutions.
2023-02-26 10:26:15 +01:00
Lars-Dominik Braun 7d60b97a6f
gnu: ghc-parsec: Update to 3.1.15.0.
Missed by automation.

* gnu/packages/haskell-xyz.scm (ghc-parsec)[version]: Update to 3.1.15.0.
[native-inputs]: Switch from HUnit to tasty.
2023-02-26 10:26:15 +01:00
Lars-Dominik Braun 9ce5ec5397
gnu: Remove unused Haskell packages.
* gnu/packages/haskell-xyz.scm (ghc-attoparsec-bootstrap): Remove variable.
(ghc-integer-logarithms-bootstrap): Likewise.
(ghc-scientific-bootstrap): Likewise.
(ghc-wcwidth-bootstrap): Likewise.
(ghc-optparse-applicative-0.15.1.0): Likewise.
2023-02-26 10:26:14 +01:00
Lars-Dominik Braun d603946d38
gnu: ghc-9.2: Increase make verbosity.
Tests time out on ci.guix.gnu.org.

* gnu/packages/haskell.scm (ghc-9.2)[arguments]: Modify #:make-flags.
2023-02-26 10:26:14 +01:00
Lars-Dominik Braun 49a320aaa6
Upgrade Haskell packages.
Script-aided bulk change.
2023-02-26 10:26:07 +01:00
Lars-Dominik Braun 9262c14d73
build: haskell-build-system: Remove unused linker flags.
They were inserted as-is, without expandind variables into binaries.

* guix/build/haskell-build-system.scm (configure): Remove --ghc-option.
2023-02-26 10:20:14 +01:00
Lars-Dominik Braun 39c97cf3d0
build: haskell-build-system: Process all transitive dependencies.
A bug caused install-transitive-deps to stop looping if a dependency
file already existed in the target directory. For Haskell packages
with multiple libraries (like attoparsec) this resulted in missing
dependencies and error messages like this:

    The following packages are broken because other packages they depend
    on are missing. These broken packages must be rebuilt before they
    can be used.
    installed package attoparsec-0.14.4 is broken due to missing package
    scientific-0.3.7.0-9XG3zUjXOw970JFcruv0cZ

See <https://issues.guix.gnu.org/54729#11>.

* guix/build/haskell-build-system.scm (register): Unconditionally loop
over all tails.
2023-02-26 10:20:14 +01:00
Lars-Dominik Braun b0fc911b5b
import: haskell: Add new internal library for GHC 9.2.
* guix/import/hackage.scm (ghc-standard-libraries): Add ghc-bignum.
2023-02-26 10:20:14 +01:00