summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* doc: Update the documentation for the asdf build systems.Andy Patterson2017-05-16
| | | | | | * doc/guix.texi (Build Systems): Remove the no-longer relevant parts about naming inputs. Add documentation for the new parameters #:asd-system-name and #:test-asd-file.
* build-system/asdf: Handle tests defined in external systems.Andy Patterson2017-05-16
| | | | | | | | | | | * guix/build-system/asdf.scm (asdf-build): Add a #:test-asd-file argument. [builder]: Pass it to the build system. (package-with-build-system)[transform]: Strip it from source systems' arguments. * guix/build/asdf-build-system.scm (check): Pass the fully qualified path to it on to the test-system procedure. * guix/build/lisp-utils.scm (test-system): Load the file, or otherwise one of the often used names for it, before running the tests. Adjust the docstring accordingly.
* gnu: sbcl-slynk-boot0: Give the package an appropriate name.Andy Patterson2017-05-16
| | | | | | | | | | * gnu/packages/lisp.scm (sbcl-slynk-boot0)[name]: Change it to reflect the bootstrap status of the package. [arguments]<#:asd-system-name>: Add the appropriate value. (sbcl-slynk-arglists)[arguments]: Set the appropriate #:asd-file and forcibly unset #:asd-system-name. (sbcl-slynk)[name]: Change it to the variable name. (cl-slynk)[name]: Likewise.
* build-system/asdf: Retain references to source files for binary outputs.Andy Patterson2017-05-16
| | | | | | | | | | | | | | | | | In support of long-running programs in which the users would like to be able to jump to the source of a definition of any of the dependencies (itself included) of the program. * guix/build/asdf-build-system.scm (library-outputs): Move from here ... * guix/build/lisp-utils.scm (library-outputs): ... to here. (build-program): Accept dependency-prefixes argument, to allow the caller to specify references which should be retained. Default to the library's output. (build-image): Likewise. (generate-executable): Likewise. * gnu/packages/lisp.scm (sbcl-stumpwm+slynk, sbcl-slynk, sbcl-stumpwm): Adjust accordingly to the new interface. (sbcl-stumpwm+slynk)[native-inputs]: Move to ... [inputs]: ... here.
* build-system/asdf: Simplify the use of lisp-eval-program.Andy Patterson2017-05-16
| | | | | | | | | | | | | | | | | | Accept a list of statements, each run within its own `--eval' argument. This allows statements to use reader package namespacing after a package has been loaded. * guix/build/lisp-utils.scm (spread-statements): New procedure. (lisp-invoke): Rename to ... (lisp-invocation): ... this. Use spread-statements. Change interface to accept list of statements instead of a single statement. (asdf-load-all-systems): Simplify returned statements. (compile-system): Simplify the program passed to `lisp-eval-program'. (test-system): Likewise. (generate-executable-for-system): Likewise. Accept the full symbol describing the asdf operation to use. (generate-executable): Document the change. (build-program, build-image): Use the new interface.
* gnu: Add cl-unicode.Ricardo Wurmus2017-05-16
| | | | | | | * gnu/packages/lisp.scm (sbcl-cl-unicode-base, sbcl-cl-unicode) (ecl-cl-unicode, cl-unicode): New variables. Co-Authored-By: Andy Patterson <ajpatter@uwarerloo.ca>
* build-system/asdf: Handle unusually-named systems.Andy Patterson2017-05-16
| | | | | | | | | | * guix/build/lisp-utils.scm (valid-char-set): New variable. (normalize-string): New procedure. (compiled-system): Truncate the name of a system which contains slashes. (generate-system-definition, make-asd-file): Use `normalize-string' to alter the names of the created system and its dependencies. * guix/build/asdf-build-system.scm (create-asd-file): Normalize the name of the asd file being created.
* build-system/asdf: Always pre-load the system's definition file.Andy Patterson2017-05-16
| | | | | | | | | * guix/build-system/asdf.scm (asdf-build)[builder]: Pass a default `#:asd-file' argument to the build procedure, using the system's name. * guix/build/asdf-build-system.scm (build, check): Adjust to assume that `asd-file' will always be a string. * guix/build/lisp-utils.scm (compile-system, system-dependencies) (test-system): Likewise.
* build-system/asdf: Pass the system name as an argument to the builder.Andy Patterson2017-05-16
| | | | | | | | | | * guix/build-system/asdf.scm (asdf-build): Use the user-defined system name, or calculate it from the package's full name. [builder]: Pass the value along to the build procedure. (package-with-build-system): Remove #:asd-system-name from source packages' arguments. * guix/build/asdf-build-system.scm: Adjust accordingly. * guix/build/lisp-utils.scm (remove-lisp-from-name): Delete variable.
* build-system/asdf: Parameterize the lisp type and implementation globally.Andy Patterson2017-05-16
| | | | | | | | | | | | * guix/build-system/asdf.scm (asdf-build)[builder]: Parameterize %lisp-type and %lisp before invoking the build procedure. Don't pass #:lisp-type as an argument to said procedure. * guix/build/asdf-build-system.scm: Adjust accordingly. (source-install-prefix): Rename to %lisp-source-install-prefix. * guix/build/lisp-utils.scm: Adjust accordingly. (%lisp-type): New parameter. (bundle-install-prefix): Rename to %bundle-install-prefix. * gnu/packages/lisp.scm: Adjust accordingly.
* build-system/asdf: Make #:lisp a package argument.Andy Patterson2017-05-16
| | | | | | | | | | | * guix/build-system/asdf.scm (lower): Change argument name to `lisp-type'. (asdf-build): Change argument name to `lisp-type'. Remove `lisp' as an argument to the returned procedure. Change the argument passed to build phases to `lisp-type'. * guix/build/asdf-build-system.scm (copy-source, build, check) (create-asd-file, symlink-asd-files, cleanup-files, strip): Respect `lisp-type` argument. * gnu/packages/lisp.scm (sbcl-stumpwm, sbcl-stumpwm+slynk): Likewise.
* build-system/asdf: Keep ecl's generated archive files.Andy Patterson2017-05-16
| | | | | | This may be necessary to produce programs or images with ecl. * guix/build/asdf-build-system.scm (cleanup-files): Don't delete .a files.
* build-system/asdf: Don't rename inputs.Andy Patterson2017-05-16
| | | | | | | | | | | | | * guix/build-system/asdf.scm (package-with-build-system)[transform]: Use updated `new-inputs' procedure for inputs and native-inputs. <rewrite>: Don't rename inputs. <new-propagated-inputs>: Draw from package-inputs and package-native-inputs for source packages. Use the original package's propagated-inputs otherwise. <new-inputs>: Convert into a function to be used to transform inputs and native-inputs. * gnu/packages/lisp.scm (sbcl-fiveam, sbcl-bordeaux-threads) (sbcl-flexi-streams, sbcl-cl-ppcre, sbcl-stumpwm, sbcl-slynk-arglists) (sbcl-slynk-fancy-inspector): Don't prefix input names.
* build-system/asdf: Use asdf to determine dependencies.Andy Patterson2017-05-16
| | | | | | | | | | | | This removes the need for conventions to determine which inputs are run-time dependencies, and also the need to specify "special" dependencies. * guix/build/lisp-utils.scm (patch-asd-file, lisp-dependencies) (wrap-perform-method): Remove them. (inputs->asd-file-map, system-dependencies, generate-system-definition) (generate-dependency-links, make-asd-file): New procedures. (lisp-eval-program): Add an error if no lisp matches. (compile-system): Don't use asdf's in-built asd-file generator.
* gnu: cl-stumpwm: Build the library in "lib" and the program in "bin".Andy Patterson2017-05-16
| | | | | | | * gnu/packages/lisp.scm (sbcl-stumpwm)[outputs]: Remove "bin" and add "lib". [arguments]<#:phases>: Change the target of `build-program' to the "out" output. Likewise, change the target of the desktop file generation. (sbcl-stumpwm+slynk)[inputs]: Use the "lib" output of sbcl-stumpwm.
* build-system/asdf: Make it possible to use "lib" as the build output.Andy Patterson2017-05-16
| | | | | | | | | * guix/build/asdf-build-system.scm (library-output): New procedure. (copy-source, build, check, patch-asd-files, symlink-asd-files) (cleanup-files): Use it. (copy-files-to-output): Rework to take an output instead of an outputs and string pair. (install, copy-source): Use the new method.
* build-system/asdf: Rename %install-prefix to %source-install-prefix.Andy Patterson2017-05-16
| | | | | | | | * guix/build/lisp-utils.scm (%install-prefix): Rename to %source-install-prefix. (build-install-prefix): Use it. * guix/build/asdf-build-system.scm (source-install-prefix) (%system-install-prefix, source-directory, copy-source): Likewise.
* gnu: cl-slynk: Explain some naming choices.Andy Patterson2017-05-16
| | | | | * gnu/packages/lisp.scm (sbcl-slynk-boot0): Add comments explaining its purpose and the reason its package-name must differ from its name.
* gnu: cl-slynk: Clarify the description.Andy Patterson2017-05-16
| | | | * gnu/packages/lisp.scm (sbcl-slynk-boot0)[description]: Describe slime.
* gnu: guix: Update snapshot.Ludovic Courtès2017-05-16
| | | | * gnu/packages/package-management.scm (guix): Update to ce92d26.
* scripts: system: Display bootloader name in "list-generations".Mathieu Othacehe2017-05-16
| | | | | * guix/scripts/system.scm (display-system-generation): Display bootloader name.
* scripts: system: Adapt "switch-generation" to new bootloader API.Mathieu Othacehe2017-05-16
| | | | | | | | | * guix/scripts/system.scm (reinstall-grub): Rename to reinstall-bootloader. Read boot-device and boot-type from parameters file to be able to restore the correct bootloader on specified device. Factorize bootloader installation code by calling install-bootloader. (system-bootloader-name): New procedure. (switch-to-system-generation): Adapt.
* scripts: system: Adapt "init" to new bootloader API.Mathieu Othacehe2017-05-16
| | | | | | | * guix/scripts/system.scm (install): Pass installer a new argument. Rename other arguments. Call install-bootloader instead of install-grub*. (perform-action): Adapt.
* scripts: system: Adapt "reconfigure" to new bootloader API.Mathieu Othacehe2017-05-16
| | | | | | | | | | | | | | * guix/scripts/system.scm (install-grub*): Rename to install-bootloader. Use keys to pass arguments. Pass a new argument, "installer-drv" which is a script in store dealing with bootloader-specific install actions. Also call "install-boot-config" to install the bootloader config file. (install-bootloader-derivation): New procedure. It returns a derivation that builds a file containing "install-procedure" gexp. (perform-action): Build install-proc derivation and call install-bootloader with the resulting file. Stop adding GRUB to PATH as bootloaders are called in install-proc with direct store paths.
* bootloader: Add bootloader name to boot-parameters record.Mathieu Othacehe2017-05-16
| | | | | | | | * gnu/system.scm (<boot-parameters>)[name]: New field. (boot-parameters-boot-name): Ditto. (operating-system-boot-parameters-file): Add new field. (operating-system-boot-parameters): Ditto. (read-boot-parameters): Ditto.
* bootloader: Adapt vm to new bootloader API.Mathieu Othacehe2017-05-16
| | | | | | | | | | | | * gnu/build/install.scm (install-boot-config): New procedure. (install-grub): Move to (gnu bootloader grub). * gnu/build/vm.scm (register-bootcfg-root): Rename register-grub.cfg-root and adjust accordingly. (initialize-hard-disk): Takes a bootloader-package, bootcfg, bootcfg-location and bootloader-installer procedure. Adjust accordingly. * gnu/system/vm.scm (qemu-image): Adjust to initialize-hard-disk. (system-disk-image, system-qemu-image, system-qemu-image/shared-store): Adjust to qemu-image.
* bootloader: Add extlinux support.Mathieu Othacehe2017-05-16
| | | | | | | | | | | | | | | * gnu/bootloader.scm: New file. * gnu/bootloader/extlinux.scm: New file. * gnu/bootloader/grub.scm: New file. * gnu/local.mk: Build new files. * gnu/system.scm: Adapt to new bootloader api. * gnu/scripts/system.scm: Adapt to new bootloader api. * gnu.scm: Remove (gnu system grub) and replace by (gnu bootloader) and (gnu bootloader grub) modules. * gnu/system/grub.scm: Moved content to gnu/bootloader/grub.scm. * gnu/system/vm: Replace (gnu system grub) module by (gnu bootloader). * gnu/tests.scm: Ditto. * gnu/tests/nfs.scm: Ditto.
* ui: Disable Guile deprecation warnings by default.Ludovic Courtès2017-05-16
| | | | | * guix/ui.scm (initialize-guix): Call (debug-disable 'warn-deprecated) when "GUILE_WARN_DEPRECATED" is not set.
* gnu: guile-ssh: Fix bug in 'node-guile-version'.Ludovic Courtès2017-05-16
| | | | | | * gnu/packages/patches/guile-ssh-rexec-bug.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/ssh.scm (guile-ssh)[source](patches): New field.
* hydra: Cross-build Guile 2.2.Ludovic Courtès2017-05-16
| | | | * build-aux/hydra/gnu-system.scm (%core-packages): Add GUILE-2.2.
* gnu: khard: Update to 0.11.4.Leo Famulari2017-05-15
| | | | * gnu/packages/mail.scm (khard): Update to 0.11.4.
* gnu: bind: Rename variable to 'isc-bind'.Ludovic Courtès2017-05-16
| | | | | | | | Reported by Leo Famulari. * gnu/packages/dns.scm (bind): Rename to... (isc-bind): ... this. * gnu/packages/sssd.scm (sssd)[inputs]: Adjust accordingly.
* doc: Mention 'sync' after 'dd'.Ludovic Courtès2017-05-15
| | | | | | Suggested by librenoob on #guix. * doc/guix.texi (USB Stick Installation): Add 'sync' invocation.
* services: guix: Authorize the key for bayfront.guixsd.org.Ludovic Courtès2017-05-15
| | | | | * gnu/services/base.scm (%default-authorized-guix-keys): Add "bayfront.guixsd.org".
* doc: Mention 'GUIX_PACKAGE_PATH' in "Defining Packages".Ludovic Courtès2017-05-15
| | | | * doc/guix.texi (Defining Packages): Mention 'GUIX_PACKAGE_PATH'.
* utils: 'compressed-file?' matches ".lzma" files.Ludovic Courtès2017-05-15
| | | | * guix/utils.scm (compressed-file?): Add "lzma" to the list.
* gnu: antlr2: Minor stylistic changes.Ricardo Wurmus2017-05-15
| | | | | * gnu/packages/java.scm (antlr2)[source]: Fix indentation; end snippet on #t; add comment next to disabled tests.
* gnu: antlr2: Simplify build phases.Ricardo Wurmus2017-05-15
| | | | * gnu/packages/java.scm (antl2)[arguments]: Simplify build phases.
* gnu: Add non-timeline.Ricardo Wurmus2017-05-15
| | | | * gnu/packages/music.scm (non-timeline): New variable.
* gnu: Add non-mixer.Ricardo Wurmus2017-05-15
| | | | * gnu/packages/music.scm (non-mixer): New variable.
* gnu: Add java-javax-mail.Ricardo Wurmus2017-05-15
| | | | * gnu/packages/java.scm (java-javax-mail): New variable.
* licenses: Add EDL 1.0.Ricardo Wurmus2017-05-15
| | | | * guix/licenses.scm (edl1.0): New variable.
* gnu: Add java-log4j-api.Ricardo Wurmus2017-05-15
| | | | * gnu/packages/java.scm (java-log4j-api): New variable.
* gnu: Add java-eclipse-jdt-core.Ricardo Wurmus2017-05-15
| | | | * gnu/packages/java.scm (java-eclipse-jdt-core): New variable.
* gnu: Add java-eclipse-text.Ricardo Wurmus2017-05-15
| | | | * gnu/packages/java.scm (java-eclipse-text): New variable.
* gnu: Add java-eclipse-core-commands.Ricardo Wurmus2017-05-15
| | | | * gnu/packages/java.scm (java-eclipse-core-commands): New variable.
* gnu: Add java-eclipse-team-core.Ricardo Wurmus2017-05-15
| | | | * gnu/packages/java.scm (java-eclipse-team-core): New variable.
* gnu: Add java-eclipse-compare-core.Ricardo Wurmus2017-05-15
| | | | * gnu/packages/java.scm (java-eclipse-compare-core): New variable.
* gnu: Add java-icu4j.Ricardo Wurmus2017-05-15
| | | | * gnu/packages/icu4c.scm (java-icu4j): New variable.
* gnu: Add java-eclipse-core-resources.Ricardo Wurmus2017-05-15
| | | | * gnu/packages/java.scm (java-eclipse-core-resources): New variable.