graalvmXX-ce: fix relative paths
This commit is contained in:
parent
2d7d3692c1
commit
be1232ea2f
@ -45,7 +45,7 @@ let
|
||||
version = platform.version or defaultVersion;
|
||||
name = "graalvm${javaVersion}-ce";
|
||||
sourcesFilename = "${name}-sources.json";
|
||||
sources = builtins.fromJSON (builtins.readFile (./${sourcesFilename}));
|
||||
sources = builtins.fromJSON (builtins.readFile (./. + "/${sourcesFilename}"));
|
||||
|
||||
runtimeLibraryPath = lib.makeLibraryPath
|
||||
([ cups ] ++ lib.optionals gtkSupport [ cairo glib gtk3 ]);
|
||||
|
@ -184,7 +184,7 @@ let
|
||||
|
||||
newVersion = getLatestVersion graalVersion;
|
||||
sourcesJson = genSources javaVersion defaultVersion config;
|
||||
sourcesJsonPath = lib.strings.escapeShellArg ./${sourcesFilename};
|
||||
sourcesJsonPath = lib.strings.escapeShellArg ./. + "/${sourcesFilename}";
|
||||
|
||||
# versionKeyInDefaultNix String -> String
|
||||
versionKeyInDefaultNix = graalVersion:
|
||||
|
Loading…
Reference in New Issue
Block a user