3
0
Fork 0
forked from mirrors/nixpkgs

bbin: inherit graalvmDrv from babashka

This commit is contained in:
Thiago Kenji Okada 2023-02-11 14:03:22 +00:00
parent 79c2eceda8
commit 6704d4f4e4
2 changed files with 3 additions and 1 deletions

View file

@ -51,6 +51,8 @@ stdenv.mkDerivation (args // {
disallowedReferences = [ graalvmDrv ];
passthru = { inherit graalvmDrv; };
meta = {
# default to graalvm's platforms
platforms = graalvmDrv.meta.platforms;

View file

@ -29,7 +29,7 @@ stdenvNoCC.mkDerivation rec {
mkdir -p $out/share
cp -r docs $out/share/docs
wrapProgram $out/bin/bbin \
--prefix PATH : "${lib.makeBinPath [ babashka graalvm17-ce ]}"
--prefix PATH : "${lib.makeBinPath [ babashka babashka.graalvmDrv ]}"
runHook postInstall
'';