summaryrefslogtreecommitdiff
path: root/build-aux/hydra
AgeCommit message (Expand)Author
2015-01-14monads: Move '%store-monad' and related procedures where they belong....This turns (guix monads) into a generic module for monads, and moves the store monad and related monadic procedures in their corresponding module. * guix/monads.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file, package-file, package->derivation, package->cross-derivation, origin->derivation, imported-modules, compiled, modules, built-derivations, run-with-store): Move to... * guix/store.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file): ... here. (%guile-for-build): New variable. (run-with-store): Moved from monads.scm. Remove default value for #:guile-for-build. * guix/packages.scm (default-guile): Export. (set-guile-for-build): New procedure. (package-file, package->derivation, package->cross-derivation, origin->derivation): Moved from monads.scm. * guix/derivations.scm (%guile-for-build): Remove. (imported-modules): Rename to... (%imported-modules): ... this. (compiled-modules): Rename to... (%compiled-modules): ... this. (built-derivations, imported-modules, compiled-modules): New procedures. * gnu/services/avahi.scm, gnu/services/base.scm, gnu/services/dbus.scm, gnu/services/dmd.scm, gnu/services/networking.scm, gnu/services/ssh.scm, gnu/services/xorg.scm, gnu/system/install.scm, gnu/system/linux-initrd.scm, gnu/system/shadow.scm, guix/download.scm, guix/gexp.scm, guix/git-download.scm, guix/profiles.scm, guix/svn-download.scm, tests/monads.scm: Adjust imports accordingly. * guix/monad-repl.scm (default-guile-derivation): New procedure. (store-monad-language, run-in-store): Use it. * build-aux/hydra/gnu-system.scm (qemu-jobs): Add explicit 'set-guile-for-build' call. * guix/scripts/archive.scm (derivation-from-expression): Likewise. * guix/scripts/build.scm (options/resolve-packages): Likewise. * guix/scripts/environment.scm (guix-environment): Likewise. * guix/scripts/system.scm (guix-system): Likewise. * doc/guix.texi (The Store Monad): Adjust module names accordingly. Ludovic Courtès
2014-11-29system: Change "en_US.UTF-8" to "en_US.utf8"....* build-aux/hydra/demo-os.scm (locale): Change to "en_US.utf8". * gnu/system/install.scm (installation-os)[locale]: Ditto. Ludovic Courtès
2014-11-21hydra: Build only non-grafted variants of the packages....* build-aux/hydra/gnu-system.scm (package->alist): Pass #:graft? #f. (package-cross-job): Adjust last argument of 'package->alist' to accept #:graft?. This fixes the problem reported in commit a480307. Ludovic Courtès
2014-11-13Revert "hydra: Build only non-grafted variants of the packages."...This reverts commit 9de1defe790d8baa6a230b2d02e7ba023783b022. Passing #:graft? was not possible because of the use of 'cut' on call sites. Ludovic Courtès
2014-11-13hydra: Build only non-grafted variants of the packages....* build-aux/hydra/gnu-system.scm (package->alist): Pass #:graft? #f to PACKAGE-DERIVATION. Ludovic Courtès
2014-11-12hydra: Make USB installation image bigger....* build-aux/hydra/gnu-system.scm (qemu-jobs): Require 800 MiB for the USB disk image. Ludovic Courtès
2014-10-17packages: Add 'package-transitive-supported-systems'....* guix/packages.scm (package-transitive-supported-systems): New procedure. * tests/packages.scm ("package-transitive-supported-systems"): New test. * build-aux/hydra/gnu-system.scm (package->job): Use it. Ludovic Courtès
2014-10-06hydra: Honor 'package-supported-systems'....* guix/packages.scm (%supported-systems): New variable. (<package>)[platforms]: Rename to... [supported-systems]: ... this. Change default to %SUPPORTED-SYSTEMS. * build-aux/hydra/gnu-system.scm (job-name, package->job): New procedures, formerly in 'hydra-jobs'. Honor 'package-supported-systems'. (hydra-jobs): Use them. Ludovic Courtès
2014-08-28hydra: Adjust to (gnu packages commencement) split from (gnu packages base)....* build-aux/hydra/gnu-system.scm: Import (gnu packages commencement). Mark H Weaver
2014-07-22system: Add '%devtmpfs-file-system' for udev, and '%base-file-systems'....Suggested by Adam Pribyl <pribyl@lowlevel.cz>. * gnu/services/base.scm (udev-service)[requirement]: Add 'file-system-/dev'. * gnu/system/file-systems.scm (%devtmpfs-file-system, %base-file-systems): New variables. * gnu/system/install.scm (installation-services)[file-systems]: Use %base-file-systems. * build-aux/hydra/demo-os.scm (file-systems): Likewise. * doc/guix.texi (System Installation): Show %BASE-FILE-SYSTEMS in the example. (Using the Configuration System): Likewise. (File Systems): Document %base-file-systems, %devtmpfs-file-system, %binary-format-file-system, and %fuse-control-file-system. Ludovic Courtès
2014-07-12services: Add Tor service....* gnu/services/networking.scm (tor-service): New procedure. * doc/guix.texi (Networking Services): Document it. * build-aux/hydra/demo-os.scm: Use it. Add TOR and TORSOCKS to 'packages'. Ludovic Courtès
2014-07-10gnu: linux-libre: Add i686 and x86_64 full-blown configs....Thanks to Jason Self <jself@gnu.org> for the kernel configs. * gnu/packages/linux.scm (kernel-config): New procedure. (linux-libre)[build-phase]: Copy it to .config. Reduce the list of things appended to .config. [native-inputs]: Add "kconfig" input. * gnu/packages/linux-libre-i686.conf, gnu/packages/linux-libre-x86_64.conf: New files, from <http://jxself.org/x86-32.txt> and <http://jxself.org/x86-64.txt>. * Makefile.am (KCONFIGS): New variable. (nobase_dist_guilemodule_DATA): Add it. Ludovic Courtès
2014-06-22system: Use the default 'groups' field....* gnu/system/install.scm (installation-os): Remove 'groups' field. * build-aux/hydra/demo-os.scm: Likewise. Ludovic Courtès
2014-06-22system: Remove useless 'members' field of 'user-group'....* gnu/system/shadow.scm (<user-group>)[members]: Remove field. * gnu/system/install.scm (installation-os)[users]: Remove 'members' fields. Use 'supplementary-groups' for 'guest'. * build-aux/hydra/demo-os.scm (users): Likewise. * gnu/services/base.scm (guix-service): Remove 'members' field. Ludovic Courtès
2014-06-04system: Define '%base-packages' and use it....* gnu/system.scm (<operating-system>)[packages]: Change default value to %BASE-PACKAGES. (%base-packages): New variable. * gnu/system/install.scm (installation-os): Use it when defining the 'packages' field. * doc/guix.texi (Using the Configuration System): Use %BASE-PACKAGES in example. Remove now unneeded module imports. Explain this. Ludovic Courtès
2014-06-03hydra: Add Avahi to the demo OS....* build-aux/hydra/demo-os.scm: Use 'avahi-service' and 'dbus-service'. Add AVAHI to 'packages'. Ludovic Courtès
2014-06-01hydra: Make USB installation image smaller....* build-aux/hydra/gnu-system.scm (qemu-jobs): Reduce size of 'usb-image' to 630 MiB. Ludovic Courtès
2014-05-31hydra: Build the installation image....* build-aux/hydra/gnu-system.scm (demo-os): New procedure. (qemu-jobs): Build for both x86_64-linux and i686-linux. Add 'usb-image' job that builds INSTALLATION-OS. Ludovic Courtès
2014-05-31system: Add 'issue' field....* gnu/system.scm (<operating-system>)[issue]: New field. (%default-issue): New variable. (etc-directory): Add #:issue parameter and honor it. (operating-system-etc-directory): Adjust call accordingly. * build-aux/hydra/demo-os.scm: Add 'issue' field. Ludovic Courtès
2014-05-29hydra: Don't cross-build from MIPS to MIPS....* build-aux/hydra/gnu-system.scm (hydra-jobs)[same?, either]: New procedure. Use it in 'remove' call. Ludovic Courtès
2014-05-28hydra: Build for mips64el-linux....* build-aux/hydra/gnu-system.scm (hydra-jobs)[systems]: Add mips64el-linux. Ludovic Courtès
2014-05-22Add (gnu) module....* gnu.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * build-aux/hydra/demo-os.scm: Use (gnu) and strip import list accordingly. * doc/guix.texi (Using the Configuration System): Adjust example accordingly. Ludovic Courtès
2014-05-20Add (gnu system file-systems)....This fixes a circular dependency between (gnu system) and (gnu system linux-initrd), where the latter could end up being compiled before 'file-system-type' was defined as a macro. * gnu/system.scm (<file-system>, %fuse-control-file-system, %binary-format-file-system): Move to... * gnu/system/file-systems.scm: ... here. New file. * build-aux/hydra/demo-os.scm, gnu/system/linux-initrd.scm, gnu/system/vm.scm: Use it. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. Ludovic Courtès
2014-05-18system: Add 'grub-configuration' record....* gnu/system/grub.scm (<grub-configuration>): New record type. (grub-configuration-file): Add 'config' parameter; remove #:default-entry and #:timeout. Honor CONFIG. * gnu/system.scm (<operating-system>): Remove 'bootloader-entries' field; remove default value for 'bootloader' field. (operating-system-grub.cfg): Pass the 'bootloader' field to 'grub-configuration-file'. * build-aux/hydra/demo-os.scm (bootloader): New field. Ludovic Courtès
2014-05-16hydra: Add dummy root file system declaration....* build-aux/hydra/demo-os.scm (file-systems): Add "/" file system. Ludovic Courtès
2014-05-15build: Remove fusectl from the default file systems in the demo OS....* build-aux/hydra/demo-os.scm (file-systems): Comment out %FUSE-CONTROL-FILE-SYSTEM, since fuse.ko is missing by default in the freestanding VM image. Ludovic Courtès
2014-05-14system: Provide declarations for the 'fusectl' and 'binfmt_misc' file systems....* gnu/system.scm (%fuse-control-file-system, %binary-format-file-system): New variables. * build-aux/hydra/demo-os.scm (file-systems): New field. Ludovic Courtès
2014-05-11system: Make accounts and groups at activation time....* gnu/services/base.scm (guix-build-accounts): Remove #:gid parameter; add #:group. Remove 'password' and 'gid' fields in 'user-account' form, and add 'group'. (guix-service): Remove #:build-user-gid parameter. Remove 'id' field in 'user-group' form. * gnu/system.scm (etc-directory): Remove #:groups and #:accounts. No longer produce files "passwd", "shadow", and "group". Adjust caller accordingly. (%root-account): New variable. (operating-system-accounts): Add 'users' variable. Add %ROOT-ACCOUNT only of 'operating-system-users' doesn't already contain a root account. (user-group->gexp, user-account->gexp): New procedures. (operating-system-boot-script): Add calls to 'setenv' and 'activate-users+groups' in gexp. * gnu/system/linux.scm (base-pam-services): Add PAM services for "user{add,del,mode}" and "group{add,del,mod}". * gnu/system/shadow.scm (<user-account>)[gid]: Rename to... [group]: ... this. [supplementary-groups]: New field. [uid, password]: Default to #f. (<user-group>)[id]: Default to #f. (group-file, passwd-file): Remove. * gnu/system/vm.scm (operating-system-default-contents)[user-directories]: Remove. Add "/home" to the directives. * guix/build/activation.scm (add-group, add-user, activate-users+groups): New procedures. Ludovic Courtès
2014-05-01system: Add 'sudo' to the setuid programs, and handle /etc/sudoers....* 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. Ludovic Courtès
2014-04-30system: Add support for setuid binaries....* 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. Ludovic Courtès
2014-04-11hydra: Specify the image size of the QEMU image....* build-aux/hydra/gnu-system.scm (qemu-jobs): Specify #:disk-image-size. Ludovic Courtès
2014-04-09hydra: Make demo OS smaller....* build-aux/hydra/demo-os.scm: Replace Emacs with Zile. Enable auto-login as "guest". This is the configuration used for the Guix 0.6 VM image. Ludovic Courtès
2014-04-06hydra: qemu-jobs: Return a derivation file name, not a derivation....* build-aux/hydra/gnu-system.scm (qemu-jobs)[->alist]: Return the derivation file name, not the derivation. Ludovic Courtès
2014-04-05hydra: Change 'qemu-jobs' to return name/thunk pairs....* build-aux/hydra/gnu-system.scm (qemu-jobs)[->job]: Change the cdr to a thunk. Ludovic Courtès
2014-04-05hydra: Add 'qemu-image' job....* build-aux/hydra/demo-os.scm: New file. * Makefile.am (EXTRA_DIST): Add it. * build-aux/hydra/gnu-system.scm (qemu-jobs): New procedure. (hydra-jobs): Use it. * guix/scripts/system.scm (read-operating-system): Export. Ludovic Courtès
2014-03-25hydra: Hard-code target systems....* build-aux/hydra/gnu-system.scm (hydra-jobs)[systems]: Define locally, independently of ARGUMENTS. This matches the new Hydra convention, where using a 'system' input is deprecated. Ludovic Courtès
2014-03-25hydra: Fix typo in core package list....* build-aux/hydra/gnu-system.scm: Use (gnu packages gcc). (%core-packages): Remove nonexistent 'gcc'; add GCC-4.8 and GCC-4.7. Ludovic Courtès
2014-03-25hydra: Remove cross-builds from i686-linux to mips64el-linux-gnuabi64....* build-aux/hydra/gnu-system.scm (hydra-jobs)[cross-jobs]: Define 'from-32-to-64?'. Filter out %CROSS-TARGETS that match. Ludovic Courtès
2014-03-25hydra: Build GCC and glibc, not their '-final' variant....* build-aux/hydra/gnu-system.scm (%core-packages): Replace GCC-FINAL and GLIBC-FINAL with GCC and GLIBC. Ludovic Courtès
2014-02-27Merge branch 'master' into core-updates...Conflicts: gnu/packages/libwebsockets.scm Ludovic Courtès
2014-02-27hydra: Set the default absolute build timeout to 20h....* build-aux/hydra/gnu-system.scm (package->alist): Add 'timeout' item. Ludovic Courtès
2014-01-25Merge branch 'master' into core-updatesLudovic Courtès
2014-01-18hydra: Add debugging for the Guix job set....* build-aux/hydra/guix.scm: Set '%load-verbosely'. Ludovic Courtès
2014-01-11hydra: Add GCC, Binutils, and libc to the core package set....* build-aux/hydra/gnu-system.scm (%core-packages): Add GCC-FINAL, GLIBC-FINAL, and BINUTILS. Ludovic Courtès
2013-12-10hydra: Add zlib, gzip, and xz to the core package set....* build-aux/hydra/gnu-system.scm (%core-packages): Add zlib, gzip, and xz. Ludovic Courtès
2013-11-20hydra: Adjust to gettext package rename....* build-aux/hydra/gnu-system.scm (%core-packages): Change 'gettext' to 'gnu-gettext'. Ludovic Courtès
2013-09-18hydra: Pass the directory name of the Nix checkout....* build-aux/hydra/guix.scm (hydra-jobs): Extract the 'file-name' item from NIX-CHECKOUT, and pass that to 'tarball-package'. Ludovic Courtès
2013-09-18hydra: Fix typo....* build-aux/hydra/guix.scm (tarball-package): Unquote 'nix-checkout'. Ludovic Courtès
2013-09-18hydra: Add missing import....* build-aux/hydra/gnu-system.scm, build-aux/hydra/guix.scm: Use (guix derivations). Ludovic Courtès
2013-09-18hydra: Return the .drv file names, not the <derivation> objects....* build-aux/hydra/gnu-system.scm (package->alist): Call 'derivation-file-name' on the result of 'package-derivation'. * build-aux/hydra/guix.scm (package->alist): Likewise. Ludovic Courtès