From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: [PATCH 2/2] services: Add 'dropbear-service'. Date: Wed, 13 Jul 2016 17:58:10 +0200 Message-ID: References: <20160704205616.11599-1-david@craven.ch> <20160704205616.11599-2-david@craven.ch> <20160707172517.GA5283@jasmine> <20160709224125.GA11385@jasmine> <20160709224357.GA11997@jasmine> <878tx8o9oo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNMYF-0008D4-GP for guix-devel@gnu.org; Wed, 13 Jul 2016 11:58:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNMYC-0007qm-9M for guix-devel@gnu.org; Wed, 13 Jul 2016 11:58:19 -0400 Received: from mail-yw0-x241.google.com ([2607:f8b0:4002:c05::241]:34939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNMYB-0007qX-1n for guix-devel@gnu.org; Wed, 13 Jul 2016 11:58:16 -0400 Received: by mail-yw0-x241.google.com with SMTP id c13so3388643ywh.2 for ; Wed, 13 Jul 2016 08:58:13 -0700 (PDT) In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel@gnu.org It breaks for me with commit 4ee96a7, I guess an #:use-module or something is missing, but with-imported-modules is defined in guix gexp, so I have no idea why this is happening. Does this happen on guixsd too or just on nixos? On Wed, Jul 13, 2016 at 3:09 PM, David Craven wrote: > Ups, replied to Ludo by accident (damn you android gmail client :-). > > Email 1: > Sry, had to study yesterday for my last batch of exams, I'll update it to= night. > > Of course generating keys outside the vm and having them laying around > in the store is a bad idea. Even worse is hard coding them inside a > operating-system configuration file. > > Email 2: > David Craven skribis: > >> Sry, had to study yesterday for my last batch of exams, I'll update it >> tonight. > > No problem, take your time. I was away from keyboard anyway. :-) > >> Of course generating keys outside the vm and having them laying around i= n >> the store is a bad idea. Even worse is hard coding them inside a >> operating-system configuration file. > > Yup. > > Ludo=E2=80=99. > > > > I'm having trouble updating the dropbear-service. I rebased and now > nothing works anymore. So I tried the bare-bones example and that > gives the same error. Is it possible that it's related to the > `services: no longer has an 'imported-modules' > field` patch? > > Here's the backtrace: > > guix system vm bare-bones.tmpl > ;;; note: source file /home/dvc/.guix/gnu/packages/linux.scm > ;;; newer than compiled > /home/dvc/.config/guix/latest/gnu/packages/linux.go > ;;; note: source file /home/dvc/.guix/gnu/packages/xorg.scm > ;;; newer than compiled /home/dvc/.config/guix/latest/gnu/packages/= xorg.go > ;;; note: source file /home/dvc/.guix/gnu/packages/gl.scm > ;;; newer than compiled /home/dvc/.config/guix/latest/gnu/packages/= gl.go > ;;; note: source file /home/dvc/.guix/gnu/packages/gtk.scm > ;;; newer than compiled /home/dvc/.config/guix/latest/gnu/packages/= gtk.go > ;;; note: source file /home/dvc/.guix/gnu/packages/ssh.scm > ;;; newer than compiled /home/dvc/.config/guix/latest/gnu/packages/= ssh.go > ;;; note: source file /home/dvc/.guix/gnu/packages/xdisorg.scm > ;;; newer than compiled > /home/dvc/.config/guix/latest/gnu/packages/xdisorg.go > ;;; note: source file /home/dvc/.guix/gnu/services/base.scm > ;;; newer than compiled /home/dvc/.config/guix/latest/gnu/services/= base.go > Backtrace: > In ice-9/boot-9.scm: > 2864: 19 [resolve-interface (gnu system) #:select ...] > 2789: 18 [# #:optional autoload version #:key ensure)> # ...] > 3065: 17 [try-module-autoload (gnu system) #f] > 2401: 16 [save-module-excursion # ice-9/boot-9.scm:3066:17 ()>] > 3085: 15 [#] > In unknown file: > ?: 14 [primitive-load-path "gnu/system" ...] > In gnu/system.scm: > 21: 13 [#] > In ice-9/boot-9.scm: > 2951: 12 [define-module* (gnu system) #:filename ...] > 2926: 11 [resolve-imports (((guix store)) ((guix monads)) ((guix gexp)) .= ..)] > 2864: 10 [resolve-interface (gnu services base) #:select ...] > 2789: 9 [# #:optional autoload version #:key ensure)> # ...] > 3065: 8 [try-module-autoload (gnu services base) #f] > 2401: 7 [save-module-excursion # ice-9/boot-9.scm:3066:17 ()>] > 3085: 6 [#] > In unknown file: > ?: 5 [primitive-load-path "gnu/services/base" ...] > In ice-9/eval.scm: > 453: 4 [eval # ()] > 387: 3 [eval # #] > 386: 2 [eval # #] > 393: 1 [eval # #] > In unknown file: > ?: 0 [memoize-variable-access! # #] > > ERROR: In procedure memoize-variable-access!: > ERROR: Unbound variable: with-imported-modules