nix: passthru: expose the use* flags for inspection

E.g.:

```
❯ nix eval .#cuda.useCuda
true
```
This commit is contained in:
Someone Serge 2023-12-25 18:09:28 +00:00
parent 42c7bbed76
commit d98f4ab00e
No known key found for this signature in database
GPG key ID: 7B0E3B1390D61DA4

View file

@ -162,6 +162,14 @@ effectiveStdenv.mkDerivation (
# Define the shells here, but don't add in the inputsFrom to avoid recursion. # Define the shells here, but don't add in the inputsFrom to avoid recursion.
passthru = { passthru = {
inherit
useBlas
useCuda
useMetalKit
useOpenCL
useRocm
;
shell = mkShell { shell = mkShell {
name = "default${descriptionSuffix}"; name = "default${descriptionSuffix}";
description = "contains numpy and sentencepiece"; description = "contains numpy and sentencepiece";