me
/
guix
Archived
1
0
Fork 0
Commit Graph

26192 Commits (787e8a80d54d8bd5320d76276dc5f4bafe5b86c0)

Author SHA1 Message Date
Ludovic Courtès 787e8a80d5
services: console-font: Use 'tcsetattr' instead of invoking 'unicode_start'.
This is more robust, faster, and incidentally gets rid of remaining
"error in the finalization thread: Bad file descriptor" messages.

* gnu/services/base.scm (unicode-start): Rewrite to use 'tcgetattr' and
'tcsetattr'.
(console-font-shepherd-services)[start]: Add 'loop' to check whether
DEVICE is ready.  Tolerate EX_OSERR return from 'setfont'.
[modules]: New field.
2017-12-06 08:52:31 +01:00
Ludovic Courtès 45c32bd7e5
syscalls: Define 'input-flags' for 'tcgetattr' and friends.
* guix/build/syscalls.scm (input-flags): New macro.
2017-12-06 08:51:08 +01:00
Ludovic Courtès 614f8cc1c3
gnu: guix: Update snapshot to 91c9b5d.
* gnu/packages/package-management.scm (guix): Update to 91c9b5d.
2017-12-05 17:57:22 +01:00
Ludovic Courtès 3e442f85fd
gnu: ghostscript-with-cups: Turn into a public variable.
Tris allows Hydra/Cuirass to pick it up and to build its replacement.
Failing that, users have to build "ghostscript-with-cups-9.22" from
source.

* gnu/packages/cups.scm (ghostscript/cups): Move to 'ghostscript.scm'.
(cups-filters)[inputs]: Remove 'force'.
* gnu/packages/ghostscript.scm (ghostscript/cups): New variable.
2017-12-05 17:49:48 +01:00
Ludovic Courtès 91c9b5d016
packages: 'package-grafts' trims native inputs.
'package-grafts' returns a list of potentially applicable grafts, which
'cumulative-grafts' then narrows by looking at store item references and
determining the subset of the grafts that's actually applicable.

Until now, 'package-grafts' would traverse native inputs and would thus
return a large superset of the applicable grafts, since native inputs
are not in the reference graph by definition.  This patch fixes that by
having 'package-grafts' ignore entirely native inputs from the
dependency graph.

