Subject: [PATCH] openjfx: Determine the version of Java in JDK_HOME Icedtea contains guix in its version, so build.gradle failes to run. Openjfx packaging is not trivial, so you will probably need to try build it with gradlew. --- build.gradle | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index df82f63..2c626cd 100644 --- a/build.gradle +++ b/build.gradle @@ -742,9 +742,9 @@ try { if (inStream.readLine() != null) { String v = inStream.readLine(); if (v != null) { - int ib = v.indexOf(" (build "); + int ib = v.indexOf(" (guix build "); if (ib != -1) { - String ver = v.substring(ib + 8, v.size() - 1); + String ver = v.substring(ib + 13, v.size() - 1); defineProperty("jdkRuntimeVersion", ver) defineProperty("jdkVersion", jdkRuntimeVersion.split("-")[0]) 2.24.1 class='sub right'>
aboutsummaryrefslogtreecommitdiff
path: root/nix/libstore/store-api.hh
AgeCommit message (Expand)Author
2018-03-30daemon: Remove dead code....* nix/libstore/globals.cc (Settings::loadConfFile, Settings::unpack): Remove. * nix/libstore/globals.hh: Adjust accordingly. * nix/libstore/misc.cc (queryMissing): Remove. * nix/libstore/misc.hh: Adjust accordingly. * nix/libstore/store-api.cc (followLinksToStore) (followLinksToStorePath, computeStorePathForHash): Remove. * nix/libstore/store-api.hh: Adjust accordingly. Ludovic Courtès
2016-10-28daemon: Improve the SQLite wrapper API....In particular, this eliminates a bunch of boilerplate code. Also integrates these Nix commits: 80da7a6 Probably fix SQLITE_BUSY errors 37a337b throwSQLiteError(): Check for SIGINT so we don't loop forever Co-authored-by: Ludovic Courtès <ludo@gnu.org> Eelco Dolstra
2015-12-13daemon: Better distinguish build statuses....In Nix itself, the new 'BuildResult' type is returned by the new 'buildDerivation' method, which we don't have and need. * nix/libstore/build.cc (Goal)[cancel]: Remove. [timeOut]: New pure virtual method. (DerivationGoal)[result]: New field. [cancel]: Remove. [timedOut, getResult, done]: New methods. (DerivationGoal::cancel): Remove. (DerivationGoal::timedOut): New method. (DerivationGoal::haveDerivation): Call 'done' instead of 'amDone'. (DerivationGoal::outputsSubstituted): Ditto. (DerivationGoal::inputsRealised): Ditto. (DerivationGoal::buildDone): Ditto. (DerivationGoal::handleChildOutput): Call 'timedOut' instead of 'cancel'. (DerivationGoal::done): New method. (SubstitutionGoal)[cancel]: Remove. [timedOut]: New method. (SubstitutionGoal::cancel): Remove. (SubstitutionGoal::timedOut): New method. (Worker::waitForInput): Use it. * nix/libstore/store-api.hh (BuildResult): New struct. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Eelco Dolstra