From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: bug#22981: guix-edit does not find git checkout directory Date: Sun, 13 Mar 2016 11:42:08 -0400 Message-ID: <87r3fetmen.fsf@gmail.com> References: <871t7iov3n.fsf@gmail.com> <87io0tnunt.fsf@gmail.com> <874mcdf4z1.fsf@gmail.com> <87egbg12gs.fsf@gmail.com> <8737rv2l36.fsf@gmail.com> <87k2l6yaxg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1af87i-0006Ho-BQ for bug-guix@gnu.org; Sun, 13 Mar 2016 11:40:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1af87e-0005jp-BL for bug-guix@gnu.org; Sun, 13 Mar 2016 11:40:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1af87e-0005jl-8D for bug-guix@gnu.org; Sun, 13 Mar 2016 11:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1af87e-0006V8-12 for bug-guix@gnu.org; Sun, 13 Mar 2016 11:40:02 -0400 In-Reply-To: <871t7iov3n.fsf@gmail.com> Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1af87O-0006Gd-DY for bug-guix@gnu.org; Sun, 13 Mar 2016 11:39:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1af87K-0005hf-Bo for bug-guix@gnu.org; Sun, 13 Mar 2016 11:39:46 -0400 Received: from plane.gmane.org ([80.91.229.3]:58728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1af87K-0005hZ-53 for bug-guix@gnu.org; Sun, 13 Mar 2016 11:39:42 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1af87I-0004wI-H3 for bug-guix@gnu.org; Sun, 13 Mar 2016 16:39:40 +0100 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Mar 2016 16:39:40 +0100 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Mar 2016 16:39:40 +0100 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 22981@debbugs.gnu.org Alex Kost writes: > myglc2 (2016-03-13 05:00 +0300) wrote: > > [...] >> You probably already thought of this: Can guix be made easier to use by >> converting some of the state-full guix configuration into guix recipe >> inputs? > > Sorry, my knowledge in English language is not enough to understand this > question. Could you explain what "state-full" means? NP. I may have caused a problem by miss-spelling "stateful", which I meant this way ... "The output of a digital circuit or computer program at any time is completely determined by its current inputs and its state." Ref: https://en.wikipedia.org/wiki/State_(computer_science) Guix is "stateful" because, to use a git checkout, I have to set "state" variables like ... (setq guix-directory "/home/glc/src/guix") (let ((dir "~/dev/guix/emacs")) (add-to-list 'load-path dir) (setq guix-load-path dir) (require 'guix-init nil t)) '(safe-local-variable-values (quote ((bug-reference-bug-regexp . ""))))) (custom-set-faces /home/glc/.config/guix/latest’ -> ‘../../src/guix' /root/.config/guix/latest’ -> ‘/home/glc/src/GUI’ Guix would be less stateful (AKA more "stateless") if instead I could put something like ... (guix (#:use-git #t) (#:git-directory:"~/src/guix")) ... in user.scm and do 'guix package -m user.scm' ;)