guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CLI reorganization revisited


From: swedebugia
Subject: Re: CLI reorganization revisited
Date: Thu, 8 Nov 2018 23:18:55 +0100

Hi :)


On 2018-11-06 15:24, Ludovic Courtès wrote:
Hello,

swedebugia <address@hidden> skribis:

I would like to go ahead preparing a patch for the aliases for ‘guix install’, 
‘guix remove’, and ‘guix upgrade’.
That would be sweet!

I gave it a go but did not get that far. :p

This patch errors out with:

$ ./pre-inst-env guix install
ice-9/boot-9.scm:3356:22: Syntax error:
/home/sdb/guix-tree/guix/scripts/install.scm:31:2: define-module: expected keyword arg in subform (guix-install) of (define-module (guix scripts install) #:use-module ((guix ui) #:hide (display-profile-content)) #:use-module (guix scripts) #:use-module (guix scripts package) (guix-install))

I do not understand how args work. Is this documented somewhere?

Also I do not understand this form:

(define (guix-describe . args)
                  ^
What is the role of the dot?

I'm probably in way over my head here :D

Cheers
Swedebugia

Attachment: 0001-WIP-Add-guix-install.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]