Loading pkgs/by-name/ve/velocity/package.nix +22 −13 Original line number Diff line number Diff line Loading @@ -44,12 +44,12 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-CJVUEwYnpXDaYgXoi1Qk0uyB/CHM3UDQzQfhtDxDKdE="; }; nativeBuildInputs = [ nativeBuildInputs = [ gradle_jdk17 makeBinaryWrapper ] ++ lib.optionals withVelocityNative [ ]; buildInputs = lib.optionals withVelocityNative [ # libraries for velocity-native openssl libdeflate Loading @@ -58,6 +58,8 @@ stdenv.mkDerivation (finalAttrs: { jdk17 ]; strictDeps = true; mitmCache = gradle_jdk17.fetchDeps { inherit (finalAttrs) pname; data = ./deps.json; Loading Loading @@ -99,6 +101,13 @@ stdenv.mkDerivation (finalAttrs: { makeWrapper ${lib.getExe jre_headless} "$out/bin/velocity" \ --append-flags "-jar $out/share/velocity/velocity.jar" ${lib.optionalString withVelocityNative '' # Nix doesn't pick up references in compressed JAR file mkdir $out/nix-support echo ${lib.getLib openssl} >> $out/nix-support/runtime-dependencies echo ${lib.getLib libdeflate} >> $out/nix-support/runtime-dependencies ''} runHook postInstall ''; Loading Loading
pkgs/by-name/ve/velocity/package.nix +22 −13 Original line number Diff line number Diff line Loading @@ -44,12 +44,12 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-CJVUEwYnpXDaYgXoi1Qk0uyB/CHM3UDQzQfhtDxDKdE="; }; nativeBuildInputs = [ nativeBuildInputs = [ gradle_jdk17 makeBinaryWrapper ] ++ lib.optionals withVelocityNative [ ]; buildInputs = lib.optionals withVelocityNative [ # libraries for velocity-native openssl libdeflate Loading @@ -58,6 +58,8 @@ stdenv.mkDerivation (finalAttrs: { jdk17 ]; strictDeps = true; mitmCache = gradle_jdk17.fetchDeps { inherit (finalAttrs) pname; data = ./deps.json; Loading Loading @@ -99,6 +101,13 @@ stdenv.mkDerivation (finalAttrs: { makeWrapper ${lib.getExe jre_headless} "$out/bin/velocity" \ --append-flags "-jar $out/share/velocity/velocity.jar" ${lib.optionalString withVelocityNative '' # Nix doesn't pick up references in compressed JAR file mkdir $out/nix-support echo ${lib.getLib openssl} >> $out/nix-support/runtime-dependencies echo ${lib.getLib libdeflate} >> $out/nix-support/runtime-dependencies ''} runHook postInstall ''; Loading