jiebi/CodeConvo huggingface dataset:
Change:
Steps to reproduce the behavior: naev to environment.systemPackages = with pkgs; [ ... naev ...]; -rebuild switch Only build. Please run and paste the result.

Discussion:
githubId = 314564; name = "Ryan Lahfa"; }; <ins> ralismark = { email = "nixpkgs@ralismark.xyz"; github = "ralismark"; githubId = 13449732; name = "Temmie"; }; </ins> raphaelr = { email = "raphael-git@tapesoftware.net"; matrix = "@raphi:tapesoftware.net";

<del> { lib, fetchurl, stdenv, SDL, openal, SDL_mixer, libxml2, pkg-config, libvorbis , libpng, libGLU, libGL, makeWrapper, zlib, freetype }: </del> <ins> { lib , SDL2 , SDL2_image , enet , fetchFromGitHub , freetype , glpk , intltool , libpng , libunibreak , libvorbis , libwebp , libxml2 , luajit , meson , ninja , openal , openblas , pcre2 , physfs , pkg-config , python3 , stdenv , suitesparse }: </ins> <del> let </del> <ins> stdenv.mkDerivation rec { </ins> pname = "naev"; <del> version = "0.5.0"; name = "${pname}-${version}"; in stdenv.mkDerivation { inherit name; </del> <ins> version = "0.10.4"; </ins> <del> srcData = fetchurl { url = "mirror://sourceforge/naev/ndata-${version}"; sha256 = "0l05xxbbys3j5h6anvann2vylhp6hnxnzwpcaydaff8fpbbyi6r6"; </del> <ins> src = fetchFromGitHub { owner = "naev"; repo = "naev"; rev = "v${version}"; sha256 = "sha256-2cMRmKeoF6x5+95GoDgsoZG9QQo7qATrw/X+335l6FE="; fetchSubmodules = true; </ins> }; <del> src = fetchurl { url = "mirror://sourceforge/naev/${name}.tar.bz2"; sha256 = "0gahi91lmpra0wvxsz49zwwb28q9w2v1s3y7r70252hq6v80kanb"; }; buildInputs = [ SDL SDL_mixer openal libxml2 libvorbis libpng libGLU libGL zlib freetype ]; </del> <ins> buildInputs = [ SDL2 SDL2_image enet freetype glpk intltool libpng libunibreak libvorbis libwebp libxml2 luajit openal openblas pcre2 physfs suitesparse ]; </ins> <del> nativeBuildInputs = [ pkg-config makeWrapper ]; </del> <ins> nativeBuildInputs = [ (python3.withPackages (ps: with ps; [ pyyaml mutagen ])) meson ninja pkg-config ]; </ins> <del> env.NIX_CFLAGS_COMPILE = "-include ${zlib.dev}/include/zlib.h"; </del> <ins> mesonFlags = [ "-Ddocs_c=disabled" "-Ddocs_lua=disabled" "-Dluajit=enabled" ]; </ins> <del> postInstall = '' mkdir -p $out/share/naev cp -v $srcData $out/share/naev/ndata wrapProgram $out/bin/naev --add-flags $out/share/naev/ndata </del> <ins> postPatch = '' patchShebangs --build dat/outfits/bioship/generate.py utils/build/*.py utils/*.py </ins> ''; meta = { description = "2D action/rpg space game"; homepage = "http://www.naev.org"; license = lib.licenses.gpl3Plus; <del> maintainers = with lib.maintainers; [viric]; </del> <ins> maintainers = with lib.maintainers; [ ralismark ]; </ins> platforms = lib.platforms.linux; <del> hydraPlatforms = []; </del> }; }
Change:
fails with the error message: Steps to reproduce the behavior: install bats <details<summarynix profile install nixpkgs#bats --show-trace</summary</detailsupgrading bats fails with the same error (assuming one had installed it before) n.a. Please run and paste the result.
This will be fixed by

Discussion:
resholve = callPackage ./resholve.nix { inherit (source) rSrc version; inherit (deps.oil) oildev; <ins> inherit (deps) configargparse; </ins> inherit resholve-utils; }; # funcs to validate and phrase invocations of resholve

<del> { callPackage </del> <ins> { lib , callPackage , fetchFromGitHub </ins> , python27 , ... }:

rec { # binlore = callPackage ./binlore.nix { }; <del> oil = callPackage ./oildev.nix { inherit python27; }; </del> <ins> oil = callPackage ./oildev.nix { inherit python27; inherit six; inherit typing; }; configargparse = python27.pkgs.buildPythonPackage rec { pname = "configargparse"; version = "1.5.3"; src = fetchFromGitHub { owner = "bw2"; repo = "ConfigArgParse"; rev = "v${version}"; sha256 = "1dsai4bilkp2biy9swfdx2z0k4akw4lpvx12flmk00r80hzgbglz"; }; doCheck = false; pythonImportsCheck = [ "configargparse" ]; meta = with lib; { description = "A drop-in replacement for argparse"; homepage = "https://github.com/bw2/ConfigArgParse"; license = licenses.mit; }; }; six = python27.pkgs.buildPythonPackage rec { pname = "six"; version = "1.16.0"; src = python27.pkgs.fetchPypi { inherit pname version; sha256 = "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"; }; doCheck = false; meta = { description = "A Python 2 and 3 compatibility library"; homepage = "https://pypi.python.org/pypi/six/"; license = lib.licenses.mit; }; }; typing = python27.pkgs.buildPythonPackage rec { pname = "typing"; version = "3.10.0.0"; src = python27.pkgs.fetchPypi { inherit pname version; sha256 = "13b4ad211f54ddbf93e5901a9967b1e07720c1d1b78d596ac6a439641aa1b130"; }; doCheck = false; meta = with lib; { description = "Backport of typing module to Python versions older than 3.5"; homepage = "https://docs.python.org/3/library/typing.html"; license = licenses.psfl; }; }; </ins> }

, cmark , file , glibcLocales <ins> , six , typing </ins> }: rec {

nativeBuildInputs = [ re2c file makeWrapper ]; <del> propagatedBuildInputs = with python27.pkgs; [ six typing ]; </del> <ins> propagatedBuildInputs = [ six typing ]; </ins> doCheck = true;

, rSrc , version , oildev <ins> , configargparse </ins> , binlore , resholve-utils }:

propagatedBuildInputs = [ oildev <del> python27.pkgs.configargparse </del> <ins> configargparse </ins> ]; postPatch = ''
Change:
The last release of Gradle with major version number 5 was on 2019-11-01, and there seems to be just two dependent packages:  (I'd have to check whether this builds with Gradle 7.)  (I am fairly certain that could be built with Gradle 7. This version is EOL.) Let's remove Gradle 5. /cc
I think we can build with at least. I will try to bump it in . BTW, I already marked as EOL in , however the package is still there. So we need to remove it first before removing .
Done:
Merged , this should be good to go. Remember that is only on right now, so if you want to do it before the changes get to you will need to target .
Thanks. Waiting for to reach , then I will PR removal of Gradle 5.

Discussion:
sha256 = "0p83zgszmrwa26a4q8nvzva2af5lfzy6xvcs57y9588smsw51wyw"; defaultJava = jdk11; }; <del> # NOTE: No GitHub Release for the following versions. `update.sh` will not work. gradle_5 = gen { version = "5.6.4"; nativeVersion = "0.18"; sha256 = "03d86bbqd19h9xlanffcjcy3vg1k5905vzhf9mal9g21603nfc0z"; defaultJava = jdk11; }; gradle_4 = gen { version = "4.10.3"; nativeVersion = "0.14"; sha256 = "0vhqxnk0yj3q9jam5w4kpia70i4h0q4pjxxqwynh3qml0vrcn9l6"; defaultJava = jdk8; }; </del> }

graalvm8-ee = throw "graalvm8-ee has been removed because it is unmaintained"; # Added 2022-04-15 graalvm11-ee = throw "graalvm11-ee has been removed because it is unmaintained"; # Added 2022-04-15 gradio = throw "gradio has been removed because it is unmaintained, use shortwave instead"; # Added 2022-06-03 <ins> gradle_4 = throw "gradle_4 has been removed because it's no longer being updated"; # Added 2023-01-17 gradle_5 = throw "gradle_5 has been removed because it's no longer being updated"; # Added 2023-01-17 </ins> grafana-mimir = throw "'grafana-mimir' has been renamed to/replaced by 'mimir'"; # Added 2022-06-07 gr-ais = gnuradio3_7.pkgs.ais; # Added 2019-05-27, changed 2020-10-16 grantlee5 = throw "'grantlee5' has been renamed to/replaced by 'libsForQt5.grantlee'"; # Converted to throw 2022-02-22

inherit jdk8 jdk11 jdk17; }; gradleGen = gradle-packages.gen; <del> gradle_4 = callPackage gradle-packages.gradle_4 { }; gradle_5 = callPackage gradle-packages.gradle_5 { }; </del> gradle_6 = callPackage gradle-packages.gradle_6 { }; gradle_7 = callPackage gradle-packages.gradle_7 { }; gradle = gradle_7;
Change:
Text-to-speech functionality is not working, according to the this functionality is disabled by default on Linux. I have tried doing what was suggested over there but it didn't work, I assume this has to do with how it is packaged over in Nix. What I tried was entering and then running . Doing worked which confirmed that the dispatcher was working, however, starting discord via terminal with the flag did not fix it for discord.
The same is true of the package which also includes speechd but will not be guaranteed to work, depending on environment (such as the display server you use)

Discussion:
, libXi, libXrandr, libXrender, libXtst, libxcb, libxshmfence, mesa, nspr, nss , pango, systemd, libappindicator-gtk3, libdbusmenu, writeScript, python3, runCommand , libunity <ins> , speechd </ins> , wayland , branch <del> , common-updater-scripts, withOpenASAR ? false }: </del> <ins> , common-updater-scripts, withOpenASAR ? false, withTTS ? false }: </ins> let disableBreakingUpdates = runCommand "disable-breaking-updates.py"

dontWrapGApps = true; <del> libPath = lib.makeLibraryPath [ </del> <ins> libPath = lib.makeLibraryPath ([ </ins> libcxx systemd libpulseaudio

libappindicator-gtk3 libdbusmenu wayland <del> ]; </del> <ins> ] ++ lib.optional withTTS speechd); </ins> installPhase = '' runHook preInstall

wrapProgramShell $out/opt/${binaryName}/${binaryName}  "''${gappsWrapperArgs[@]}"  --add-flags "''${NIXOS_OZONE_WL:+''${WAYLAND_DISPLAY:+--ozone-platform=wayland --enable-features=WaylandWindowDecorations}}"  <ins> ${lib.strings.optionalString withTTS "--add-flags "--enable-speech-dispatcher""}  </ins> --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/"  --prefix LD_LIBRARY_PATH : ${libPath}:$out/opt/${binaryName}  --run "${lib.getExe disableBreakingUpdates}"
Change:
Build of failed on x86_64-linux as of . This is currently breaking . python39Packages.tensorflow-datasets maintainers cc: maintainers cc: Other cc: n/a nixpkgs at commit This issue was automatically generated by . that created this issue. Internal tags: -

Discussion:
hash = "sha256-iUmnzrItTFM98w3mpadzrmtI3t0fucpSujAg/6qxCGk="; stripLen = 2; }) <ins> (fetchpatch { # https://github.com/apache/beam/pull/24573 name = "relax-httplib2-version.patch"; url = "https://github.com/apache/beam/commit/4045503575ae5ccef3de8d7b868c54e37fef658b.patch"; hash = "sha256-YqT+sHaa1R9vLQnEQN2K0lYoCdnGoPY9qduGBpXPaek="; stripLen = 2; }) </ins> ]; pythonRelaxDeps = [
Change:
Steps to reproduce the behavior: dufs hangs on patching script interpreter paths, but there is only one binary file needless to be patched. on Linux seems fine. hang is reproducible. <!-- 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.
FYI, the building process is in zombie state. (the Z flag)

Discussion:
Security ]; <ins> # FIXME: checkPhase on darwin will leave some zombie spawn processes # see https://github.com/NixOS/nixpkgs/issues/205620 doCheck = !stdenv.isDarwin; </ins> checkFlags = [ # tests depend on network interface, may fail with virtual IPs. "--skip=validate_printed_urls"
Change:
When trying to load a multi-binary, a GLib error occurs on the terminal, and liberation-circuit crashes. In fact, this appears when interacting with anything using files: Saving a code, loading a code, and saving a multi-binary. This causes the player to have no way to program his processes. Steps to reproduce the behavior: multi-binary A window should appear to select a file This is the error appearing in the terminal : Please run and paste the result.

Discussion:
<del> { stdenv, lib, fetchFromGitHub, fetchurl, pkg-config, makeWrapper, allegro5, libGL }: </del> <ins> { stdenv, lib, fetchFromGitHub, fetchurl, pkg-config, allegro5, libGL, wrapGAppsHook }: </ins> stdenv.mkDerivation rec { pname = "liberation-circuit"; <del> version = "unstable-2022-01-02"; </del> <ins> version = "1.3-unstable-2022-01-02"; </ins> src = fetchFromGitHub { owner = "linleyh"; <del> repo = pname; </del> <ins> repo = "liberation-circuit"; </ins> rev = "19e3363547793e931fd9419b61ebc2cd8e257714"; <del> sha256 = "zIwjh4CBSmKz7pF7GM5af+VslWho5jHOLsulbW4C8TY="; </del> <ins> hash = "sha256-zIwjh4CBSmKz7pF7GM5af+VslWho5jHOLsulbW4C8TY="; </ins> }; <del> nativeBuildInputs = [ pkg-config makeWrapper ]; </del> <ins> nativeBuildInputs = [ pkg-config wrapGAppsHook ]; </ins> buildInputs = [ allegro5 libGL ]; <ins> dontWrapGApps = true; </ins> installPhase = '' runHook preInstall mkdir -p $out/opt cp -r bin $out/opt/liberation-circuit chmod +x $out/opt/liberation-circuit/launcher.sh <del> makeWrapper $out/opt/liberation-circuit/launcher.sh $out/bin/liberation-circuit </del> install -D linux-packaging/liberation-circuit.desktop $out/share/applications/liberation-circuit.desktop install -D linux-packaging/liberation-circuit.appdata.xml $out/share/metainfo/liberation-circuit.appdata.xml

runHook postInstall ''; <del> meta = with lib; { </del> <ins> postFixup = '' makeWrapper $out/opt/liberation-circuit/launcher.sh $out/bin/liberation-circuit  "''${gappsWrapperArgs[@]}" ''; meta = { </ins> description = "Real-time strategy game with programmable units"; mainProgram = "liberation-circuit"; longDescription = '' <del> Escape from a hostile computer system! Harvest data to create an armada of battle-processes to aid your escape! Take command directly and play the game as an RTS, or use the game's built-in editor and compiler to write your own unit AI in a simplified version of C. </del> <ins> Escape from a hostile computer system! Harvest data to create an armada of battle-processes to aid your escape! Take command directly and play the game as an RTS, or use the game's built-in editor and compiler to write your own unit AI in a simplified version of C. </ins> ''; homepage = "https://linleyh.itch.io/liberation-circuit"; <del> maintainers = with maintainers; [ emilytrau ]; license = licenses.gpl3Only; platforms = platforms.linux; </del> <ins> maintainers = with lib.maintainers; [ emilytrau ]; license = lib.licenses.gpl3Only; platforms = lib.platforms.linux; </ins> }; }
Change:
<!-- Note that these are hard requirements --<!-- You can use the "Go to file" functionality on GitHub to find the package Then you can go to the history for this package Find the latest "packagename: oldversion -newversion" commit The "newversion" is the current version of the package --- <!-- 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! --- name: starship <!-- The current version can be found easily with the same process as above for checking the master branch If an open PR is present for the package, take this version as the current one and link to the PR --current version: 1.11.0 desired version: 1.12.0 <!-- Search your package here: If no maintainer is listed for your package, tag the person that last updated the package --maintainers: Please tag this issue in your PR.

Discussion:
rustPlatform.buildRustPackage rec { pname = "starship"; <del> version = "1.11.0"; </del> <ins> version = "1.12.0"; </ins> src = fetchFromGitHub { owner = "starship"; repo = pname; rev = "v${version}"; <del> hash = "sha256-90mh8C52uD68K5o1LE22gkbL1gy6FyMJTiiN9oV/3DE="; </del> <ins> hash = "sha256-HS+vtF+h5M6lbk7TROAXwrHpj92SeC+j0TjmP6ycH2Q="; </ins> }; nativeBuildInputs = [ installShellFiles cmake ];

--zsh <($out/bin/starship completions zsh) ''; <del> cargoHash = "sha256-Q1VY9RyHEsQAWRN/upeG5XJxJfrmzj5FQG6GBGrN0xU="; </del> <ins> cargoHash = "sha256-hs0ImaozKH6QcUfts+oseUqecg7bGX5cx50ixnNamW8="; </ins> preCheck = '' HOME=$TMPDIR
Change:
Discord's package has a script which disables breaking updates, by looking and modifying the file. This script breaks if said exists but is empty (fails to load the JSON object) For some reason all values in this file cleared to me and I encountered this issue. (tested on NixOS 22.11 but the script hasn't changed in master) Steps to reproduce the behavior: discord discord should not launch at all (silently, unless launched from a terminal) should handle the exception which arises from this issue. N/A Some logs of when this happens: <!-- 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.
Hmm, interesting that Discord doesn't launch at all. This is a pretty simple fix though, Or something like that (Now that I think about it, if the doesn't exist yet, the script could create it)
Tangentally related: I installed discord on a new machine, and the disable breaking updates script didn't appear to have any effect until I created an empty containing just . There were other files in , but not . Creating that would be nice. Also, the only real indication that it was missing is that when I ran from a terminal, the first line of the output was . This is quite easy to miss because it's at the top of the output, so maybe it would be good to show these errors in a dialog or something similar.
I'm surprised this is even in tree - I don't think we should be changing program behavior - especially when you're calling it . I doubt the majority of the users even knew this was happening outside of those involved in PRs for nixpkgs. This is a matter of convenience like stated in the script that has a trade off causing a degradation in the security of the application - causing users to not update - relying on maintainers to do it. Please create a separate package for this at the same time when fixing this - call it whatever - just not . Or enclose it in an arg that is disabled by default.
I hit this same issue and adding an with contents got it running for me as well.
Thanks for opening an issue and describing the fix. This broke for me too and it took me a while to figure out why ...
This issue has been mentioned on NixOS Discourse. There might be relevant details there:

Discussion:
import json import os <ins> import sys </ins> from pathlib import Path XDG_CONFIG_HOME = os.environ.get("XDG_CONFIG_HOME") or os.path.join(

if os.path.exists(settings_path): with settings_path.open(encoding="utf-8") as settings_file: <del> settings = json.load(settings_file) </del> <ins> try: settings = json.load(settings_file) except json.JSONDecodeError: print("[Nix] settings.json is malformed, letting Discord fix itself") sys.exit(0) </ins> else: settings = {}
Change:
<!-- Note that these are hard requirements --<!-- You can use the "Go to file" functionality on GitHub to find the package Then you can go to the history for this package Find the latest "packagename: oldversion -newversion" commit The "newversion" is the current version of the package --- <!-- 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! --- name: gitkraken <!-- The current version can be found easily with the same process as above for checking the master branch If an open PR is present for the package, take this version as the current one and link to the PR --current version: 8.9.1 desired version: 9.0.0 <!-- Search your package here: If no maintainer is listed for your package, tag the person that last updated the package --maintainers: Please tag this issue in your PR.

Discussion:
let pname = "gitkraken"; <del> version = "8.9.1"; </del> <ins> version = "9.0.0"; </ins> throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}"; srcs = { x86_64-linux = fetchzip { url = "https://release.axocdn.com/linux/GitKraken-v${version}.tar.gz"; <del> sha256 = "sha256-taz610BIAZm8TB2GQSHLjcDLVjfvtcyLqJ2XBaD6NRE="; </del> <ins> sha256 = "sha256-I6iIg+RBTz5HyommAvDuQBBURjMm04t31o5OZNCrYGc="; </ins> }; x86_64-darwin = fetchzip { url = "https://release.axocdn.com/darwin/GitKraken-v${version}.zip"; <del> sha256 = "sha256-TMcXtRO9ANQlmHPULgC/05qrqQC6oN58G3ytokRr/Z8="; </del> <ins> sha256 = "1dhswjzyjrfz4psjji53fjpvb8845lv44qqc6ncfv1ljx9ky828r"; </ins> }; aarch64-darwin = fetchzip { url = "https://release.axocdn.com/darwin-arm64/GitKraken-v${version}.zip"; <del> sha256 = "sha256-vuk0nfl+Ga5yiZWNwDd9o8qOjmiTLe5tQjGhia0bIk0="; </del> <ins> sha256 = "0jzcwx1z240rr08qc6vbasn51bcadz2jl3vm3jwgjpfdwypnsvk1"; </ins> }; };
Change:
The SSSD config file location was changed as a result of , but sudo (and possibly other programs, but none I'm aware of) relies on its exact location when the system is configured to get sudo rules from FreeIPA. This happens with nixos 22.11 or newer. Steps to reproduce the behavior: sudo with withSssd set to true the following to to authenticate with sssd over sudo (this might only work if a rule is supplied to sudo via SSSD that contains a netgroup) logs will contain a line that matches but the short hostname will be in the first field in the parenthesis instead of the full hostname sudo should be able to find the ipa_hostname via the SSSD config This is probably best resolved by symlinking to in case there are other programs that rely on reading the sssd config. Also I noticed in the code that there's still a stray in the configuration in that should probably be settingsFileUnsubstituted
partially addresses the issue mentioned here.
Related:

Discussion:
ExecStart = "${pkgs.sssd}/libexec/sssd/sssd_kcm --uid 0 --gid 0"; }; restartTriggers = [ <del> config.environment.etc."sssd/sssd.conf".source </del> <ins> settingsFileUnsubstituted </ins> ]; }; systemd.sockets.sssd-kcm = {
Change:
Since 22.11 fails with Run should display pdfs in kitty terminal fitz attributes have been fixed upstream, but the nixpkgs version (2019-10-03) is outdated. The following overlay fetches the latest version (2022-03-28) and solves the problem: <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --
great. Would you care about doing the PR/become the maintainer for it ?
I have sent a PR, but cannot commit to become the maintainer. Sorry for that!

Discussion:
<del> { lib , buildPythonApplication , fetchFromGitHub , bibtool , pybtex , pymupdf , pynvim , pyperclip , roman , pdfrw , pagelabels , setuptools }: </del> <ins> { lib, buildPythonApplication, fetchFromGitHub, bibtool, pybtex, pymupdf, pynvim , pyperclip, roman, pdfrw, pagelabels, setuptools }: </ins> buildPythonApplication { pname = "termpdf.py"; <del> version = "2019-10-03"; </del> <ins> version = "2022-03-28"; </ins> src = fetchFromGitHub { owner = "dsanson"; repo = "termpdf.py"; <del> rev = "4f3bdf4b5a00801631f2498f2c38c81e0a588ae2"; sha256 = "05gbj2fqzqndq1mx6g9asa7i6z8a9jdjrvilfwx8lg23cs356m6m"; </del> <ins> rev = "e7bd0824cb7d340b8dba7d862e696dba9cb5e5e2"; sha256 = "HLQZBaDoZFVBs4JfJcwhrLx8pxdEI56/iTpUjT5pBhk="; </ins> }; propagatedBuildInputs = [