jiebi/CodeConvo huggingface dataset:
Change:
sha256 = "4b2acd6802a04b59e306d0a6ccf37701d24376f4dc044bbbafba3afdf9d3389a"; }; <ins> patches = [ (fetchpatch { name = "Support-SQLAlchemy-1.4x.patch"; url = "https://github.com/pecan/pecan/commit/a520bd544c0b02a02dbf692b8d6e2f7a503ee6d4.patch"; sha256 = "sha256-QCHRjwnpy8ndCvcuyE5Y65BybKYthJXDySUtmpJD8gY="; }) ]; </ins> propagatedBuildInputs = [ logutils Mako

Discussion:
Describe the bug Build failed during test phase. last 10 lines of log: full log (produced by nix log /nix/store/smrzwazd7hxy58rbmkrmlb4ml0bb4kiy-python3.8-pecan-) is available at: To Reproduce Steps to reproduce the behavior: build Expected behavior A successful build Screenshots If applicable, add screenshots to help explain your problem. Additional context Add any other context about the problem here. Notify maintainers No maintainers set so CC to list of contributers instead. Metadata nixpkgs git commit: Maintainer information:
You should make a PR applying using and consider making yourself a maintainer.
Change:
<ins> { lib , buildPythonPackage , fetchPypi , pythonOlder , setuptools-scm }: buildPythonPackage rec { pname = "git-filter-repo"; version = "2.33.0"; format = "setuptools"; disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; sha256 = "1nxfd5yv8ri7w5pzxclxs0yd317nsdcwvw87ancmdkh69xvx1f2f"; }; nativeBuildInputs = [ setuptools-scm ]; # Project has no tests doCheck = false; pythonImportsCheck = [ "git_filter_repo" ]; meta = with lib; { description = "Quickly rewrite git repository history"; homepage = "https://github.com/newren/git-filter-repo"; license = with licenses; [ mit /* or */ gpl2Plus ]; maintainers = with maintainers; [ fab ]; }; } </ins>

Discussion:
Project description Git-privacy redacts author and committer dates to keep your coding hours more private. You can choose the level of redaction: only remove minutes and seconds from your dates or even hide day or month. The original dates are encrypted and stored in the commit message in case you might need them. Metadata homepage URL: source URL: license: bsd2 platforms: unix, linux, darwin, ...
Hello, I'm a bot and I thank you in the name of the community for opening this issue. To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human. The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use or on the relevant files to find them. Lastly, you can always ask for help at or at .
this bot is too aggressive, 180 days is not enough
I marked this as stale due to inactivity. &rarr;
Change:
, which , wrapGAppsHook3 , darwin <ins> , vulkan-loader , autoPatchelfHook </ins> }: stdenv.mkDerivation (finalAttrs: {

Discussion:
The package for the Ares emulator doesn't seem to include Vulkan packages so it will return if you try to run a Nintendo 64 game. Other cores that don't use Vulkan are unaffected Steps to reproduce the behavior: Ares N64 game error in console glitched or black screen The game works ! see similar issue: Ares issue before I realized it was likely NixOS: GPU: RX 6800 Driver install setup: <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Change:
} // hide all mounts we do from the parent <del> fail_if(mount(0, "/", 0, MS_PRIVATE | MS_REC, 0)); </del> <ins> fail_if(mount(0, "/", 0, MS_SLAVE | MS_REC, 0)); </ins> if (uid != 0) { spit("/proc/self/setgroups", "deny");

Discussion:
Describe the bug Boinc crashes on startup with error To Reproduce Steps to reproduce the behavior: Expected behavior For the boinc daemon to work as expected Notify maintainers <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Metadata system: host os: multi-user?: sandbox: version: nixpkgs: Maintainer information:
Not sure if this is related, but I get:
I think this is could be from a bug with FHSUserEnv and autofs / x-systemd.automount. Do you have any filesystems mounted with those options?
This is the solution, only problem now is I can't figure how how to get the mount to have shared option with systemd mount unit / NixOS configuration.
Change:
zram-size = if cfg.memoryMax != null then "min(${size}, ${toString cfg.memoryMax} / 1024 / 1024)" else size; compression-algorithm = cfg.algorithm; swap-priority = cfg.priority; <ins> } // lib.optionalAttrs (cfg.writebackDevice != null) { writeback-device = cfg.writebackDevice; </ins> }; }) devices));

