Browse Source

build-self: Disable position recording.

'guix pull -n' goes roughly from 40s to 35s.

* build-aux/build-self.scm (build-program): Add call to 'read-disable'.
gn-latest-20200428
Ludovic Courtès 2 years ago
parent
commit
ec8bc4a34e
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      build-aux/build-self.scm

+ 5
- 1
build-aux/build-self.scm View File

@ -313,7 +313,11 @@ interface (FFI) of Guile.")
(cons (string-append #$guile-gcrypt "/lib/guile/"
(effective-version)
"/site-ccache")
%load-compiled-path)))
%load-compiled-path))
;; Disable position recording to save time and space
;; when loading the package modules.
(read-disable 'positions))
(use-modules (guix store)
(guix self)


Loading…
Cancel
Save