Skip to content
Snippets Groups Projects
  1. Feb 01, 2021
    • Ludovic Courtès's avatar
      guix package: Add '--export-channels'. · aedbc5ff
      Ludovic Courtès authored
      * guix/channels.scm (sexp->channel): Export.
      * guix/describe.scm: Use (guix channels).
      (manifest-entry-provenance): New procedure.
      * guix/scripts/package.scm (channel=?, export-channels): New
      procedures.
      (show-help, %options): Add '--export-channels'.
      (process-query): Honor it.
      * build-aux/build-self.scm (build-program)[select?]: Exclude (guix
      channels) to account for the (guix describe) change above.
      * doc/guix.texi (Invoking guix package): Document it.
      aedbc5ff
    • Ludovic Courtès's avatar
      channels: Add 'channel->code'. · 60d72f53
      Ludovic Courtès authored
      * guix/channels.scm (channel->code): New procedure, taken from...
      * guix/scripts/describe.scm (channel->sexp): ... here.
      Adjust callers accordingly.
      60d72f53
    • Ludovic Courtès's avatar
      guix describe: Use 'manifest-entry-channel'. · 1b88b7ba
      Ludovic Courtès authored
      * guix/channels.scm (manifest-entry-channel): Export.
      * guix/scripts/describe.scm (display-profile-content): Use it.
      1b88b7ba
    • Ludovic Courtès's avatar
      channels: Add the channel name to channel sexps. · a47f16a8
      Ludovic Courtès authored
      * guix/channels.scm (channel-instance->sexp): Add 'name'.
      (sexp->channel): Extract the name from SEXP, using the optional argument
      as a fallback.
      a47f16a8
    • Ludovic Courtès's avatar
      channels: Factorize 'manifest-entry-channel' and channel serialization. · 9272cc70
      Ludovic Courtès authored
      * guix/channels.scm (sexp->channel, manifest-entry-channel): New
      procedures.
      (profile-channels): Replace lambda by 'manifest-entry-channel'.
      (channel-instance->sexp): New procedure.
      (channel-instances->manifest)[instance->entry]: Use
      'channel-instance->sexp' instead of inline code.
      9272cc70
    • Ludovic Courtès's avatar
      guix package: Add '--export-manifest'. · 9fd7b050
      Ludovic Courtès authored
      * guix/scripts/package.scm (export-manifest): New procedure.
      (show-help, %options): Add '--export-manifest'.
      (process-query): Honor it.
      * guix/build/profiles.scm (build-profile): Mention it.
      * tests/guix-package.sh: Test it.
      * doc/guix.texi (Invoking guix package): Document it.
      9fd7b050
    • Ludovic Courtès's avatar
      utils: Add 'version-unique-prefix'. · 579506e2
      Ludovic Courtès authored
      * guix/utils.scm (version-unique-prefix): New procedure.
      * tests/utils.scm ("version-unique-prefix"): New test.
      579506e2
    • Ludovic Courtès's avatar
      profiles: Add 'manifest->code'. · b41e2148
      Ludovic Courtès authored
      * guix/profiles.scm (manifest->code): New procedure.
      * tests/profiles.scm ("manifest->code, simple")
      ("manifest->code, simple, versions")
      ("manifest->code, transformations"): New tests.
      b41e2148
    • Ludovic Courtès's avatar
      tests: Optimize 'fold-available-packages' test. · 73744725
      Ludovic Courtès authored
      This test goes from 58s to 10s wall-clock time.
      
      Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.
      
      * tests/packages.scm ("fold-available-packages with/without cache"):
      Remove 'find-duplicates'.  Add 'list->set*' and use it instead of
      'find-duplicates', 'delete-duplicates', and 'lset='.
      73744725
    • Ludovic Courtès's avatar
      gnu: rdma-core: Build as "RelWithDebInfo". · 93af2ac8
      Ludovic Courtès authored
      This allows users to use '--with-debug-info=rdma-core' and is otherwise
      equivalent to "Release".
      
      * gnu/packages/linux.scm (rdma-core)[arguments]: Remove #:build-type.
      93af2ac8
    • Ludovic Courtès's avatar
      gnu: rdma-core: Remove "-DIOCTL_MODE=write" configure flag. · 37e997bc
      Ludovic Courtès authored
      Fixes <https://bugs.gnu.org/46229>.
      
      This flag was added in commit 2b14c60d.
      It is apparently no longer needed.  Worse, it now causes segfaults when
      used with Omni-Path devices, as reported in the bug above.
      
      * gnu/packages/linux.scm (rdma-core)[arguments]: Remove
      "-DIOCTL_MODE=write" from #:configure-flags.
      37e997bc
    • Mathieu Othacehe's avatar
      gnu: cuirass: Update to 0.0.1-63.da93cb9. · 221fddd2
      Mathieu Othacehe authored
      * gnu/packages/ci.scm (cuirass): Update to 0.0.1-63.da93cb9.
      221fddd2
    • Mathieu Othacehe's avatar
      gnu: cuirass: Update to 0.0.1-62.74c1a94. · bd139ecd
      Mathieu Othacehe authored
      * gnu/packages/ci.scm (cuirass): Update to 0.0.1-62.74c1a94.
      bd139ecd
    • Fredrik Salomonsson's avatar
      gnu: pinentry-rofi: Update to 2.0.3. · 21f1f550
      Fredrik Salomonsson authored
      
      * gnu/packages/gnupg.scm (pinentry-rofi): Update to 2.0.3.
      [arguments]: Add make installcheck phase to verify the installed artifact.
      [native-inputs]: Add autoconf-archive.
      
      Signed-off-by: default avatarEfraim Flashner <efraim@flashner.co.il>
      21f1f550
    • Christopher Baines's avatar
      gnu: guix-data-service: Update to 0.0.1-24.060df92. · f1fada8a
      Christopher Baines authored
      * gnu/packages/web.scm (guix-data-service): Update to 0.0.1-24.060df92.
      f1fada8a
    • Leo Famulari's avatar
      Revert "gnu: kwayland: Enable test suite." · 263b3961
      Leo Famulari authored
      This reverts commit ba3e25bb.
      
      This commit is reverted because it caused kwayland to no longer build on the
      build farm. Specifically, the test "PlasmaWindowModelTest::testVirtualDesktops"
      fails.
      
      See this discussion for more information:
      
      https://lists.gnu.org/archive/html/guix-devel/2021-01/msg00382.html
      263b3961
    • Maxim Cournoyer's avatar
      build: test-driver.scm: Allow running as a standalone script. · 26a66d0f
      Maxim Cournoyer authored
      * build-aux/test-driver.scm: Add an exec-based shebang and set the script
      executable bit.
      (main): Insert a newline after the version string is printed with --version.
      26a66d0f
    • Maxim Cournoyer's avatar
      build: test-driver.scm: Add a new '--errors-only' option. · 93a628c4
      Maxim Cournoyer authored
      * build-aux/test-driver.scm (show-help): Add the help text for the
      new '--errors-only' option.
      (%options): Add the errors-only option.
      (test-runner-gnu): Add the errors-only? parameter and update doc.  Move the
      logging of the test data after the test has completed, so a choice can be made
      whether to keep it or discard it based on the value of the test result.
      (main): Pass the errors-only? option to the driver.
      * doc/guix.texi (Running the Test Suite): Document the new option.
      93a628c4
    • Maxim Cournoyer's avatar
      build: test-driver.scm: Add test cases filtering options. · a1ea2acb
      Maxim Cournoyer authored
      * build-aux/test-driver.scm (show-help): Add help text for the new --select
      and --exclude options.
      (%options): Add the new select and exclude options.
      (test-runner-gnu): Pass them to the test runner.  Update doc.
      (test-match-name*, test-match-name*/negated, %test-match-all): New variables.
      (main): Compute the test specifier based on the values of the new options and
      apply it to the current test runner when running the test file.
      * doc/guix.texi (Running the Test Suite): Document the new options.
      a1ea2acb
    • Maxim Cournoyer's avatar
      build: test-driver.scm: Enable colored test results by default. · 346210b1
      Maxim Cournoyer authored
      The Automake parallel test harness does its own smart detection of the
      terminal color capability and always provides the --color-tests argument to
      the driver.  This change defaults the --color-tests argument to true when the
      test driver is run on its own (not via Automake).
      
      * build-aux/test-driver.scm (main): Set the default value of the --color-tests
      argument to true when it's not explicitly provided.
      346210b1
    • Maxim Cournoyer's avatar
      build: test-driver.scm: Make output redirection optional. · 13f299b2
      Maxim Cournoyer authored
      This makes it easier (and less surprising) for users to experiment with the
      custom Scheme test driver directly.  The behavior is unchanged from Automake's
      point of view.
      
      * build-aux/test-driver.scm (main): Make the --log-file and --trs-file
      arguments optional and update doc.  Only open, redirect and close a port to a log file when
      the --log-file option is provided.  Only open and close a port to a trs file
      when the --trs-file option is provided.
      (test-runner-gnu): Set OUT-PORT parameter default value to the current output
      port.  Set the TRS-PORT parameter default value to a void port.  Update doc.
      13f299b2
  2. Jan 31, 2021
Loading