Age | Commit message (Expand) | Author |
2016-11-07 | Merge branch 'master' into core-updates | Mark H Weaver |
2016-11-06 | profiles: Extract a procedure for getting relative generation numbers....* guix/profiles.scm (relative-generation-spec->number): New procedure.
* guix/scripts/package.scm (switch-generation-action): Use it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Chris Marusich |
2016-10-30 | Merge branch 'master' into core-updates | Leo Famulari |
2016-10-30 | profiles: manifest-lookup-package: Cosmetic changes....* guix/profiles.scm (manifest-lookup-package): Rename variables; use
"string=?" instead of "equal?".
| Ricardo Wurmus |
2016-09-30 | Merge branch 'master' into core-updates | Ludovic Courtès |
2016-09-26 | profiles: Build GTK+ input module cache....* guix/profiles.scm (gtk-im-modules): New procedure.
(%default-profile-hooks): Add it.
| Ricardo Wurmus |
2016-09-26 | profiles: manifest-lookup-package: Optionally match version prefix....* guix/profiles.scm (manifest-lookup-package): Optionally filter store
item matches by version prefix.
| Ricardo Wurmus |
2016-09-06 | profiles: Export <manifest-pattern> accessors....* guix/profiles.scm (manifest-pattern-name, manifest-pattern-version)
(manifest-pattern-output): Export.
| Ludovic Courtès |
2016-09-06 | profiles: Add manifest-transaction helper procedures....* guix/profiles.scm (manifest-transaction-install-entry)
(manifest-transaction-remove-pattern)
(manifest-transaction-null?): New procedures.
* tests/profiles.scm ("manifest-transaction-null?"): New test.
| Ludovic Courtès |
2016-08-23 | profiles: gtk-icon-themes: Use 'gtk-update-icon-cache' from 'gtk+:bin'....This is a followup to commit 7b808d7.
* guix/profiles.scm (gtk-icon-themes): Use 'gtk-update-icon-cache' from
the "bin" output of gtk+ package.
| 宋文武 |
2016-08-12 | profiles: xdg-mime-database: Run the hook when have GLib based applications....* guix/profiles.scm (xdg-mime-database): Run the hook when GLIB is referenced by
the manifest. Add SHARED-MIME-INFO to the mime packages of `update-mime-database'.
| 宋文武 |
2016-07-26 | profiles: Output in 'package->manifest-entry' defaults to "out"....Fixes <http://bugs.gnu.org/24029>.
Reported by Dylan Jeffers <sapientech@openmailbox.org>.
* guix/profiles.scm (package->manifest-entry): Change #:output to
default to "out".
(packages->manifest): Add 'package?' in second 'match' clause.
* tests/profiles.scm ("package->manifest-entry defaults to \"out\""):
New test.
| Ludovic Courtès |
2016-07-25 | profiles: Add fonts-dir-file hook....* guix/profiles.scm (fonts-dir-file): New procedure.
(%default-profile-hooks): Add it.
| Alex Kost |
2016-07-12 | profiles: Use 'with-imported-modules'....* guix/profiles.scm (info-dir-file): Use 'with-imported-modules' instead
of the #:module argument to 'gexp->derivation'.
(ghc-package-cache-file): Likewise.
(ca-certificate-bundle): Likewise.
(gtk-icon-themes): Likewise.
(xdg-desktop-database): Likewise.
(xdg-mime-database): Likewise.
(profile-derivation): Likewise.
| Ludovic Courtès |
2016-06-12 | profiles: Make sure hook derivations fail upon error....Reported at
<https://lists.gnu.org/archive/html/guix-devel/2016-06/msg00368.html>.
* guix/profiles.scm (info-dir-file)[build]: Add explicit call to
'exit'.
* guix/profiles.scm (ghc-package-cache-file)[build]: Likewise.
* guix/profiles.scm (xdg-desktop-database)[build]: Likewise.
* guix/profiles.scm (xdg-mime-database)[build]: Likewise.
| Ludovic Courtès |
2016-06-11 | profiles: manifest-lookup-package: Correctly handle package entries....* guix/profiles.scm (manifest-lookup-package): Consider the package entry
in addition to its 'package-transitive-inputs'.
| 宋文武 |
2016-06-11 | profiles: xdg-mime-database: Union the "share/mime/packages" directory....* guix/profiles.scm (xdg-mime-database): Call 'union-build' for the
"share/mime/packages" directory of inputs.
| 宋文武 |
2016-06-05 | profiles: 'profile-derivation' now honors #:system....Fixes <http://bugs.gnu.org/23682>.
Reported by Ander GM <anthk@openmailbox.org>.
* guix/profiles.scm (profile-derivation): Pass #:system to
'gexp->derivation'.
* tests/guix-environment.sh: Add 'guix environment -s' test.
| Ludovic Courtès |
2016-05-02 | profiles: Factor out 'manifest-lookup-package'....* guix/profiles.scm (manifest-lookup-package): New procedure.
(gtk-icon-themes, xdg-desktop-database, xdg-mime-database): Use it.
| 宋文武 |
2016-05-02 | profiles: Add xdg-mime-database hook....* guix/profiles.scm (xdg-mime-database): New function.
(%default-profile-hooks): Add it.
| 宋文武 |
2016-05-02 | profiles: Add xdg-desktop-database hook....* guix/profiles.scm (xdg-desktop-database): New function.
(%default-profile-hooks): Add it.
| 宋文武 |
2016-04-01 | profiles: Use the right 'package-name->name+version'....* guix/profiles.scm: Use 'package-name->name+version' from (guix build
utils). Fixes 'find-among-store-items' in 'gtk-icon-themes'.
| Ludovic Courtès |
2016-02-12 | profiles: Add #:system argument to profile-derivation....Suggested by David Thompson <davet@gnu.org>.
* guix/profiles.scm (profile-derivation): Add #:system parameter and
honor it.
| Ludovic Courtès |
2015-12-20 | profiles: Honor search paths of propagated inputs....Fixes <http://bugs.gnu.org/22073>.
Reported by Federico Beffa <beffa@ieee.org>.
* guix/profiles.scm (package->manifest-entry): Use
'package-transitive-native-search-paths' when computing
'search-paths' field.
* tests/profiles.scm ("package->manifest-entry, search paths"): New test.
| Ludovic Courtès |
2015-12-14 | profiles: Silence Info installation....* guix/profiles.scm (info-dir-file)[build]: Pass --silent to
'install-info'.
| Ludovic Courtès |
2015-12-04 | profiles: Silence GTK+ icon cache creation....Suggested by Ricardo Wurmus <rekado@elephly.net>.
* guix/profiles.scm (gtk-icon-themes)[build]: Pass --quiet to
'gtk-update-icon-cache'.
| Ludovic Courtès |
2015-12-04 | profiles: Silence GTK+ icon theme union....Suggested by Ricardo Wurmus <rekado@elephly.net>.
* guix/profiles.scm (gtk-icon-themes)[build]: Pass 'union-build' a
#:log-port argument.
| Ludovic Courtès |
2015-10-27 | profiles: Add generation manipulation procedures....* guix/scripts/package.scm (delete-generations): Use
'delete-generation*' instead of 'delete-generation'.
(guix-package)[process-actions]: Use 'roll-back*' instead of
'roll-back' and 'switch-to-generation*' instead of
'switch-to-generation'.
(link-to-empty-profile, switch-to-generation,
switch-to-previous-generation, roll-back, delete-generation): Move
to...
* guix/profiles.scm: ... here. Adjust to not print messages and to
return values that can be used by user interfaces.
* guix/ui.scm (display-generation-change, roll-back*,
switch-to-generation*, delete-generation*): New procedures.
| Ludovic Courtès |
2015-10-04 | Use "normalized codesets" everywhere....In other words, change "xx_YY.UTF-8" to "xx_YY.utf8".
* guix/profiles.scm (ca-certificate-bundle): Use "en_US.utf8" instead of
"en_US.UTF-8".
* guix/packages.scm (patch-and-repack): Likewise.
* guix/build/gnu-build-system.scm (install-locale): Likewise.
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Likewise.
* gnu/packages/python.scm (python-ipython): Likewise.
* gnu/packages/gawk.scm (gawk): Likewise.
* build-aux/hydra/demo-os.scm: Likewise.
* gnu/packages/guile.scm (guile-ncurses)[arguments]: Remove
'change-locale' phase.
| Ludovic Courtès |
2015-10-03 | gnu: glibc: Look for locale data in versioned sub-directories....* gnu/packages/base.scm (glibc)[native-search-paths]: Add
'lib/locale/VERSION' for 'GUIX_LOCPATH'.
(glibc-locales, glibc-utf8-locales): Write to a VERSION
sub-directory.
* guix/profiles.scm (ca-certificate-bundle): Adjust LOCPATH value
accordingly.
| Ludovic Courtès |
2015-09-24 | profiles: Make profile-specific derivations non-substitutable....This avoids gratuitous queries of the substituter.
* guix/profiles.scm (ghc-package-cache-file): Pass #:substitutable? #f
to 'gexp->derivation'.
(ca-certificate-bundle): Likewise.
(gtk-icon-themes): Likewise.
(profile-derivation): Likewise.
(info-dir-file): Likewise, plus #:local-build? #t.
| Ludovic Courtès |
2015-08-20 | profiles: Remove duplicate entries in 'etc/profile'....Reported by Andy Wingo
at <http://lists.gnu.org/archive/html/guix-devel/2015-08/msg00109.html>.
* guix/profiles.scm (profile-derivation)[builder]: Delete duplicates in
SEARCH-PATHS.
| Ludovic Courtès |
2015-06-11 | profiles: Process ghc conf files only once....A package may be listed in the manifest inputs multiple times. Avoid
copying ghc *.conf files twice by deleting duplicates.
* guix/profiles.scm (ghc-package-cache-file)[conf-files]: Delete
duplicate manifest inputs before copying conf files.
| Eric Bavier |
2015-06-11 | profiles: Search for ghc conf files only if package db exists....This avoids having 'find-files' report warnings about searching in
non-existent directories.
* guix/profiles.scm (ghc-package-cache-file)[conf-files]: Only search
for *.conf files if the search directory exists.
| Eric Bavier |
2015-05-28 | profiles: Deal with non-directory items in share/icons....Reported by Mark H Weaver <mhw@netris.org>.
* guix/profiles.scm (gtk-icon-themes)[build]: Check whether DIR is a directory
before calling 'ensure-writable-directory'.
| Ludovic Courtès |
2015-05-27 | profiles: Export 'ensure-writable-directory' and use it....* guix/build/profiles.scm (ensure-writable-directory): Export.
* guix/profiles.scm (gtk-icon-themes)[build]: Remove '@@' form and use (guix
build profiles).
| Ludovic Courtès |
2015-05-27 | profiles: Don't assume all the inputs are of a package are packages....Reported by Ricardo Wurmus.
* guix/profiles.scm (gtk-icon-themes)[entry-lookup-gtk+](find-among-packages):
Rename to...
(find-among-inputs): ... this. Check whether INPUT is a package before
calling 'package-name'. Fixes a regression introduced in b04af0e.
| Ludovic Courtès |
2015-05-27 | profiles: Use 'derivation?' to filter hooks....Fixes a regression introduced in 07eaecfa.
* guix/profiles.scm (profile-derivation): Use 'derivation?' instead of
'gexp?' to filter hooks.
| 宋文武 |
2015-05-27 | profiles: Add gtk-icon-themes hook....* guix/profiles.scm (gtk-icon-themes): New function.
(%default-profile-hooks): Add it.
| 宋文武 |
2015-05-26 | profiles: Hooks always return a monadic value....Suggested by 宋文武 <iyzsong@gmail.com>.
* guix/profiles.scm (ghc-package-cache-file): Return a monadic #f, not just
#f, when MANIFEST contains no GHC package.
(profile-derivation): Do not filter based on the return value of HOOK;
instead filter based on the value of items in EXTRAS.
| Ludovic Courtès |
2015-05-20 | profiles: Add 'packages->manifest' procedure....* guix/profiles.scm (packages->manifest): New procedure.
| David Thompson |
2015-05-06 | profiles: Generate an 'etc/profile' file....Suggested by 宋文武 <iyzsong@gmail.com>
in <http://bugs.gnu.org/20255>.
* guix/build/profiles.scm (abstract-profile,
write-environment-variable-definition): New procedures.
(build-profile): Add #:search-paths parameter. Create
OUTPUT/etc/profile.
* guix/profiles.scm (profile-derivation)[builder]: Add 'search-paths'
variable and pass it to 'build-profile'. Adjust #:modules argument.
* tests/profiles.scm ("etc/profile"): New test.
* doc/guix.texi (Invoking guix package): Mention etc/profile.
| Ludovic Courtès |
2015-05-06 | profiles: Move build code to (guix build profiles)....* guix/build/profiles.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/profiles.scm (profile-derivation)[builder]: Call out to
'build-profile'.
Add (guix build profiles) to the #:modules argument.
| Ludovic Courtès |
2015-05-04 | profiles: Use a &message error condition instead of 'error'....* guix/profiles.scm (sexp->manifest): Use 'raise' instead of 'error'.
| Ludovic Courtès |
2015-05-04 | Move search path specifications to (guix search-paths)....* guix/packages.scm (<search-path-specification>,
search-path-specification->sexp, sexp->search-path-specification):
Move to...
* guix/search-paths.scm: ... here. New file.
* Makefile.am (MODULES): Add it.
* guix/build-system/cmake.scm, guix/build-system/glib-or-gtk.scm,
guix/build-system/gnu.scm, guix/build-system/haskell.scm,
guix/build-system/perl.scm, guix/build-system/python.scm,
guix/build-system/ruby.scm, guix/build-system/waf.scm,
guix/profiles.scm, guix/scripts/package.scm: Use it.
| Ludovic Courtès |
2015-05-02 | profiles: Store search paths in manifests....Discussed in <http://bugs.gnu.org/20255>.
* guix/packages.scm (sexp->search-path-specification): New variable.
* guix/profiles.scm (<manifest-entry>)[search-paths]: New field.
(package->manifest-entry): Initialize it.
(manifest->gexp): Match it. Wrap #$deps in (propagated-inputs ...).
Emit (search-paths ...). Increment version.
(find-package): New procedure.
(sexp->manifest)[infer-search-paths]: New procedure.
Use it to initialize the 'search-paths' field for versions 0 and 1.
Add case for version 2.
* guix/scripts/package.scm (search-path-environment-variables)[manifest-entry->package]:
Remove.
Use 'manifest-entry-search-paths' instead of 'manifest-entry->package'
plus 'package-native-search-paths'.
* tests/profiles.scm ("profile-manifest, search-paths"): New test.
| Ludovic Courtès |
2015-04-20 | profiles: Create a CA certificate bundle only when it would be non-empty....* guix/profiles.scm (ca-certificate-bundle): Create
$output/etc/ssl/certs if and only if CA-FILES is non-empty.
| Ludovic Courtès |
2015-04-15 | profiles: Generalize "hooks" for 'profile-derivation'....* guix/profiles.scm (info-dir-file): Remove (null? (manifest-entries
manifest)) test.
(ca-certificate-bundle): Likewise.
(ghc-package-cache-file): Turn 'if' into 'and', and remove second
arm.
(%default-profile-hooks): New variable.
(profile-derivation): Remove #:info-dir?, #:ghc-package-cache?, and
#:ca-certificate-bundle?. Add #:hooks. Iterate over HOOKS. Adjust
'inputs' accordingly.
* guix/scripts/package.scm (guix-package): Adjust 'profile-derivation'
call accordingly.
* tests/packages.scm ("--search-paths with pattern"): Likewise.
* tests/profiles.scm ("profile-derivation",
"profile-derivation, inputs"): Likewise.
| Ludovic Courtès |
2015-04-08 | profiles: Generate GHC's package database cache....* guix/profiles.scm (ghc-package-cache-file): New procedure.
(profile-derivation): Add 'ghc-package-cache?' keyword argument. If true
(the default), add the result of 'ghc-package-cache-file' to 'inputs'.
* guix/scripts/package.scm (guix-package)[process-actions]: Pass
#:ghc-package-cache? to 'profile-generation'.
* tests/packages.scm ("--search-paths with pattern"): Likewise.
* tests/profiles.scm ("profile-derivation"): Likewise.
| Federico Beffa |
2015-03-17 | profiles: Use 'gexp-input' instead of two-element lists....* guix/profiles.scm (package->manifest-entry): Use 'gexp-input' instead
of two-element lists to denote specific package outputs.
(manifest-inputs): Likewise.
(profile-derivation)[info-dir]: Likewise.
| Ludovic Courtès |