aboutsummaryrefslogtreecommitdiff
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu installer substitutes)
  #:use-module (gnu installer utils)
  #:use-module (gnu services herd)
  #:export (enable-discovery
            disable-discovery))

(define (enable-discovery)
  (with-silent-shepherd
    (with-shepherd-action 'guix-daemon
        ('discover "on")
        result
      result)))

(define (disable-discovery)
  (with-silent-shepherd
    (with-shepherd-action 'guix-daemon
        ('discover "off")
        result
      result)))

;; Local Variables:
;; eval: (put 'with-silent-shepherd 'scheme-indent-function 0)
;; End:
> 2022-07-31gnu: qtquickcontrols2: Rename to qtquickcontrols2-5....Maxim Cournoyer 2022-07-31gnu: qtquickcontrols: Rename to qtquickcontrols-5....Maxim Cournoyer 2022-07-31gnu: qtdeclarative: Rename to qtdeclarative-5....Maxim Cournoyer 2022-07-31gnu: qtsvg: Rename variable to qtsvg-5....Maxim Cournoyer 2022-07-26gnu: openconnect: Update to 9.01....Arun Isaac 2022-07-26gnu: openfortivpn: Update to 1.17.3....Arun Isaac 2022-07-18gnu: xl2tpd: Update to 1.3.17....Jean-Pierre De Jesus DIAZ 2022-07-06gnu: xl2tpd: Fix cross-compiling....Efraim Flashner 2022-07-04gnu: vpnc: Add bsd-2 license....Jean-Pierre De Jesus DIAZ 2022-07-04gnu: vpnc: Fix cross-compilation....Jean-Pierre De Jesus DIAZ 2022-07-03gnu: bitmask: Fix loading of GUI....Raghav Gururajan 2022-07-02gnu: bitmask: Update to 0.21.11....Raghav Gururajan 2022-05-22gnu: openvpn: Update to 2.5.6....Tobias Geerinckx-Rice 2022-05-12gnu: sshoot: Update to 1.5.1....Maxim Cournoyer 2022-02-22gnu: n2n: Fix cross-compilation....Nicolas Goaziou 2022-02-22gnu: Add n2n....Lu Hui 2022-02-12gnu: protonvpn-cli: Remove sanity-check phase....Josselin Poiret 2022-02-12gnu: protonvpn-cli: Do not try to wrap the wrapper....Josselin Poiret 2022-02-03gnu: strongswan: Build with libsoup@2....Marius Bakke 2022-01-28gnu: openconnect-sso: Remove a transitive dependency on QtWebKit....Leo Famulari 2021-12-17gnu: openvpn: Update to 2.5.5....Tobias Geerinckx-Rice 2021-12-13gnu: Remove superfluous "linux-libre-headers" inputs....Marius Bakke 2021-12-13gnu: Further simplify package inputs....Ludovic Courtès 2021-12-13gnu: Simplify package inputs....Ludovic Courtès 2021-12-05Merge remote-tracking branch 'origin/master' into core-updates-frozenRicardo Wurmus 2021-11-27gnu: strongswan: Update to 5.9.4....Tobias Geerinckx-Rice 2021-11-17Merge branch 'master' into core-updates-frozenLudovic Courtès 2021-11-08gnu: packages: Remove last year's deprecations....Tobias Geerinckx-Rice 2021-10-12Merge remote-tracking branch 'origin/master' into core-updates-frozen.Mathieu Othacehe 2021-10-05gnu: openvpn: Update to 2.5.4....Tobias Geerinckx-Rice 2021-10-05gnu: wireguard-tools: Fix doc installation....Tobias Geerinckx-Rice 2021-10-04gnu: wireguard-tools: Update to 1.0.20210914....Tobias Geerinckx-Rice