Skip to content
Snippets Groups Projects
  • Ludovic Courtès's avatar
    d664f1b4
    profiles: Generate an 'etc/profile' file. · d664f1b4
    Ludovic Courtès authored
    Suggested by 宋文武 <iyzsong@gmail.com>
    in <http://bugs.gnu.org/20255>.
    
    * guix/build/profiles.scm (abstract-profile,
      write-environment-variable-definition): New procedures.
      (build-profile): Add #:search-paths parameter.  Create
      OUTPUT/etc/profile.
    * guix/profiles.scm (profile-derivation)[builder]: Add 'search-paths'
      variable and pass it to 'build-profile'.  Adjust #:modules argument.
    * tests/profiles.scm ("etc/profile"): New test.
    * doc/guix.texi (Invoking guix package): Mention etc/profile.
    d664f1b4
    History
    profiles: Generate an 'etc/profile' file.
    Ludovic Courtès authored
    Suggested by 宋文武 <iyzsong@gmail.com>
    in <http://bugs.gnu.org/20255>.
    
    * guix/build/profiles.scm (abstract-profile,
      write-environment-variable-definition): New procedures.
      (build-profile): Add #:search-paths parameter.  Create
      OUTPUT/etc/profile.
    * guix/profiles.scm (profile-derivation)[builder]: Add 'search-paths'
      variable and pass it to 'build-profile'.  Adjust #:modules argument.
    * tests/profiles.scm ("etc/profile"): New test.
    * doc/guix.texi (Invoking guix package): Mention etc/profile.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.