jiebi/CodeConvo huggingface dataset:
, shared-mime-info , wrapGAppsHook4 , meson <del> , gjs </del> , gtk4 , gst_all_1 , libGL , libadwaita <del> , appstream-glib , libsoup </del> <ins> , libsoup_3 , vala , cmake , libmicrodns </ins> }: <del> stdenv.mkDerivation rec { </del> <ins> stdenv.mkDerivation (finalAttrs: { </ins> pname = "clapper"; <del> version = "0.5.2"; </del> <ins> version = "0.6.0"; </ins> src = fetchFromGitHub { owner  = "Rafostar"; <del> repo   = pname; rev    = version; sha256 = "sha256-s+qdTq3/pHHstwr1W3Hs2Zje++iJFHM6hQTFoZD43bY="; </del> <ins> repo   = "clapper"; rev    = finalAttrs.version; hash = "sha256-5fD1OnVcY3ZC+QfoFqe2jV43/J36r85SpLUYF2ti7dY="; </ins> }; nativeBuildInputs = [ <del> appstream-glib desktop-file-utils # for update-desktop-database glib </del> gobject-introspection meson <ins> cmake </ins> ninja makeWrapper pkg-config <del> python3 shared-mime-info # for update-mime-database </del> wrapGAppsHook4 # for gsettings <ins> desktop-file-utils # for update-desktop-database shared-mime-info # for update-mime-database vala </ins> ]; buildInputs = [ <del> gjs </del> gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
gtk4 libGL libadwaita <del> libsoup </del> <ins> libsoup_3 </ins> wayland wayland-protocols <ins> libmicrodns </ins> ]; postPatch = '' <del> patchShebangs build-aux/meson/postinstall.py ''; postInstall = '' cp ${src}/data/icons/*.svg $out/share/icons/hicolor/scalable/apps/ cp ${src}/data/icons/*.svg $out/share/icons/hicolor/symbolic/apps/ </del> <ins> patchShebangs --build build-aux/meson/postinstall.py </ins> ''; meta = with lib; { <del> description = "A GNOME media player built using GJS with GTK4 toolkit and powered by GStreamer with OpenGL rendering. "; </del> <ins> description = "A GNOME media player built using GTK4 toolkit and powered by GStreamer with OpenGL rendering"; </ins> longDescription = '' <del> Clapper is a GNOME media player build using GJS with GTK4 toolkit. The media player is using GStreamer as a media backend and renders everything via OpenGL. </del> <ins> Clapper is a GNOME media player built using the GTK4 toolkit. The media player is using GStreamer as a media backend. </ins> ''; homepage = "https://github.com/Rafostar/clapper"; license = licenses.gpl3Plus; maintainers = with maintainers; [ ]; platforms = platforms.linux; }; <del> } </del> <ins> }) </ins>
# https://docs.github.com/en/rest/guides/using-the-rest-api-to-interact-with-your-git-database?apiVersion=2022-11-28#checking-mergeability-of-pull-requests # Retry the API query this many times <del> retryCount=3 </del> <ins> retryCount=5 </ins> # Start with 5 seconds, but double every retry retryInterval=5 while true; do
-e 's|install -m 2755 -g $(GRP)|install |g' Makefile ''; <ins> postInstall = '' substituteInPlace $out/share/applications/usbimager.desktop  --replace-fail "Exec=/usr/bin/usbimager" "Exec=usbimager" ''; </ins> dontConfigure = true; makeFlags =  [ "PREFIX=$(out)" ]
runHook postInstall ''; <ins> # we use makeShellWrapper instead of the makeBinaryWrapper provided by wrapGAppsHook for proper shell variable expansion </ins> postFixup = '' <del> makeWrapper ${electron}/bin/electron $out/bin/koodo-reader  </del> <ins> makeShellWrapper ${electron}/bin/electron $out/bin/koodo-reader  </ins> --add-flags $out/share/lib/koodo-reader/resources/app.asar  "''${gappsWrapperArgs[@]}"  --add-flags "''${NIXOS_OZONE_WL:+''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
gdbDefaultsTo = if gdbUseFixed then "${gdb}/bin/gdb" else "gdb"; supported = { x86_64-linux = { <del> hash = "sha256-4mKCBqUCOndKEfsJqTIsfwEt+0CZI8QAhBj3Y4+wKlg="; </del> <ins> hash = "sha256-p8WFmkQKdzXF0FTWHabyeFMkwXa2RkDRM9SvvkBIOLY="; </ins> arch = "linux-x64"; }; aarch64-linux = { <del> hash = "sha256-Kjl8mEpayA1xMHEAMJ5k3Ctk3l48KlUBU5w3dL4pGWM="; </del> <ins> hash = "sha256-HISE8/M9IpeI8iX0mmw9owExnpgiwpesE7YG/+QFYgc="; </ins> arch = "linux-arm64"; }; };
services.portunus.ldap.package = pkgs.openldap.override { libxcrypt = pkgs.libxcrypt-legacy; }; ``` <ins> - The `tracy` package no longer works on X11, since it's moved to Wayland support, which is the intended default behavior by Tracy maintainers. X11 users have to switch to the new package `tracy-x11`. </ins> ## Other Notable Changes {#sec-release-24.11-notable-changes} <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
<ins> diff --git a/profiler/build/unix/legacy.mk b/profiler/build/unix/legacy.mk index 24765f1a..8baffb68 100644 --- a/profiler/build/unix/legacy.mk +++ b/profiler/build/unix/legacy.mk @@ -16,7 +16,7 @@ else UNAME := $(shell uname -s) ifeq ($(UNAME),Darwin) SRC3 += ../../../nfd/nfd_cocoa.m -		LIBS +=  -framework CoreFoundation -framework AppKit -framework UniformTypeIdentifiers +		LIBS +=  -framework CoreFoundation -framework AppKit else ifdef TRACY_GTK_FILESELECTOR SRC += ../../../nfd/nfd_gtk.cpp </ins>
<del> diff --git a/profiler/build/unix/legacy.mk b/profiler/build/unix/legacy.mk index 24765f1a..8baffb68 100644 --- a/profiler/build/unix/legacy.mk +++ b/profiler/build/unix/legacy.mk @@ -16,7 +16,7 @@ else UNAME := $(shell uname -s) ifeq ($(UNAME),Darwin) SRC3 += ../../../nfd/nfd_cocoa.m -		LIBS +=  -framework CoreFoundation -framework AppKit -framework UniformTypeIdentifiers +		LIBS +=  -framework CoreFoundation -framework AppKit else ifdef TRACY_GTK_FILESELECTOR SRC += ../../../nfd/nfd_gtk.cpp </del>
configPackages = mkDefault [ cfg.finalPackage ]; }; <del> environment.sessionVariables = mkIf cfg.envVars.enable { XDG_CURRENT_DESKTOP = "Hyprland"; XDG_SESSION_DESKTOP = "Hyprland"; XDG_SESSION_TYPE = "wayland"; GDK_BACKEND = "wayland,x11"; QT_QPA_PLATFORM = "wayland;xcb"; _JAVA_AWT_WM_NONREPARENTING = "1"; # Fix for Java applications on tiling window managers }; </del> systemd = mkIf cfg.systemd.setPath.enable { user.extraConfig = '' DefaultEnvironment="PATH=$PATH:/run/current-system/sw/bin:/etc/profiles/per-user/%u/bin:/run/wrappers/bin"
#   rev-version = /* human readable version; i.e. "unstable-2022-26-07" */; #   sha256 = /* checksum for this release, can omit if specifying your own `monorepoSrc` */; # } <del> , officialRelease ? { version = "18.1.4"; sha256 = "sha256-LyQEb4ZJXm2hkPOM9XITIploMT2VKIQWxUFio7SXrc0="; } </del> <ins> , officialRelease ? { version = "18.1.5"; sha256 = "0n44chqn96xsa00ryhwk8g0vv3zx908xjakkgjsa14sjr9mcsq8q"; } </ins> # i.e.: # { #   version = /* i.e. "15.0.0" */;
- [Monado](https://monado.freedesktop.org/), an open source XR runtime. Available as [services.monado](#opt-services.monado.enable). <ins> - [intel-gpu-tools](https://drm.pages.freedesktop.org/igt-gpu-tools), tools for development and testing of the Intel DRM driver. Available as [hardware.intel-gpu-tools](#opt-hardware.intel-gpu-tools.enable) </ins> - [Pretix](https://pretix.eu/about/en/), an open source ticketing software for events. Available as [services.pretix](#opt-services.pretix.enable). - [microsocks](https://github.com/rofl0r/microsocks), a tiny, portable SOCKS5 server with very moderate resource usage. Available as [services.microsocks](#opt-services.microsocks.enable).
<ins> { config, lib, pkgs, ... }: let cfg = config.hardware.intel-gpu-tools; in { options = { hardware.intel-gpu-tools = { enable = lib.mkEnableOption "a setcap wrapper for intel-gpu-tools"; }; }; config = lib.mkIf cfg.enable { security.wrappers.intel_gpu_top = { owner = "root"; group = "root"; source = "${pkgs.intel-gpu-tools}/bin/intel_gpu_top"; capabilities = "cap_perfmon+ep"; }; }; meta = { maintainers = with lib.maintainers; [ kira-bruneau ]; }; } </ins>
rev = "3c8f66be867aca6656e4109ce880b6ea7431b895"; hash = "sha256-vz9ircmPy2Q4fxNnjurkgJtuTSS49rBq/m61p1B43eU="; }; <ins> postPatch = (old.postPatch or "") + '' patchShebangs src/box_drawing_generate.sh ''; </ins> } // lib.optionalAttrs sixelSupport { buildInputs = old.buildInputs ++ [ libsixel ]; mesonFlags = old.mesonFlags ++ [ "-Dsixel=true" ];
<ins> { picom, lib, fetchFromGitHub, pcre }: picom.overrideAttrs (previousAttrs: { pname = "picom-pijulius"; version = "8.2-unstable-2024-04-30"; src = fetchFromGitHub { owner = "pijulius"; repo = "picom"; rev = "e7b14886ae644aaa657383f7c4f44be7797fd5f6"; hash = "sha256-YQVp5HicO+jbvCYSY+hjDTnXCU6aS3aCvbux6NFcJ/Y="; }; buildInputs = (previousAttrs.buildInputs or [ ]) ++ [ pcre ]; meta = { inherit (previousAttrs.meta) license platforms mainProgram longDescription ; description = "Pijulius's picom fork with extensive animation support"; homepage = "https://github.com/pijulius/picom"; maintainers = with lib.maintainers; [ YvesStraten ]; }; }) </ins>
<ins> { config, lib, pkgs, ... }: let inherit (lib) types; cfg = config.services.open-webui; in { options = { services.open-webui = { enable = lib.mkEnableOption "Enable open-webui, an interactive chat web app"; package = lib.mkPackageOption pkgs "open-webui" { }; stateDir = lib.mkOption { type = types.path; default = "/var/lib/open-webui"; description = "State directory of open-webui."; }; host = lib.mkOption { type = types.str; default = "localhost"; description = "Host of open-webui"; }; port = lib.mkOption { type = types.port; default = 8080; description = "Port of open-webui"; }; environment = lib.mkOption { type = types.attrsOf types.str; default = { }; example = '' { OLLAMA_API_BASE_URL = "http://localhost:11434"; # Disable authentication WEBUI_AUTH = "False"; } ''; description = "Extra environment variables for open-webui"; }; }; }; config = lib.mkIf cfg.enable { systemd.services.open-webui = { description = "User-friendly WebUI for LLMs (Formerly Ollama WebUI)"; wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; preStart = '' mkdir -p ${cfg.stateDir}/static ''; environment = { STATIC_DIR = "${cfg.stateDir}/static"; DATA_DIR = "${cfg.stateDir}"; } // cfg.environment; serviceConfig = { ExecStart = "${lib.getExe cfg.package} serve --host ${cfg.host} --port ${toString cfg.port}"; WorkingDirectory = cfg.stateDir; StateDirectory = "open-webui"; RuntimeDirectory = "open-webui"; RuntimeDirectoryMode = "0755"; PrivateTmp = true; DynamicUser = true; DevicePolicy = "closed"; LockPersonality = true; MemoryDenyWriteExecute = false; # onnxruntime/capi/onnxruntime_pybind11_state.so: cannot enable executable stack as shared object requires: Permission Denied PrivateUsers = true; ProtectHome = true; ProtectHostname = true; ProtectKernelLogs = true; ProtectKernelModules = true; ProtectKernelTunables = true; ProtectControlGroups = true; ProcSubset = "all"; # Error in cpuinfo: failed to parse processor information from /proc/cpuinfo RestrictNamespaces = true; RestrictRealtime = true; SystemCallArchitectures = "native"; UMask = "0077"; }; }; }; meta.maintainers = with lib.maintainers; [ shivaraj-bh ]; } </ins>
outline = handleTest ./outline.nix {}; image-contents = handleTest ./image-contents.nix {}; openvscode-server = handleTest ./openvscode-server.nix {}; <ins> open-webui = runTest ./open-webui.nix; </ins> orangefs = handleTest ./orangefs.nix {}; os-prober = handleTestOn ["x86_64-linux"] ./os-prober.nix {}; osquery = handleTestOn ["x86_64-linux"] ./osquery.nix {};
<ins> { lib, ... }: let mainPort = "8080"; in { name = "open-webui"; meta = with lib.maintainers; { maintainers = [ shivaraj-bh ]; }; nodes = { machine = { ... }: { services.open-webui = { enable = true; environment = { # Requires network connection RAG_EMBEDDING_MODEL = ""; }; }; }; }; testScript = '' machine.start() machine.wait_for_unit("open-webui.service") machine.wait_for_open_port(${mainPort}) machine.succeed("curl http://127.0.0.1:${mainPort}") ''; } </ins>
<ins> { lib, buildNpmPackage, fetchFromGitHub, python3, nixosTests, }: let pname = "open-webui"; version = "0.2.4"; src = fetchFromGitHub { owner = "open-webui"; repo = "open-webui"; rev = "v${version}"; hash = "sha256-jWO0mo26C+QTIX5j3ucDk/no+vQnAh7Q6JwB3lLM83k="; }; frontend = buildNpmPackage { inherit pname version src; npmDepsHash = "sha256-QIgYHZusuq2QD8p8MGsNVhCbz6fR+qP9UuU/kbBkadc="; # Disabling `pyodide:fetch` as it downloads packages during `buildPhase` # Until this is solved, running python packages from the browser will not work. postPatch = '' substituteInPlace package.json  --replace-fail "npm run pyodide:fetch && vite build" "vite build"  ''; env.CYPRESS_INSTALL_BINARY = "0"; # disallow cypress from downloading binaries in sandbox installPhase = '' runHook preInstall mkdir -p $out/share cp -a build $out/share/open-webui runHook postInstall ''; }; in python3.pkgs.buildPythonApplication rec { inherit pname version src; pyproject = true; # The custom hook tries to run `npm install` in `buildPhase`. # We don't have to worry, as nodejs depedencies are managed by `frontend` drv. postPatch = '' substituteInPlace pyproject.toml  --replace-fail '[tool.hatch.build.hooks.custom]' ""  --replace-fail ', build = "open_webui/frontend"' "" ''; pythonRelaxDeps = true; pythonRemoveDeps = [ # using `psycopg2` instead "psycopg2-binary" # using `opencv4` "opencv-python-headless" # package request: https://github.com/NixOS/nixpkgs/issues/317065 "rapidocr-onnxruntime" # package request: https://github.com/NixOS/nixpkgs/issues/317066 "langfuse" # package request: https://github.com/NixOS/nixpkgs/issues/317068 "langchain-chroma" ]; dependencies = with python3.pkgs; [ beautifulsoup4 fastapi uvicorn python-multipart flask flask-cors python-socketio python-jose passlib requests aiohttp peewee peewee-migrate psycopg2 pymysql bcrypt litellm boto3 argon2-cffi apscheduler google-generativeai langchain langchain-community fake-useragent chromadb sentence-transformers pypdf docx2txt python-pptx unstructured markdown pypandoc pandas openpyxl pyxlsb xlrd validators opencv4 fpdf2 rank-bm25 faster-whisper pyjwt black youtube-transcript-api pytube ]; build-system = with python3.pkgs; [ hatchling pythonRelaxDepsHook ]; pythonImportsCheck = [ "open_webui" ]; postInstall = '' wrapProgram $out/bin/open-webui  --set FRONTEND_BUILD_DIR "${frontend}/share/open-webui" ''; passthru.tests = { inherit (nixosTests) open-webui; }; meta = { description = "Full-stack of open-webui. open-webui is a user-friendly WebUI for LLMs (Formerly Ollama WebUI)"; homepage = "https://github.com/open-webui/open-webui"; changelog = "https://github.com/open-webui/open-webui/blob/${src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ shivaraj-bh ]; mainProgram = "open-webui"; }; } </ins>
# The acme-challenge location doesn't need to be added if we are not using any automated # certificate provisioning and can also be omitted when we use a certificate obtained via a DNS-01 challenge <del> acmeName = if vhost.useACMEHost != null then vhost.useACMEHost else vhostName; </del> <ins> acmeName = if vhost.useACMEHost != null then vhost.useACMEHost else vhost.serverName; </ins> acmeLocation = optionalString ((vhost.enableACME || vhost.useACMEHost != null) && config.security.acme.certs.${acmeName}.dnsProvider == null) # Rule for legitimate ACME Challenge requests (like /.well-known/acme-challenge/xxxxxxxxx) # We use ^~ here, so that we don't check any regexes (which could
serverAliases = [ "${server}-wildcard-alias.example.test" ]; useACMEHost = "example.test"; }; <del> }; </del> <ins> } // (lib.optionalAttrs (server == "nginx") { # The nginx module supports using a different key than the hostname different-key = vhostBaseData // { serverName = "${server}-different-key.example.test"; serverAliases = [ "${server}-different-key-alias.example.test" ]; enableACME = true; }; }); </ins> }; # Used to determine if service reload was triggered
webserver.succeed("systemctl restart caddy.service") check_connection_key_bits(client, "a.example.test", "384") <del> domains = ["http", "dns", "wildcard"] for server, logsrc in [ ("nginx", "journalctl -n 30 -u nginx.service"), ("httpd", "tail -n 30 /var/log/httpd/*.log"), </del> <ins> common_domains = ["http", "dns", "wildcard"] for server, logsrc, domains in [ ("nginx", "journalctl -n 30 -u nginx.service", common_domains + ["different-key"]), ("httpd", "tail -n 30 /var/log/httpd/*.log", common_domains), </ins> ]: wait_for_server = lambda: webserver.wait_for_unit(f"{server}.service") with subtest(f"Works with {server}"): try: switch_to(webserver, server) <del> # Skip wildcard domain for this check ([:-1]) for domain in domains[:-1]: webserver.wait_for_unit( f"acme-finished-{server}-{domain}.example.test.target" ) </del> <ins> for domain in domains: if domain != "wildcard": webserver.wait_for_unit( f"acme-finished-{server}-{domain}.example.test.target" ) </ins> except Exception as err: _, output = webserver.execute( f"{logsrc} && ls -al /var/lib/acme/acme-challenge"
wait_for_server() <del> for domain in domains[:-1]: check_issuer(webserver, f"{server}-{domain}.example.test", "pebble") </del> <ins> for domain in domains: if domain != "wildcard": check_issuer(webserver, f"{server}-{domain}.example.test", "pebble") </ins> for domain in domains: check_connection(client, f"{server}-{domain}.example.test") check_connection(client, f"{server}-{domain}-alias.example.test")
lxvst_path = "/usr/local/lib64/lxvst:/usr/local/lib/lxvst:/usr/lib64/lxvst:/usr/lib/lxvst:" "/usr/local/lib64/linux_vst:/usr/local/lib/linux_vst:/usr/lib64/linux_vst:/usr/lib/linux_vst:" -			"/usr/lib/vst:/usr/local/lib/vst"; <del> +			"/usr/lib/vst:/usr/local/lib/vst:" </del> <ins> +			"/usr/lib/vst:/usr/local/lib/vst:$HOME/.nix-profile/lib/vst:" </ins> +			"$HOME/.lxvst:$HOME/.nix-profile/lib/lxvst:/run/current-system/sw/lib/lxvst:/etc/profiles/per-user/$USER/lib/lxvst"; }
python312Packages.buildPythonPackage rec { pname = "ark-pixel-font"; <del> version = "2024.04.05"; </del> <ins> version = "2024.05.12"; </ins> src = fetchFromGitHub { owner = "TakWolf"; <del> repo = pname; rev = version; hash = "sha256-G34cu/mSt/p8UPJt+Q1T2qy6d9LGgT1Jslt9syRz5eo="; </del> <ins> repo = "ark-pixel-font"; rev = "refs/tags/${version}"; hash = "sha256-PGhhKWHDpvOqa3vaI40wuIsAEdWGb62cN7QJeHQqiss="; </ins> }; format = "other";
buildPythonPackage rec { pname = "bdffont"; <del> version = "0.0.20"; </del> <ins> version = "0.0.24"; </ins> disabled = pythonOlder "3.11"; src = fetchPypi { inherit pname version; <del> hash = "sha256-T0gTtudsZmL0VZ3a3+C/v+dWAwbXUgf0PEdNtkxWROw="; </del> <ins> hash = "sha256-3HJwtBV78zsMUlmwJrPj74Vd5cru1zflvies5mNGcy4="; </ins> }; format = "pyproject";
<ins> { lib , buildPythonPackage , fetchFromGitHub , hatchling , bdffont , pytestCheckHook , nix-update-script }: buildPythonPackage rec { pname = "pcffont"; version = "0.0.11"; pyproject = true; src = fetchFromGitHub { owner = "TakWolf"; repo = "pcffont"; rev = "refs/tags/${version}"; hash = "sha256-gu9niWxYTw3rcA++z8B+MdKp5XaqAGjmvd+PdSDosfg="; }; build-system = [ hatchling ]; dependencies = [ bdffont ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "pcffont" ]; passthru.updateScript = nix-update-script { }; meta = { description = "Library for manipulating Portable Compiled Format (PCF) fonts"; homepage = "https://github.com/TakWolf/pcffont"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ ]; }; } </ins>
, brotli , fonttools , pypng <ins> , pcffont , pythonRelaxDepsHook </ins> }: buildPythonPackage rec { pname = "pixel-font-builder"; <del> version = "0.0.19"; </del> <ins> version = "0.0.24"; pyproject = true; </ins> disabled = pythonOlder "3.11"; src = fetchPypi { pname = "pixel_font_builder"; inherit version; <del> hash = "sha256-f38DyM5hojHfv8k/W6kcHxbOjz43hHW6i4Scm6NbHiQ="; </del> <ins> hash = "sha256-hBlTTIPx4TRgeXapVnSaKPUwseR3uYT0gcgKLGmmSZI="; </ins> }; <del> format = "pyproject"; </del> <ins> pythonRelaxDeps = [ "fonttools" ]; </ins> nativeBuildInputs = [ <ins> pythonRelaxDepsHook ]; build-system = [ </ins> hatch-vcs hatchling ];
githubId = 199180; name = "Claes Wallin"; }; <ins> clebs = { email = "borja.clemente@gmail.com"; github = "clebs"; githubId = 1059661; name = "Borja Clemente"; keys = [{ fingerprint = "C4E1 58BD FD33 3C77 B6C7  178E 2539 757E F64C 60DD"; }]; }; </ins> cleeyv = { email = "cleeyv@riseup.net"; github = "cleeyv";
<ins> { stdenv, fetchFromGitHub, lib, pkg-config, automake, autoreconfHook, libtool, libplist, libimobiledevice, libxml2, curl, usbmuxd, }: stdenv.mkDerivation (finalAttrs: { pname = "libideviceactivation"; version = "1.1.1"; src = fetchFromGitHub { owner = "libimobiledevice"; repo = "libideviceactivation"; rev = "refs/tags/${finalAttrs.version}"; hash = "sha256-owcQpCN4+A785oy9pCboJIyfpgZ6X+8PRzqGtWpYl2w="; }; nativeBuildInputs = [ pkg-config automake autoreconfHook ]; buildInputs = [ libtool libplist libimobiledevice libxml2 curl usbmuxd ]; installFlags = [ "PREFIX=$(out)" ]; meta = { description = "A library to manage the activation process of Apple iOS devices."; homepage = "https://libimobiledevice.org"; license = with lib.licenses; [ lgpl21 gpl3 ]; mainProgram = "ideviceactivation"; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ clebs ]; }; }) </ins>
touch "./install.lock" # Clang-format from nix package. <del> mv ./LLVM/ ./LLVM_orig </del> <ins> rm -rf ./LLVM </ins> mkdir "./LLVM/" find "${clang-tools}" -mindepth 1 -maxdepth 1 | xargs ln -s -t "./LLVM" # Patching binaries <del> chmod +x bin/cpptools bin/cpptools-srv bin/cpptools-wordexp debugAdapters/bin/OpenDebugAD7 </del> <ins> chmod +x bin/cpptools bin/cpptools-srv bin/cpptools-wordexp bin/libc.so debugAdapters/bin/OpenDebugAD7 </ins> patchelf --replace-needed liblttng-ust.so.0 liblttng-ust.so.1 ./debugAdapters/bin/libcoreclrtraceptprovider.so ''; <del> postFixup = lib.optionalString gdbUseFixed '' wrapProgram $out/share/vscode/extensions/ms-vscode.cpptools/debugAdapters/bin/OpenDebugAD7 --prefix PATH : ${lib.makeBinPath [ gdb ]} ''; </del> <ins> postFixup = '' autoPatchelf $out/share/vscode/extensions/ms-vscode.cpptools/debugAdapters # cpptools* are distributed by the extension and need to be run through the distributed musl interpretter patchelf --set-interpreter $out/share/vscode/extensions/ms-vscode.cpptools/bin/libc.so $out/share/vscode/extensions/ms-vscode.cpptools/bin/cpptools patchelf --set-interpreter $out/share/vscode/extensions/ms-vscode.cpptools/bin/libc.so $out/share/vscode/extensions/ms-vscode.cpptools/bin/cpptools-srv patchelf --set-interpreter $out/share/vscode/extensions/ms-vscode.cpptools/bin/libc.so $out/share/vscode/extensions/ms-vscode.cpptools/bin/cpptools-wordexp '' + lib.optionalString gdbUseFixed '' wrapProgram $out/share/vscode/extensions/ms-vscode.cpptools/debugAdapters/bin/OpenDebugAD7 --prefix PATH : ${lib.makeBinPath [ gdb ]} ''; </ins> meta = { description = "The C/C++ extension adds language support for C/C++ to Visual Studio Code, including features such as IntelliSense and debugging.";
--replace-fail "plugdev" "openrazer" ''; <del> nativeBuildInputs = [ setuptools wrapGAppsNoGuiHook ]; </del> <ins> nativeBuildInputs = [ setuptools wrapGAppsNoGuiHook gobject-introspection ]; buildInputs = [ glib gtk3 ]; </ins> propagatedBuildInputs = [ daemonize dbus-python <del> gobject-introspection gtk3 </del> pygobject3 pyudev setproctitle
<del> { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config </del> <ins> { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wrapGAppsNoGuiHook, gobject-introspection </ins> , glib, systemd, udev, libevdev, gitMinimal, check, valgrind, swig, python3 , json-glib, libunistring }:
hash = "sha256-9QYo7jGk9iWr26j0qPQCqYsJ+vLXAsO4Xs7+7VT9/yc="; }; <del> propagatedBuildInputs = with python3.pkgs; [ configshell rtslib ]; </del> <ins> nativeBuildInputs = [ wrapGAppsNoGuiHook gobject-introspection ]; buildInputs = [ glib ]; propagatedBuildInputs = with python3.pkgs; [ configshell rtslib pygobject3 ]; </ins> postInstall = '' install -D targetcli.8 -t $out/share/man/man8/
<ins> { lib, rustPlatform, fetchFromGitHub, }: rustPlatform.buildRustPackage rec { pname = "cargo-features-manager"; version = "0.8.0"; src = fetchFromGitHub { owner = "ToBinio"; repo = "cargo-features-manager"; rev = "v${version}"; hash = "sha256-ez8WIDHV6/f0Kk6cvzB25LoYBPT+JTzmOWrSxXXzpBc="; }; cargoHash = "sha256-G1MBH4c9b/h87QgCleTMnndjWc70KZI+6W4KWaxk28o="; meta = { description = "A command-line tool for managing Architectural Decision Records"; homepage = "https://github.com/ToBinio/cargo-features-manager"; changelog = "https://github.com/ToBinio/cargo-features-manager/blob/v${version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ luftmensch-luftmensch ]; mainProgram = "cargo-features-manager"; }; } </ins>