* guix/packages.scm (fold-bag-dependencies)[bag-direct-inputs*]: Add
special case for libc.
* guix/packages.scm (bag-grafts)[native-grafts, target-grafts]: Remove.
[grafts]: New procedure.
Use it.
* tests/packages.scm ("package-grafts, grafts of native inputs
ignored"): New test.
2017-12-05 16:32:40 +01:00
Ludovic Courtès f3e3f4d934
Update NEWS. 2017-12-05 15:37:01 +01:00
Ludovic Courtès ff0e0041f3
packages: 'fold-bag-dependencies' honors nativeness in recursive calls.
Previously recursive calls to 'loop' would always consider all the bag
inputs rather than those corresponding to NATIVE?.

* guix/packages.scm (fold-bag-dependencies)[bag-direct-inputs*]: New
procedure.  Use it both in the 'match' expression and in its body.
2017-12-05 15:13:38 +01:00
Ludovic Courtès f00b85ff8d
gnu: commencement: Do not graft early bootstrap packages.
By definition, these packages are not depended on at run time by any of
the packages we use.  Thus it does not make sense to inherit grafts.
Furthermore, those grafts would often lead to extra overhead for users
who would end up downloading those "-boot0" packages just to build
package replacements that are in fact not going to be used.

This reverts parts of f1597427f2 and
ce27857f71.

Reported by Christopher Baines at
<https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00058.html>.

* gnu/packages/commencement.scm (file-boot0, binutils-boot0): Use plain
'inherit' instead of 'package/inherit'.
2017-12-05 11:50:00 +01:00
Ludovic Courtès aab322d909
install: Don't start sshd by default.
Reported by Christopher Baines <mail@cbaines.net>
at <https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00058.html>.

* gnu/services/ssh.scm (<openssh-configuration>)[%auto-start?]: New
field.
(openssh-shepherd-service): Honor it.
* gnu/system/install.scm (%installation-services): Set '%auto-start?' to
 #f for openssh-service-type.
2017-12-04 23:31:15 +01:00
Ludovic Courtès 39b27f4eae
doc: Mention berlin.guixsd.org.
* doc/guix.texi (Substitute Server Authorization): Add note about
berlin.guixsd.org.  Nitpick.
2017-12-04 18:14:28 +01:00
Ludovic Courtès be5622e7f1
maint: Add 'berlin.guixsd.org.pub'.
* bayfront.guixsd.org.pub: Rename to...
* berlin.guixsd.org.pub: ... this.
* Makefile.am (dist_pkgdata_DATA): Adjust accordingly.
* gnu/services/base.scm (%default-authorized-guix-keys): Likewise.
2017-12-04 17:57:37 +01:00
Ludovic Courtès c735e9e686
Update NEWS. 2017-12-04 17:56:11 +01:00
Ludovic Courtès c7699ebeb4
gnu: git: Remove unreliable git-svn tests.
Reported in <https://bugs.gnu.org/29546>
by Mark H Weaver <mhw@netris.org>.

* gnu/packages/version-control.scm (git)[arguments]: In 'patch-tests'
phase, delete three git-svn tests.
2017-12-04 16:35:43 +01:00
Ludovic Courtès aa1d47e72e
maint: Let 'guix system vm-image' determine the right size.
* Makefile.am (GUIXSD_VM_IMAGE_BASE): Remove.
(release): Remoev --image-size argument to 'guix system vm-image'.
2017-12-04 16:35:43 +01:00
Ludovic Courtès 9d163ec133
maint: Add 'aarch64-linux' to the supported systems.
* Makefile.am (SUPPORTED_SYSTEMS): Add aarch64-linux.
2017-12-04 16:35:43 +01:00
Ludovic Courtès 3b6e7c703c
maint: Add the '.iso' extension to installation images.
* Makefile.am (release): Add the '.iso' suffix to image files.
* doc/guix.texi (USB Stick and DVD Installation): Adjust accordingly.
2017-12-04 16:35:43 +01:00
Ludovic Courtès 2626062b25
doc: Merge "USB Stick Installation" and "DVD Installation".
* doc/guix.texi (USB Stick Installation): Rename to...
(USB Stick and DVD Installation): ... this.  Merge contents with...
(DVD Installation): ... this node.  Remove.
2017-12-04 16:35:43 +01:00
Eric Bavier 42d16037d8
tests: Look for multi-digit column numbers in unbound variable test.
* tests/guix-system.sh: Match one or more digits in unbound-variable test.
2017-12-04 04:30:28 -06:00
Ludovic Courtès b9aab870e5
nls: Update 'fr' translation. 2017-12-04 10:36:48 +01:00
nee 6de3d1762b
gnu: elixir: Update to 1.5.2 and disable failing tests.
* gnu/packages/elixir.scm (elixir)[origin]: Update to 1.5.2.
[arguments]: Patch the shebang of mix. Disable failing tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-12-04 10:36:48 +01:00
nee 8cbb58918c
gnu: erlang: Update to 20.1.
* gnu/packages/erlang.scm (erlang): Update to 20.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-12-04 10:36:48 +01:00
Ludovic Courtès 617e87bff1
services: xorg: Properly handle the case where ~/.xession is used.
Fixes a regression introduced in
65c0f43649 in the case where users provide
~/.xsession and SESSION is #f.

* gnu/services/xorg.scm (xinitrc): In the XSESSION-FILE case, check
whether SESSION is #f.
2017-12-04 10:36:48 +01:00
Tobias Geerinckx-Rice 78bae62a25
gnu: protobuf: Update to 3.5.0.
* gnu/packages/protobuf.scm (protobuf): Update to 3.5.0.
2017-12-04 08:13:55 +01:00
Tobias Geerinckx-Rice 74327874a5
gnu: you-get: Update to 0.4.995.
* gnu/packages/video.scm (you-get): Update to 0.4.995.
2017-12-04 08:13:55 +01:00
Tobias Geerinckx-Rice 1740cb779a
gnu: ghc-async: Update to 2.1.1.1.
* gnu/packages/haskell.scm (ghc-async): Update to 2.1.1.1.
2017-12-04 08:13:55 +01:00
Tobias Geerinckx-Rice 8301d739fa
gnu: ghc-alex: Update to 3.2.3.
* gnu/packages/haskell.scm (ghc-alex): Update to 3.2.3.
[arguments]: Run tests.
2017-12-04 08:13:30 +01:00
Tobias Geerinckx-Rice 7e95d0fda7
gnu: ghc-comonad: Remove duplicate input.
* gnu/packages/haskell.scm (ghc-comonad)[inputs]: Remove ghc-contravariant.
Order alphabetically to make this less likely to happen again.
2017-12-04 04:40:15 +01:00
Tobias Geerinckx-Rice f745999773
gnu: di: Update to 4.44.
* gnu/packages/admin.scm (di): Update to 4.44.
2017-12-04 04:40:15 +01:00
Tobias Geerinckx-Rice 1d3c059bbf
gnu: eolie: Update to 0.9.13.
* gnu/packages/gnome.scm (eolie): Update to 0.9.13.
2017-12-04 04:40:14 +01:00
Tobias Geerinckx-Rice 440c4273b8
gnu: coda: Update to 2.18.3.
* gnu/packages/maths.scm (coda): Update to 2.18.3.
2017-12-04 04:40:14 +01:00
Tobias Geerinckx-Rice d3cdb25d17
gnu: python-scikit-learn: Update to 0.19.1.
* gnu/packages/machine-learning.scm (python-scikit-learn): Update to 0.19.1.
2017-12-04 04:40:14 +01:00
Ludovic Courtès 8d7f1d7368
gnu: guix: Update snapshot to 3fb6464.
* gnu/packages/package-management.scm (guix): Update to 3fb6464.
2017-12-04 00:08:13 +01:00
Rutger Helling b901043604
gnu: you-get: Update to 0.4.990.
* gnu/packages/video.scm (you-get): Update to 0.4.990.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2017-12-03 23:49:56 +01:00
Ludovic Courtès 3fb6464ba4
ui: Tweak conflicting profile entry error message.
* guix/ui.scm (call-with-error-handling): Use 'manifest-entry-output*'
when reporting conflicting profile entries.
2017-12-03 23:18:53 +01:00
Ludovic Courtès 4bd70904c7
gnu: shepherd: Avoid "Bad file descriptor" warnings.
* gnu/packages/patches/shepherd-close-fds.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (shepherd)[source]: Use it.
2017-12-03 23:18:53 +01:00
Ludovic Courtès cbb76780ef
profiles: Really disable deprecation warnings for 'profile-derivation'.
This is a followup to 2815fca142.

* guix/profiles.scm (profile-derivation)[builder]: Remove
'debug-disable' call, which was ineffective.
Pass #:env-vars to 'gexp->derivation'.
2017-12-03 23:18:53 +01:00
Ludovic Courtès d9721c2096
scripts: Default to Guile 2.2 as the guile-for-build.
* guix/scripts/environment.scm (guix-environment): '%guile-for-build'
now defaults to GUILE-2.2 instead of GUILE-2.0.
* guix/scripts/package.scm (guix-package): Likewise.
* guix/scripts/pull.scm (guix-pull): Likewise.
2017-12-03 23:18:53 +01:00
Ricardo Wurmus 98a26dc889
gnu: samplv1: Update to 0.8.5.
* gnu/packages/music.scm (samplv1): Update to 0.8.5.
2017-12-03 23:10:57 +01:00
Ricardo Wurmus 54c76c2603
gnu: drumkv1: Update to 0.8.5.
* gnu/packages/music.scm (drumkv1): Update to 0.8.5.
2017-12-03 23:10:57 +01:00
Ricardo Wurmus 4a7b1add2a
gnu: synthv1: Update to 0.8.5.
* gnu/packages/music.scm (synthv1): Update to 0.8.5.
2017-12-03 23:10:57 +01:00
Ludovic Courtès 2815fca142
profile: Use _IO* but disable deprecation warning.
This fixes a regression introduced in
2f60084f77, whereby the profile derivation
would fail to run on Guile 2.0 (as is the case with "guix package
--bootstrap").

Reported by Christopher Baines.

* guix/profiles.scm (profile-derivation)[builder]: Use _IO* but add
'debug-disable' call.
2017-12-03 21:50:46 +01:00
Ludovic Courtès 8638362f13
install: Add colors in 'motd' and 'issue'.
* gnu/system/install.scm (%installation-services)[motd]: Add colors.
[services]: Use the "lat9u-16" font.
(%issue): Add colors.
2017-12-03 19:12:16 +01:00
Ludovic Courtès 2f60084f77
profiles: Avoid _IO* in profile builder.
* guix/profiles.scm (profile-derivation)[builder]: Avoid the deprecated
_IO* constants.
2017-12-03 19:12:16 +01:00
Ludovic Courtès 350cb5ba84
doc: Link to work on bootstrapping.
* doc/guix.texi (Reducing the Set of Bootstrap Binaries): New section.
2017-12-03 19:12:16 +01:00
Ludovic Courtès af4a761e97
install: Add the prerequisites of 'profile-derivation' as GC roots.
* gnu/system/install.scm (%installation-services): Add
GLIBC-UTF8-LOCALES, TEXINFO, and GUILE-FINAL as GC roots.
2017-12-03 19:12:16 +01:00
Ludovic Courtès cdc938daf9
profiles: Do not import the host's srfi-{19,26}.scm files.
Previously the "manual-database" derivation would always import the
host's srfi-{19,26}.scm files in the build side.  In practice this means
that different users could get different manual-database.drv depending
on the Guile version they're using in the host.

For example, the (gnu tests install) tests would fail if the host was
running Guile 2.2.3 because the guest is running 2.2.2, and thus has
different srfi-{19,26}.scm files.  The manual-database.drv would need to
be built from source, which would fail because prerequisites were
missing.

Reported by Mathieu Othacehe <m.othacehe@gmail.com>
at <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29409#96>.

* guix/profiles.scm (manual-database): Do not pass #:modules to
'gexp->derivation'.  Wrap 'build' gexp in 'with-imported-modules' form.
2017-12-03 19:12:16 +01:00
Ricardo Wurmus d112e5a8c2
gnu: Add kallisto.
* gnu/packages/bioinformatics.scm (kallisto): New variable.
2017-12-03 18:38:58 +01:00
Ricardo Wurmus 803a9d5c37
gnu: calf: Update to 0.90.0.
* gnu/packages/audio.scm (calf): Update to 0.90.0.
2017-12-03 18:31:48 +01:00
Ricardo Wurmus a4527622ee
gnu: jack-2: Update to 1.9.11-RC1.
* gnu/packages/audio.scm (jack-2): Update to 1.9.11-RC1.
2017-12-03 18:31:48 +01:00
Ricardo Wurmus 952837c824
gnu: guitarix: Update to 0.36.1.
* gnu/packages/audio.scm (guitarix): Update to 0.36.1.
2017-12-03 18:31:48 +01:00