<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/build/utils.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://www.git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2018-08-20T15:00:45Z</updated>
<entry>
<title>utils: Generate valid substitutions in 'wrap-program'.</title>
<updated>2018-08-20T15:00:45Z</updated>
<author>
<name>Jelle Licht</name>
<email>jlicht@fsfe.org</email>
</author>
<published>2018-08-20T14:51:04Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=e6c4e41102f420cb05b32636909ecc9d45a624b7'/>
<id>urn:sha1:e6c4e41102f420cb05b32636909ecc9d45a624b7</id>
<content type='text'>
* guix/build/utils.scm (wrap-program)[export-variable]: Generate valid bash
  substitutions when using custom separators.
</content>
</entry>
<entry>
<title>utils: invoke: Raise exceptions using SRFI-34 and SRFI-35.</title>
<updated>2018-03-17T00:02:47Z</updated>
<author>
<name>Mark H Weaver</name>
<email>mhw@netris.org</email>
</author>
<published>2018-03-16T22:29:31Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=cbdfa50d9fb19704caa60818d7635047a6a26d71'/>
<id>urn:sha1:cbdfa50d9fb19704caa60818d7635047a6a26d71</id>
<content type='text'>
* guix/build/utils.scm (&amp;invoke-error): New condition type.
(invoke-error?, invoke-error-program, invoke-error-arguments)
(invoke-error-exit-status, invoke-error-term-signal)
(invoke-error-stop-signal): New exported procedures.
(invoke): Raise exceptions using SRFI-34 and SRFI-35.
* guix/ui.scm (call-with-error-handling): Add a guard clause
for &amp;invoke-error conditions.
</content>
</entry>
<entry>
<title>utils: Add 'false-if-file-not-found'.</title>
<updated>2018-03-11T21:04:39Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-03-11T21:04:12Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=5c6391b33acaaae75746f6ae30089d4aec14c349'/>
<id>urn:sha1:5c6391b33acaaae75746f6ae30089d4aec14c349</id>
<content type='text'>
* guix/build/utils.scm (false-if-file-not-found): New macro.
</content>
</entry>
<entry>
<title>guix: Fix Guile current-processor-count deprecation warnings.</title>
<updated>2017-09-05T17:41:31Z</updated>
<author>
<name>Mathieu Othacehe</name>
<email>m.othacehe@gmail.com</email>
</author>
<published>2017-09-05T17:41:31Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=325ff6fe157a2d2b7b06abddbc9e72e6a64becfd'/>
<id>urn:sha1:325ff6fe157a2d2b7b06abddbc9e72e6a64becfd</id>
<content type='text'>
When current-processor-count is used without (ice-9 threads) being used, Guile
complains with the following warning:

Import (ice-9 threads) to have access to `current-processor-count'.

* guix/build/utils.scm: Use (ice-9 threads).
</content>
</entry>
<entry>
<title>utils: Add helper for invoking programs.</title>
<updated>2017-06-01T17:06:34Z</updated>
<author>
<name>Danny Milosavljevic</name>
<email>dannym@scratchpost.org</email>
</author>
<published>2017-06-01T17:04:10Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=3f65c190d23296e7e718c3deff413e8beb61d8ba'/>
<id>urn:sha1:3f65c190d23296e7e718c3deff413e8beb61d8ba</id>
<content type='text'>
* guix/build/utils.scm (invoke): New variable.

Co-authored-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>utils: Re-export 'delete'.</title>
<updated>2017-05-26T12:59:51Z</updated>
<author>
<name>Sergei Trofimovich</name>
<email>slyfox@inbox.ru</email>
</author>
<published>2017-05-13T21:08:27Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=8b14773ab6cafbd138e0c6cbfd2fc48818e2e0b5'/>
<id>urn:sha1:8b14773ab6cafbd138e0c6cbfd2fc48818e2e0b5</id>
<content type='text'>
* guix/build/utils.scm: Reexport 'delete' binding.

Co-authored-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>utils: Add helper method to make files writable.</title>
<updated>2017-01-26T21:19:16Z</updated>
<author>
<name>Marius Bakke</name>
<email>mbakke@fastmail.com</email>
</author>
<published>2017-01-25T15:28:03Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=5a64a791317d98171435eff541a835ab0d3f498c'/>
<id>urn:sha1:5a64a791317d98171435eff541a835ab0d3f498c</id>
<content type='text'>
* gnu/build/activation.scm (make-file-writable): Move this to ...
* guix/build/utils.scm (make-file-writable): ... here. Export it.
* guix/build/gnu-build-system.scm (strip): Use it.
</content>
</entry>
<entry>
<title>utils: Add 'gzip-file?' and 'reset-gzip-timestamp'.</title>
<updated>2017-01-26T20:58:37Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-01-26T20:58:37Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=95e7be97282f136190d7007f34d355a9691a16fa'/>
<id>urn:sha1:95e7be97282f136190d7007f34d355a9691a16fa</id>
<content type='text'>
* guix/build/utils.scm (%gzip-magic-bytes): New variable.
(gzip-file?, reset-gzip-timestamp): New procedures.
</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>
<email>ludo@gnu.org</email>
</author>
<published>2017-01-22T21:42:57Z</published>
<link rel='alternate' type='text/html' href='https://www.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>utils: 'wrap-program' produces only one wrapper file.</title>
<updated>2016-09-07T21:59:02Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2016-09-07T21:59:02Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=b14a8385095f6672960fb8378c6578acf1ebbf8a'/>
<id>urn:sha1:b14a8385095f6672960fb8378c6578acf1ebbf8a</id>
<content type='text'>
* guix/build/utils.scm (wrap-program)[wrapper-file-name]
[next-wrapper-number, wrapper-target]: Remove.
[wrapped-file, already-wrapped?]: New variables.
[last-line]: New procedure.
Use it to append to PROG when a wrapper already exists.
* tests/build-utils.scm ("wrap-program, one input, multiple calls"):
Adjust the list of files to delete.
</content>
</entry>
</feed>
