Loading pkgs/servers/nosql/cassandra/generic.nix +7 −6 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ lib, stdenv, fetchurl, python311Packages, python3Packages, makeWrapper, gawk, bash, Loading @@ -17,7 +17,6 @@ sha256, extraMeta ? { }, callPackage, ... }: let Loading @@ -41,11 +40,11 @@ stdenv.mkDerivation rec { url = "mirror://apache/cassandra/${version}/apache-cassandra-${version}-bin.tar.gz"; }; pythonPath = with python311Packages; [ cassandra-driver ]; pythonPath = with python3Packages; [ cassandra-driver ]; nativeBuildInputs = [ python311Packages.wrapPython ]; nativeBuildInputs = [ python3Packages.wrapPython ]; buildInputs = [ python311Packages.python ] ++ pythonPath; buildInputs = [ python3Packages.python ] ++ pythonPath; installPhase = '' runHook preInstall Loading Loading @@ -112,13 +111,15 @@ stdenv.mkDerivation rec { rm $out/bin/cqlsh # Make "cqlsh.py" accessible by invoking "cqlsh" ln -s $out/bin/cqlsh.py $out/bin/cqlsh # Use nixpkgs Python packages instead of bundled zips makeWrapperArgs+=("--set" "CQLSH_NO_BUNDLED" "1") wrapPythonPrograms ''; passthru = { tests = let test = nixosTests."cassandra_${generation}"; test = nixosTests.cassandra; in { nixos = Loading pkgs/top-level/all-packages.nix +0 −1 Original line number Diff line number Diff line Loading @@ -8064,7 +8064,6 @@ with pkgs; # Effective Cassandra 4.0.2 there is full Java 11 support # -- https://cassandra.apache.org/doc/latest/cassandra/new/java11.html jre = pkgs.jdk11_headless; python = python3; }; cassandra = cassandra_4; Loading Loading
pkgs/servers/nosql/cassandra/generic.nix +7 −6 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ lib, stdenv, fetchurl, python311Packages, python3Packages, makeWrapper, gawk, bash, Loading @@ -17,7 +17,6 @@ sha256, extraMeta ? { }, callPackage, ... }: let Loading @@ -41,11 +40,11 @@ stdenv.mkDerivation rec { url = "mirror://apache/cassandra/${version}/apache-cassandra-${version}-bin.tar.gz"; }; pythonPath = with python311Packages; [ cassandra-driver ]; pythonPath = with python3Packages; [ cassandra-driver ]; nativeBuildInputs = [ python311Packages.wrapPython ]; nativeBuildInputs = [ python3Packages.wrapPython ]; buildInputs = [ python311Packages.python ] ++ pythonPath; buildInputs = [ python3Packages.python ] ++ pythonPath; installPhase = '' runHook preInstall Loading Loading @@ -112,13 +111,15 @@ stdenv.mkDerivation rec { rm $out/bin/cqlsh # Make "cqlsh.py" accessible by invoking "cqlsh" ln -s $out/bin/cqlsh.py $out/bin/cqlsh # Use nixpkgs Python packages instead of bundled zips makeWrapperArgs+=("--set" "CQLSH_NO_BUNDLED" "1") wrapPythonPrograms ''; passthru = { tests = let test = nixosTests."cassandra_${generation}"; test = nixosTests.cassandra; in { nixos = Loading
pkgs/top-level/all-packages.nix +0 −1 Original line number Diff line number Diff line Loading @@ -8064,7 +8064,6 @@ with pkgs; # Effective Cassandra 4.0.2 there is full Java 11 support # -- https://cassandra.apache.org/doc/latest/cassandra/new/java11.html jre = pkgs.jdk11_headless; python = python3; }; cassandra = cassandra_4; Loading