GNU bug report logs -
#50960
[PATCH 00/10] Add 'guix shell' to subsume 'guix environment'
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Sat, 2 Oct 2021 10:22:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
zimoun <zimon.toutoune <at> gmail.com> skribis:
>> +(define* (package-development-inputs package
>> + #:optional (system (%current-system))
>> + #:key target)
>> + "Return the list of inputs required by PACKAGE for development purposes on
>> +SYSTEM. When TARGET is true, return the inputs needed to cross-compile
>> +PACKAGE from SYSTEM to TRIPLET, where TRIPLET is a triplet such as
>> +\"aarch64-linux-gnu\"."
>> + (bag-transitive-inputs (package->bag package system target)))
>
> [...]
>
>> ;; Remove non-package inputs such as origin records.
>> (filter-map input->manifest-entry
>> - (bag-transitive-inputs (package->bag package))))
>> + (package-development-inputs package system)))
>
> Why ’system’ is used here? Why is not simply?
>
> + (package-development-inputs package)))
>
> because ’system’ should be not defined, or I do not know where IIUC.
It’s an optional parameter above.
Ludo’.
This bug report was last modified 3 years and 210 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.