Discussion:
One of the features of zram (and of systemd-zram-generator) is that a swap partition (and hopefully someday in the future a swap file too) can be used to store incompressible pages instead of holding them in ram. It's (you're the last person I saw touch the zramSwap module.) Please run and paste the result.
Our current zram module is implemented by retrofitting the old interface for our own set of bash scripts onto zram-generator, thus it's only possible to create multiple zram devices of identical configurations. However it should be illegal to share a single backing device among multiple zram devices, leaving us two choices in implementing this: allow creating a single zram device when backing device is set the module to expose the full features of zram-generator What's your opinion?
:thinking: It's not stated that the module uses zram-generator under the hood, and I'd say that I don't really think a lot of people use multiple zram devices, so perhaps  is fine.
Change:
source 'https://rubygems.org' <del> gem "fusuma" </del> <ins> gem "fusuma", ">=3.0.0" </ins> gem "fusuma-plugin-appmatcher" gem "fusuma-plugin-keypress" gem "fusuma-plugin-sendkey" <del> gem "fusuma-plugin-tap" </del> gem "fusuma-plugin-wmctrl" # I've not activated the following plugins for the reasons given below. <ins> # tap has been archived by upstream # gem "fusuma-plugin-tap" </ins> # touchscreen needs specific h/w support I don't have access to, so I can't confirm # if it's problem free.  A quick check didn't reveal any problems. #gem "fusuma-plugin-touchscreen"

