Skip to content
Snippets Groups Projects
  1. Oct 10, 2015
    • Ludovic Courtès's avatar
      system: Make service procedures non-monadic. · be1c2c54
      Ludovic Courtès authored
      * gnu/services/avahi.scm (configuration-file): Use 'plain-file' instead
        of 'text-file'.
        (avahi-service): Turn into a regular procedure that returns a <service>.
      * gnu/services/base.scm (root-file-system-service, file-system-service,
        user-unmount-service, user-processes-service, host-name-service,
        console-keymap-service, console-font-service, mingetty-service,
        nscd.conf-file, nscd-service): Likewise.
        (%default-syslog.conf): New variable.
        (syslog-service): Use it.  Turn into a regular procedure.
        (guix-service, udev-rules-union, kvm-udev-rule, udev-service,
        device-mapping-service, swap-service): Likewise.
      * gnu/services/databases.scm (%default-postgres-hba,
        %default-postgres-ident): Use 'plain-file' instead of 'text-file'.
        (%default-postgres-config): Use 'mixed-text-file' instead of
        'text-file*'.
        (postgresql-service):  Use 'program-file' instead of 'gexp->script'.
        Turn into a regular procedure.
      * gnu/services/desktop.scm (dbus-configuration-directory): Use
        'computed-file' instead of 'gexp->derivation'.
        (upower-configuration-file, geoclue-configuration-file,
        elogind-configuration-file): Use 'plain-file' instead of 'text-file'.
        (dbus-service, upower-service, colord-service, geoclue-service,
        polkit-service, elogind-service): Turn into regular procedures.
        (%desktop-services): Remove use of 'mlet' when iterating on
        %BASE-SERVICES.
      * gnu/services/lirc.scm (lirc-service): Turn into a regular procedure.
      * gnu/services/networking.scm (static-networking-service,
        dhcp-client-service, ntp-service, tor-service, bitlbee-service,
        wicd-service): Likewise.
      * gnu/services/ssh.scm (lsh-service): Likewise.
      * gnu/services/web.scm (nginx-service): Likewise.
      * gnu/services/xorg.scm (xorg-configuration-file): Use 'mixed-text-file'
        instead of 'text-file*'.
        (xorg-start-command, slim-service): Turn into regular procedures.
        (xinitrc): Use 'program-file' instead of 'gexp->script'.
      * gnu/system/install.scm (cow-store-service,
        configuration-template-service): Turn into regular procedures.
      * gnu/system.scm (other-file-system-services, device-mapping-services,
        swap-services, essential-services, operating-system-services,
        user-shells, operating-system-accounts): Remove now unnecessary
        'mlet' and turn into regular procedures.
        (operating-system-etc-directory, operating-system-activation-script,
        operating-system-boot-script): Adjust accordingly.
      * doc/guix.texi (Base Services, Networking Services, X Window, Desktop
        Services, Database Services, Web Services, Various Services, Name
        Service Switch): Adjust accordingly.
      be1c2c54
    • Ludovic Courtès's avatar
      services: 'mingetty-service' no longer takes monadic values. · ce8a6dfc
      Ludovic Courtès authored
      * gnu/services/base.scm (mingetty-service): Change default value of
        #:motd from a monadic value to a <plain-file>.  Assume MOTD to be a
        file-like object.  Assume LOGIN-PROGRAM is a gexp or #f.
        (%base-services): Use 'plain-file' instead of 'text-file' for motd.
      * gnu/system/linux.scm (unix-pam-service): Update docstring to mention
        that MOTD is a file-like object.
      * doc/guix.texi (Base Services): Adjust 'mingetty-service' documentation
        accordingly.
      * gnu/system/install.scm (installation-services): Adjust accordingly.
        (log-to-info): Use 'program-file' instead of 'gexp->script'.
      ce8a6dfc
    • Ludovic Courtès's avatar
      gexp: Add 'mixed-text-file'. · b751cde3
      Ludovic Courtès authored
      * guix/gexp.scm (mixed-text-file): New procedure.
      * tests/gexp.scm ("mixed-text-file"): New test.
      * doc/guix.texi (G-Expressions): Document it.
      b751cde3
    • Ludovic Courtès's avatar
      gexp: Add 'program-file'. · 15a01c72
      Ludovic Courtès authored
      * guix/gexp.scm (<program-file>): New record type.
        (program-file, program-file-compiler): New procedures.
      * tests/gexp.scm ("program-file"): New test.
      * doc/guix.texi (G-Expressions): Document it.
      15a01c72
    • Ludovic Courtès's avatar
      gexp: Add 'computed-file'. · 91937029
      Ludovic Courtès authored
      * guix/gexp.scm (<computed-file>): New record type.
        (computed-file, computed-file-compiler): New procedures.
      * tests/gexp.scm ("lower-object, computed-file"): New test.
      * doc/guix.texi (G-Expressions): Document 'computed-file'.
      91937029
  2. Oct 09, 2015
    • David Thompson's avatar
      scripts: environment: Use system* instead of system. · 1de2fe95
      David Thompson authored
      This allows for direct program invokation without needing a shell to act
      as a command interpreter.
      
      * guix/scripts/environment.scm (%default-shell): New variable.
        (show-help): Adjust description.  Remove '--exec' reference.
        (%default-options): Use '%default-shell'.
        (%options): Adjust '--exec' to run command via the default shell.
        (parse-args): New procedure.
        (guix-environment): Use 'parse-args'.  Use 'system*' instead of
        'system'.
      * tests/guix-environment.sh: Add test for '--' command invokation.
      * doc/guix.texi ("Invoking guix environment"): Use new syntax.  Remove
        '--exec' documentation.
      1de2fe95
  3. Oct 06, 2015
  4. Sep 28, 2015
  5. Sep 27, 2015
  6. Sep 24, 2015
  7. Sep 23, 2015
    • Alex Kost's avatar
      emacs: Add development utils. · 187f80c6
      Alex Kost authored
      * emacs/guix-guile.el (guix-guile-current-module): New function.
      * emacs/guix-devel.el: New file.
      * emacs.am (ELFILES): Add it.
      * doc/emacs.texi (Emacs Development): New node.
        (Emacs Interface): Add it.
      * doc/contributing.texi (The Perfect Setup): Mention it.
      * doc/guix.texi (Top): Add it.
      * emacs/guix-init.el: Add 'guix-devel-activate-mode-maybe' to
        'scheme-mode-hook'.
      187f80c6
  8. Sep 20, 2015
    • Ludovic Courtès's avatar
      linux-boot: Mount /dev as a devtmpfs from the start. · cc0e575a
      Ludovic Courtès authored
      Suggested by Petter <petter@mykolab.ch>
      and Mark H Weaver <mhw@netris.org>.
      Reported by Duncan Keall <duncan@duncankeall.com>.
      
      Partly fixes <http://bugs.gnu.org/19190> by populating /dev/mapper
      early enough.
      
      * gnu/build/linux-boot.scm (mount-essential-file-systems): Mount /dev as
        a devtmpfs.
        (move-essential-file-systems): Add /dev.
        (mount-root-file-system): Mount /rw-root/dev as a devtmpfs instead of
        calling 'make-essential-device-nodes'.
        (boot-system): Remove call to 'make-essential-device-nodes'.
      * gnu/system/file-systems.scm (%devtmpfs-file-system): Remove.
      * doc/guix.texi (File Systems): Adjust accordingly.
      cc0e575a
  9. Sep 15, 2015
  10. Sep 14, 2015
    • Eric Bavier's avatar
      guix: lint: Check for meaningful origin file names. · 50f5c46d
      Eric Bavier authored
      * guix/scripts/lint.scm (check-source-file-name): New procedure.
        (%checkers): Add 'source-file-name' checker.
      * tests/lint.scm ("source-file-name", "source-file-name: v prefix")
        ("source-file-name: valid", "source-file-name: bad checkout")
        ("source-file-name: good checkout"): New tests.
      * doc/guix.texi (Invoking guix lint): Mention file name check.
      50f5c46d
    • Mathieu Lirzin's avatar
      doc: Use the recommended Scheme format. · 17d8e33f
      Mathieu Lirzin authored
      Apply the recommended formatting rules from '.dir-locals.el' to the
      examples in the manual in order to fulfill it's purpose of being a
      reference.
      
      * doc/package-hello.scm: Indent it.
      * doc/guix.texi (Defining Packages, Version Numbers): Likewise.
      * gnu/packages/base.scm (hello): Be consistent with the manual.
      17d8e33f
    • David Thompson's avatar
      build: ruby: Add support for tarball and directory sources. · 5dc87623
      David Thompson authored
      Previously, the Ruby build system only knew how to work with gem archives,
      which made it difficult to build unreleased gems from a Git repository or
      released gems in tarball form.
      
      * gnu/build/ruby-build-system.scm (gnu:unpack, gem-archive?): New procedures.
        (unpack): Use GNU build system unpack phase for non-gem sources.
        (build): Rebuild the gemspec iff the source is a gem archive.
      * guix.texi ("ruby-build-system"): Mention that tarballs and directories are
        acceptable.
      5dc87623
  11. Sep 13, 2015
  12. Sep 10, 2015
  13. Sep 02, 2015
    • Ludovic Courtès's avatar
      graph: Add '--expression'. · 4c8f997a
      Ludovic Courtès authored
      * guix/scripts/graph.scm (%options, show-help): Add '--expression'.
        (guix-graph): Call 'read/eval-package-expression' for 'expression'
        pairs in OPTS.
      * tests/guix-graph.sh: Add tests.
      * doc/guix.texi (Invoking guix graph): Document it.
      4c8f997a
    • Andy Wingo's avatar
      doc: Document polkit and elogind services. · 4650a77e
      Andy Wingo authored
      * doc/guix.texi (Desktop Services): Add polkit-service and
        elogind-service documentation.
      4650a77e
  14. Aug 31, 2015
    • Ricardo Wurmus's avatar
      build: Add R build system. · f8f3bef6
      Ricardo Wurmus authored
      * guix/build-system/r.scm: New file.
      * guix/build/r-build-system: New file.
      * Makefile.am (MODULES): Add new files.
      * doc/guix.texi (Build Systems): Document r-build-system.
      f8f3bef6
    • Ricardo Wurmus's avatar
      import: Add 'cran' importer. · e1248602
      Ricardo Wurmus authored
      * guix/import/cran.scm: New file.
      * guix/scripts/import.scm: Add "cran" to 'importers'.
      * guix/scripts/import/cran.scm: New file.
      * tests/cran.scm: New file.
      * Makefile.am (MODULES): Add 'guix/import/cran.scm' and
        'guix/scripts/import/cran.scm'.
        (SCM_TESTS): Add 'tests/cran.scm'.
      * doc/guix.texi (Invoking guix import): Document it.
      * po/guix/POTFILES.in: Add 'guix/scripts/import/cran.scm'.
      e1248602
  15. Aug 30, 2015
    • Alex Kost's avatar
      emacs: Add popup interface for guix commands. · 9b0afb0d
      Alex Kost authored
      * emacs/guix-command.el: New file.
      * emacs.am (ELFILES): Add it.
      * doc/emacs.texi (Emacs Initial Setup): Mention 'magit-popup' library.
        (Emacs Popup Interface): New node.
        (Emacs Interface): Add it.
      * doc/guix.texi (Top): Likewise.
      9b0afb0d
    • Alex Kost's avatar
      doc: Reorganize "Emacs Interface" node. · c554de89
      Alex Kost authored
      * doc/guix.texi (Package Management): Move "Emacs Interface" node to ...
        (Top): ...here, since it is not just about package management.
      * doc/emacs.texi: Shift all nodes one level up (@section -> @chapter, etc.).
        Rename "Emacs Usage" node into "Emacs Package Management".  Move "Emacs
        Configuration" node here.
      c554de89
  16. Aug 29, 2015
  17. Aug 28, 2015
  18. Aug 27, 2015
    • David Thompson's avatar
      import: Add Ruby gem importer. · 3aae8145
      David Thompson authored
      * gnu/scripts/import.scm (importers): Add "gem".
      * gnu/import/gem.scm: New file.
      * gnu/scripts/import/gem.scm: New file.
      * Makefile.am (MODULES): Add them.
      * guix.texi ("invoking guix import"): Document it.
      3aae8145
  19. Aug 26, 2015
    • Ludovic Courtès's avatar
      Add 'guix graph'. · 88856916
      Ludovic Courtès authored
      * guix/scripts/graph.scm, tests/graph.scm, tests/guix-graph.sh,
        doc/images/coreutils-bag-graph.dot, doc/images/coreutils-graph.dot: New
        files.
      * Makefile.am (MODULES): Add guix/scripts/graph.scm.
        (SH_TESTS): Add tests/guix-graph.sh.
        (SCM_TESTS): Add tests/graph.scm.
      * doc.am (DOT_FILES, DOT_VECTOR_GRAPHICS): New variables.
        (EXTRA_DIST): Use them.
        (dist_infoimage_DATA): Use $(DOT_FILES).
        (pdf-local, info-local, ps-local): Likewise.
      * doc/guix.texi (Packages with Multiple Outputs): Add cross-reference to 'guix
        graph'.
        (Invoking guix gc): Likewise.
        (Invoking guix graph): New section.
      88856916
    • Ludovic Courtès's avatar
      gexp: Add 'lower-object'. · c2b84676
      Ludovic Courtès authored
      * guix/gexp.scm (lower-object): New procedure.
        (lower-inputs, lower-references, gexp->sexp): Use it.
      * tests/gexp.scm ("lower-object"): New test.
      * doc/guix.texi (G-Expressions): Document it.
      c2b84676
  20. Aug 20, 2015
  21. Aug 19, 2015
    • Ludovic Courtès's avatar
      lint: Add 'formatting' checker. · 40a7d4e5
      Ludovic Courtès authored
      * guix/scripts/lint.scm (report-tabulations, report-trailing-white-space,
        report-long-line, report-formatting-issues, check-formatting): New
        procedures.
        (%formatting-reporters): New variable.
        (%checkers): Add 'formatting' checker.
      * tests/lint.scm ("formatting: tabulation", "formatting: trailing white
        space", "formatting: long line", "formatting: alright"): New tests.
      * doc/guix.texi (Invoking guix lint): Mention the 'formatting' checker.
      40a7d4e5
  22. Aug 18, 2015
    • David Thompson's avatar
      build: ruby: Rewrite build system to use gem archives. · e83c6d00
      David Thompson authored
      
      Co-Authored-By: default avatarPjotr Prins <pjotr.public01@thebird.nl>
      
      * guix/build-system/ruby.scm (lower): Remove git dependency.
        (rubygems-uri): New procedure.
      * guix/build/ruby-build-system (gitify): Delete.
        (unpack): Use 'gem unpack' utility.
        (check): Add docstring.
        (build): Repack modified gem.
        (install): Rebuild unpacked gem and install it.
        (%standard-phases): Remove gitify and build phases.
      * gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
        ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
        ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
        ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
        ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
        ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
        ruby-multipart-post): Convert to new build system.
      * doc/guix.texi (ruby-build-system): Document the gem archive requirement.
      e83c6d00
  23. Aug 03, 2015
Loading