summary refs log tree commit diff
path: root/pkgs/applications/science/machine-learning
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-05-23 23:37:33 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-05-25 15:48:05 -0500
commit02297beade7813c6a716e53a5f1373f1123d8753 (patch)
tree6f6f387ca8b053eb5d2ef6f000e7976672d94478 /pkgs/applications/science/machine-learning
parentf22a63d533893b88e4b9d61e66291286ffa6ae92 (diff)
downloadnixpkgs-02297beade7813c6a716e53a5f1373f1123d8753.tar
nixpkgs-02297beade7813c6a716e53a5f1373f1123d8753.tar.gz
nixpkgs-02297beade7813c6a716e53a5f1373f1123d8753.tar.bz2
nixpkgs-02297beade7813c6a716e53a5f1373f1123d8753.tar.lz
nixpkgs-02297beade7813c6a716e53a5f1373f1123d8753.tar.xz
nixpkgs-02297beade7813c6a716e53a5f1373f1123d8753.tar.zst
nixpkgs-02297beade7813c6a716e53a5f1373f1123d8753.zip
treewide: add version to packages
Lots of packages are missing versions in their name. This adds them
where appropriate. These were found with this command:

 $ nix-env -qa -f. | grep -v '\-[0-9A-Za-z.-_+]*$' | grep -v '^hook$'

See issue #41007.
Diffstat (limited to 'pkgs/applications/science/machine-learning')
-rw-r--r--pkgs/applications/science/machine-learning/torch/torch-distro.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/science/machine-learning/torch/torch-distro.nix b/pkgs/applications/science/machine-learning/torch/torch-distro.nix
index d8ce1d2c628..85a4aa02e44 100644
--- a/pkgs/applications/science/machine-learning/torch/torch-distro.nix
+++ b/pkgs/applications/science/machine-learning/torch/torch-distro.nix
@@ -57,6 +57,8 @@ let
       in
       stdenv.mkDerivation (args // {
 
+        name = "${args.name}-${lua.luaversion}";
+
         inherit preBuild postInstall;
 
         inherit luadeps runtimeDeps;