Ludovic Courtès
65797bfffd
guix system: Add the 'list-generations' command.
...
* guix/scripts/system.scm (display-system-generation, list-generations):
New procedures.
(process-action): Clarify docstring.
(process-command): New procedure.
(guix-system)[parse-sub-command]: Add 'list-generations'
Call 'process-command' instead of 'process-action'.
* doc/guix.texi (Using the Configuration System): Mention generations,
rollback, and 'list-generations'.
(Invoking guix system): Document 'list-generations'.
2015-10-27 00:01:20 +01:00
Ludovic Courtès
5b516ef369
guix system: Factorize boot parameter parsing.
...
* guix/scripts/system.scm (<boot-parameters>): New record type.
(read-boot-parameters): New procedure.
(previous-grub-entries)[system->grub-entry]: Use it.
2015-10-27 00:01:20 +01:00
Ludovic Courtès
ad18c7e64c
ui: Add procedures to display a profile generation.
...
* guix/scripts/package.scm (guix-package)[process-query](list-generations):
Move part of the body to 'delete-generation' and
'display-profile-content'.
* guix/ui.scm (display-generation, display-profile-content): New
procedures.
2015-10-27 00:01:20 +01:00
Ludovic Courtès
d50cb56d9b
utils: Add 'readlink*'.
...
* guix/scripts/package.scm (readlink*): Move to...
* guix/utils.scm (readlink*): ... here. New procedure.
2015-10-27 00:01:20 +01:00
Ludovic Courtès
deaab8e314
guix system: Extract action processing.
...
* guix/scripts/system.scm (process-action): New procedure. Extracted
from...
(guix-system): ... here. Use it.
2015-10-27 00:01:20 +01:00
Ludovic Courtès
e49de93aa5
ui: Add 'matching-generations'.
...
* guix/scripts/package.scm (matching-generations): Move to...
* guix/ui.scm (matching-generations): ... here.
2015-10-27 00:01:20 +01:00
Ludovic Courtès
9685661324
doc: Add a REPL example.
...
* doc/contributing.texi (Running Guix Before It Is Installed): Add REPL
example.
* doc/emacs.texi (Emacs General info): Add @cindex.
2015-10-27 00:01:20 +01:00
Ludovic Courtès
5e1c936712
gnu: Add python-file.
...
* gnu/packages/python.scm (python-file, python2-file): New variables.
2015-10-27 00:01:20 +01:00
Ludovic Courtès
e3e1ecf67c
gnu: Add RPM.
...
* gnu/packages/package-management.scm (rpm): New variable.
* gnu/packages/backup.scm (libarchive): Add comment.
2015-10-27 00:01:19 +01:00
Paul van der Walt
64a719203f
gnu: racket: Update to 6.2.1.
...
* gnu/packages/scheme.scm (racket): Update to 6.2.1.
2015-10-26 13:28:20 +01:00
Paul van der Walt
fd59d2ee65
gnu: haskell: Remove CONFIG_SHELL patches.
...
A previous commit to the haskell-build-system made sure that if
necessary, the CONFIG_SHELL environment variable is set. That obviates
the individual patches applied to some packages. Remove them.
* gnu/packages/haskell.scm (ghc-network, ghc-old-time, ghc-sdl-image,
ghc-sdl-mixer, ghc-sdl, ghc-unix-time, ghc-x11)[arguments]: Remove
‘fix-/bin/sh’ phase.
2015-10-26 10:15:32 +01:00
Paul van der Walt
554093b7e1
gnu: ghc-async: Fix description formatting.
...
* gnu/packages/haskell.scm (ghc-async): Formatting.
2015-10-26 10:15:14 +01:00
Paul van der Walt
f862f38ade
build-system/haskell: CONFIG_SHELL env variable.
...
For Cabal packages with "build-type: Configure", a configure shell
script is run to set up build parameters. These scripts need the
CONFIG_SHELL environment variable to be set to function properly.
* guix/build/haskell-build-system.scm (configure): Set CONFIG_SHELL if
necessary.
2015-10-26 10:15:14 +01:00
David Thompson
f535dcbe19
scripts: environment: Add --container option.
...
* guix/scripts/system.scm (specification->file-system-mapping): Move from
here...
* guix/ui.scm (specification->file-system-mapping): ... to here.
* guix/scripts/enviroment.scm (show-help): Show help for new options.
(%options): Add --container --network, --expose, and --share options.
(%network-configuration-files): New variable.
(launch-environment, launch-environment/container, requisites*,
inputs->requisites): New procedures.
(guix-environment): Spawn new process in a container when requested.
* doc/guix.texi (Invoking guix environment): Document it.
* tests/guix-environment-container.sh: New file.
* Makefile.am (SH_TESTS): Add it.
2015-10-25 20:27:19 -04:00
Efraim Flashner
581176c00b
gnu: youtube-dl: Upgrade to 2015.10.24.
...
* gnu/packages/video.scm (youtube-dl): Upgrade to 2015.10.24.
2015-10-25 19:07:29 +02:00
宋文武
92e4fbe215
gnu: ardour: Build with '--cxx11'.
...
* gnu/packages/audio.scm (ardour, ardour-3)[arguments]: Add '--cxx11'
as #:configure-flags.
2015-10-25 17:40:14 +08:00
Mark H Weaver
51de92a08e
gnu: unzip: Reorganize security fixes for improved clarity.
...
* gnu/packages/patches/unzip-fix-overflows-and-infloop.patch: Delete
file. Its contents are now split into the following new files:
* gnu/packages/patches/unzip-CVE-2015-7696.patch,
gnu/packages/patches/unzip-CVE-2015-7697.patch,
gnu/packages/patches/unzip-overflow-on-invalid-input.patch: New files.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/zip.scm (unzip)[source]: Adjust patches accordingly.
2015-10-23 23:12:06 -04:00
Mark H Weaver
d3365d4866
Merge branch 'master' into dbus-update
2015-10-23 23:11:38 -04:00
宋文武
6e4512c470
gnu: libgnomecanvasmm: Fix build by passing '-std=c++11'.
...
* gnu/packages/gnome.scm (libgnomecanvasmm)[arguments]: Pass
'-std=c++11' as CXXFLAGS.
2015-10-24 09:57:11 +08:00
宋文武
a2651b5477
gnu: gtk+: Remove rest from inputs.
...
This broke building on mips64el.
* gnu/packages/gtk.scm (gtk+)[inputs]: Remove rest.
2015-10-24 09:22:15 +08:00
Mark H Weaver
ca9745e484
gnu: linux-libre: Update to 4.2.4.
...
* gnu/packages/linux.scm (linux-libre): Update to 4.2.4.
2015-10-23 15:34:07 -04:00
宋文武
6747de140d
gnu: bluez: Update to 5.35, fix test.
...
* gnu/packages/patches/bluez-tests.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (bluez): Update to 5.35.
[source]: Add patch.
2015-10-23 22:23:34 +08:00
Paul van der Walt
8e01e30077
import: hackage: Fix grammar.
...
Minor clarification regarding the test-dependencies command line option.
* guix/scripts/import/hackage.scm (show-help): Minor grammatical fix.
2015-10-23 09:10:52 +02:00
Paul van der Walt
759756a992
import: hackage: Update GHC libraries for 7.10.2.
...
Update ghc-standard-libraries to match the output of `ghc-pkg list` when
using GHC 7.10.2.
* guix/import/hackage.scm (ghc-standard-libraries): Sort and update list
of core GHC libraries.
2015-10-23 09:10:52 +02:00
Paul van der Walt
aa6f39127e
gnu: Add Raincat.
...
* gnu/packages/games.scm (raincat): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
c783cac070
gnu: Add ghc-sdl-image.
...
* gnu/packages/haskell.scm (ghc-sdl-image): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
224a0ddbd9
gnu: Add ghc-sdl-mixer.
...
* gnu/packages/haskell.scm (ghc-sdl-mixer): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
b784e8c502
gnu: Add ghc-sdl.
...
* gnu/packages/haskell.scm (ghc-sdl): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
bce030840d
gnu: Add ghc-glut.
...
* gnu/packages/haskell.scm (ghc-glut): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
fe28ba703f
gnu: Add ghc-opengl.
...
* gnu/packages/haskell.scm (ghc-opengl): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
74fa80ee68
gnu: Add ghc-objectname.
...
* gnu/packages/haskell.scm (ghc-objectname): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
894562e314
gnu: Add ghc-gluraw.
...
* gnu/packages/haskell.scm (ghc-gluraw): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
c480b85e66
gnu: Add ghc-openglraw.
...
* gnu/packages/haskell.scm (ghc-openglraw): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
22db3ce71a
gnu: Add ghc-half.
...
* gnu/packages/haskell.scm (ghc-half): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
25d51164f7
gnu: Add ghc-regex-compat.
...
* gnu/packages/haskell.scm (ghc-regex-compat): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
e422279bbc
gnu: Add ghc-regex-posix.
...
* gnu/packages/haskell.scm (ghc-regex-posix): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
25eb1c2227
gnu: Add ghc-xhtml.
...
* gnu/packages/haskell.scm (ghc-xhtml): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
e0d17b8482
gnu: Add ghc-haskell-src.
...
* gnu/packages/haskell.scm (ghc-haskell-src): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
0bc641baf8
gnu: Add ghc-html.
...
* gnu/packages/haskell.scm (ghc-html): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
1f477b59c1
gnu: Add ghc-cgi.
...
* gnu/packages/haskell.scm (ghc-cgi): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
5e217e4df7
gnu: Add ghc-multipart.
...
* gnu/packages/haskell.scm (ghc-multipart): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
e40b25432e
gnu: Add ghc-alex.
...
* gnu/packages/haskell.scm (ghc-alex): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
e0492a8dd4
gnu: Add ghc-haddock.
...
* gnu/packages/haskell.scm (ghc-haddock): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
735bd9c952
gnu: Add ghc-haddock-api.
...
* gnu/packages/haskell.scm (ghc-haddock-api): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
56b3bc5694
gnu: Add ghc-haddock-library.
...
* gnu/packages/haskell.scm (ghc-haddock-library): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
600621a182
gnu: Add Idris.
...
* gnu/packages/haskell.scm (idris): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
93248cfdd0
gnu: Add ghc-trifecta.
...
* gnu/packages/haskell.scm (ghc-trifecta): New variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
d7e67cf1a1
gnu: Add ghc-cheapskate.
...
* gnu/packages/haskell.scm (ghc-cheapskate): Add variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
e1a35c39b1
gnu: Add ghc-lens.
...
* gnu/packages/haskell.scm (ghc-lens): Add variable.
2015-10-23 09:10:52 +02:00
Paul van der Walt
5125f63fea
gnu: Add ghc-kan-extensions.
...
* gnu/packages/haskell.scm (ghc-kan-extensions): New variable.
2015-10-23 09:10:52 +02:00