mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
bbin: inherit graalvmDrv from babashka
This commit is contained in:
parent
79c2eceda8
commit
6704d4f4e4
@ -51,6 +51,8 @@ stdenv.mkDerivation (args // {
|
||||
|
||||
disallowedReferences = [ graalvmDrv ];
|
||||
|
||||
passthru = { inherit graalvmDrv; };
|
||||
|
||||
meta = {
|
||||
# default to graalvm's platforms
|
||||
platforms = graalvmDrv.meta.platforms;
|
||||
|
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user