From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8DJzFD6HZWGAYQEAgWs5BA (envelope-from ) for ; Tue, 12 Oct 2021 15:01:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qA0rED6HZWGpfAAAbx9fmQ (envelope-from ) for ; Tue, 12 Oct 2021 13:01:50 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 39CAB2EAF2 for ; Tue, 12 Oct 2021 15:01:49 +0200 (CEST) Received: from localhost ([::1]:47030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maHPg-0001UD-75 for larch@yhetil.org; Tue, 12 Oct 2021 09:01:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maGF4-0000bE-Ks for help-guix@gnu.org; Tue, 12 Oct 2021 07:46:46 -0400 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:42953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maGF1-0002sX-JO for help-guix@gnu.org; Tue, 12 Oct 2021 07:46:46 -0400 Received: by mail-ed1-x52a.google.com with SMTP id t16so58178168eds.9 for ; Tue, 12 Oct 2021 04:46:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dustinlyons.co; s=google; h=mime-version:from:date:message-id:subject:to; bh=y6PB/XMPRmX+sqUC0wYL1fzxlQ9HdiLA5cCtg0WjZQ0=; b=OE1QTRqq6Rff9ozOB1ONmLq0Q15GJfAHs0kNIkEGq6Twn+ehnh6/vwuOz2T/48/3oN KZRJF0sqTjQWPQalcpgQSzC7CiUEvTwWBGgbVBnT5uvmzoc7GO/azAyQtBap6Q5aVjRO 12JnSwWCkGjUyBcCI3U92bHAo1xl5oL+9cBeOgZSwhIujdLbRG/ZI1Vf6mbRa39QGOtL NgUgivzt3blcodm0QEA77sZT1R27Yj7AZS2FszmAkko8fM7Er7CRlXJzmND2JSGbeY4O 2rXRZnreZ8hB5/0Ki0la8bt1bxyG7s/oNbGNIw0ePlimEfGQgLwOEqJ0QJthuvT7o1lL 2hyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=y6PB/XMPRmX+sqUC0wYL1fzxlQ9HdiLA5cCtg0WjZQ0=; b=m4BUSmltRtMld1XDUgkZe7gSwn8nRKNSkB0gZNWAntWG/K2X47C7cQhdAG1ixR+oHS Zi+yZSzAep8gVfpWgfm59cvCnxKA1Ch6MOHlUQGL0x9QzpBTh3EHD7Jl5VcduqF8zy/G UKWI726X8pC0KmXo2YipJY7GpprwLcv1Uct7i65wT6x9TxtOb+ecOs2y33VMqezAF/z5 /6I5KgITdO0VuHe18PTBfFTbypsD20Eyti4LSZeBUFyiSNfgVXr2VGGou9+BhQCDHZba /JqEwic53tJb+aaLxw/g6wLTvHFudyPSusinZWuA7VMRNYWW3McGGJG0kqdFTbNNbpqF Rv0A== X-Gm-Message-State: AOAM531LOo28VUrF3Ya5bdTlW3iOM1gF3WnkESsEazbbR/XJvxTgolmM cYYgnmP6Dr20FDMOHWqfgdF0OV34Ia8sPMJQOwumphiXnOtgxTSK X-Google-Smtp-Source: ABdhPJwFLochm1Ue6YNUsWkUj/QctqulvOBaXJE53/L/WhosCfrkrFmpxLV0PDjvKspagcGOhvs0IyU9U2q67XilndQ= X-Received: by 2002:a17:906:1f49:: with SMTP id d9mr32349692ejk.150.1634039200226; Tue, 12 Oct 2021 04:46:40 -0700 (PDT) MIME-Version: 1.0 From: Dustin Lyons Date: Tue, 12 Oct 2021 07:46:29 -0400 Message-ID: Subject: guix home: no target of type 'home-profile' for service 'home-bash' To: help-guix@gnu.org Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=me@dustinlyons.co; helo=mail-ed1-x52a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, WEIRD_QUOTING=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 12 Oct 2021 09:00:44 -0400 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634043709; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DbXZDjpHxVIPrn3m3gJyURNJkEW+M2B0mJ0Aa0vQLCI=; b=oeWiw8Ab/64UjuCiP4HF2fzrQWAt6FjfIXHHEDf8T/9drjpGe87K8y+hUh4TkAeT+IMjx4 lE4d6ogZ/miZmtG8bpInZV0TzcYlAYStXaIO5xb/c5oCQIZGXkTbplBunesoXYEVaUbySf tsW0E/07rI5MdTF3VEHyktUkhyyJzhML9BqhxOEiOzAK/NGMPe/9uinqZl+9mNcgbBiTAc Y0GaNoSaZxFMwbn/4EjGU1p3t/eU8J44l8nmF/eKo/K5Y9RJRMvk+ZQwd8W++hwoDb/tgs 7sEF1yTSkiDOXptDgUzIvhBrW2LypzYVf1xGuaS4wuzhgWtcd41gztwoF0dKMQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634043709; a=rsa-sha256; cv=none; b=HDgiIOizc9Naza8prckFnBbxSAMvyfYuym1e5fGAhD8gwqjlgTvpvUnzhgmteju8YsSreQ Jy2NeMO/k13fnHvyusBmLz1sISl2Rm3RCx1uHH36e9ROy+3W8qraEx3L+q4G7NUwJwEvsH PtDq8KRxxgsW1rfWuwio+5go22Ao+tYQN5RXUfYS7vWoF+WOhmxO5WH4oH/3r0u88Lptw7 /HS6xh/yrFEAom+Mbjl+iApv9wleo3HZdgUTHEkaF+caNIJKc9g7RmIeHcOKdoUzg+0rpx 4o4fBUakALO94YyJKebxpG8p6UeyfFhoed+UUfUi4ViLXa92JQrjuTIP5gdYbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=dustinlyons.co header.s=google header.b=OE1QTRqq; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=dustinlyons.co header.s=google header.b=OE1QTRqq; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 39CAB2EAF2 X-Spam-Score: -1.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: BA/SBkDZBqyk Hello, I had a working guix home configuration, happily importing all of my dotfiles into the guix store, but a most recent guix pull broke it. I now see 1) an error due to no 'home-profile' and 2) none of my services to be found and instead a generic fontconfig service to be built, resulting in a completely empty home configuration. I've been debugging on my end but am failing to find a solution. Did something change? I confirmed in the repl that I'm passing a list of valid simple-service types into my (home-environment). Do I need to provide something else? I'm new to guix, so any debugging tips would also be appreciated. Github link: https://github.com/dustinlyons/guix-config/blob/main/build/felix-home.scm *Error running guix home reconfigure:* $ guix home --load-path=./build reconfigure ./build/felix-home.scm *error: channel: unbound variablehint: Did you forget `(use-modules (guix channels))'?error: desktop-operating-system: unbound variablehint: Did you forget a `use-modules' form?felix-home.scm:25:13: warning: resolving 'build/.Xmodmap' relative to current directoryfelix-home.scm:25:13: warning: resolving 'build/picom/picom.conf' relative to current directoryfelix-home.scm:25:13: warning: resolving 'build/.Xresources' relative to current directoryfelix-home.scm:25:13: warning: resolving 'build/polybar/colors.ini' relative to current directoryfelix-home.scm:25:13: warning: resolving 'build/polybar/bars.ini' relative to current directoryfelix-home.scm:25:13: warning: resolving 'build/polybar/modules.ini' relative to current directoryfelix-home.scm:25:13: warning: resolving 'build/polybar/config.ini' relative to current directoryfelix-home.scm:25:13: warning: resolving 'build/Thunar/uca.xml' relative to current directoryfelix-home.scm:25:13: warning: resolving 'build/dunst/dunstrc' relative to current directoryfelix-home.scm:25:13: warning: resolving 'build/printers/printers.conf' relative to current directoryfelix-home.scm:25:13: warning: resolving 'build/alacritty/alacritty.yml' relative to current directoryfelix-home.scm:25:13: warning: resolving 'build/emacs/zeroed-theme.el' relative to current directoryfelix-home.scm:25:13: warning: resolving 'build/openbox/autostart' relative to current directoryfelix-home.scm:25:13: warning: resolving 'build/openbox/rc.xml' relative to current directoryfelix-home.scm:25:13: warning: resolving 'build/rofi/launcher.sh' relative to current directoryfelix-home.scm:25:13: warning: resolving 'build/rofi/theme.rasi' relative to current directoryguix home: error: no target of type 'home-profile' for service 'home-bash'make: *** [Makefile:32: --install-felix-home] Error 1* *Source file ./build/felix-home.scm:* (define-module (felix-home) #:use-module (gnu home) #:use-module (desktop) #:use-module (dl utils) #:use-module (gnu home-services) #:use-module (gnu home-services shells) #:use-module (gnu services) #:use-module (gnu system) #:use-module (gnu packages) #:use-module (guix build utils) #:use-module (gnu packages admin) #:use-module (guix gexp)) ;; Returns a list of home-file-service structs for each dotfile (define (dl/generate-dotfiles-services dotfiles) (if (null? dotfiles) '() (let ((config-file (string-append "config/" (car dotfiles))) (build-file (string-append "build/" (car dotfiles)))) (cons (simple-service 'load-build-files home-files-service-type (list ;; pair of destination path and source path `(,config-file ,(local-file build-file "config")))) (dl/generate-dotfiles-services (cdr dotfiles)))))) (home-environment (packages (map specification->package+output %dl-packages)) (services (append (list (simple-service 'felix-environment-variables home-environment-variables-service-type `(("LANG" . "en_US.UTF-8") ("LIBGL_ALWAYS_INDIRECT" . #t) ("HYPHEN_INSENSITIVE" . #t) ("COMPLETION_WAITING_DOTS" . #t) ("OSH" . "$HOME/Resources/code/oh-my-bash") ("GUIX_PROFILE" . "$HOME/.guix-profile") ("OSH_THEME" . "agnoster"))) (service home-bash-service-type (home-bash-configuration (guix-defaults? #f) (bashrc '("# Export 'SHELL' to child processes. # Programs such as 'screen' honor it and otherwise use /bin/sh. export SHELL alias ls='ls --color' # We are being invoked from a non-interactive shell. If this # is an SSH session (as in \"ssh host command\"), source # /etc/profile so we get PATH and other essential variables. if [[ $- != *i* ]] then [[ -n \"$SSH_CLIENT\" ]] && source \"$GUIX_PROFILE/etc/profile\" # Don't do anything else. return fi # System wide configuration source /etc/bashrc # oh-my-BASH! export OSH=$HOME/Resources/code/oh-my-bash source $OSH/oh-my-bash.sh"))))) ;; Generates home-files-services for each dotfile defined ;; throughout configuration inheritance (dl/generate-dotfiles-services (append '(".Xmodmap") %dl-dotfiles))))) *Source of (home-environment (services)): %dl-dotfiles:* (define %dl-packages (append %dl-packages-workstation %dl-packages-desktop)) (define %dl-dotfiles (append %dl-dotfiles-workstation %dl-dotfiles-desktop)) (define %dl-packages-desktop (list "openbox""rofi" )) (define %dl-dotfiles-desktop (list "openbox/autostart" "openbox/rc.xml""rofi/launcher.sh" "rofi/theme.rasi" )) (define %dl-packages-workstation (list "picom""font-hack" "font-awesome" "font-google-roboto" "font-google-material-design-icons""polybar""thunar""dunst""brlaser" "system-config-printer""alacritty""emacs" )) (define %dl-dotfiles-workstation (list "picom/picom.conf"".Xresources""polybar/colors.ini" "polybar/bars.ini" "polybar/modules.ini" "polybar/config.ini""Thunar/uca.xml""dunst/dunstrc""printers/printers.conf""alacritty/alacritty.yml""emacs/zeroed-theme.el" )) *Dropping home-bash-service-type, result is no configuration other than fontconfig built with guix home:* guix home --load-path=./build reconfigure ./build/felix-home.scm error: channel: unbound variable hint: Did you forget `(use-modules (guix channels))'? error: desktop-operating-system: unbound variable hint: Did you forget a `use-modules' form? felix-home.scm:25:13: warning: resolving 'build/.Xmodmap' relative to current directory felix-home.scm:25:13: warning: resolving 'build/picom/picom.conf' relative to current directory felix-home.scm:25:13: warning: resolving 'build/.Xresources' relative to current directory felix-home.scm:25:13: warning: resolving 'build/polybar/colors.ini' relative to current directory felix-home.scm:25:13: warning: resolving 'build/polybar/bars.ini' relative to current directory felix-home.scm:25:13: warning: resolving 'build/polybar/modules.ini' relative to current directory felix-home.scm:25:13: warning: resolving 'build/polybar/config.ini' relative to current directory felix-home.scm:25:13: warning: resolving 'build/Thunar/uca.xml' relative to current directory felix-home.scm:25:13: warning: resolving 'build/dunst/dunstrc' relative to current directory felix-home.scm:25:13: warning: resolving 'build/printers/printers.conf' relative to current directory felix-home.scm:25:13: warning: resolving 'build/alacritty/alacritty.yml' relative to current directory felix-home.scm:25:13: warning: resolving 'build/emacs/zeroed-theme.el' relative to current directory felix-home.scm:25:13: warning: resolving 'build/openbox/autostart' relative to current directory felix-home.scm:25:13: warning: resolving 'build/openbox/rc.xml' relative to current directory felix-home.scm:25:13: warning: resolving 'build/rofi/launcher.sh' relative to current directory felix-home.scm:25:13: warning: resolving 'build/rofi/theme.rasi' relative to current directory /gnu/store/2frj2r4kin54v6xm27c02z3why9qpvbz-home Cleaning up symlinks from previous home-environment. Removing /home/dustin/.config/fontconfig/fonts.conf... done Removing /home/dustin/.config/fontconfig... done Skipping /home/dustin/.config (not an empty directory)... done Removing /home/dustin/.profile... done Cleanup finished. New symlinks to home-environment will be created soon. All conflicting files will go to /home/dustin/1634038573-guix-home-legacy-configs-backup. Skipping /home/dustin/.config (directory already exists)... done Creating /home/dustin/.config/fontconfig... done Symlinking /home/dustin/.config/fontconfig/fonts.conf -> /gnu/store/phj2z2iiqdhryfy7mqral0b9qz3hlva6-fonts.conf... done Symlinking /home/dustin/.profile -> /gnu/store/fxbppk3pqzdi3zzy0xl5vg1ir6c5jzq5-shell-profile... done done Finished updating symlinks. Comparing /gnu/store/2frj2r4kin54v6xm27c02z3why9qpvbz-home/profile/share/fonts and /gnu/store/2frj2r4kin54v6xm27c02z3why9qpvbz-home/profile/share/fonts... done (same) Evaling on-change gexps. On-change gexps evaluation finished Thank you, Dustin