Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e1b6b9056d40
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 43bbecea5e1d
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Oct 22, 2019

  1. pythonInterpreters.graalpython37: init

    Add an interpreter with package set for graalpython 3.7.
    FRidh committed Oct 22, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    thoughtpolice Austin Seipp
    Copy the full SHA
    43bbece View commit details
Showing with 26 additions and 0 deletions.
  1. +5 −0 pkgs/development/interpreters/python/default.nix
  2. +21 −0 pkgs/development/interpreters/python/graalpython/default.nix
5 changes: 5 additions & 0 deletions pkgs/development/interpreters/python/default.nix
Original file line number Diff line number Diff line change
@@ -200,4 +200,9 @@ in {
ncurses = ncurses5;
};

graalpython37 = callPackage ./graalpython/default.nix {
self = pythonInterpreters.graalpython37;
inherit passthruFun;
};

})
21 changes: 21 additions & 0 deletions pkgs/development/interpreters/python/graalpython/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ pkgs
, lib
, graalvm8
, passthruFun
, packageOverrides ? (self: super: {})
, self
}:

let
passthru = passthruFun {
inherit self packageOverrides;
implementation = "graal";
sourceVersion = graalvm8.version;
pythonVersion = "3.7";
libPrefix = "graalvm";
sitePackages = "jre/languages/python/lib-python/3/site-packages";
executable = "graalpython";
hasDistutilsCxxPatch = false;
pythonForBuild = pkgs.buildPackages.pythonInterpreters.graalpython37;
};
in lib.extendDerivation true passthru graalvm8