mathematica: add pname (#486705)
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
# arguments from default.nix
|
||||
lang,
|
||||
meta,
|
||||
name,
|
||||
pname,
|
||||
src,
|
||||
version,
|
||||
# dependencies
|
||||
@@ -89,7 +89,7 @@ in
|
||||
stdenv.mkDerivation {
|
||||
inherit
|
||||
meta
|
||||
name
|
||||
pname
|
||||
src
|
||||
version
|
||||
;
|
||||
|
||||
@@ -62,14 +62,13 @@ in
|
||||
|
||||
callPackage ./generic.nix {
|
||||
inherit cudaSupport cudaPackages;
|
||||
inherit (found-version) version lang;
|
||||
inherit (found-version) lang;
|
||||
src = if source == null then found-version.src else source;
|
||||
name = (
|
||||
"mathematica"
|
||||
pname = "mathematica";
|
||||
version =
|
||||
found-version.version
|
||||
+ lib.optionalString cudaSupport "-cuda"
|
||||
+ "-${found-version.version}"
|
||||
+ lib.optionalString (lang != "en") "-${lang}"
|
||||
);
|
||||
+ lib.optionalString (lang != "en") "-${lang}";
|
||||
meta = {
|
||||
description = "Wolfram Mathematica computational software system";
|
||||
homepage = "https://www.wolfram.com/mathematica/";
|
||||
|
||||
Reference in New Issue
Block a user