Skip to content

Commit

Permalink
Pin graalvm to v22
Browse files Browse the repository at this point in the history
  • Loading branch information
jlesquembre committed Oct 10, 2024
1 parent 7f60007 commit 36f3342
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 30 deletions.
27 changes: 0 additions & 27 deletions extra-pkgs/babashka/0001-Update-build-options-for-graal-23.patch

This file was deleted.

2 changes: 0 additions & 2 deletions extra-pkgs/babashka/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ let
lockfile = ./deps-lock.json;
enableLeiningen = true;

patches = [ ./0001-Update-build-options-for-graal-23.patch ];

name = "babashka/babashka";
main-ns = "babashka.main";
jdkRunner = graalvm;
Expand Down
19 changes: 18 additions & 1 deletion flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
url = "github:jlesquembre/nix-fetcher-data";
inputs.nixpkgs.follows = "nixpkgs";
};
# Needed until Babashka can be build with graalvm23
nixpkgs-2405.url = "github:NixOS/nixpkgs/d51c28603def282a24fa034bcb007e2bcb5b5dd0";
};

outputs = { self, nixpkgs, ... }@inputs:
Expand Down Expand Up @@ -131,6 +133,8 @@

mkBabashka = final.callPackage ./extra-pkgs/babashka { };
bbTasksFromFile = final.callPackage ./extra-pkgs/bbTasks { };
# TODO remove after babashka build with graalvm23 works
graalvmCEPackages = inputs.nixpkgs-2405.legacyPackages."${final.stdenv.system}".graalvmCEPackages;
}
// inputs.nix-fetcher-data.overlays.default final prev;

Expand Down

0 comments on commit 36f3342

Please sign in to comment.