Discussion:
The fusuma program in the package of the same name crashes when trying to run it. The breaking change causing this issue was made somewhere in the last 56 days: That's when I last updated this particular host, after which everything was still working fine. Steps to reproduce the behavior: "fusuma" package to run fusuma I expected fusuma to start running and be available for use. N/A Instead of displaying the expected behavior, the program crashes: In addition, if I clone the repo, then open a and run the cloned project in that nix-shell, that runs successfully unmodified on the same host. Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Thanks especially for the celerity of the fix!
Is there supposed to be a delay between this merge and availability updating? I can clearly see this PR is merged, but when I update my system the new version isn't in there.
Yes, see
One month later, I don't see the updated package. How long can this take ?
The update is already on master, but I don't think it's been backported yet. Are you on NixOS 23.11 instead of unstable?
Yes.
Backported in , should take a few days to land.
Many thanks for the commit !
Change:
<ins> { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, certifi, cython, gdal, numpy, packaging, setuptools, versioneer, wheel, }: buildPythonPackage rec { pname = "pyogrio"; version = "0.8.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "geopandas"; repo = "pyogrio"; rev = "v${version}"; hash = "sha256-h4Rv5xOWSJSv0nLbosviz5EiF/IsZO5wzBel9YRd0Bg="; }; postPatch = '' substituteInPlace pyproject.toml  --replace-fail "versioneer[toml]==0.28" "versioneer[toml]" '' + lib.optionalString (!pythonOlder "3.12") '' substituteInPlace setup.py  --replace-fail "distutils" "setuptools._distutils" ''; nativeBuildInputs = [ cython gdal # for gdal-config setuptools versioneer wheel ] ++ versioneer.optional-dependencies.toml; buildInputs = [ gdal ]; propagatedBuildInputs = [ certifi numpy packaging ]; nativeCheckInputs = [ pytestCheckHook ]; preCheck = '' python setup.py build_ext --inplace ''; pytestFlagsArray = [ # disable tests which require network access "-m 'not network'" ]; pythonImportsCheck = [ "pyogrio" ]; meta = { description = "Vectorized spatial vector file format I/O using GDAL/OGR"; homepage = "https://pyogrio.readthedocs.io/"; changelog = "https://github.com/geopandas/pyogrio/blob/${src.rev}/CHANGES.md"; license = lib.licenses.mit; maintainers = lib.teams.geospatial.members; }; } </ins>

Discussion:
Project description mapclassify is an open-source python library for Choropleth map classification. It is part of the Python Spatial Analysis Library. Metadata homepage URL: source URL: license: BSD-3-Clause license
Even nicer if we could get pysal itself - there are some QGIS plugins that depend on it.
Change:
let cfg = config.services.sshguard; <ins> configFile = let args = lib.concatStringsSep " " ([ "-afb" "-p info" "-o cat" "-n1" ] ++ (map (name: "-t ${escapeShellArg name}") cfg.services)); backend = if config.networking.nftables.enable then "sshg-fw-nft-sets" else "sshg-fw-ipset"; in pkgs.writeText "sshguard.conf" '' BACKEND="${pkgs.sshguard}/libexec/${backend}" LOGREADER="LANG=C ${pkgs.systemd}/bin/journalctl ${args}" ''; </ins> in { ###### interface

Discussion:
Describe the bug sshguard is not restarted when services.sshguard.services changes, instead the old configuration is used until sshguard is restarted through some non-nixos-rebuild means To Reproduce Steps to reproduce the behavior: services.sshguard with some value for services.sshguard.services services.sshguard.services -rebuild switch Expected behavior sshguard is restarted with the new services list passed to journalctl Screenshots n/a Additional context since the services list only affects the config file (not the systemd service) and the firewall backend does the same, this should also affect changes in the firewall backend. that probably doesn't matter though. Notify maintainers <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Metadata system: host os: multi-user?: sandbox: version: channels(root): nixpkgs: Maintainer information:
Change:
strictDeps = false; dontWrapGApps = true; <del> buildInputs = [ atk gdk-pixbuf gtk-layer-shell pango ]; </del> <ins> buildInputs = [ atk gdk-pixbuf gtk-layer-shell pango playerctl ]; </ins> nativeBuildInputs = [ wrapGAppsHook gobject-introspection ]; propagatedBuildInputs = (with python3Packages; [ i3ipc netifaces psutil pybluez pygobject3 requests dasbus setuptools ])

Discussion:
package-name: nwg-panel nwg-panel latest verison: 0.9.11 nixpkg unstable: 0.7.17 nixpkg stable: 0.7.17 Notify mainters; no maintainers
Change:
<ins> prefix=@out@ exec_prefix=${prefix} libdir=${prefix}/lib includedir=${prefix}/include Name: mlx42 Description: A simple cross-platform graphics library that uses GLFW and OpenGL Version: @version@ Libs: -L${libdir} -lmlx42 Cflags: -I${includedir} </ins>

Discussion:
Project description graphics library <!-- Describe the project a little: --MLX42 is a performant, easy to use, cross-platform, minimal windowing graphics library to create graphical applications without having to work directly with the native windowing framework of the given operating system. Metadata homepage URL: source URL: license: GPL-2.0 platforms: Linux, MacOS, Windows
Change:
<del> { lib , rustPlatform , fetchFromGitHub , stdenv , installShellFiles , pkg-config , openssl , python3 , libxcb , AppKit , Security }: rustPlatform.buildRustPackage rec { pname = "spotify-tui"; version = "0.25.0"; src = fetchFromGitHub { owner = "Rigellute"; repo = "spotify-tui"; rev = "v${version}"; hash = "sha256-L5gg6tjQuYoAC89XfKE38KCFONwSAwfNoFEUPH4jNAI="; }; cargoLock = { lockFile = ./Cargo.lock; }; nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ pkg-config python3 ]; buildInputs = [ ] ++ lib.optionals stdenv.isLinux [ openssl libxcb ] ++ lib.optionals stdenv.isDarwin [ AppKit Security ]; postPatch = '' # update Cargo.lock to fix build ln -sf ${./Cargo.lock} Cargo.lock # Add patch adding the collection variant to rspotify used by spotify-tu # This fixes the issue of getting an error when playing liked songs # see https://github.com/NixOS/nixpkgs/pull/170915 patch -p1 -d $cargoDepsCopy/rspotify-0.10.0 < ${./0001-Add-Collection-SearchType.patch} ''; postInstall = '' for shell in bash fish zsh; do $out/bin/spt --completions $shell > spt.$shell installShellCompletion spt.$shell done ''; meta = with lib; { description = "Spotify for the terminal written in Rust"; homepage = "https://github.com/Rigellute/spotify-tui"; changelog = "https://github.com/Rigellute/spotify-tui/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit /* or */ asl20 ]; maintainers = with maintainers; [ jwijenbergh ]; mainProgram = "spt"; }; } </del>

Discussion:
Steps to reproduce the behavior: spotify-tui-0.25.0 I see the package is basically abandoned upstream, should we just remove it? <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
I think removing it is a good idea, give a shot :)
Change:
LIBCLANG_PATH = "${libclang.lib}/lib"; <ins> # FIXME: workaround for Pipewire 0.3.64 deprecated API change, remove when fixed upstream # https://gitlab.freedesktop.org/pipewire/pipewire-rs/-/issues/55 preBuild = '' export BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS -DPW_ENABLE_DEPRECATED" ''; </ins> meta = with lib; { description = "Scan and Generate QR Codes"; homepage = "https://gitlab.gnome.org/World/decoder";

Discussion:
Steps to reproduce the behavior: to install gnome-decoder-0.3.1 Trying to install using home-manager and . <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Please run and paste the result.
Change:
<ins> diff --git a/src/libslic3r/CMakeLists.txt b/src/libslic3r/CMakeLists.txt index 38a1b2499..00c9060b3 100644 --- a/src/libslic3r/CMakeLists.txt +++ b/src/libslic3r/CMakeLists.txt @@ -573,7 +573,8 @@ target_link_libraries(libslic3r mcut JPEG::JPEG qoi -    opencv_world +    opencv_core +    opencv_imgproc ) if(NOT WIN32) </ins>

Discussion:
Package name: orca-slicer Latest released version: 2.1.1 <!-- Search your package here: --- Current version on the unstable channel: 2.0.0 Current version on the stable/release channel: 2.0.0 <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- <!-- If the result shows no maintainers, tag the person that last updated the package. --Note for maintainers: Please tag this issue in your PR. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
please change update from 2.0.0 to 2.1.1 due to some major bugs in 2.1.0
Change:
, bazel_self , lr, xe, zip, unzip, bash, writeCBin, coreutils , which, gawk, gnused, gnutar, gnugrep, gzip, findutils <ins> , diffutils, gnupatch </ins> # updater , python3, writeScript # Apple dependencies

Discussion:
Nix's version of bazel has custom patches to make bazel more hermetic when used with nix. One of those is limiting the default environment of Bash: However, this default environment is insufficient because lots of programs rely on being in the path like buildifier, golangci-lint, and other things since golang diff implementations aren't very good. Ideally we'd include "diffutils" as part of this list for rules that assume the presence of "diff" and don't allow nice knobs to configure otherwise. Steps to reproduce the behavior: up workspace with to run the test. It will complain about missing "diff" Expected to find diff.
I think with the assumption is that you'll specify the you need yourself. The built in one is unlikely to have all the binaries you need in all your actions. We add the ones that the actions in bazel itself and the external repositories it includes need so you can use it out of the box, but ideally that list would be as small as possible.
Do you have references to open source rule sets or code that depends on diff being in the action path? To have an idea of how widely used they are.
I noted , for and various analyzers if you want to include them for use with nogo (For example, you can use the repo for nogo analyzers, which implements the analyzer, which uses as a subprocess under the hood as well).
TIL about , seems close enough to bazel that we'd want to support it out of the box. Yeah let's add it. Can you put up a PR?
I have recently come across a target that needs and found this issue. It's neat to add , but is there a nice way to add arbitrary paths to a specific Bazel invocation? I have a build script (GMP, pulled in as a dependency of the crate), which expects . I don't expect this to be a Bazel dependency, but I need to make available to this dependency. Having some environment variable like or whatever would be helpful here.
So, I found this workaround to this Essentially instead of using , which hardcodes , we specify our own . We accomplish this using a shell hook and loading the generated file in the .bazelrc: It's more flexible than modifying this every time.

One thing to note is that Bazel has a bug around setting environments in actions and some actions hard code the PATH to /usr/bin (rulesgo for example), and in those instances, it will fail to find the proper binaries. You can work around this there as well if you use rulesnixpkgs, by adding these deps to your go toolchain.
Change:
, kirigami , kxmlgui , kdoctools <del> , mpv </del> <ins> , mpvqt </ins> , pkg-config , wrapQtAppsHook , qqc2-desktop-style

Discussion:
retains references to packages, bloating the closure massively. I'd expect to see no such results. If comparing to qt5: n/a Seems related to some wrapping issue. For example: <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --All examples above were built against Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Do we need the qt6 plugins for designer?
I achieved the following nix diff-closures with the diff: The patch is not perfect but maybe a starting point?
Maybe a separate output that's not $dev for those plugins?
That change brings the closure from (nominally) 1.05 GiB to 925 MiB. I think the other notably sized dependency would be which appears to add 100+ MiB of its own (as it brings along ), but it's indirectly coming from
Change:
ocaml_gettext = callPackage ../development/ocaml-modules/ocaml-gettext { }; <ins> gettext-stub = callPackage ../development/ocaml-modules/ocaml-gettext/stub.nix { }; </ins> ocamlgraph = callPackage ../development/ocaml-modules/ocamlgraph { }; ocaml_http = callPackage ../development/ocaml-modules/http { };

Discussion:
Describe the bug To Reproduce Steps to reproduce the behavior: vagrant on latest master error Expected behavior Builds Screenshots If applicable, add screenshots to help explain your problem. Additional context Add any other context about the problem here. Metadata system: host os: multi-user?: sandbox: version: channels(maciej): nixpkgs: Maintainer information:
Broken in . I don't know anything about ocaml, so I'm not well qualified to fix this. CC
Apologies for breaking . Thanks for reporting this issue; PR should fix it.
Change:
diff --git a/api/gmsh.py b/api/gmsh.py <del> index 747acb203..02004da5d 100644 </del> <ins> index f525284..a225c85 100644 </ins> --- a/api/gmsh.py +++ b/api/gmsh.py <del> @@ -44,44 +44,7 @@ moduledir = os.path.dirname(os.path.realpath(__file__)) parentdir1 = os.path.dirname(moduledir) parentdir2 = os.path.dirname(parentdir1) </del> <ins> @@ -78,6 +78,8 @@ if not libpath: else: libpath = find_library("gmsh") </ins> <del> -if platform.system() == "Windows": -    libname = "gmsh-4.11.dll" -elif platform.system() == "Darwin": -    libname = "libgmsh.4.11.dylib" -else: -    libname = "libgmsh.so.4.11" - -# check if the library is in the same directory as the module... -libpath = os.path.join(moduledir, libname) - -# ... or in the parent directory or its lib or Lib subdirectory -if not os.path.exists(libpath): -    libpath = os.path.join(parentdir1, libname) -if not os.path.exists(libpath): -    libpath = os.path.join(parentdir1, "lib", libname) -if not os.path.exists(libpath): -    libpath = os.path.join(parentdir1, "Lib", libname) - -# ... or in the parent of the parent directory or its lib or Lib subdirectory -if not os.path.exists(libpath): -    libpath = os.path.join(parentdir2, libname) -if not os.path.exists(libpath): -    libpath = os.path.join(parentdir2, "lib", libname) -if not os.path.exists(libpath): -    libpath = os.path.join(parentdir2, "Lib", libname) - -# if we couldn't find it, use ctype's find_library utility... -if not os.path.exists(libpath): -    if platform.system() == "Windows": -        libpath = find_library("gmsh-4.11") -        if not libpath: -            libpath = find_library("gmsh") -    else: -        libpath = find_library("gmsh") - -# ... and print a warning if everything failed -if not os.path.exists(libpath): -    print("Warning: could not find Gmsh shared library " + libname) </del> +libpath = "@LIBPATH@" <del> lib = CDLL(libpath) </del> <ins> + # ... and print a warning if everything failed if not libpath: print("Warning: could not find Gmsh shared library " + libname + </ins>

Discussion:
Package name: gmsh Latest released version: 4.12.2 Current version on the unstable channel: 4.11.1 Current version on the stable/release channel: 4.11.1 Notify maintainers This package has no maintainers. Note for maintainers: Please tag this issue in your PR. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Change:
rustPlatform.buildRustPackage rec { pname = "zed"; <del> version = "0.149.3"; </del> <ins> version = "0.149.5"; </ins> src = fetchFromGitHub { owner = "zed-industries"; repo = "zed"; rev = "refs/tags/v${version}"; <del> hash = "sha256-fz0StzZIqDLmip0M2959h7ZgoB+cdTC5QNKKNRVZItA="; </del> <ins> hash = "sha256-RQGYcJJf65arew9iwtPh/jFYMbXiY9Wg7xEjAsUSvEA="; </ins> fetchSubmodules = true; };

Discussion:
Package name: Latest released version: <!-- Search your package here: --- Current version on the unstable channel: Current version on the stable/release channel: <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- Notify maintainers <!-- If the result shows no maintainers, tag the person that last updated the package. --Note for maintainers: Please tag this issue in your PR. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]: