cytoscape: move to by-name

This commit is contained in:
jopejoe1
2025-08-21 18:35:32 +02:00
parent ccdc27d78c
commit aa1a6c5d2e
3 changed files with 4 additions and 8 deletions
@@ -2,7 +2,7 @@
lib,
stdenv,
fetchurl,
jre,
openjdk17,
makeWrapper,
replaceVars,
coreutils,
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jre ];
buildInputs = [ openjdk17 ];
installPhase = ''
mkdir -pv $out/{share,bin}
@@ -35,8 +35,8 @@ stdenv.mkDerivation rec {
ln -s $out/share/cytoscape.sh $out/bin/cytoscape
wrapProgram $out/share/cytoscape.sh \
--set JAVA_HOME "${jre}" \
--set JAVA "${jre}/bin/java"
--set JAVA_HOME "${openjdk17}" \
--set JAVA "${openjdk17}/bin/java"
chmod +x $out/bin/cytoscape
'';
-4
View File
@@ -15250,10 +15250,6 @@ with pkgs;
convertall = qt5.callPackage ../applications/science/misc/convertall { };
cytoscape = callPackage ../applications/science/misc/cytoscape {
jre = openjdk17;
};
faissWithCuda = faiss.override {
cudaSupport = true;
};