jiebi/CodeConvo huggingface dataset:
Change:
<ins> { lib , python3 , fetchFromGitHub }: let python = python3.override { packageOverrides = self: super: { lark = super.lark.overridePythonAttrs (old: rec { # gdtoolkit needs exactly this lark version version = "0.8.0"; src = fetchFromGitHub { owner = "lark-parser"; repo = "lark"; rev = version; hash = "sha256-KN9buVlH8hJ8t0ZP5yefeYM5vH5Gg7a7TEDGKJYpozs="; fetchSubmodules = true; }; patches = [ ]; }); }; }; in python.pkgs.buildPythonApplication rec { pname = "gdtoolkit3"; version = "3.5.0"; # If we try to get using fetchPypi it requires GeoIP (but the package dont has that dep!?) src = fetchFromGitHub { owner = "Scony"; repo = "godot-gdscript-toolkit"; rev = version; hash = "sha256-cMGD5Xdf9ElS1NT7Q0NPB//EvUO0MI0VTtps5JRisZ4="; }; disabled = python.pythonOlder "3.7"; propagatedBuildInputs = with python.pkgs; [ docopt lark pyyaml setuptools ]; doCheck = true; nativeCheckInputs = with python.pkgs; [ pytestCheckHook hypothesis ]; preCheck = '' # The tests want to run the installed executables export PATH=$out/bin:$PATH # gdtoolkit tries to write cache variables to $HOME/.cache export HOME=$TMP ''; # The tests are not working on NixOS disabledTests = [ "test_cc_on_empty_file_succeeds" "test_cc_on_file_with_single_function_succeeds" ]; pythonImportsCheck = [ "gdtoolkit" "gdtoolkit.formatter" "gdtoolkit.linter" "gdtoolkit.parser" ]; meta = with lib; { description = "Independent set of tools for working with Godot's GDScript - parser, linter and formatter"; homepage = "https://github.com/Scony/godot-gdscript-toolkit"; license = licenses.mit; maintainers = with maintainers; [ shiryel tmarkus ]; }; } </ins>

Discussion:
Package name: gdtoolkit Latest released version: 4.1.0 <!-- Search your package here: --- Current version on the unstable channel: 3.3.1 Current version on the stable/release channel: 3.3.1 <!-- 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 It's a bit of an odd situation because both Godot 3 and 4 are in use, so maybe this one should be renamed to gdtoolkit3 or the opposite for the time being. Haven't had any success yet trying to override the package on my own. <!-- If the result shows no maintainers, tag the person that last updated the package. --Note for maintainers: Please tag this issue in your PR.
Change:
email = "tomaszierl@outlook.com"; name = "Tomkoid"; }; <ins> Tommimon = { name = "Tommaso Montanari"; email = "sefymw7q8@mozmail.com"; github = "Tommimon"; githubId = 37435103; }; </ins> tomodachi94 = { email = "tomodachi94+nixpkgs@protonmail.com"; matrix = "@tomodachi94:matrix.org";

Discussion:
Project description This application allows one with select msi laptops to control fanspeed/battery settings/Keyboard lighting/camara toggle This is basicly a replacement to dragon center on windows Metadata homepage source license: Gpl 3.0 platforms: linux
Worked a little bit on this today. It's pretty complicated due to the kernel module, dbus service, etc.
Good news! A package definition is now available:
Change:
<ins> { lib, buildNpmPackage, fetchFromGitHub, }: buildNpmPackage rec { pname = "pgraphs"; version = "0.6.12"; src = fetchFromGitHub { owner = "pg-format"; repo = "pgraphs"; rev = "refs/tags/v${version}"; hash = "sha256-rhNXASSHgdL9knq9uPFhAGlh0ZAKo5TNh/2a4u6Mh1U="; }; npmDepsHash = "sha256-S1pCmRaRuprqIjaylIsuHyguhgQC5vvp7pDq2KJgrHQ="; dontNpmBuild = true; meta = { description = "Property Graph Exchange Format (PG) converter"; changelog = "https://github.com/pg-format/pgraphs/blob/v${version}/CHANGELOG.md"; homepage = "https://github.com/pg-format/pgraphs"; license = lib.licenses.mit; mainProgram = "pgraphs"; maintainers = with lib.maintainers; [ luftmensch-luftmensch ]; }; } </ins>

Discussion:
Project description This package implements parsers and serializers to convert between labeled property graph formats and databases. For example, I'm trying to transliterate a JSONCanvas file from Obsidian to other formats. Thank you! Metadata homepage URL: source URL: license: MIT platforms: NodeJS Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Note for packagers: with should be preferred over .
Change:
substituteInPlace setup.py --replace '"pytest-runner"' "" ''; <ins> preBuild = '' cython keyutils/_keyutils.pyx ''; preCheck = '' rm -rf keyutils ''; </ins> buildInputs = [ keyutils ]; <del> nativeCheckInputs = [ pytest pytest-runner ]; </del> <ins> nativeBuildInputs = [ cython ]; nativeCheckInputs = [ pytestCheckHook ]; </ins> meta = { description = "A set of python bindings for keyutils";

Discussion:
Steps to reproduce the behavior: , or anything depending on it (my failure specifically was triggered by udiskie). Looks like the exact same issue that is being reported in Hydra, on the same hash: Seems similar to reports that it was generated with cython 0.29.3. Unfortunately also seems to be archived and a cursory check does not seem to show a fork floating around.
Related:
Update: I was able to rebuild udiskie successfully by changing its build input (and all respective downstream references) to , so I'm guessing this might have only surfaced now with the recent cut to python 3.11 (maybe ?)
Another comment looks like . I'm guessing we could do the same here.
Change:
${lib.optionalString installManpages '' for section in {1..9}; do mandir="$out/share/man/man$section" <del> find -L ${basicEnv}/${ruby.gemPath}/gems/${basicEnv.name} ( -wholename "*/man/*.$section" -o -wholename "*/man/man$section/*.$section" ) -print -execdir mkdir -p $mandir ; -execdir cp '{}' $mandir ; </del> <ins> # See: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/ruby-modules/gem/default.nix#L184-L200 # See: https://github.com/rubygems/rubygems/blob/7a7b234721c375874b7e22b1c5b14925b943f04e/bundler/lib/bundler.rb#L285-L291 find -L ${basicEnv}/${ruby.gemPath}/${lib.optionalString (basicEnv.gemType == "git" || basicEnv.gemType == "url") "bundler/"}gems/${basicEnv.name} ( -wholename "*/man/*.$section" -o -wholename "*/man/man$section/*.$section" ) -print -execdir mkdir -p $mandir ; -execdir cp '{}' $mandir ; </ins> done ''} ''

Discussion:
Describe the bug fails to build when the gem configured in the is pointing to a git repository. <details<summaryGemfile</summary</details<details</summary</details<details</summary</details<details<summarynix-build output</summary</detailsTo Reproduce Run with the configuration posted above. Expected behavior The package should build like it does when the gem is pointed to a released version. Metadata Maintainer information:
Can confirm this, I have the same issue trying to package
I ran into this issue today. Both in my scenario and the recipe above the issue happens bundlerApp tries to of the gem. The directory find is call with doesn't exist. While I don't know the proper way to fix bundlerApp, a work around is to set the installManpages attributes to false. ej.
I'm having issue as well, is there any temporal fix atleast? Its annoying, and making my setup not-so-reproducible, I'm bundling puppet and it says: Its actually been created with rev: at and haven't been copied over.
Seems like you're right not installing manpages did somehow fix it, but not sure how you figured out... What I find post trying that is that the problem resides exactly in these lines:
I figured out the workaround by reading the error from nix log . Seeing the call to find being the error and looking for the expression responsible for making the call. Found it was the the installManpages option as you linked above. However I'm not familiar enough with the process to know what is the proper way to fix this. It seems the reason it fails is because in only has the dependencies of the gem we are building, not the gem itself. Should the man page installation happen in a latter phase? Should it look for the gem man pages in a different place? In what phase it is running?
I started a PR for the fix, can you please try building packages from this PR branch?
Change:
# disastrous, so here we nuke references to the Nix store # in Trolltech.conf.  A better solution would be to stop # Qt from doing this wackiness in the first place. <del> trolltech_conf="''${XDG_CONFIG_HOME:?}/Trolltech.conf" </del> <ins> trolltech_conf="''${XDG_CONFIG_HOME}/Trolltech.conf" </ins> if [ -e "$trolltech_conf" ]; then ${sed} -i "$trolltech_conf" -e '/nixstore|nix/store/ d' fi

Discussion:
Describe the bug After upgrade to 20.03 nixos-activation.service don't start . Error log: nixos-activation.service - Run user-specific NixOS activation Loaded: loaded (/nix/store/jcv2nvwkdc4hlhfx2dcchw3xgnmgyk8n-unit-nixos-activation.service/nixos-activation.service; static; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2020-02-21 11:57:14 CET; 8s ago Process: ExecStart=/nix/store/6hls8gx0c7prqf6gc2s1q9kp5w57jnb4-unit-script-nixos-activation-start (code=exited, status=1/FAILURE) Main PID: (code=exited, status=1/FAILURE) lut 21 11:57:14 nixos systemd[1389]: Starting Run user-specific NixOS activation... lut 21 11:57:14 nixos 6hls8gx0c7prqf6gc2s1q9kp5w57jnb4-unit-script-nixos-activation-start[]: /nix/store/6hls8gx0c7prqf6gc2s1q9kp5w57jnb4-unit-script-nixos-activation-start: line 22: XDGCONFIGHOME: parameter null or not set lut 21 11:57:14 nixos systemd[1389]: nixos-activation.service: Main process exited, code=exited, status=1/FAILURE lut 21 11:57:14 nixos systemd[1389]: nixos-activation.service: Failed with result 'exit-code'. lut 21 11:57:14 nixos systemd[1389]: Failed to start Run user-specific NixOS activation. I am using home manager but empty profile without home manager is also broken. After switch channel to 19.09 everything is OK. To Reproduce Steps to reproduce the behavior: to 20.03 Additional context I am using KDE. Adding XDGCONFIGHOME to this file does not solve the problem completely. Service start but for ex. flatpak app not.

Metadata Please run and paste the result. nix-shell -p nix-info --run "nix-info -m" system: host os: multi-user?: sandbox: version: channels(root): channels(piotrek): nixpkgs: Maintainer information:
caused by
I had this issue too, and it can be fixed by enabling this : I am not really sure why, this fix come from another issue that is plasma related.
cc
Yes, it's solve error related to XDGCONFIGHOME but flatpak app still fail to launch. Starting KeePassXC result in error: The name org.freedesktop.Accounts was not provided by any .service files. Unrelated problem? EDIT: Yes, it's
As far as I understand this is actually a workaround and not a real solution. iirc the suggested workaround was for a now fixed problem where plasma wouldn't start due to a hardcoded limit on env vars
It is indeed a workaround, sorry for the bad phrasing. I know this is a workaround for another issue that has been merged, but it has fixed the issue for me.
Change:
# to the FUSE device GTEST_FILTER = "-dwarfs/tools_test.end_to_end/*:dwarfs/tools_test.mutating_ops/*"; <del> meta = with lib; { </del> <ins> meta = { </ins> description = "A fast high compression read-only file system"; homepage = "https://github.com/mhx/dwarfs"; <del> license = licenses.gpl3Plus; maintainers = with maintainers; [ ]; platforms = platforms.linux; </del> <ins> changelog = "https://github.com/mhx/dwarfs/blob/v${version}/CHANGES.md"; license = lib.licenses.gpl3Plus; maintainers = [ lib.maintainers.luftmensch-luftmensch ]; platforms = lib.platforms.linux; </ins> }; }

Discussion:
Package name: dwarfs Latest released version: 0.9.8 <!-- Search your package here: --- Current version on the unstable channel: 0.7.5 Current version on the stable/release channel: 0.7.2 <!-- 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]:
Change:
githubId = 6689924; name = "David Terry"; }; <ins> dylanmtaylor = { email = "dylan@dylanmtaylor.com"; github = "dylamtaylor"; githubId = 277927; name = "Dylan Taylor"; }; </ins> dysinger = { email = "tim@dysinger.net"; github = "dysinger";

Discussion:
Project description CLI for interacting with Scalr. Metadata homepage URL: source URL: license: apache 2 platforms: windows, linux, darwin
Change:
{ stdenv, fetchurl, makeWrapper, glib , fontconfig, patchelf, libXext, libX11 <del> , freetype, libXrender </del> <ins> , freetype, libXrender, zlib </ins> }: let

Discussion:
Spideroak GUI does not work in NixOS unstable. When running , I get this error: As far as I am able to tell, headless mode runs fine. Install spideroak and try to run . System: 17.09pre102667. (Hummingbird) Nix version: nix-env (Nix) 1.11.7 Nixpkgs version: "17.09pre102667."
Python uses the default zlib which is currently 1.2.11. I see the following options: override Python expression and use an older version of zlib let spideroak use our version of libpng. cc
Well the package's approach is strange to me. It installs private versions of libs that depend on libs not installed (e.g. freetype), and at the same time, some of the missing libs naturally depend on libs that are also installed privately (on zlib, for example). You can try such tweaks to find what will work now, but I'm afraid it's likely to remain fragile.
Change:
<ins> From 04bfb877c8ccbd431dcae429abb487c1e3390801 Mon Sep 17 00:00:00 2001 From: Yureka <yuka@yuka.dev> Date: Sun, 30 Jun 2024 09:37:49 +0200 Subject: [PATCH] Fix build with _PY_SHORT_FLOAT_REPR == 0 --- Include/internal/pycore_dtoa.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Include/internal/pycore_dtoa.h b/Include/internal/pycore_dtoa.h index 4d9681d59a..899d413b05 100644 --- a/Include/internal/pycore_dtoa.h +++ b/Include/internal/pycore_dtoa.h @@ -11,8 +11,6 @@ extern "C" { #include "pycore_pymath.h"        // _PY_SHORT_FLOAT_REPR -#if _PY_SHORT_FLOAT_REPR == 1 - typedef uint32_t ULong; struct @@ -22,15 +20,15 @@ Bigint { ULong x[1]; }; -#ifdef Py_USING_MEMORY_DEBUGGER +#if defined(Py_USING_MEMORY_DEBUGGER) || _PY_SHORT_FLOAT_REPR == 0 struct _dtoa_state { int _not_used; }; -#define _dtoa_interp_state_INIT(INTERP)  +#define _dtoa_state_INIT(INTERP)  {0} -#else  // !Py_USING_MEMORY_DEBUGGER +#else  // !Py_USING_MEMORY_DEBUGGER && _PY_SHORT_FLOAT_REPR != 0 /* The size of the Bigint freelist */ #define Bigint_Kmax 7 @@ -65,8 +63,6 @@ PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits, int *decpt, int *sign, char **rve); PyAPI_FUNC(void) _Py_dg_freedtoa(char *s); -#endif // _PY_SHORT_FLOAT_REPR == 1 - #ifdef __cplusplus } #endif -- 2.45.1 </ins>

Discussion:
() regressed cross compilation for python3. Steps to reproduce the behavior: Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
preparing a PR.
Change:
pytestCheckHook ]; <ins> pythonImportsCheck = [ "ocrmypdf" ]; </ins> meta = with lib; { homepage = "https://github.com/jbarlow83/OCRmyPDF"; description = "Adds an OCR text layer to scanned PDF files, allowing them to be searched";

Discussion:
On the latest unstable (I'm testing on ), the build of ocrmypdf has started erroring. Steps to reproduce the behavior: on nixpkgs-unstable Clean build, link <details<summaryBuild output</summary</details Please run and paste the result. Maintainer information:
Change:
fastapi = callPackage ../development/python-modules/fastapi { }; <ins> fastapi-mail = callPackage ../development/python-modules/fastapi-mail { }; </ins> fastavro = callPackage ../development/python-modules/fastavro { }; fastbencode = callPackage ../development/python-modules/fastbencode { };

Discussion:
Project description Fastapi-email package is needed for fastapi projects. Metadata homepage URL: source license: mit, bsd, gpl2+ , ... platforms: unix, linux, darwin, ...
Change:
"skia_use_wuffs=false" # Use system dependencies "extra_cflags=["-I${harfbuzzFull.dev}/include/harfbuzz"]" <ins> "cc="${stdenv.cc.targetPrefix}cc"" "cxx="${stdenv.cc.targetPrefix}c++"" "ar="${stdenv.cc.targetPrefix}ar"" "target_cpu="${cpu}"" </ins> ] ++ map (lib: "skia_use_system_${lib}=true") [ "zlib" "harfbuzz"

Discussion:
N/A Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Change:
<ins> --- a/gir/cairo-1.0.gir.in +++ b/gir/cairo-1.0.gir.in @@ -5,7 +5,7 @@ xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> <package name="%CAIRO_GIR_PACKAGE%"/> <namespace name="cairo" version="1.0" -	     shared-library="%CAIRO_SHARED_LIBRARY%" +	     shared-library="@cairoLib@/%CAIRO_SHARED_LIBRARY%" c:identifier-prefixes="cairo" c:symbol-prefixes="cairo"> <record name="Context" c:type="cairo_t" foreign="1" </ins>

Discussion:
The typelib for cairo contains a non-absolute path: This means that the resulting call to will need a correctly set up to succeed. This in turn causes . Other typelibs contain absolute paths into the nix store (tested with the other typelib files from gobject-introspection and with pango 1.40.11). The above fails with . Awesome still tries to continue, but lots of stuff errors out. Sorry, but (a) I don't think this is necessary and (b) I cannot copy&paste from the VM and so this is quite non-trivial for me to provide. But it's x86_64-linux, NixOS 17.09.2799....
This can be actually fixed quite easily: Though there might be a problem with increased closure size?
Is it okay for me to read this as "this stops being broken and now actually depends on its dependencies"? ;-)
The issue is that the is not really needed by , only by the single GIR/typelib file. It would make more sense if the typelib were part of the package but apparently we cannot have nice things.
Libraries should always be hardcoded. What are the sizes with and without the change? I'm not familiar with this code, but maybe we can put it in a separate output.
How do I measure it? ? In that case it is 41M → 56M. That would work but we would need to check all packages depending on if they use the cairo typelib. And could only be found out during runtime.
I suggest merging your fix along with a comment/reference to this issue. Whoever wants to reduce the closure size can then look into multiple-outputs.
I do not really like it but at the moment I do not have time for the effort.
Fix () is in staging.
FYI
Can't we drop the file totally from the package and then patch the package to extract that file from ?
We could but it would make the packages needlessly complex and the different behaviour from upstream might be confusing.
Change:
rnginline = callPackage ../development/python-modules/rnginline { }; <ins> rns = callPackage ../development/python-modules/rns { }; </ins> robomachine = callPackage ../development/python-modules/robomachine { }; robot-detection = callPackage ../development/python-modules/robot-detection { };

Discussion:
Project description Reticulum is the cryptography-based networking stack for wide-area networks built on readily available hardware. It can operate even with very high latency and extremely low bandwidth. Reticulum allows you to build wide-area networks with off-the-shelf tools, and offers end-to-end encryption and connectivity, initiator anonymity, autoconfiguring cryptographically backed multi-hop transport, efficient addressing, unforgeable delivery acknowledgements and more. Reticulum is a complete networking stack, and does not need IP or higher layers, although it is easy to use IP (with TCP or UDP) as the underlying carrier for Reticulum. It is therefore trivial to tunnel Reticulum over the Internet or private IP networks. Having no dependencies on traditional networking stacks free up overhead that has been utilised to implement a networking stack built directly on cryptographic principles, allowing resilience and stable functionality in open and trustless networks. No kernel modules or drivers are required. Reticulum runs completely in userland, and can run on practically any system that runs Python 3. Metadata homepage URL: source URL: license: mit platforms: unix, linux, darwin
Change:
toml ]; <del> # tests fails if stdin is not a tty checkPhase = "echo | script -c 'pytest ./test/test.py'"; </del> <ins> checkPhase = "pytest ./test/test.py"; </ins> pythonImportsCheck = [ "yq" ];

Discussion:
Describe the bug yq fails to install with the latest nixpkgs and/or version. To Reproduce Steps to reproduce the behavior: -channel --update; nix-env -iA -env -i yq Expected behavior Installs without error. Additional context I had previously happily installed yq with an older nixpkgs-unstable. Upgrading myPackages failed with yq included. So I excluded it to proceed. Attempting to re-install it individually fails with an illegal arg. 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 Please run and paste the result. Maintainer information:
Change:
assertion = createLocalPostgreSQL -> config.services.postgresql.settings.standard_conforming_strings or true; message = "Setting up a local PostgreSQL db for Keycloak requires `standard_conforming_strings` turned on to work reliably"; } <ins> { assertion = cfg.settings.hostname != null || cfg.settings.hostname-url or null != null; message = "Setting the Keycloak hostname is required, see `services.keycloak.settings.hostname`"; } { assertion = !(cfg.settings.hostname != null && cfg.settings.hostname-url or null != null); message = "`services.keycloak.settings.hostname` and `services.keycloak.settings.hostname-url` are mutually exclusive"; } </ins> ]; environment.systemPackages = [ keycloakBuild ];

Discussion:
Keycloak offers the option to configure either the or configuration setting. The current keycloak module doesn't support the option due to the way the config file is generated. Steps to reproduce the behavior: a keycloak service with only and not . a system with this service and get Be able to configure either or as a setting. (maintainer of keycloak module: ) Please run and paste the result.
should resolve this. Please try it out.
Thank you for the quick handling of the issue I'll try to do it at work the day after tomorrow
Has been tested and works.
Change:
pyres = callPackage ../development/python-modules/pyres { }; pyqt4 = callPackage ../development/python-modules/pyqt/4.x.nix { <del> pythonPackages = self; </del> inherit (pkgs) pkgconfig; };

Discussion:
Pulseeffects depends on pyqt4 which does not build. Maybe we could build the plugin without pyqt4.
Looks like needs in nativeBuildInputs for qmake. also needs to go in nativeBuildInputs.
Change:
in stdenv.mkDerivation rec { name = "flashplayer-standalone-${version}"; <del> version = "29.0.0.171"; </del> <ins> version = "30.0.0.113"; </ins> src = fetchurl { url = if debug then <del> "https://fpdownload.macromedia.com/pub/flashplayer/updaters/29/flash_player_sa_linux_debug.x86_64.tar.gz" </del> <ins> "https://fpdownload.macromedia.com/pub/flashplayer/updaters/30/flash_player_sa_linux_debug.x86_64.tar.gz" </ins> else <del> "https://fpdownload.macromedia.com/pub/flashplayer/updaters/29/flash_player_sa_linux.x86_64.tar.gz"; </del> <ins> "https://fpdownload.macromedia.com/pub/flashplayer/updaters/30/flash_player_sa_linux.x86_64.tar.gz"; </ins> sha256 = if debug then <del> "1q2lmsb9g2cxbwxb712javmadk6vmcgkihd244394nr10isdzw67" </del> <ins> "0vdzmk9l04jq9mfkdddsqrga7ndikq910indl7wa3vndghrahmn0" </ins> else <del> "0qj5qdc9k53pgqxb5jpcbgfsgavmlyzp0cpz468c4zacsvxgq502"; </del> <ins> "10rm48i3h6x1dygjivv2mvd0jq6n40j5c2ik090s7i0ily5z97m8"; </ins> }; nativeBuildInputs = [ unzip ];

Discussion:
Download of current version (29.0.0.171) fails with 404 NotFound.