aboutsummaryrefslogtreecommitdiff
path: root/guix
Commit message (Expand)AuthorAge
...
| * | | | | | | | | | | | | | | | | Merge branch 'master' into core-updatesMarius Bakke2020-03-10
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | gexp: Default to current target.•••* guix/gexp.scm (lower-object): Set target argument to 'current by default and look for the current target system at bind time if needed, (gexp->file): ditto, (gexp->script): ditto, (lower-gexp): make sure lowered extensions are not cross-compiled. * tests/gexp.scm: Add cross-compilation test-cases for gexp->script and gexp->file with a target passed explicitely and with a default target. Mathieu Othacehe2020-03-06
| * | | | | | | | | | | | | | | | | | store: Add set-current-target procedure.•••* guix/store.scm (set-current-target): New exported procedure. Mathieu Othacehe2020-03-06
| * | | | | | | | | | | | | | | | | | Merge branch 'master' into core-updatesMarius Bakke2020-03-04
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | Add (guix build gnu-bootstrap).•••* guix/build/gnu-bootstrap.scm: New file. * Makefile.am (MODULES): Add it. Timothy Sample2020-02-17
| * | | | | | | | | | | | | | | | | | | utils: Change 'patch-shebang' to not try to patch Rust source files.•••* guix/build/utils.scm (patch-shebang): Match only absolute paths. Danny Milosavljevic2020-02-17
| * | | | | | | | | | | | | | | | | | | build: gnu-build-system: Adjust NOCONFIGURE variable.•••This ia a follow-up to 481a0f1a7ceac666a011b28324220584ead07698. * guix/build/gnu-build-system.scm (bootstrap): Set NOCONFIGURE for all bootstrap scripts. Clean up variable after use. Efraim Flashner2020-02-16
| * | | | | | | | | | | | | | | | | | | build-system/gnu: Don't try executing directories in bootstrap phase.•••* guix/build/gnu-build-system.scm: (bootstrap): Change the file-exists? procedure to one that excludes directories, so that we do not mistake it for a script. For example if the source includes a bootstrap/ directory. Signed-off-by: Marius Bakke <mbakke@fastmail.com> Brendan Tildesley2020-02-16
| * | | | | | | | | | | | | | | | | | | build: gnu-build-system: Don't run configure during bootstrap.•••* guix/build/gnu-build-system.scm (bootstrap): Add NOCONFIGURE environment variable before running bootstrap scripts. Efraim Flashner2020-02-16
| * | | | | | | | | | | | | | | | | | | Merge branch 'master' into core-updatesMarius Bakke2020-02-14
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | gnu: cross-base: Switch back to 'CROSS_C_INCLUDE_PATH' & co.•••This is a followup to 2073b55e6b964cb8ca15e8c74cb32dac00f05f0d. * gnu/build/cross-toolchain.scm (%gcc-include-paths): Switch back to 'C_INCLUDE_PATH' & co. * gnu/packages/cross-base.scm (%gcc-include-paths): Likewise. (cross-gcc-arguments): Remove 'treat-glibc-as-system-header' phase. (cross-gcc)[native-inputs]: Reorder so that libc comes last. [search-paths]: Add "include/c++" for 'CROSS_CPLUS_INCLUDE_PATH'. * guix/build-system/gnu.scm (standard-cross-packages): Have "cross-gcc" appear both for 'host and 'target. Ludovic Courtès2020-02-12
| * | | | | | | | | | | | | | | | | | | | gnu: gcc: Switch back to using 'C_INCLUDE_PATH' instead of 'CPATH'.•••Fixes <https://bugs.gnu.org/30756>. Initially reported by Julien Lepiller <julien@lepiller.eu>. * gnu/packages/base.scm (make-gcc-libc): Remove 'treat-glibc-as-system-header' phase from 'arguments'. * gnu/packages/commencement.scm (gcc-final): Likewise. * gnu/packages/gcc.scm (gcc-4.7)[arguments]: Add "include/c++" to 'CPLUS_INCLUDE_PATH'. (gcc-6)[native-search-paths]: Remove. * gnu/packages/make-bootstrap.scm (gcc-for-bootstrap): Remove 'native-search-paths' and 'arguments'. * gnu/packages/patches/python-2.7-search-paths.patch, gnu/packages/patches/python-3-search-paths.patch: Replace "CPATH" with "C_INCLUDE_PATH". * guix/build-system/cmake.scm (lower): When not cross-compiling, move INPUTS from the 'host-inputs' field to the 'build-inputs' field of the bag, right after NATIVE-INPUTS. * guix/build-system/glib-or-gtk.scm (lower): Likewise. * guix/build-system/gnu.scm (lower): Likewise. * guix/build-system/meson.scm (lower): Likewise. Ludovic Courtès2020-02-06
| * | | | | | | | | | | | | | | | | | | | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2020-02-04
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'staging' into core-updatesMarius Bakke2020-02-03
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | guix: Fix missing export for make-desktop-entry-file.•••* guix/build/utils.scm: Export make-desktop-entry-file. Pierre Neidhardt2020-01-30
| * | | | | | | | | | | | | | | | | | | | | | derivations: Import modules with 'add-file-tree-to-store'.•••This reduces the number of RPCs on "guix build libreoffice -nd" from 2,589 to 2,558 (1%). * guix/derivations.scm (imported-files): Rewrite to call to 'add-file-tree-to-store'. Remove #:system and #:guile parameters. (%imported-modules): Adjust docstring to say that result is a store item, and adjust 'imported-files' call. (%compiled-modules): Adjust accordingly. (imported+compiled-modules): Likewise. (build-expression->derivation): Likewise. Ludovic Courtès2020-01-30
| * | | | | | | | | | | | | | | | | | | | | | gexp: Move 'file-mapping->tree' to (guix store).•••* guix/gexp.scm (%not-slash): Remove. (file-mapping->tree): Move to... * guix/store.scm (file-mapping->tree): ... here. Ludovic Courtès2020-01-30
| * | | | | | | | | | | | | | | | | | | | | | build-system/cmake: Specify C++ compiler when cross-compiling.•••* guix/build/cmake-build-system.scm (configure)[args]: Add "-DCMAKE_CXX_COMPILER" when cross-compiling. Marius Bakke2020-01-26
| * | | | | | | | | | | | | | | | | | | | | | build-system/cmake: Enable parallel tests by default.•••* guix/build-system/cmake.scm (cmake-build, cmake-cross-build): Set the PARALLEL-TESTS? key to #t. Marius Bakke2020-01-26
| * | | | | | | | | | | | | | | | | | | | | | Merge branch 'staging' into core-updatesMarius Bakke2020-01-23
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'staging' into core-updatesMarius Bakke2020-01-21
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | packages: 'patch-and-repack' sets the mtime to 1, not 0.•••* guix/packages.scm (patch-and-repack)[build]: Pass "--mtime=@1" instead of "--mtime=@0". Ludovic Courtès2020-01-17
| * | | | | | | | | | | | | | | | | | | | | | | | Merge branch 'master' into core-updatesMarius Bakke2020-01-15
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | | build-system/texlive: Update to texlive-2019.3, revision 51265.•••* guix/build-system/texlive.scm (%texlive-tag): Change to "2019.3". (%texlive-revision): Change to 51265. Marius Bakke2020-01-14
| * | | | | | | | | | | | | | | | | | | | | | | | | Merge branch 'master' into core-updatesMarius Bakke2020-01-11
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge remote-tracking branch 'master' into core-updates.Mathieu Othacehe2019-12-31
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | | | | profiles: Fix profile-derivation cross-compilation.•••* guix/store.scm (current-target-system): New exported monadic procedure. * guix/profiles.scm (profile-derivation): Set target at bind time using the above procedure. Mathieu Othacehe2019-12-26
| * | | | | | | | | | | | | | | | | | | | | | | | | | | gexp: Add system and target support to gexp->file.•••* guix/gexp.scm (gexp->file): Add system and target arguments and pass them to gexp->derivation and load-path-expression calls, (scheme-file-compiler): adapt accordingly to pass system and target arguments. Mathieu Othacehe2019-12-22
| * | | | | | | | | | | | | | | | | | | | | | | | | | | guix: Fix typo.•••This is a follow-up to e8cbebb4769328f6ad49a4b5868f9c935e7e5372. * guix/profiles.scm (gtk-im-modules): Corectly refer to gtk+-2 package. Efraim Flashner2019-12-15
| * | | | | | | | | | | | | | | | | | | | | | | | | | | gnu: gtk+-2: Split binaries.•••* gnu/packages/gtk.scm (gtk+-2): Add "bin" output. * guix/profiles.scm (gtk-im-modules): Use "bin" output for generating gtk+-2 immodules cache file. Julien Lepiller2019-12-14
| * | | | | | | | | | | | | | | | | | | | | | | | | | | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2019-12-12
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | | | | | gexp: Unconditionally include (system base target) in 'compiled-modules'.•••* guix/gexp.scm (compiled-modules): Remove conditional. Marius Bakke2019-12-05
| * | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge branch 'master' into core-updatesMarius Bakke2019-12-05
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge remote-tracking branch master into core-updatesMathieu Othacehe2019-11-16
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | | | | | | | scripts: system: Add --target option.•••* guix/scripts/system.scm (%options): Add target option, (%default-options): ditto, (process-action): Rename existing target variable to target-file and pass new target variable to run-with-store procedure. Mathieu Othacehe2019-11-15
| * | | | | | | | | | | | | | | | | | | | | | | | | | | | | | utils: Use target-aarch64? and target-arm? helpers.•••* guix/utils.scm (target-aarch64?, target-arm?): New exported procedures. Mathieu Othacehe2019-11-15
| * | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gnu: cmake: Fix cross-compilation.•••* gnu/packages/cmake.scm (cmake-minimal-cross): New package. * guix/build-system/cmake.scm (default-cmake): Add new target argument and use it to select cmake-minimal or cmake-minimal-cross. (lower): Pass target to default-cmake. Mathieu Othacehe2019-11-15
| * | | | | | | | | | | | | | | | | | | | | | | | | | | | | | guix: Add helper for generating desktop entry files.•••* guix/build/utils.scm (make-desktop-entry-file): New procedure. Pierre Neidhardt2019-10-19
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nar: 'with-temporary-store-file' uses a single connection•••Previously the 'with-store' form was entered every time a different temporary file was tried. This caused there to be as many simultaneous open connections as there were attempts, and prevented the (loop ...) call from being a tail call. This change fixes that. * guix/nar.scm (with-temporary-store-file): open connection once prior to entering the loop. Caleb Ristvedt2020-05-07
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nar: 'finalize-store-file' follows proper store lock protocol.•••* guix/nar.scm (finalize-store-file): check for deletion token when acquiring lock, write deletion token and delete lock file before releasing lock. Caleb Ristvedt2020-05-07
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | guix system: 'docker-image' honors '--network'.•••* gnu/system/vm.scm (system-docker-image): Add #:shared-network? and pass it to 'containerized-operating-system'. (qemu-image): * guix/scripts/system.scm (system-derivation-for-action): Pass #:shared-network? to 'system-docker-image'. * doc/guix.texi (Invoking guix system): Document it. Ludovic Courtès2020-05-07
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | syscalls: Add ioctl flags for the Hurd.•••Use #include <stdio.h> #include <net/if.h> #include <hurd/ioctl.h> int main () { printf ("SIOCSIFFLAGS #x%x\n", SIOCSIFFLAGS); printf ("SIOCGIFADDR #x%x\n", SIOCGIFADDR); printf ("SIOCSIFADDR #x%x\n", SIOCSIFADDR); printf ("SIOCGIFNETMASK #x%x\n", SIOCGIFNETMASK); printf ("SIOCSIFNETMASK #x%x\n", SIOCSIFNETMASK); #if 0 printf ("SIOCADDRT #x%x\n", SIOCADDRT); printf ("SIOCDELRT #x%x\n", SIOCDELRT); #endif } to fill in some blanks. Adding and removing route apparently not supported. * guix/build/syscalls.scm (SIOCSIFFLAGS SIOCGIFADDR, SIOCSIFADDR, SIOCGIFNETMASK, SIOCSIFNETMASK): Jan (janneke) Nieuwenhuizen2020-05-07
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | syscalls: 'define-c-struct' supports cross-compilation.•••Reported by Jan (janneke) Nieuwenhuizen <janneke@gnu.org>. Before that, we'd always use the 'sizeof' and 'alignof' value obtained from the host at macro-expansion time. * guix/build/syscalls.scm (sizeof*, alignof*): When the target word size differs from the host word size, emit a call to 'sizeof'/'alignof'. Ludovic Courtès2020-05-05
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | image: Add a new API.•••Raw disk-images and ISO9660 images are created in a Qemu virtual machine. This is quite fragile, very slow, and almost unusable without KVM. For all these reasons, add support for host image generation. This implies the use new image generation mechanisms. - Raw disk images: images of partitions are created using tools such as mke2fs and mkdosfs depending on the partition file-system type. The partition images are then assembled into a final image using genimage. - ISO9660 images: the ISO root directory is populated within the store. GNU xorriso is then called on that directory, in the exact same way as this is done in (gnu build vm) module. Those mechanisms are built upon the new (gnu image) module. * gnu/image.scm: New file. * gnu/system/image.scm: New file. * gnu/build/image: New file. * gnu/local.mk: Add them. * gnu/system/vm.scm (system-disk-image): Rename to system-disk-image-in-vm. * gnu/ci.scm (qemu-jobs): Adapt to new API. * gnu/tests/install.scm (run-install): Ditto. * guix/scripts/system.scm (system-derivation-for-action): Ditto. Mathieu Othacehe2020-05-05
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | build: store-copy: Export file-size procedure.•••* guix/build/store-copy.scm (file-size): Export it. Mathieu Othacehe2020-05-05
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | openpgp: Add missing type predicate for '&openpgp-invalid-signature-error'.•••Reported by brendyyn on #guix. The mistake led to a macro expansion error on Guile 2.2 but not on 3.0.2. * guix/openpgp.scm (&openpgp-invalid-signature-error): Add missing type predicate. Ludovic Courtès2020-05-04
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | openpgp: Raise error conditions instead of calling 'error'.•••* guix/openpgp.scm (&openpgp-error, &openpgp-unrecognized-packet-error) (&openpgp-invalid-signature-error): New error conditions. (openpgp-hash-algorithm): Add 'signature-port' parameter. Raise an error condition instead of calling 'error'. (parse-subpackets): Likewise. (get-data): Raise instead of calling 'error'. (get-openpgp-detached-signature/ascii): Likewise. (get-signature): Likewise. Ludovic Courtès2020-05-04
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | openpgp: Add 'string->openpgp-packet'.•••* guix/openpgp.scm (string->openpgp-packet): New procedure. * tests/openpgp.scm ("verify-openpgp-signature, missing key") ("verify-openpgp-signature, good signatures") ("verify-openpgp-signature, bad signature"): Use it. Ludovic Courtès2020-05-04
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | openpgp: 'lookup-key-by-{id,fingerprint}' return the key first.•••Previously, 'lookup-key-by-{id,fingerprint}' would always return the list of packets where the primary key is first. Thus, the caller would need to use 'find' to actually find the requested key. * guix/openpgp.scm (keyring-insert): Always add KEY to PACKETS. (lookup-key-by-id, lookup-key-by-fingerprint): Change to return the key as the first value. (verify-openpgp-signature): Remove now unneeded call to 'find'. * tests/openpgp.scm ("get-openpgp-keyring"): Adjust accordingly. Ludovic Courtès2020-05-04
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | openpgp: 'verify-openpgp-signature' looks up by fingerprint when possible.•••* guix/openpgp.scm (verify-openpgp-signature): Use 'lookup-key-by-fingerprint' when SIG contains a fingerprint. Honor FINGERPRINT in the 'find' predicate. Upon missing-key, return FINGERPRINT if available. * tests/openpgp.scm ("verify-openpgp-signature, missing key"): Adjust expected value accordingly. Ludovic Courtès2020-05-04