<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/gnu/build/install.scm, branch wip-deploy</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=wip-deploy</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=wip-deploy'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2019-03-07T19:05:09Z</updated>
<entry>
<title>activation: Build account databases with (gnu build accounts).</title>
<updated>2019-03-07T19:05:09Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-03-03T22:16:41Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=0ae735bcc8ff7fdc89d67b492bdee9091ee19e86'/>
<id>urn:sha1:0ae735bcc8ff7fdc89d67b492bdee9091ee19e86</id>
<content type='text'>
* gnu/build/activation.scm (enumerate, current-users, current-groups)
(add-group, add-user, modify-user, ensure-user): Remove.
(activate-users+groups)[touch, activate-user]: Remove.
[make-home-directory]: New procedure.
Rewrite in terms of 'user+group-databases', 'write-group', etc.
* gnu/build/install.scm (directives): Remove "/root".
* gnu/system/shadow.scm (account-activation): Remove (setenv "PATH" ...)
expression, which is now unneeded.
</content>
</entry>
<entry>
<title>install: Add 'install-database-and-gc-roots'.</title>
<updated>2018-11-06T22:21:24Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-11-03T22:01:44Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=c5ce2db56909e7dd3fdcd30fa453272d56b07451'/>
<id>urn:sha1:c5ce2db56909e7dd3fdcd30fa453272d56b07451</id>
<content type='text'>
* gnu/build/install.scm (%root-profile): New variable.
(install-database-and-gc-roots): New procedure.
(populate-single-profile-directory): Replace inline code with a call to
'install-database-and-gc-roots'.
</content>
</entry>
<entry>
<title>pack: Import (guix store database) only when '--localstatedir' is passed.</title>
<updated>2018-11-06T22:21:23Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-10-27T22:17:08Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=b27ef1d46cfdc3c994b106241f99cd7142083d13'/>
<id>urn:sha1:b27ef1d46cfdc3c994b106241f99cd7142083d13</id>
<content type='text'>
This is another way to address &lt;https://bugs.gnu.org/32184&gt;, which was
previously addressed in commit 19c924af4f3726688ca155a905ebf1cb9acdfca2.

* gnu/build/install.scm (register-closure): Move to...
* gnu/build/vm.scm (register-closure): ... here.  New procedure.
* guix/scripts/pack.scm (self-contained-tarball)[build]: Remove
now unneeded 'with-extensions' form and custom (guix config) module.
* tests/guix-pack.sh: Revert the strategy from
commit 19c924af4f3726688ca155a905ebf1cb9acdfca2.
* tests/pack.scm ("self-contained-tarball"): Likewise.
</content>
</entry>
<entry>
<title>pack: Move store database creation to a separate derivation.</title>
<updated>2018-11-06T22:21:23Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-10-27T21:47:59Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ec4c81fe32a90890a6190443248078ce7366503f'/>
<id>urn:sha1:ec4c81fe32a90890a6190443248078ce7366503f</id>
<content type='text'>
* guix/scripts/pack.scm (store-database): New procedure.
(self-contained-tarball): Use it when LOCALSTATEDIR? is true.
Remove 'schema' and add 'database'.
[build]: Pass DATABASE to 'populate-single-profile-directory'.
(squashfs-image): Remove #:deduplicate? parameter.
[build]: Remove (gnu build install) and (guix config) from the imported
modules.  Remove 'with-extensions'.
* gnu/build/install.scm (populate-single-profile-directory): Remove
 #:deduplicate?, #:register?, and #:schema; add #:database.  Remove call
to 'register-closure' and simply copy DATABASE instead.
</content>
</entry>
<entry>
<title>install: Parameterize the profile name for 'populate-single-profile-directory'.</title>
<updated>2018-11-04T23:08:46Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-10-20T15:51:58Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ab3c60ace3bdd376255463c6475b62f6d17e5978'/>
<id>urn:sha1:ab3c60ace3bdd376255463c6475b62f6d17e5978</id>
<content type='text'>
* gnu/build/install.scm (populate-single-profile-directory): Add
 #:profile-name.  Replace hard-coded occurrences of "guix-profile" with
