diff options
Diffstat (limited to 'pkgs/development/cuda-modules/modules/generic')
-rw-r--r-- | pkgs/development/cuda-modules/modules/generic/manifests/feature/outputs.nix | 10 | ||||
-rw-r--r-- | pkgs/development/cuda-modules/modules/generic/types/default.nix | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/pkgs/development/cuda-modules/modules/generic/manifests/feature/outputs.nix b/pkgs/development/cuda-modules/modules/generic/manifests/feature/outputs.nix index 6f2fafac9ffc0..40093c2bb0033 100644 --- a/pkgs/development/cuda-modules/modules/generic/manifests/feature/outputs.nix +++ b/pkgs/development/cuda-modules/modules/generic/manifests/feature/outputs.nix @@ -4,7 +4,7 @@ let in # https://github.com/ConnorBaker/cuda-redist-find-features/blob/603407bea2fab47f2dfcd88431122a505af95b42/cuda_redist_find_features/manifest/feature/package/package.py options.mkOption { - description = "A set of outputs that a package can provide."; + description = "A set of outputs that a package can provide"; example = { bin = true; dev = true; @@ -16,7 +16,7 @@ options.mkOption { type = types.submodule { options = { bin = options.mkOption { - description = "A `bin` output requires that we have a non-empty `bin` directory containing at least one file with the executable bit set."; + description = "A `bin` output requires that we have a non-empty `bin` directory containing at least one file with the executable bit set"; type = types.bool; }; dev = options.mkOption { @@ -44,15 +44,15 @@ options.mkOption { type = types.bool; }; lib = options.mkOption { - description = "A `lib` output requires that we have a non-empty lib directory containing at least one shared library."; + description = "A `lib` output requires that we have a non-empty lib directory containing at least one shared library"; type = types.bool; }; sample = options.mkOption { - description = "A `sample` output requires that we have a non-empty `samples` directory."; + description = "A `sample` output requires that we have a non-empty `samples` directory"; type = types.bool; }; static = options.mkOption { - description = "A `static` output requires that we have a non-empty lib directory containing at least one static library."; + description = "A `static` output requires that we have a non-empty lib directory containing at least one static library"; type = types.bool; }; }; diff --git a/pkgs/development/cuda-modules/modules/generic/types/default.nix b/pkgs/development/cuda-modules/modules/generic/types/default.nix index 59ea07521c546..618ef677ff572 100644 --- a/pkgs/development/cuda-modules/modules/generic/types/default.nix +++ b/pkgs/development/cuda-modules/modules/generic/types/default.nix @@ -6,34 +6,34 @@ in options.generic.types = options.mkOption { type = types.attrsOf types.optionType; default = { }; - description = "A set of generic types."; + description = "A set of generic types"; }; config.generic.types = { cudaArch = types.strMatching "^sm_[[:digit:]]+[a-z]?$" // { name = "cudaArch"; - description = "A CUDA architecture name."; + description = "A CUDA architecture name"; }; # https://github.com/ConnorBaker/cuda-redist-find-features/blob/c841980e146f8664bbcd0ba1399e486b7910617b/cuda_redist_find_features/types/_lib_so_name.py libSoName = types.strMatching ".*\\.so(\\.[[:digit:]]+)*$" // { name = "libSoName"; - description = "The name of a shared object file."; + description = "The name of a shared object file"; }; majorMinorVersion = types.strMatching "^([[:digit:]]+)\\.([[:digit:]]+)$" // { name = "majorMinorVersion"; - description = "A version number with a major and minor component."; + description = "A version number with a major and minor component"; }; majorMinorPatchVersion = types.strMatching "^([[:digit:]]+)\\.([[:digit:]]+)\\.([[:digit:]]+)$" // { name = "majorMinorPatchVersion"; - description = "A version number with a major, minor, and patch component."; + description = "A version number with a major, minor, and patch component"; }; majorMinorPatchBuildVersion = types.strMatching "^([[:digit:]]+)\\.([[:digit:]]+)\\.([[:digit:]]+)\\.([[:digit:]]+)$" // { name = "majorMinorPatchBuildVersion"; - description = "A version number with a major, minor, patch, and build component."; + description = "A version number with a major, minor, patch, and build component"; }; }; } |