Loading pkgs/build-support/build-graalvm-native-image/default.nix +3 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,9 @@ let "dontUnpack" "LC_ALL" "meta" "buildPhase" "nativeBuildInputs" "installPhase" ]; in stdenv.mkDerivation ({ Loading pkgs/development/interpreters/clojure/babashka.nix +20 −3 Original line number Diff line number Diff line { lib, buildGraalvmNativeImage, fetchurl, writeScript }: { lib , buildGraalvmNativeImage , graalvmCEPackages , removeReferencesTo , fetchurl , writeScript }: buildGraalvmNativeImage rec { pname = "babashka"; version = "1.1.173"; version = "1.2.174"; src = fetchurl { url = "https://github.com/babashka/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar"; sha256 = "sha256-p/KGDCocTksvUwj6x5l1xUEM1OZ4pNHtXL4mTgg7JUI="; sha256 = "sha256-5ZvqbOU69ZZNIT5Mh7+Cg5s+gLhOnFMSIO4ZI9t6D/8="; }; graalvmDrv = graalvmCEPackages.graalvm19-ce; executable = "bb"; nativeBuildInputs = [ removeReferencesTo ]; extraNativeImageBuildArgs = [ "-H:+ReportExceptionStackTraces" "--no-fallback" "--native-image-info" "--enable-preview" ]; installCheckPhase = '' Loading @@ -23,6 +33,13 @@ buildGraalvmNativeImage rec { $out/bin/bb '(vec (dedupe *input*))' <<< '[1 1 1 1 2]' | grep '[1 2]' ''; # As of v1.2.174, this will remove references to ${graalvmDrv}/conf/chronology, # not sure the implications of this but this file is not available in # graalvm19-ce anyway. postInstall = '' remove-references-to -t ${graalvmDrv} $out/bin/${executable} ''; passthru.updateScript = writeScript "update-babashka" '' #!/usr/bin/env nix-shell #!nix-shell -i bash -p curl common-updater-scripts jq Loading Loading
pkgs/build-support/build-graalvm-native-image/default.nix +3 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,9 @@ let "dontUnpack" "LC_ALL" "meta" "buildPhase" "nativeBuildInputs" "installPhase" ]; in stdenv.mkDerivation ({ Loading
pkgs/development/interpreters/clojure/babashka.nix +20 −3 Original line number Diff line number Diff line { lib, buildGraalvmNativeImage, fetchurl, writeScript }: { lib , buildGraalvmNativeImage , graalvmCEPackages , removeReferencesTo , fetchurl , writeScript }: buildGraalvmNativeImage rec { pname = "babashka"; version = "1.1.173"; version = "1.2.174"; src = fetchurl { url = "https://github.com/babashka/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar"; sha256 = "sha256-p/KGDCocTksvUwj6x5l1xUEM1OZ4pNHtXL4mTgg7JUI="; sha256 = "sha256-5ZvqbOU69ZZNIT5Mh7+Cg5s+gLhOnFMSIO4ZI9t6D/8="; }; graalvmDrv = graalvmCEPackages.graalvm19-ce; executable = "bb"; nativeBuildInputs = [ removeReferencesTo ]; extraNativeImageBuildArgs = [ "-H:+ReportExceptionStackTraces" "--no-fallback" "--native-image-info" "--enable-preview" ]; installCheckPhase = '' Loading @@ -23,6 +33,13 @@ buildGraalvmNativeImage rec { $out/bin/bb '(vec (dedupe *input*))' <<< '[1 1 1 1 2]' | grep '[1 2]' ''; # As of v1.2.174, this will remove references to ${graalvmDrv}/conf/chronology, # not sure the implications of this but this file is not available in # graalvm19-ce anyway. postInstall = '' remove-references-to -t ${graalvmDrv} $out/bin/${executable} ''; passthru.updateScript = writeScript "update-babashka" '' #!/usr/bin/env nix-shell #!nix-shell -i bash -p curl common-updater-scripts jq Loading