PROFILE-NAME.  Make the symlink part under /root a function of
PROFILE-NAME.
</content>
</entry>
<entry>
<title>install: Make /var/guix/…/guix-profile a relative symlink.</title>
<updated>2018-10-21T21:54:46Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-10-20T15:39:53Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=aff38cb199fc847f97059600a6c9c99ee754fc07'/>
<id>urn:sha1:aff38cb199fc847f97059600a6c9c99ee754fc07</id>
<content type='text'>
* gnu/build/install.scm (populate-single-profile-directory): Make
/var/guix/profiles/per-user/root/guix-profile a relative symlink.
</content>
</entry>
<entry>
<title>Remove 'guix-register' and its traces.</title>
<updated>2018-06-14T09:17:00Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-06-08T09:03:31Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ea0a06cee2ba05451f94714a4f913db02efbe92c'/>
<id>urn:sha1:ea0a06cee2ba05451f94714a4f913db02efbe92c</id>
<content type='text'>
* Makefile.am (SH_TESTS): Remove tests/guix-register.sh.
* build-aux/pre-inst-env.in (GUIX_REGISTER): Remove.
* gnu/build/install.scm (directives): Remove outdated comment.
* gnu/build/vm.scm (root-partition-initializer): Update comment.
* gnu/packages/package-management.scm (guix-register): Remove.
* guix/config.scm.in (%sbindir, %guix-register-program): Remove.
* guix/scripts/system.scm (install): Adjust docstring.
* guix/self.scm (make-config.scm): Remove #:guix.  Do not generate
%sbindir and %guix-register-program.
(specification-&gt;package): Remove "guix".
* nix/guix-register/guix-register.cc: Remove.
* nix/libstore/store-api.cc (decodeValidPathInfo): Remove.
* nix/libstore/store-api.hh (decodeValidPathInfo): Remove declaration.
* nix/local.mk (sbin_PROGRAMS, guix_register_SOURCES)
(guix_register_CPPFLAGS, guix_register_LDFLAGS): Remove.
* tests/guix-register.sh: Remove.
</content>
</entry>
<entry>
<title>database: Allow for deterministic database construction.</title>
<updated>2018-06-14T09:17:00Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-06-07T22:00:47Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=eb9fe97495c012c989f76cb42a14cd78f9d94629'/>
<id>urn:sha1:eb9fe97495c012c989f76cb42a14cd78f9d94629</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/21073&gt;.

* guix/store/database.scm (sqlite-register): Add #:time.
(%epoch): New variable.
(register-items): Add #:registration-time.  Pass #:time to
'sqlite-register'.
* gnu/build/install.scm (register-closure): Pass #:registration-time.
</content>
</entry>
<entry>
<title>install: Use 'reset-timestamps' from (guix store database).</title>
<updated>2018-06-14T09:17:00Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-06-07T20:35:36Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=078c2329c0ffc88ac8e334fcea5e025ee6410e62'/>
<id>urn:sha1:078c2329c0ffc88ac8e334fcea5e025ee6410e62</id>
<content type='text'>
* gnu/build/install.scm (reset-timestamps): Remove.
* gnu/build/vm.scm: Use 'reset-timestamps' from (guix store database).
</content>
</entry>
<entry>
<title>database: Add 'register-items'.</title>
<updated>2018-06-14T09:17:00Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-06-07T20:23:57Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=31a63be8784b2769c2db21388f788a8b975fd4e1'/>
<id>urn:sha1:31a63be8784b2769c2db21388f788a8b975fd4e1</id>
<content type='text'>
* guix/build/store-copy.scm (store-info): Export.
* guix/store/database.scm (register-items): New procedure.
(register-path): Implement in terms of 'register-items'.
* gnu/build/install.scm (register-closure): Use 'register-items' instead
of 'for-each' and 'register-path'.
</content>
</entry>
</feed>
