nix: passthru: expose the use* flags for inspection
E.g.: ``` ❯ nix eval .#cuda.useCuda true ```
This commit is contained in:
parent
42c7bbed76
commit
d98f4ab00e
1 changed files with 8 additions and 0 deletions
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue