<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/build/profiles.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2019-01-20T00:42:11Z</updated>
<entry>
<title>profiles: Allow a profile to be added as an entry of another profile.</title>
<updated>2019-01-20T00:42:11Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2019-01-20T00:33:25Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=38b77f34640ff8a491913d29abcd16a846f2d0e4'/>
<id>urn:sha1:38b77f34640ff8a491913d29abcd16a846f2d0e4</id>
<content type='text'>
* guix/build/profiles.scm (build-etc/profile): When 'OUTPUT/etc/profile'
already exists, delete it first.
(build-profile): Likewise for 'OUTPUT/manifest'.
* tests/profiles.scm ("profile in profile"): New test.
</content>
</entry>
<entry>
<title>profiles: Correctly deal with etc/ being a relative symlink.</title>
<updated>2018-09-10T22:14:58Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2018-09-10T21:37:48Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=2225d56a14a2d8d29374a14eefe90b3cffa79804'/>
<id>urn:sha1:2225d56a14a2d8d29374a14eefe90b3cffa79804</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/32686&gt;.
Reported by Oleg Pykhalov &lt;go.wigust@gmail.com&gt;.

* guix/build/profiles.scm (ensure-writable-directory): Add #:symlink.
[absolute?]: New procedure.
[unsymlink]: Use it to determine how to resolve readlink's result.
(build-profile): Pass SYMLINK to 'ensure-writable-directory'.
* tests/profiles.scm ("profile-derivation when etc/ is a relative symlink"):
New test.
</content>
</entry>
<entry>
<title>profiles: Factorize 'manifest-search-paths'.</title>
<updated>2018-07-10T22:52:36Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2018-07-09T08:44:36Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=f03df3ee75d1209fb9782999bd04378c58e9f0f1'/>
<id>urn:sha1:f03df3ee75d1209fb9782999bd04378c58e9f0f1</id>
<content type='text'>
* guix/profiles.scm (manifest-search-paths): New procedure.
(profile-derivation)[builder]: Use it.
* guix/build/profiles.scm (build-etc/profile): Remove $PATH.
</content>
</entry>
<entry>
<title>profiles: Optionally use relative file names for symlink targets.</title>
<updated>2018-05-10T12:53:57Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2018-04-28T20:20:36Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=e00ade3fb81f89cd7c030f998ccd3e07ef2628f0'/>
<id>urn:sha1:e00ade3fb81f89cd7c030f998ccd3e07ef2628f0</id>
<content type='text'>
* guix/build/union.scm (symlink-relative): New procedure.
* guix/build/profiles.scm: Re-export it.
(build-profile): Add #:symlink and pass it to 'union-build'.
* guix/profiles.scm (profile-derivation): Add #:relative-symlinks?.
Pass #:symlink to 'build-profile'.
* tests/profiles.scm ("profile-derivation relative symlinks, one entry")
("profile-derivation relative symlinks, two entries"): New tests.
</content>
</entry>
<entry>
<title>Add semicolon in commands that set GUIX_PROFILE.</title>
<updated>2017-11-20T17:43:10Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2017-11-20T17:41:47Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=bd7e136d295f0d6c1aa5d107356e28c259a54cb9'/>
<id>urn:sha1:bd7e136d295f0d6c1aa5d107356e28c259a54cb9</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/28223&gt;.
Reported by Rosebud Uplink &lt;Uplink.Introversion@outlook.com&gt;.

* doc/guix.texi (Binary Installation): Add missing semicolon after
'GUIX_PROFILE=' line.
(Invoking guix package): Likewise.
* gnu/system.scm (operating-system-etc-service)[profile]: Likewise.
* guix/build/profiles.scm (build-etc/profile): Likewise.
</content>
</entry>
<entry>
<title>profiles: Slightly improve the instructions in 'etc/profile'.</title>
<updated>2017-04-07T21:30:38Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2017-04-07T20:26:12Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=5537f2d27925abc05550eff35d13e1347d60dca5'/>
<id>urn:sha1:5537f2d27925abc05550eff35d13e1347d60dca5</id>
<content type='text'>
* guix/build/profiles.scm (build-etc/profile): Fix typo in comment.
Add backslash in the generated shell comment.
</content>
</entry>
<entry>
<title>search-paths: Allow specs with #f as their separator.</title>
<updated>2017-01-23T21:23:41Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2017-01-22T21:42:57Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=fcd75bdbfa99d14363b905afbf914eec20e69df8'/>
<id>urn:sha1:fcd75bdbfa99d14363b905afbf914eec20e69df8</id>
<content type='text'>
This adds support for single-entry search paths.
Fixes &lt;http://bugs.gnu.org/25422&gt;.
Reported by Leo Famulari &lt;leo@famulari.name&gt;.

* guix/search-paths.scm (&lt;search-path-specification&gt;)[separator]:
Document as string or #f.
(evaluate-search-paths): Add case for SEPARATOR as #f.
(environment-variable-definition): Handle SEPARATOR being #f.
* guix/build/utils.scm (list-&gt;search-path-as-string): Add case for
SEPARATOR as #f.
(search-path-as-string-&gt;list): Likewise.
* guix/build/profiles.scm (abstract-profile): Likewise.
* tests/search-paths.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* tests/packages.scm ("--search-paths with single-item search path"):
New test.
* gnu/packages/version-control.scm (git)[native-search-paths](separator):
New field.
</content>
</entry>
<entry>
<title>profiles: Export 'ensure-writable-directory' and use it.</title>
<updated>2015-05-27T20:36:52Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2015-05-27T20:36:52Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=6a669bda51acb12b4ae4901c1df04fa5965ef1d0'/>
<id>urn:sha1:6a669bda51acb12b4ae4901c1df04fa5965ef1d0</id>
<content type='text'>
* guix/build/profiles.scm (ensure-writable-directory): Export.
* guix/profiles.scm (gtk-icon-themes)[build]: Remove '@@' form and use (guix
  build profiles).
</content>
</entry>
<entry>
<title>profiles: Gracefully deal with packages containing an etc/ symlink.</title>
<updated>2015-05-18T07:47:29Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2015-05-18T07:47:29Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=113c17a0c969e600023698ae3a34994a796d0046'/>
<id>urn:sha1:113c17a0c969e600023698ae3a34994a796d0046</id>
<content type='text'>
This fixes a bug whereby 'guix package -i gcc-toolchain' would fail in
'build-profile'.  This is because in 'gcc-toolchain', etc/ is a symlink,
and so the 'scandir' call in 'unsymlink' would return #f instead of
returning a list.

Reported by Andreas Enge &lt;andreas.enge@inria.fr&gt;.

* guix/build/profiles.scm (ensure-writable-directory)[unsymlink]: Append
  "/" to TARGET before calling 'scandir'.
* tests/profiles.scm ("etc/profile when etc/ is a symlink"): New test.
</content>
</entry>
<entry>
<title>profiles: Ensure the profile's etc/ directory is writable.</title>
<updated>2015-05-08T14:35:32Z</updated>
<author>
<name>Ludovic Courtès</name>
</author>
<published>2015-05-08T13:39:45Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=a0dac7a01f766e75dc73200a889f31c3920a2d98'/>
<id>urn:sha1:a0dac7a01f766e75dc73200a889f31c3920a2d98</id>
<content type='text'>
Reported by 宋文武 &lt;iyzsong@gmail.com&gt;.

* guix/build/profiles.scm (build-etc/profile,
  ensure-writable-directory): New procedures.
  (build-profile): Use them.
* tests/profiles.scm ("etc/profile when etc/ already exists"): New test.
</content>
</entry>
</feed>
