Skip to content
Snippets Groups Projects
  1. Jun 09, 2018
    • Ludovic Courtès's avatar
      pull: Install the new Guix in a profile. · 75e24d7b
      Ludovic Courtès authored
      * guix/scripts/pull.scm (%pull-version): New variable.
      (build-from-source): Pass #:pull-version to BUILD.
      (whole-package-for-legacy, derivation->manifest-entry): New procedure.
      (build-and-install): Rewrite in terms of 'build-and-use-profile'.
      * guix/scripts/system.scm (maybe-suggest-running-guix-pull)[latest]:
      Switch to "/current".
      * scripts/guix.in (augment-load-paths!): Remove use of
      ~/.config/guix/latest.
      * build-aux/compile-as-derivation.scm: Replace "/guix/latest/" with
      "/current/share/guile/site/X.Y"
      * guix/scripts.scm (warn-about-old-distro)[age]: Check "/current"
      instead of "/latest".
      * doc/guix.texi (Invoking guix pull): Document it.
      * doc/contributing.texi (Running Guix Before It Is Installed): Remove
      footnote about abusing ~/.config/guix/latest.
      75e24d7b
  2. Jan 28, 2018
  3. Jan 23, 2018
    • Mathieu Lirzin's avatar
      guix: Refactor script. · 6f774d48
      Mathieu Lirzin authored
      
      * scripts/guix.in: Remove empty surrounding ‘let’.  Define 'main' as the
      procedure called when running the script.
      (maybe-augment-load-paths!): Rename to ...
      (augment-load-paths!): ... this.  Use 'and=>' for 'file-exists?'.
      (run-guix-main): Rename to ...
      (main): ... this.  Call 'augment-load-paths!'.
      
      Signed-off-by: default avatarLudovic Courtès <ludo@gnu.org>
      6f774d48
    • Mathieu Lirzin's avatar
      build: Expand ‘scripts/guix’ at Make time. · cba386c1
      Mathieu Lirzin authored
      
      This moves the complexity of Autotools variable expansion outside of the
      application code.
      
      * scripts/guix.in (config-lookup): Delete.
      (maybe-augment-load-paths!, run-guix-main): Use fully expanded variables
      instead of calling ‘config-lookup’.
      * configure.ac: Don't use AC_CONFIG_FILES for ‘scripts/guix’.
      Use AC_PROG_SED.
      * Makefile.am (scripts/guix): New rule.
      (do_subst): New variable.
      (CLEANFILES, EXTRA_DIST): Adapt.
      
      Co-authored-by: default avatarLudovic Courtès <ludo@gnu.org>
      cba386c1
  4. Mar 20, 2017
    • Ludovic Courtès's avatar
      build: Install .go files to $libdir/guile/X.Y. · 9437fd73
      Ludovic Courtès authored
      * configure.ac: Define and substitute 'guileobjectdir'.
      * Makefile.am (nobase_nodist_guilemodule_DATA): Remove $(GOBJECTS).
      (nobase_nodist_guileobject_DATA): New variable.
      (guix_install_go_files): Adjust accordingly.
      (install-data-hook): Likewise.
      * scripts/guix.in (config-lookup): Add 'exec_prefix' and
      'guileobjectdir'.  Add '_' in VAR-REF-REGEXP.
      (maybe-augment-load-paths!): Distinguish OBJECT-DIR from MODULE-DIR.
      9437fd73
  5. Apr 06, 2016
    • Ludovic Courtès's avatar
      challenge: Really exit with non-zero upon hash mismatch. · 7cffaeb6
      Ludovic Courtès authored
      Reported by John Darrington.
      
      * guix/scripts/challenge.scm (guix-challenge): Add an explicit 'exit'
      call when ISSUES is empty.
      * scripts/guix.in: Add comment about 'exit'.
      * doc/guix.texi (Invoking guix challenge): Mention the behavior and exit
      code.
      7cffaeb6
  6. Jun 14, 2014
  7. Oct 12, 2013
  8. Sep 26, 2013
    • Ludovic Courtès's avatar
      Run 'guix' with '--no-auto-compile'. · dadee6cd
      Ludovic Courtès authored
      * scripts/guix.in: Change '-s' to '--no-auto-compile'.  This avoids
        annoying messages about auto-compilation, and avoids permission denied
        issues when running without write access in the usual places.
      dadee6cd
  9. Feb 27, 2013
    • Ludovic Courtès's avatar
      guix: Make sure UPDATES-DIR is valid. · 00fa3d14
      Ludovic Courtès authored
      * scripts/guix.in: Make sure UPDATES-DIR is not #f.
      00fa3d14
    • Ludovic Courtès's avatar
      Add "guix pull". · 69ce1ffc
      Ludovic Courtès authored
      * guix/scripts/pull.scm: New file.
      * Makefile.am (MODULES): Add it.
      * doc/guix.texi (Invoking guix pull): New node.
        (Invoking guix package): Add cross-ref to it.
      * guix/ui.scm (config-directory): New procedure.
      * scripts/guix.in: When `GUIX_UNINSTALLED' is undefined, add
        $XDG_CONFIG_HOME/guix/latest to the search path.
      * po/POTFILES.in: Add guix/scripts/pull.scm.
      69ce1ffc
    • Mark H Weaver's avatar
      Replace individual scripts with master 'guix' script. · 868c923f
      Mark H Weaver authored
      * scripts/guix.in: New script.
      
      * Makefile.am (bin_SCRIPTS): Add 'scripts/guix'.  Remove 'guix-build',
        'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.
      
        (MODULES): Add 'guix/scripts/build.scm', 'guix/scripts/download.scm',
        'guix/scripts/import.scm', 'guix/scripts/package.scm', and
        'guix/scripts/gc.scm'.
      
      * configure.ac (AC_CONFIG_FILES): Add 'scripts/guix'.  Remove 'guix-build',
        'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.
      
      * guix-build.in, guix-download.in, guix-gc.in, guix-import.in,
        guix-package.in: Remove shell script boilerplate.  Move to guix-COMMAND.in
        to guix/scripts/COMMAND.scm.  Rename module from (guix-COMMAND) to
        (guix scripts COMMAND).  Change "guix-COMMAND" to "guix COMMAND" in
        usage help string.
      
      * pre-inst-env.in: Add "@abs_top_builddir@/scripts" to the front of $PATH.
        Export $GUIX_UNINSTALLED.
      
      * tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh,
        tests/guix-gc.sh, tests/guix-package.sh: Use "guix COMMAND" instead of
        "guix-COMMAND".
      
      * doc/guix.texi: Replace all occurrences of "guix-COMMAND" with
        "guix COMMAND".
      
      * po/POTFILES.in: Update.
      868c923f
  10. Feb 21, 2013
  11. Feb 20, 2013
    • Ludovic Courtès's avatar
      Add "guix pull". · f651b477
      Ludovic Courtès authored
      * guix/scripts/pull.scm: New file.
      * Makefile.am (MODULES): Add it.
      * doc/guix.texi (Invoking guix pull): New node.
        (Invoking guix package): Add cross-ref to it.
      * guix/ui.scm (config-directory): New procedure.
      * scripts/guix.in: When `GUIX_UNINSTALLED' is undefined, add
        $XDG_CONFIG_HOME/guix/latest to the search path.
      * po/POTFILES.in: Add guix/scripts/pull.scm.
      f651b477
  12. Feb 17, 2013
    • Mark H Weaver's avatar
      Replace individual scripts with master 'guix' script. · e49951eb
      Mark H Weaver authored
      * scripts/guix.in: New script.
      
      * Makefile.am (bin_SCRIPTS): Add 'scripts/guix'.  Remove 'guix-build',
        'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.
      
        (MODULES): Add 'guix/scripts/build.scm', 'guix/scripts/download.scm',
        'guix/scripts/import.scm', 'guix/scripts/package.scm', and
        'guix/scripts/gc.scm'.
      
      * configure.ac (AC_CONFIG_FILES): Add 'scripts/guix'.  Remove 'guix-build',
        'guix-download', 'guix-import', 'guix-package', and 'guix-gc'.
      
      * guix-build.in, guix-download.in, guix-gc.in, guix-import.in,
        guix-package.in: Remove shell script boilerplate.  Move to guix-COMMAND.in
        to guix/scripts/COMMAND.scm.  Rename module from (guix-COMMAND) to
        (guix scripts COMMAND).  Change "guix-COMMAND" to "guix COMMAND" in
        usage help string.
      
      * pre-inst-env.in: Add "@abs_top_builddir@/scripts" to the front of $PATH.
        Export $GUIX_UNINSTALLED.
      
      * tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh,
        tests/guix-gc.sh, tests/guix-package.sh: Use "guix COMMAND" instead of
        "guix-COMMAND".
      
      * doc/guix.texi: Replace all occurrences of "guix-COMMAND" with
        "guix COMMAND".
      
      * po/POTFILES.in: Update.
      e49951eb
Loading