aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* gnu: qemu: Upgrade to 2.0.0.Ludovic Courtès2014-05-01
| | | | * gnu/packages/qemu.scm (qemu-headless): Upgrade to 2.0.0.
* download: Rewrite using gexps.Ludovic Courtès2014-05-01
| | | | | | * guix/download.scm (gnutls-derivation): Remove. (gnutls-package): New procedure. (url-fetch): Rewrite using 'gexp->derivation'.
* monads, gexp: Remove unintended dependency on (gnu packages …).Ludovic Courtès2014-05-01
| | | | | | | | * guix/gexp.scm (gexp->derivation, gexp->script): Use 'default-guile' instead of an explicit reference to 'guile-final'. (default-guile): New procedure. * guix/monads.scm (run-with-store)[default-guile]: New procedure. Use it.
* gexp: Add support for 'origin?' objects in 'ungexp' forms.Ludovic Courtès2014-05-01
| | | | | | | * guix/gexp.scm (lower-inputs, gexp-inputs, gexp->sexp, canonicalize-reference): Add 'origin?' case. * guix/monads.scm (origin->derivation): New procedure. * tests/gexp.scm ("one input origin"): New test.
* system: Add 'sudo' to the setuid programs, and handle /etc/sudoers.Ludovic Courtès2014-05-01
| | | | | | | | | | | | | | * gnu/system.scm (<operating-system>)[groups]: Change default to just the 'root' group. [sudoers]: New field. (etc-directory): Add #:sudoers parameter. Add 'sudoers' to the file union. (operating-system-etc-directory): Pass #:sudoers to 'etc-directory'. (%setuid-programs): Add 'sudo'. (%sudoers-specification): New variable. * gnu/system/linux.scm (base-pam-services): Add 'sudo'. * build-aux/hydra/demo-os.scm: Add 'groups' field; add 'guest' to the 'wheel' group.
* gnu: Add petscEric Bavier2014-05-01
| | | | | | | * gnu/packages/maths.scm (petsc): New variable. (petsc-complex): New variable. * gnu/packages/patches/petsc-fix-threadcomm.patch: New patch. * gnu-system.am (dist_patch_DATA): Add it.
* gnu: Add abbaye.David Thompson2014-05-01
| | | | * gnu/packages/games.scm (abbaye): New variable.
* gnu: Propagate necessary inputs for sdl-image.David Thompson2014-05-01
| | | | | * gnu/packages/sdl.scm (sdl-image): Propagate jpeg, png, and tiff libraries.
* gexp: Add pretty printer.Ludovic Courtès2014-04-30
| | | | | * guix/gexp.scm (write-gexp): New procedure. <top level>: Add call to 'set-record-type-printer!'.
* gnu: Add sudo.Ludovic Courtès2014-04-30
| | | | * gnu/packages/admin.scm (sudo): New variable.
* system: Add support for setuid binaries.Ludovic Courtès2014-04-30
| | | | | | | | | | | | | | | * gnu/system.scm (<operating-system>)[pam-services, setuid-programs]: New fields. (etc-directory)[bashrc]: Prepend /run/setuid-programs to $PATH. (operating-system-etc-directory): Honor 'operating-system-pam-services'. (%setuid-programs): New variable. (operating-system-boot-script): Add (guix build utils) to the set of imported modules. Call 'activate-setuid-programs' in boot script. * gnu/system/linux.scm (base-pam-services): New procedure. * guix/build/activation.scm (%setuid-directory): New variable. (activate-setuid-programs): New procedure. * build-aux/hydra/demo-os.scm: Add 'pam-services' field.
* linux-initrd: Allow setuid binaries from the unionfs to run.Ludovic Courtès2014-04-30
| | | | | * guix/build/linux-initrd.scm (boot-system): Pass the 'suid' option to UNIONFS.
* system: Add (guix build activation).Ludovic Courtès2014-04-30
| | | | | | | | | * gnu/services/dmd.scm (dmd-configuration-file): Remove 'etc' parameter. Move /etc activation code to... * guix/build/activation.scm: ... here; new file. * gnu/system.scm (operating-system-boot-script): Augment script: add (guix build activation) to the load path; call 'activate-etc'. * Makefile.am (MODULES): Add guix/build/activation.scm.
* gnu: calcurse: Fix module definition.Eric Bavier2014-04-30
| | | | * gnu/packages/calcurse.scm: Define calcurse module correctly.
* gnu: gmsh: Fix typosEric Bavier2014-04-30
| | | | | * gnu/packages/maths.scm (gmsh): Fix typo and space aftern end-of-sentence.
* gnu: Add gmshEric Bavier2014-04-30
| | | | * gnu/packages/maths.scm (gmsh): New variable
* derivations: Micro-optimize 'derivation'.Ludovic Courtès2014-04-29
| | | | | | | * guix/derivations.scm (derivation->string): New procedure. (derivation-hash, derivation): Use it. Memoization here yields a 5% improvement on "guix build -e '(@ (gnu packages emacs) emacs)' -n --no-substitutes".
* gnu: guile-ncurses: Build with Unicode support.Ludovic Courtès2014-04-29
| | | | | * gnu/packages/guile.scm (guile-ncurses)[arguments]: Pass "--with-ncursesw".
* gnu-maintenance: Avoid network access in 'gnu-package?'.Ludovic Courtès2014-04-29
| | | | | * guix/gnu-maintenance.scm (gnu-package?): Add 'mirror-type' procedure. Resort to 'official-gnu-packages' only when 'mirror-type' returns #f.
* Update 'TODO'.Ludovic Courtès2014-04-29
|
* gexp: Remove leftover parameter.Ludovic Courtès2014-04-29
| | | | | * guix/gexp.scm (gexp->sexp): Remove #:outputs parameter. Adjust callers accordingly.
* gnu: screen: Upgrade to 4.2.1.Ludovic Courtès2014-04-28
| | | | * gnu/packages/screen.scm (screen): Upgrade to 4.2.1.
* gnu: mcron: Upgrade to 1.0.7.Ludovic Courtès2014-04-28
| | | | | * gnu/packages/guile.scm (mcron): Upgrade to 1.0.7. Use GUILE-2.0 instead of GUILE-1.8; add 'native-inputs' field.
* monads: Hide 'derivation-expression' and 'lower-inputs'.Ludovic Courtès2014-04-28
| | | | | | | | | | | | | | | | | * guix/monads.scm: Unexport 'lower-inputs' and 'derivation-expression'. (text-file*): Add comment about the switch to 'gexp->derivation'. (lower-inputs): Add comment about its doom. (derivation-expression): Likewise. * guix/gexp.scm (lower-inputs*): Rename to... (lower-inputs): ... this. Update callers. * tests/monads.scm (derivation-expression): New procedure. * doc/guix.texi (The Store Monad): Use 'gexp->derivation' instead of 'derivation-expression'. Remove documentation of 'derivation-expression'. * guix/ui.scm (read/eval): Use THE-ROOT-MODULE so that macros are properly expanded. * tests/guix-build.sh: Use 'gexp->derivation' instead of 'derivation-expression'.monads: Hide 'derivation-expression' and 'lower-inputs'.
* linux-initrd: Rewrite using gexps.Ludovic Courtès2014-04-28
| | | | | | | * gnu/system/linux-initrd.scm (expression->initrd): Rename 'inputs' parameter to 'to-copy'. Remove 'files-to-copy'. Rewrite 'builder' as a gexp, and use 'gexp->derivation'. (qemu-initrd): Adjust accordingly.
* system: Rewrite 'union' using gexps.Ludovic Courtès2014-04-28
| | | | * gnu/system.scm (union): Rewrite using 'gexp->derivation'.
* services: xorg: Rewrite using gexps.Ludovic Courtès2014-04-28
| | | | | | * gnu/services/xorg.scm (xorg-start-command): Rewrite in terms of 'gexp->script'. (xinitrc): Likewise.
* system: grub: Rewrite using gexps.Ludovic Courtès2014-04-28
| | | | | | * gnu/system/grub.scm (grub-configuration-file): Rewrite using 'gexp->derivation'. * gnu/system.scm (operating-system-derivation): Adjust accordingly.
* system: Change 'file-union' to use gexps.Ludovic Courtès2014-04-28
| | | | | | | * gnu/system.scm (file-union): Make 'name' the first parameter; remove 'inputs' parameter. Rewrite using 'gexp->derivation'. (etc-directory): Adjust accordingly. (operating-system-derivation): Ditto.
* services: Rewrite using gexps.Ludovic Courtès2014-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/services.scm (<service>)[inputs]: Remove. * gnu/system.scm (links): Remove. (etc-directory): Add PASSWD and SHADOW to #:inputs. (operating-system-boot-script): Pass ETC to 'dmd-configuration-file'. (operating-system-derivation): Remove EXTRAS from the union. * gnu/system/linux.scm (pam-service->configuration): Rewrite in terms of 'gexp->derivation'. Compute the contents on the build side. Expect 'arguments' to contain a list of gexps. (pam-services->directory): Rewrite in terms of 'gexp->derivation'. (unix-pam-service): Change 'arguments' to a list of one gexp. * gnu/system/shadow.scm (<user-account>)[inputs]: Remove. [shell]: Change default value to a gexp. (passwd-file): Rewrite in terms of 'gexp->derivation'. Compute contents on the build side. * gnu/services/base.scm (host-name-service, mingetty-service, nscd-service, syslog-service, guix-service): Change 'start' and 'stop' to gexps; remove 'inputs' field. (guix-build-accounts): Change 'shell' field to a gexp. * gnu/services/networking.scm (static-networking-service): Change 'start' and 'stop' to gexps; remove 'inputs' field. * gnu/services/xorg.scm (slim-service): Likewise. * gnu/services/dmd.scm (dmd-configuration-file): Expect ETC to be a derivation. Change 'config' to a gexp. Use 'gexp->file' instead of 'text-file'. * doc/guix.texi (Defining Services): Update nscd example with gexps, and without 'inputs'. Add xref to "G-Expressions".
* vm: Rewrite support procedures to use gexps.Ludovic Courtès2014-04-28
| | | | | | | | | | | | | | * gnu/system/vm.scm (%imported-modules): Remove. (expression->derivation-in-linux-vm): Remove 'inputs' parameter. Rename 'imported-modules' to 'modules'. Rewrite using gexps and 'gexp->derivation'. (qemu-image): Add 'qemu' parameter. Pass NAME to 'expression->derivation-in-linux-vm'. Rewrite using gexps. Remove #:inputs argument to 'expression->derivation-in-linux-vm'. (operating-system-default-contents): Rewrite using gexps. * gnu/system.scm (operating-system-profile-derivation): Rename to... (operating-system-profile): ... this. Adjust callers. (operating-system-profile-directory): Remove.
* store: (direct-store-path? (%store-prefix)) returns #f.Ludovic Courtès2014-04-28
| | | | | | * guix/store.scm (direct-store-path?): Return #f if PATH is (%store-prefix). * tests/store.scm ("direct-store-path?"): Add test.
* gnu: Use gexps in obvious places in (gnu system ...).Ludovic Courtès2014-04-28
| | | | | | | | * gnu/system.scm (operating-system-boot-script): Use 'gexp->file' instead of 'text-file*'. * gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise. (system-qemu-image/shared-store-script)[builder]: Turn into a gexp. Use 'gexp->derivation' instead of 'derivation-expression'.
* Add (guix gexp).Ludovic Courtès2014-04-28
| | | | | | | | | | | * guix/gexp.scm: New file. * tests/gexp.scm: New file. * Makefile.am (MODULES): Add guix/gexp.scm. (SCM_TESTS): Add tests/gexp.scm. * doc/guix.texi (Derivations): Add #:inputs in 'derivation' example. Mark 'build-expression->derivation' as deprecated, refer to "G-Expressions". Remove paragraph about code strata. (G-Expressions): New node.
* gnu: soprano: Add input clucene.Andreas Enge2014-04-28
| | | | | | | * gnu/packages/rdf.scm (soprano): Add input clucene and patch the cmake file looking for it. * gnu/packages/patches/soprano-find-clucene.patch: New file. * gnu-system.am (dist_patch_DATA): Register the patch.
* gnu: soprano: Upgrade to 2.9.4.Andreas Enge2014-04-28
| | | | * gnu/packages/rdf.scm (soprano): Upgrade to 2.9.4.
* guix: cmake: Add input and package libraries to the rpath, and adapt packageAndreas Enge2014-04-27
| | | | | | | | | | | definitions accordingly. * guix/build/cmake-build-system.scm (configure): Add flags. * gnu/packages/maths.scm (lapack): Drop special code. * gnu/packages/ssh.scm (libssh): Drop special code. * gnu/packages/slim.scm (slim): Drop special code and enable shared library. Co-authored-by: Eric Bavier <bavier@member.fsf.org>
* gnu: soprano: Add native input doxygen.Andreas Enge2014-04-25
| | | | * gnu/packages/rdf.scm (soprano): Add native input doxygen.
* gnu: doxygen: Add propagated input graphviz.Andreas Enge2014-04-25
| | | | * gnu/packages/doxygen.scm (doxygen): Add propagated input graphviz.
* gnu: libkate: Add native input doxygen and make input pkg-config native.Andreas Enge2014-04-25
| | | | | * gnu/packages/xiph.scm (libkate): Add native input doxygen. Make input pkg-config native.
* gnu: libmpdclient: Add native input doxygen.Andreas Enge2014-04-25
| | | | * gnu/packages/mpd.scm (libmpdclient): Add native input doxygen.
* gnu: libdbusmenu-qt: Add native input doxygen for building the documentation,Andreas Enge2014-04-25
| | | | | | | | and make input qjson native. * gnu/packages/kde.scm (libdbusmenu-qt): Add native input doxygen for building the documentation. Make input qjson native, as it is needed only for the tests.
* gnu: Add doxygen.Andreas Enge2014-04-25
| | | | | | | * gnu/packages/doxygen.scm: New file. * gnu/packages/patches/doxygen-test.patch, gnu/packages/patches/doxygen-tmake.patch: New files. * gnu-system.am (GNU_SYSTEM_MODULES, dist_patch_DATA): Register the new files.
* build: Add missing function checks for optional daemon features.Ludovic Courtès2014-04-24
| | | | | | | * config-daemon.ac: Check for lchown, posix_fallocate, vfork, sched_setaffinity, statvfs, nanosleep, and strsignal. As a side effect, this enables daemon features depending on the corresponding feature test macros.
* gnu: gp2c: Upgrade to 0.0.9pl1.Andreas Enge2014-04-24
| | | | * gnu/packages/algebra.scm (gp2c): Upgrade to 0.0.9pl1.
* vm: Clarify 'system-qemu-image/shared-store-script'.Ludovic Courtès2014-04-23
| | | | | | * gnu/system/vm.scm (system-qemu-image/shared-store-script): Move 'initrd' definition to the top-level. Have a single definition of 'initrd', 'image', and 'os-drv'.
* system: Add 'operating-system-boot-script'.Ludovic Courtès2014-04-23
| | | | | | * gnu/system.scm (operating-system-boot-script): New procedure. (operating-system-derivation): Use it. Remove DMD-CONF from the file union. Add BOOT-DRV to the inputs.
* system: Factorize (gnu system).Ludovic Courtès2014-04-23
| | | | | | | | * gnu/system.scm (operating-system-accounts, operating-system-etc-directory): New procedures. (operating-system-derivation): Use them. * gnu/services/base.scm (%base-services): Add 'host-name-service' invocation.
* gnu: cyrus-sasl: Add alternate source URL.Ludovic Courtès2014-04-22
| | | | | * gnu/packages/cyrus-sasl.scm (cyrus-sasl)[source]: Add alternate URL; the previous one is currently unreachable.
* gnu: mplayer: Add mpg123 as an input.Ludovic Courtès2014-04-22
| | | | * gnu/packages/video.scm (mplayer)[inputs]: Add mpg123.