[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65062] [PATCH core-updates 1/1] packages: Specify output in input l
From: |
Josselin Poiret |
Subject: |
[bug#65062] [PATCH core-updates 1/1] packages: Specify output in input label when it's not "out". |
Date: |
Fri, 25 Aug 2023 13:10:00 +0200 |
Hi everyone,
Hilton Chain <hako@ultrarare.space> writes:
> 2. It might be a bit confusing when, for example, adding
> tzdata-for-test to native-inputs, and referencing it with proper
> cross-compilation support:
> --8<---------------cut here---------------start------------->8---
> (setenv "TZDIR"
> (search-input-directory
> (if #$(%current-target-system) native-inputs inputs)
> "/share/zoneinfo"))
> --8<---------------cut here---------------end--------------->8---
FWIW, the idiomatic way in Guix is to use `(or native-inputs inputs)`
instead of that if.
HTH,
--
Josselin Poiret
signature.asc
Description: PGP signature