[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using cuirass to build your own manifest.
From: |
Mathieu Othacehe |
Subject: |
Re: Using cuirass to build your own manifest. |
Date: |
Fri, 10 Mar 2017 18:27:46 +0100 |
User-agent: |
mu4e 0.9.18; emacs 25.2.1 |
Hi Chris,
> Hi Mathieu!
>
> Cool stuff! It's very interesting to see how others do things. I have
> a basic Scheme question about what you did, though.
Thank you !
> It looks like drv-package is a procedure which returns a procedure. Is
> that correct?
Yes it is.
>> The drv-list procedure loads the file manifest.scm which content is
>> detailed below. The list produced by drv-list looks like :
>>
>> (((#:job-name . "acpi-1.7-job") (#:derivation
>> . "/gnu/store/r9s5x0ksj02hsw4n3acdxab8ggjp4z7y-acpi-1.7.drv")) ...)
>
> If drv-package is a procedure that returns a procedure, then it seems to
> me like the the list produced by drv-list should look like a list of
> procedures, but that isn't what you wrote. What am I misunderstanding?
Yes you're right, the list produced by drv-list is in fact a list of
procedures, as dictated by cuirass:
((lambda () '((#:job-name . "acpi-1.7-job") (#:derivation .
"/gnu/store/r9s5x0ksj02hsw4n3acdxab8ggjp4z7y-acpi-1.7.drv"))) ...)
Sorry for the mistake,
Mathieu