Revert "build-self: Avoid deprecated bindings."

This reverts commit fa9e6e8b67.

By using the new bindings, we would prevent users of Guix prior to
de9fbe9cdc, such as version 0.16.0, to
upgrade to current master.  Thus, we will keep using the old names for a
while.
This commit is contained in:
Ludovic Courtès 2019-04-23 00:47:41 +02:00
parent 70da04c37b
commit ffc8ab75f1
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -399,9 +399,9 @@ (define* (build source
(mlet %store-monad ((build (build-program source version guile-version
#:pull-version pull-version))
(system (if system (return system) (current-system)))
(port ((store-lift store-connection-socket)))
(major ((store-lift store-connection-major-version)))
(minor ((store-lift store-connection-minor-version))))
(port ((store-lift nix-server-socket)))
(major ((store-lift nix-server-major-version)))
(minor ((store-lift nix-server-minor-version))))
(mbegin %store-monad
(show-what-to-build* (list build))
(built-derivations (list build))