Skip to content
Snippets Groups Projects
  1. Jan 15, 2018
  2. Jan 14, 2018
    • Christopher Baines's avatar
      gnu: Remove redundant wrapping from packages using ruby-build-system. · 0076f5a9
      Christopher Baines authored
      Now that the build system does wrapping automatically, it can be removed from
      the packages that do it manually.
      
      * gnu/packages/databases.scm (es-dump-restore)[arguments]: Remove #:phases.
      * gnu/packages/ruby.scm (ruby-redcloth)[arguments]: Remove #:phases.
        (ruby-httpclient)[arguments]: Remove 'wrap-bin-httpclient from the modified
        phases.
      0076f5a9
    • Christopher Baines's avatar
      ruby-build-system: Add a new wrap phase. · 2c2ec3d0
      Christopher Baines authored
      Wrap files in bin/ and sbin/ with the location of the gem itself and the
      location of any other gems in use (GEM_PATH). This ensures that the bin files
      will run with the right environment when executed.
      
      It does however mean that native-inputs will also get wrapped up in any
      binaries, which is not good, as it increases the size of the closure, and
      risks this code being used at runtime.
      
      * guix/build/ruby-build-system.scm (wrap): New procedure.
        (%standard-phases): Add the wrap phase.
      2c2ec3d0
    • Christopher Baines's avatar
      ruby-build-system: Add wrap-ruby-program. · d9df4bf0
      Christopher Baines authored
      A modified copy of wrap-program from (guix build utils). The wrap-program
      procedure doesn't work well for Ruby scripts, as it breaks using the -S flag
      with ruby to execute the script, as when -S is passed to ruby, it expects the
      script on the PATH to use ruby in the shebang, and not bash.
      
      Therefore, to wrap the program, but keep the shebang as ruby, wrap it with a
      ruby script instead.
      
      wrap-ruby-program uses .real/foo rather than .foo-real, as this might be
      neater. This procedure also includes a call to Gem.clear_paths to make it
      possible to set the GEM_PATH through this method, and for it to take effect.
      
      * gnu/build/ruby-build-system.scm (wrap-ruby-program): New procedure.
      d9df4bf0
    • Christopher Baines's avatar
      guix: build: ruby-build-system: Install to the vendor directory · 3cb3fa67
      Christopher Baines authored
      * guix/build/ruby-build-system.scm (install): Install gems to the vendor
        directory, rather than the GEM_HOME. The vendor directory does not include
        the version of ruby used to install the gem in the path, which makes it
        easier to add it to the GEM_PATH for all versions of ruby to use.
        (gem-home): Remove procedure.
      * gnu/packages/ruby.scm (ruby, ruby-2.1)[native-search-paths]: Switch to
        lib/ruby/vendor_ruby.
        (ruby-1.8)[native-search-paths]: Remove native-search-paths.
        (gem-directory): Remove procedure.
        (ruby-ansi, ruby-ae)[arguments]: Remove use of gem-directory.
        (ruby-metaclass, ruby-instantiator, ruby-introspection, ruby-mocha,
        ruby-nokogiri, ruby-minitest-tu-shim, ruby-redcloth)[arguments]: Remove use
        of gem-home.
        (ruby-git, ruby-httpclient)[arguments]: Remove use of GEM_HOME.
      * gnu/packages/databases.scm (es-dump-restore)[arguments]: Remove use of
        GEM_HOME.
      3cb3fa67
    • Andreas Enge's avatar
      arb: Update to 2.12.0. · b1225dd3
      Andreas Enge authored
      * gnu/packages/algebra.scm (arb): Update to 2.12.0.
      b1225dd3
    • Andreas Enge's avatar
      gnu: pari-gp: Update to 2.9.4. · 9054bbfe
      Andreas Enge authored
      * gnu/packages/algebra.scm (pari-gp): Update to 2.9.4.
      9054bbfe
    • Andreas Enge's avatar
      doc: Correct documentation of NGINX-LOCATION-CONFIGURATION. · 7baf6615
      Andreas Enge authored
      * doc/guix.texi (Web Services): The body of an NGINX-LOCATION-CONFIGURATION
      is a list of strings and not a string.
      7baf6615
    • Leo Famulari's avatar
      gnu: rct: Re-categorize some inputs. · bad12e83
      Leo Famulari authored
      OpenSSL and zlib are referred to by the built package, so we make them
      regular inputs.
      
      This is a followup to commit e8b40974.
      
      * gnu/packages/cpp.scm (rct)[native-inputs]: Move openssl and zlib to ...
      [inputs]: ... new field.
      bad12e83
    • Fis Trivial's avatar
      gnu: Add rct. · e8b40974
      Fis Trivial authored
      * gnu/packages/cpp.scm (rct): New variable.
      e8b40974
  3. Jan 13, 2018
Loading