jiebi/CodeConvo huggingface dataset:
<del> { mkDerivation, config, lib, fetchpatch, fetchurl, cmake, doxygen, extra-cmake-modules, wrapGAppsHook # For `digitaglinktree` , perl, sqlite , qtbase , qtxmlpatterns , qtsvg , qtwebengine , qtnetworkauth , akonadi-contacts , kcalendarcore , kconfigwidgets , kcoreaddons , kdoctools , kfilemetadata , knotifications , knotifyconfig , ktextwidgets , kwidgetsaddons , kxmlgui , bison , boost , eigen , exiv2 , ffmpeg_4 , flex , graphviz , imagemagick , lcms2 , lensfun , libgphoto2 , libkipi , libksane , liblqr1 , libqtav , libusb1 , marble , libGL , libGLU , opencv , pcre , threadweaver , x265 , jasper # For panorama and focus stacking , enblend-enfuse , hugin , gnumake , breeze-icons , oxygen , cudaSupport ? config.cudaSupport , cudaPackages ? {} }: mkDerivation rec { pname   = "digikam"; version = "8.1.0"; src = fetchurl { url = "mirror://kde/stable/${pname}/${version}/digiKam-${version}.tar.xz"; hash = "sha256-BQPANORF/0JPGKZxXAp6eb5KXgyCs+vEYaIc7DdFpbM="; }; # Fix build against exiv2 0.28.1 patches = [ (fetchpatch { url = "https://invent.kde.org/graphics/digikam/-/commit/f5ea91a7f6c1926815ec68f3e0176d6c15b83051.patch"; hash = "sha256-5g2NaKKNKVfgW3dTO/IP/H/nZ0YAIOmdPAumy3NEaNg="; }) ]; nativeBuildInputs = [ cmake doxygen extra-cmake-modules kdoctools wrapGAppsHook ] ++ lib.optionals cudaSupport (with cudaPackages; [ cuda_nvcc ]); buildInputs = [ bison boost eigen exiv2 ffmpeg_4 flex graphviz imagemagick lcms2 lensfun libgphoto2 libkipi libksane liblqr1 libqtav libusb1 libGL libGLU opencv pcre x265 jasper qtbase qtxmlpatterns qtsvg qtwebengine qtnetworkauth akonadi-contacts kcalendarcore kconfigwidgets kcoreaddons kfilemetadata knotifications knotifyconfig ktextwidgets kwidgetsaddons kxmlgui breeze-icons marble oxygen threadweaver ] ++ lib.optionals cudaSupport (with cudaPackages; [ cuda_cudart ]); cmakeFlags = [ "-DENABLE_MYSQLSUPPORT=1" "-DENABLE_INTERNALMYSQL=1" "-DENABLE_MEDIAPLAYER=1" "-DENABLE_QWEBENGINE=on" "-DENABLE_APPSTYLES=on" "-DCMAKE_CXX_FLAGS=-I${libksane}/include/KF5" # fix `#include <ksane_version.h>` ]; dontWrapGApps = true; preFixup = '' qtWrapperArgs+=("''${gappsWrapperArgs[@]}") qtWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ gnumake hugin enblend-enfuse ]}) qtWrapperArgs+=(--suffix DK_PLUGIN_PATH : ${placeholder "out"}/${qtbase.qtPluginPrefix}/${pname}) substituteInPlace $out/bin/digitaglinktree  --replace "/usr/bin/perl" "${perl}/bin/perl"  --replace "/usr/bin/sqlite3" "${sqlite}/bin/sqlite3" ''; meta = with lib; { description = "Photo Management Program"; license = licenses.gpl2; homepage = "https://www.digikam.org"; maintainers = with maintainers; [ spacefault ]; platforms = platforms.linux; mainProgram = "digikam"; }; } </del>
<ins> { stdenv, config, lib, fetchurl, cmake, doxygen, extra-cmake-modules, wrapGAppsHook # For `digitaglinktree` , perl, sqlite , libsForQt5 , bison , boost , eigen , exiv2 , ffmpeg_4 , flex , graphviz , imagemagick , lcms2 , lensfun , libgphoto2 , liblqr1 , libusb1 , libheif , libGL , libGLU , opencv , pcre , x265 , jasper # For panorama and focus stacking , enblend-enfuse , hugin , gnumake , cudaSupport ? config.cudaSupport , cudaPackages ? {} }: stdenv.mkDerivation rec { pname   = "digikam"; version = "8.2.0"; src = fetchurl { url = "mirror://kde/stable/${pname}/${version}/digiKam-${version}.tar.xz"; hash = "sha256-L3/LVZsSPtnsrlpa729FYO7l9JIG2dF0beyatsj7OL8="; }; strictDeps = true; depsBuildBuild = [ cmake ]; nativeBuildInputs = [ cmake doxygen extra-cmake-modules libsForQt5.kdoctools libsForQt5.wrapQtAppsHook wrapGAppsHook ] ++ lib.optionals cudaSupport (with cudaPackages; [ cuda_nvcc ]); buildInputs = [ bison boost eigen exiv2 ffmpeg_4 flex graphviz imagemagick lcms2 lensfun libgphoto2 libheif liblqr1 libusb1 libGL libGLU opencv pcre x265 jasper ] ++ (with libsForQt5; [ libkipi libksane libqtav qtbase qtxmlpatterns qtsvg qtwebengine qtnetworkauth akonadi-contacts kcalendarcore kconfigwidgets kcoreaddons kfilemetadata knotifications knotifyconfig ktextwidgets kwidgetsaddons kxmlgui breeze-icons marble oxygen threadweaver ]) ++ lib.optionals cudaSupport (with cudaPackages; [ cuda_cudart ]); cmakeFlags = [ "-DENABLE_MYSQLSUPPORT=1" "-DENABLE_INTERNALMYSQL=1" "-DENABLE_MEDIAPLAYER=1" "-DENABLE_QWEBENGINE=on" "-DENABLE_APPSTYLES=on" "-DCMAKE_CXX_FLAGS=-I${libsForQt5.libksane}/include/KF5" # fix `#include <ksane_version.h>` ]; dontWrapGApps = true; preFixup = '' qtWrapperArgs+=("''${gappsWrapperArgs[@]}") qtWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ gnumake hugin enblend-enfuse ]}) qtWrapperArgs+=(--suffix DK_PLUGIN_PATH : ${placeholder "out"}/${libsForQt5.qtbase.qtPluginPrefix}/${pname}) substituteInPlace $out/bin/digitaglinktree  --replace "/usr/bin/perl" "${perl}/bin/perl"  --replace "/usr/bin/sqlite3" "${sqlite}/bin/sqlite3" ''; meta = with lib; { description = "Photo Management Program"; license = licenses.gpl2; homepage = "https://www.digikam.org"; maintainers = with maintainers; [ spacefault ]; platforms = platforms.linux; mainProgram = "digikam"; }; } </ins>
in stringAfter [ "users" ] '' if [ -e ${lingerDir} ] ; then cd ${lingerDir} <ins> for user in ${lingerDir}/*; do if ! id "$user" >/dev/null 2>&1; then rm --force -- "$user" fi done </ins> ls ${lingerDir} | sort | comm -3 -1 ${lingeringUsersFile} - | xargs -r ${pkgs.systemd}/bin/loginctl disable-linger ls ${lingerDir} | sort | comm -3 -2 ${lingeringUsersFile} - | xargs -r ${pkgs.systemd}/bin/loginctl  enable-linger fi
sed -i 's/^(LIBS[[:space:]]*=.*$)/1 -lobjc/' ./src/corelib/Makefile.Release ''; <del> postInstall = '' </del> <ins> installPhase = optionalString stdenv.isDarwin '' runHook preInstall cp -r lib $out mkdir -p $out/Applications mv bin/*.app $out/Applications rm -rf bin/*.app cp -r bin $out mkdir -p $out/share/doc/${name} mkdir -p $out/lib mkdir -p $out/lib/qt4/plugins mkdir -p $out/lib/qt4/imports mkdir -p $out/bin mkdir -p $out/include mkdir -p $out/share/${name} cp -r mkspecs $out/share/${name} cp -r translations $out/share/${name} cp -r tools/linguist/phrasebooks $out/share/${name} cp tools/porting/src/q3porting.xml $out/share/${name} cp -r plugins $out/lib/qt4 cp -r imports $out/lib/qt4 cp -r doc/* $out/share/doc/${name} runHook postInstall ''; postInstall = optionalString (!stdenv.isDarwin) '' </ins> rm -rf $out/tests <del> ''; </del> <ins> ''; </ins> crossAttrs = { # I've not tried any case other than i686-pc-mingw32.
{ trivialBuild , haskellPackages }: <del> trivialBuild rec { </del> <ins> let Agda = haskellPackages.Agda.bin; in trivialBuild { </ins> pname = "agda-mode"; <del> version = haskellPackages.Agda.version; </del> <ins> version = Agda.version; </ins> dontUnpack = true; # already byte-compiled by Agda builder buildPhase = '' <del> agda=`${haskellPackages.Agda}/bin/agda-mode locate` </del> <ins> agda=`${Agda}/bin/agda-mode locate` </ins> cp `dirname $agda`/*.el* . ''; meta = { <del> inherit (haskellPackages.Agda.meta) homepage license; </del> <ins> inherit (Agda.meta) homepage license; </ins> description = "Agda2-mode for Emacs extracted from Agda package"; longDescription = '' Wrapper packages that liberates init.el from `agda-mode locate` magic.
allPackages = withPackages (filter self.lib.isUnbrokenAgdaPackage (attrValues self)); }; }; <del> inherit (Agda) meta; </del> <ins> # Agda is a split package with multiple outputs; do not inherit them here. meta = removeAttrs Agda.meta [ "outputsToInstall" ]; </ins> } '' mkdir -p $out/bin <del> makeWrapper ${Agda}/bin/agda $out/bin/agda  </del> <ins> makeWrapper ${Agda.bin}/bin/agda $out/bin/agda  </ins> --add-flags "--with-compiler=${ghc}/bin/ghc"  --add-flags "--library-file=${library-file}" <del> ln -s ${Agda}/bin/agda-mode $out/bin/agda-mode </del> <ins> ln -s ${Agda.bin}/bin/agda-mode $out/bin/agda-mode </ins> ''; withPackages = arg: if isAttrs arg then withPackages' arg else withPackages' { pkgs = arg; };
buildPythonPackage rec { pname = "uvicorn"; <del> version = "0.24.0.post1"; </del> <ins> version = "0.27.1"; </ins> disabled = pythonOlder "3.8"; <del> format = "pyproject"; </del> <ins> pyproject = true; </ins> src = fetchFromGitHub { owner = "encode"; repo = pname; rev = "refs/tags/${version}"; <del> hash = "sha256-WMXOmQOTj/yPazPEAuteho4UH9enXcIa1mMDDl2eaIk="; </del> <ins> hash = "sha256-p0iPQE66RJfd811x6cnv7m3yvD/L9v7evBXlaIQSE0M="; </ins> }; outputs = [
pytestCheckHook ]; <del> disabledTests = lib.optionals stdenv.isDarwin [ </del> <ins> disabledTests = [ # Flaky test. See https://github.com/NixOS/nixpkgs/issues/288424#issuecomment-1941609973. "test_run_local_server_occupied_port" ] ++ lib.optionals stdenv.isDarwin [ </ins> # This test fails if the hostname is not associated with an IP (e.g., in `/etc/hosts`). "test_run_local_server_bind_addr" ];
stdenv.mkDerivation rec { pname = "xpdf"; <del> version = "4.04"; </del> <ins> version = "4.05"; </ins> src = fetchzip { <del> url = "https://dl.xpdfreader.com/xpdf-${version}.tar.gz"; hash = "sha256-ujH9KDwFRjPIKwdMg79Mab9BfA2HooY5+2PESUgnGDY="; </del> <ins> urls = [ "https://dl.xpdfreader.com/xpdf-${version}.tar.gz" "https://dl.xpdfreader.com/old/xpdf-${version}.tar.gz" ]; hash = "sha256-LBxKSrXTdoulZDjPiyYMaJr63jFHHI+VCgVJx310i/w="; </ins> }; # Fix "No known features for CXX compiler", see
platforms = platforms.unix; maintainers = with maintainers; [ sikmir ]; knownVulnerabilities = [ <del> "CVE-2018-7453: loop in PDF objects" "CVE-2018-16369: loop in PDF objects" </del> "CVE-2019-9587: loop in PDF objects" "CVE-2019-9588: loop in PDF objects" "CVE-2019-16088: loop in PDF objects"
"CVE-2022-38928" "CVE-2022-41842" "CVE-2022-41843" <del> "CVE-2022-41844" </del> "CVE-2022-43071" "CVE-2022-43295" "CVE-2022-45586" "CVE-2022-45587" <del> "CVE-2023-2662" "CVE-2023-2663" "CVE-2023-2664" </del> "CVE-2023-26930" "CVE-2023-26931" "CVE-2023-26934"
apvlv = callPackage ../applications/misc/apvlv { }; <del> xpdf = libsForQt5.callPackage ../applications/misc/xpdf { }; </del> <ins> xpdf = libsForQt5.callPackage ../applications/misc/xpdf { stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; </ins> xplugd = callPackage ../tools/X11/xplugd { };
<ins> { lib , stdenv , fetchFromGitHub , appstream-glib , desktop-file-utils , gobject-introspection , libadwaita , meson , ninja , pkg-config , python3 , wrapGAppsHook4 , apx , gnome-console }: stdenv.mkDerivation (finalAttrs: { pname = "apx-gui"; version = "0.1.1"; src = fetchFromGitHub { owner  = "Vanilla-OS"; repo   = "apx-gui"; rev    = "v${finalAttrs.version}"; hash = "sha256-orP5kAsoXX0zyDskeIPKKHNt5c757eUm9un4Ws6uFYA="; }; strictDeps = true; nativeBuildInputs = [ appstream-glib desktop-file-utils gobject-introspection meson ninja pkg-config (python3.withPackages (ps: [ ps.pygobject3 ])) wrapGAppsHook4 ]; buildInputs = [ libadwaita ]; preFixup = '' gappsWrapperArgs+=( --prefix PATH : "${lib.makeBinPath [ apx gnome-console ]}" ) ''; meta = { description = "A GUI frontend for Apx in GTK 4 and Libadwaita"; homepage    = "https://github.com/Vanilla-OS/apx-gui"; license     = lib.licenses.gpl3Only; platforms   = lib.platforms.linux; maintainers = with lib.maintainers; [ chewblacka ]; mainProgram = "apx-gui"; }; }) </ins>
{ lib , stdenvNoCC <ins> , stdenv </ins> , fetchurl <ins> , autoPatchelfHook </ins> , undmg <ins> , zstd , curl , fontconfig , libglvnd , libxkbcommon , vulkan-loader , xdg-utils , xorg , zlib </ins> }: <del> stdenvNoCC.mkDerivation (finalAttrs: { pname = "warp-terminal"; version = "0.2023.12.05.08.02.stable_00"; </del> <ins> let pname = "warp-terminal"; version = "0.2024.02.20.08.01.stable_01"; linux = stdenv.mkDerivation (finalAttrs:  { inherit pname version meta; src = fetchurl { url = "https://releases.warp.dev/stable/v${finalAttrs.version}/warp-terminal-v${finalAttrs.version}-1-x86_64.pkg.tar.zst"; hash = "sha256-L8alnqSE4crrDozRfPaAAMkLc+5+8d9XBKd5ddsxmD0="; }; sourceRoot = "."; postPatch = '' substituteInPlace usr/bin/warp-terminal  --replace-fail /opt/ $out/opt/ ''; nativeBuildInputs = [ autoPatchelfHook zstd ]; buildInputs = [ curl fontconfig stdenv.cc.cc.lib # libstdc++.so libgcc_s.so zlib ]; runtimeDependencies = [ libglvnd # for libegl libxkbcommon stdenv.cc.libc vulkan-loader xdg-utils xorg.libX11 xorg.libxcb xorg.libXcursor xorg.libXi ]; installPhase = '' runHook preInstall mkdir $out cp -r opt usr/* $out runHook postInstall ''; }); darwin = stdenvNoCC.mkDerivation (finalAttrs: { inherit pname version meta; </ins> src = fetchurl { url = "https://releases.warp.dev/stable/v${finalAttrs.version}/Warp.dmg"; <del> hash = "sha256-9olAmczIPRXV15NYCOYmwuEmJ7lMeaQRTTfukaYXMR0="; </del> <ins> hash = "sha256-tFtoD8URMFfJ3HRkyKStuDStFkoRIV97y9kV4pbDPro="; </ins> }; sourceRoot = ".";
runHook postInstall ''; <ins> }); </ins> <del> meta = with lib; { description = "Rust-based terminal"; homepage = "https://www.warp.dev"; license = licenses.unfree; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; maintainers = with maintainers; [ emilytrau Enzime ]; platforms = platforms.darwin; }; }) </del> <ins> meta = with lib; { description = "Rust-based terminal"; homepage = "https://www.warp.dev"; license = licenses.unfree; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; maintainers = with maintainers; [ emilytrau Enzime ]; platforms = platforms.darwin ++ [ "x86_64-linux" ]; }; in if stdenvNoCC.isDarwin then darwin else linux </ins>
inherit ruby; name = "${gemName}-${version}"; gemName = "tmuxinator"; <del> version = "3.0.5"; source.sha256 = "1ycsx9mvl0jsds4igi6avxclsyl5lndh1mpj2ykvzfz26wdddg6p"; </del> <ins> version = "3.1.2"; source.sha256 = "t96v3RwBfezB644RVbTmO8i/xh1F23WQC8PBxc/msjg="; </ins> erubis = buildRubyGem rec { inherit ruby;
inherit ruby; name = "ruby${ruby.version}-${gemName}-${version}"; gemName = "thor"; <del> version = "1.2.1"; source.sha256 = "0inl77jh4ia03jw3iqm5ipr76ghal3hyjrd6r8zqsswwvi9j2xdi"; </del> <ins> version = "1.3.0"; source.sha256 = "sha256-Gtx/nls2VaaMcTk/7ovQrQiNFO6Og6C3NybyPLs8p8M="; </ins> }; xdg = buildRubyGem rec {
#   in  #   rWrapper.override{ packages = [ lgbm ]; }" pname = lib.optionalString rLibrary "r-" + pnameBase; <del> version = "4.1.0"; </del> <ins> version = "4.3.0"; </ins> src = fetchFromGitHub { owner = "microsoft"; repo = pnameBase; rev = "v${version}"; fetchSubmodules = true; <del> hash = "sha256-AhXe/Mlor/i0y84wI9jVPKSnyVbSyAV52Y4yiNm7yLQ="; </del> <ins> hash = "sha256-hEoGdzC6n8t14ZUFWFrdljEkQRo9qaDGYTamvIAgrbg="; </ins> }; nativeBuildInputs = [ cmake ]
--replace  "install_args <- c("CMD", "INSTALL", "--no-multiarch", "--with-keep.source", tarball)"  "install_args <- c("CMD", "INSTALL", "--no-multiarch", "--with-keep.source", "-l $out/library", tarball)" <ins> # Retry this test in next release. Something fails in the setup, so GTEST_FILTER is not enough rm tests/cpp_tests/test_arrow.cpp </ins> ''; cmakeFlags = lib.optionals doCheck [ "-DBUILD_CPP_TEST=ON" ]
been removed. </para> </listitem> <del> <listitem> <para> The <literal>rmilter</literal> package was removed with associated module and options due deprecation by upstream developer. Use <literal>rspamd</literal> in proxy mode instead. </para> </listitem> </del> <ins> <listitem> <para> The <literal>rmilter</literal> package was removed with associated module and options due deprecation by upstream developer. Use <literal>rspamd</literal> in proxy mode instead. </para> </listitem> <listitem> <para> systemd cgroup accounting via the <link linkend="opt-systemd.enableCgroupAccounting">systemd.enableCgroupAccounting</link> option is now enabled by default. It now also enables the more recent Block IO and IP accounting features. </para> </listitem> </ins> </itemizedlist> </section> </section>
[Manager] ${optionalString config.systemd.enableCgroupAccounting '' DefaultCPUAccounting=yes <ins> DefaultBlockIOAccounting=yes </ins> DefaultIOAccounting=yes DefaultBlockIOAccounting=yes <del> DefaultMemoryAccounting=yes DefaultTasksAccounting=yes </del> <ins> DefaultIPAccounting=yes </ins> ''} DefaultLimitCORE=infinity ${config.systemd.extraConfig}
$machine->waitForUnit('multi-user.target'); $machine->succeed('sysctl net.core.default_qdisc | grep -q "fq_codel"'); }; <ins> # Test cgroup accounting is enabled subtest "systemd cgroup accounting is enabled", sub { $machine->waitForUnit('multi-user.target'); $machine->succeed('systemctl show testservice1.service -p IOAccounting | grep -q "yes"'); $machine->succeed('systemctl status testservice1.service | grep -q "CPU:"'); }; </ins> ''; })
<ins> { lib, stdenv, python3Packages, fetchFromGitHub, installShellFiles, jre, libX11, libXext, libXcursor, libXrandr, libXxf86vm, libpulseaudio, libGL, glfw, openal, udev, textToSpeechSupport ? stdenv.isLinux, flite, }: let # Copied from the `prismlauncher` package runtimeLibs = [ libX11 libXext libXcursor libXrandr libXxf86vm # lwjgl libpulseaudio libGL glfw openal stdenv.cc.cc.lib # oshi udev ] ++ lib.optional textToSpeechSupport flite; in python3Packages.buildPythonApplication rec { pname = "portablemc"; version = "4.3.0"; pyproject = true; disabled = python3Packages.pythonOlder "3.8"; src = fetchFromGitHub { owner = "mindstorm38"; repo = "portablemc"; rev = "v${version}"; hash = "sha256-jCv4ncXUWbkWlBZr3P1hNeVpdQzY9HtrFz+pmKknL0I="; }; patches = [ # Use the jre package provided by nixpkgs by default ./use-builtin-java.patch ]; nativeBuildInputs = [ installShellFiles ]; build-system = [ python3Packages.poetry-core ]; dependencies = [ python3Packages.certifi ]; # Note: Tests use networking, so we don't run them postInstall = '' installShellCompletion --cmd portablemc  --bash <($out/bin/portablemc show completion bash)  --zsh <($out/bin/portablemc show completion zsh) ''; preFixup = '' makeWrapperArgs+=( --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath runtimeLibs} --prefix PATH : ${lib.makeBinPath [ jre ]} ) ''; meta = { homepage = "https://github.com/mindstorm38/portablemc"; description = "A fast, reliable and cross-platform command-line Minecraft launcher and API for developers"; longDescription = '' A fast, reliable and cross-platform command-line Minecraft launcher and API for developers. Including fast and easy installation of common mod loaders such as Fabric, Forge, NeoForge and Quilt. This launcher is compatible with the standard Minecraft directories. ''; changelog = "https://github.com/mindstorm38/portablemc/releases/tag/${src.rev}"; license = lib.licenses.gpl3Only; mainProgram = "portablemc"; maintainers = with lib.maintainers; [ tomasajt ]; }; } </ins>
<ins> diff --git a/portablemc/standard.py b/portablemc/standard.py index f59c55d..0f017e1 100644 --- a/portablemc/standard.py +++ b/portablemc/standard.py @@ -843,6 +843,8 @@ class Version: if jvm_major_version is not None and not isinstance(jvm_major_version, int): raise ValueError("metadata: /javaVersion/majorVersion must be an integer") +        return self._resolve_builtin_jvm(watcher, JvmNotFoundError.UNSUPPORTED_ARCH, jvm_major_version) + if platform.system() == "Linux" and platform.libc_ver()[0] != "glibc": return self._resolve_builtin_jvm(watcher, JvmNotFoundError.UNSUPPORTED_LIBC, jvm_major_version) @@ -926,31 +928,10 @@ class Version: builtin_path = shutil.which(jvm_bin_filename) if builtin_path is None: raise JvmNotFoundError(reason) - -        try: - -            # Get version of the JVM. -            process = Popen([builtin_path, "-version"], bufsize=1, stdout=PIPE, stderr=STDOUT, universal_newlines=True) -            stdout, _stderr = process.communicate(timeout=1) - -            version_start = stdout.index(f"1.{major_version}" if major_version <= 8 else str(major_version)) -            version = None - -            # Parse version by getting all character that are numeric or '.'. -            for i, ch in enumerate(stdout[version_start:]): -                if not ch.isnumeric() and ch not in (".", "_"): -                    version = stdout[version_start:i] -                    break - -            if version is None: -                raise ValueError() - -        except (TimeoutExpired, ValueError): -            raise JvmNotFoundError(JvmNotFoundError.BUILTIN_INVALID_VERSION) self._jvm_path = Path(builtin_path) -        self._jvm_version = version -        watcher.handle(JvmLoadedEvent(version, JvmLoadedEvent.BUILTIN)) +        self._jvm_version = "nixpkgs" +        watcher.handle(JvmLoadedEvent("nixpkgs", JvmLoadedEvent.BUILTIN)) def _download(self, watcher: Watcher) -> None: </ins>
- [wg-access-server](https://github.com/freifunkMUC/wg-access-server/), an all-in-one WireGuard VPN solution with a web ui for connecting devices. Available at [services.wg-access-server](#opt-services.wg-access-server.enable). <ins> - [Envision](https://gitlab.com/gabmus/envision), a UI for building, configuring and running Monado, the open source OpenXR runtime. Available as [programs.envision](#opt-programs.envision.enable). </ins> - [Playerctld](https://github.com/altdesktop/playerctl), a daemon to track media player activity. Available as [services.playerctld](option.html#opt-services.playerctld). ## Backward Incompatibilities {#sec-release-24.11-incompatibilities}
<ins> { config, lib, pkgs, ... }: let cfg = config.programs.envision; in { options = { programs.envision = { enable = lib.mkEnableOption "envision"; package = lib.mkPackageOption pkgs "envision" {}; openFirewall = lib.mkEnableOption "the default ports in the firewall for the WiVRn server" // { default = true; }; }; }; config = lib.mkIf cfg.enable { services.avahi = { enable = true; publish = { enable = true; userServices = true; }; }; environment.systemPackages = [ cfg.package ]; networking.firewall = lib.mkIf cfg.openFirewall { allowedTCPPorts = [ 9757 ]; allowedUDPPorts = [ 9757 ]; }; }; meta.maintainers = pkgs.envision.meta.maintainers; } </ins>
<ins> { lib, stdenv, fetchFromGitLab, writeScript, appstream-glib, cargo, meson, ninja, pkg-config, rustPlatform, rustc, wrapGAppsHook4, cairo, desktop-file-utils, gdb, gdk-pixbuf, glib, gtk4, gtksourceview5, libadwaita, libgit2, libusb1, openssl, pango, vte-gtk4, zlib, unstableGitUpdater, }: stdenv.mkDerivation (finalAttrs: { pname = "envision-unwrapped"; version = "0-unstable-2024-06-25"; src = fetchFromGitLab { owner = "gabmus"; repo = "envision"; rev = "b594f75778961c281daca398011914e9ac14b753"; hash = "sha256-felt9KdgVrXSgoufw/+gDlluqdv8vySDqwskQ0t2JOM="; }; strictDeps = true; cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; outputHashes = { "libmonado-rs-0.1.0" = "sha256-PsNgfpgso3HhIMXKky/u6Xw8phk1isRpNXKLhvN1wIE="; }; }; nativeBuildInputs = [ appstream-glib desktop-file-utils cargo meson ninja pkg-config rustPlatform.cargoSetupHook rustc wrapGAppsHook4 ]; buildInputs = [ cairo gdk-pixbuf glib gtk4 gtksourceview5 libadwaita libgit2 libusb1 openssl pango vte-gtk4 zlib ]; postInstall = '' wrapProgram $out/bin/envision  --prefix PATH : "${lib.makeBinPath [ gdb ]}" ''; passthru.updateScript = writeScript "envision-update" '' source ${builtins.head (unstableGitUpdater { })} cp $tmpdir/Cargo.lock ./pkgs/by-name/en/envision-unwrapped/Cargo.lock ''; meta = { description = "UI for building, configuring and running Monado, the open source OpenXR runtime"; homepage = "https://gitlab.com/gabmus/envision"; license = lib.licenses.agpl3Only; mainProgram = "envision"; maintainers = with lib.maintainers; [ pandapip1 Scrumplex ]; platforms = lib.platforms.linux; }; }) </ins>