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