jiebi/CodeConvo huggingface dataset:
Change:
Project description A simple and easy to use mod manager for several Unity games using Thunderstore. Support for Risk of Rain 2, Dyson Sphere Program, Valheim, GTFO, Outward, TaleSpire, H3VR, ROUNDS, Mechanica, Muck, BONEWORKS, Lethal League Blaze, and Timberborn. Metadata homepage URL: source URL: license: mit platforms: linux
I marked this as stale due to inactivity. &rarr;

Discussion:
<ins> { lib , stdenv , yarn , fetchYarnDeps , fixup_yarn_lock , nodejs , electron , fetchFromGitHub , gitUpdater , makeWrapper , makeDesktopItem , copyDesktopItems }: stdenv.mkDerivation rec { pname = "r2modman"; version = "3.1.42"; src = fetchFromGitHub { owner = "ebkr"; repo = "r2modmanPlus"; rev = "v${version}"; hash = "sha256-16sE706iivYoI40JJUkqVmtxkYsgAFBg+0tXOc6scqc="; }; offlineCache = fetchYarnDeps { yarnLock = "${src}/yarn.lock"; hash = "sha256-CXitb/b2tvTfrkFrFv4KP4WdmMg+1sDtC/s2u5ezDfI="; }; nativeBuildInputs = [ yarn fixup_yarn_lock nodejs makeWrapper copyDesktopItems ]; configurePhase = '' runHook preConfigure # Workaround for webpack bug # https://github.com/webpack/webpack/issues/14532 export NODE_OPTIONS="--openssl-legacy-provider" export HOME=$(mktemp -d) yarn config --offline set yarn-offline-mirror $offlineCache fixup_yarn_lock yarn.lock yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive patchShebangs node_modules/ runHook postConfigure ''; buildPhase = '' runHook preBuild yarn --offline quasar build --mode electron --skip-pkg # Remove dev dependencies. yarn install --production --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive runHook postBuild ''; installPhase = '' runHook preInstall mkdir -p $out/share/r2modman cp -r dist/electron/UnPackaged/. node_modules $out/share/r2modman ( cd public/icons for img in *png; do dimensions=''${img#favicon-} dimensions=''${dimensions%.png} mkdir -p $out/share/icons/hicolor/$dimensions/apps cp $img $out/share/icons/hicolor/$dimensions/apps/${pname}.png done ) makeWrapper '${electron}/bin/electron' "$out/bin/r2modman"  --inherit-argv0  --add-flags "$out/share/r2modman"  --add-flags "''${NIXOS_OZONE_WL:+''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" runHook postInstall ''; desktopItems = [ (makeDesktopItem { name = pname; exec = pname; icon = pname; desktopName = pname; comment = meta.description; categories = [ "Game" ]; keywords = [ "launcher" "mod manager" "thunderstore" ]; }) ]; passthru.updateScript = gitUpdater { rev-prefix = "v"; }; meta = with lib; { description = "Unofficial Thunderstore mod manager"; homepage = "https://github.com/ebkr/r2modmanPlus"; changelog = "https://github.com/ebkr/r2modmanPlus/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ aidalgol huantian ]; inherit (electron.meta) platforms; }; } </ins>

r2mod_cli = callPackage ../games/r2mod_cli { }; <ins> r2modman = callPackage ../games/r2modman { }; </ins> racer = callPackage ../games/racer { }; randtype = callPackage ../games/randtype { };
Change:
Linux toadman 4.3.3 -NixOS SMP Thu Jan 1 00:00:01 UTC 1970 x86_64 GNU/Linux 09.1180. (Dingo) nix-env (Nix) 1.10 "16.03.468." Trying to upgrade to 16.03 on my laptop I get stuck here. It looks like the newer version 0.58 is in master already. seems like most easy way to fix it will be to pull that change into 16.03 otherwise one could change the link to which also has a copy of the tarball that moreutils is looking for.
The moreutils changelog only lists two minor changes in 0.58, so I think we can safely backport it to stable.

Discussion:
# TODO add plugins having various licenses, see http://www.vamp-plugins.org/download.html <del> { stdenv, fetchurl, alsaLib, bzip2, fftw, jackaudio, libX11, liblo, libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate, libsndfile, makeWrapper, pulseaudio, qt4, redland, rubberband, vampSDK </del> <ins> { stdenv, fetchurl, alsaLib, bzip2, fftw, jackaudio, libX11, liblo , libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate , libsndfile, makeWrapper, pkgconfig, pulseaudio, qt4, redland , rubberband, vampSDK </ins> }: <del> stdenv.mkDerivation { name = "sonic-visualiser-1.8"; </del> <ins> stdenv.mkDerivation rec { name = "sonic-visualiser-${version}"; version = "1.9"; </ins> src = fetchurl { <del> url = http://downloads.sourceforge.net/sv1/sonic-visualiser-1.8.tar.gz; sha256 = "16ik6q9n92wljvnqcv7hyzb9v3yp3ixxp6df9kasf53fii973dh7"; </del> <ins> url = "http://code.soundsoftware.ac.uk/attachments/download/194/${name}.tar.gz"; sha256 = "00igf7j6s8xfyxnlkbqma0yby9pknxqzy8cmh0aw95ix80cw56fq"; </ins> }; buildInputs = [ libsndfile qt4 fftw /* should be fftw3f ??*/ bzip2 librdf rubberband libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland <ins> pkgconfig </ins> # optional jackaudio # portaudio

description = "View and analyse contents of music audio files"; homepage = http://www.sonicvisualiser.org/; license = "GPLv2"; <del> maintainers = [ stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.goibhniu ]; </del> <ins> maintainers = [ stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.goibhniu ]; </ins> platforms = stdenv.lib.platforms.linux; }; }
Change:
The "nixos.sdimagenewkernel.aarch64-linux" image from unstable channel fails to boot when flashed to a USB drive. The boot process hangs early in the boot process. Steps to reproduce the behavior: to a USB drive. The tested build is . using UART, update and change to . this drive to a RPi 4 with updated EEPROM. Power it on. The image boots to the shell. The boot process hangs with the following boot message, logged from UART: The boot proceeds from U-Boot to the kernel, but then hangs there. According to [1], it seems like in 5.14 the option is demoted from to . The same email seems to suggest that the module () is needed for USB to work. I checked the initrd of the image; the module isn't there. So, I guess if this module is included in the initrd, it could fix the problem. I'll try to create a PR to do that. [1] <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Assumes that is how kernel modules is included in the SD card image: Also tag SD card installer file for good measure: Please run and paste the result. -- Not applicable, image does not boot. Maintainer information:
I marked this as stale due to inactivity. &rarr;
Ping Anything else for that PR?

Discussion:
# USB drivers "xhci-pci-renesas" <ins> # Reset controllers "reset-raspberrypi" # Triggers USB chip firmware load. </ins> # Misc "weak" dependencies "analogix-dp" "analogix-anx6345" # For DP or eDP (e.g. integrated display)
Change:
qimgv fails to build when . Steps to reproduce the behavior: No build errors. N/A. N/A. Maintainer information:
I am working on a patch to OpenCV to fix this issue correctly. In the meantime, you can replace with and it will build and operate properly. On my system I also had to add to to stop it crashing when I tried to open a file dialog but maybe that is just because I run Nix on Ubuntu instead of NixOS.

Discussion:
# tesseract & leptonica. ++ lib.optionals enableTesseract [ tesseract leptonica ] ++ lib.optional enableTbb tbb <del> ++ lib.optional enableCuda cudatoolkit </del> ++ lib.optionals stdenv.isDarwin [ bzip2 AVFoundation Cocoa VideoDecodeAcceleration ] ++ lib.optionals enableDocs [ doxygen graphviz-nox ]; <del> propagatedBuildInputs = lib.optional enablePython pythonPackages.numpy; </del> <ins> propagatedBuildInputs = lib.optional enablePython pythonPackages.numpy ++ lib.optional enableCuda cudatoolkit; </ins> nativeBuildInputs = [ cmake pkg-config unzip ];

# tesseract & leptonica. ++ lib.optionals enableTesseract [ tesseract leptonica ] ++ lib.optional enableTbb tbb <del> ++ lib.optionals enableCuda [ cudatoolkit nvidia-optical-flow-sdk ] </del> ++ lib.optionals stdenv.isDarwin [ bzip2 AVFoundation Cocoa VideoDecodeAcceleration CoreMedia MediaToolbox ] ++ lib.optionals enableDocs [ doxygen graphviz-nox ]; <del> propagatedBuildInputs = lib.optional enablePython pythonPackages.numpy; </del> <ins> propagatedBuildInputs = lib.optional enablePython pythonPackages.numpy ++ lib.optionals enableCuda [ cudatoolkit nvidia-optical-flow-sdk ]; </ins> nativeBuildInputs = [ cmake pkg-config unzip ];
Change:
Nix tells ZabbixWeb to use filegetcontents function for retrieving DB password from file. And seems that it adds a newline symbol to a password string so auth failing. [root nix-shell -p nix-info --run "nix-info -m" system: host os: multi-user?: sandbox: version: channels(root): nixpkgs:
Thanks for reporting this. I'll take a look when I get a chance. If actually you're connecting to localhost (as opposed to using localhost as a simple and reproducible example) I would really suggest using socket authentication which is more secure and doesn't require a password.
Oh... I reviewed the code: You mean that you put a newline in your password file? Just remove the newline in the password file.
Of course not. Newline is by filegetcontents I assume. Why do we need such an obscure way of configuration? Why we can't just add a 'password' option instead of passwordFile?
Your password ends up in the nix store and is readable by any user on the OS. Then you commit your configuration to github and the situation worsens. Unfortunately we must avoid options in NixOS.
I'll whip up a PR.
It's up to end user to decide. I'd use blocks like this for example: Otherwise you'll end up with over engineered costructions with nix functions generating php functions, etc. It's pretty annoying to debug.
I agree, the user should be given a footgun in this scenario. What you're looking for is: I bet it was. I'm sorry this issue exists and you ran into it :disappointed:. PR incoming. Unfortunate (from your perspective, fortunate from other persons perspective) people who commit NixOS module generally agree that adding options is a bad idea. The very first post of includes a number of links if you're interested in hearing the arguments.

Discussion:
$DB['PORT'] = '${toString cfg.database.port}'; $DB['DATABASE'] = '${cfg.database.name}'; $DB['USER'] = '${cfg.database.user}'; <del> $DB['PASSWORD'] = ${if cfg.database.passwordFile != null then "file_get_contents('${cfg.database.passwordFile}')" else "''"}; </del> <ins> # NOTE: file_get_contents adds newline at the end of returned string $DB['PASSWORD'] = ${if cfg.database.passwordFile != null then "trim(file_get_contents('${cfg.database.passwordFile}'), "rn")" else "''"}; </ins> // Schema name. Used for IBM DB2 and PostgreSQL. $DB['SCHEMA'] = '''; $ZBX_SERVER = '${cfg.server.address}';
Change:
This seems to have been around for a while: Have tried popping locally as described , but it did not help. system: host os: multi-user?: sandbox: version: channels(user): `"nixpkgs-21.05pre295466." nixpkgs:
A workaround for this is to use .

Discussion:
bazelBuildFlags = [ "--config=opt" # optimize using the flags set in the configure phase ] <ins> ++ lib.optionals stdenv.cc.isClang [ "--cxxopt=-x" "--cxxopt=c++" "--host_cxxopt=-x" "--host_cxxopt=c++" ] </ins> ++ lib.optionals (mklSupport) [ "--config=mkl" ]; bazelTarget = "//tensorflow/tools/pip_package:build_pip_package //tensorflow/tools/lib_package:libtensorflow";
Change:
The doesn't start 'cause probably the wlroots it's causing a compatibility issue. Everytime that i try start river, it doesn't open. I searched on official repository and i found this issue: The current river's version on nixpkgs repository use wlroots 0.13.0, however the available on repository it's 0.14.1. Maintainers:
I'm not maintainer for months so I don't really care.
I'll get to updating it in about ~2 hours.

Discussion:
stdenv.mkDerivation rec { pname = "river"; <del> version = "unstable-2021-09-30"; </del> <ins> version = "unstable-2021-11-01"; </ins> src = fetchFromGitHub { owner = "ifreund"; repo = pname; <del> rev = "e6bb373240bc08668c8e6e14996a3f8765941158"; sha256 = "sha256-dYruRpsud2XYrVY2f4f2dkRRSh1oU9rn2GRwAkJqW3A="; </del> <ins> rev = "363fd3f6a466004eec157a40e51684e56992b857"; sha256 = "sha256-RzReUo1p2z4UQaO5n6PKQlEv0vTBGg+1Wq1UIYii0Mo="; </ins> fetchSubmodules = true; };
Change:
The package is not supported on Apple M1. It gives the following error message Steps to reproduce the behavior: on an Apple M1 Macbook. We should be able to build the package successfully. Add any other context about the problem here. Maintainer information:
Please run and report whether [ ] it builds without error [ ] produces a working binary Then we can simply add M1 to the list of supported platforms.
No. It does not build. It hits error when building . The outputs are

Discussion:
{ lib, stdenv, fetchsvn, darwin, libtiff , libpng, zlib, libwebp, libraw, openexr, openjpeg , libjpeg, jxrlib, pkg-config <del> , fixDarwinDylibNames }: </del> <ins> , fixDarwinDylibNames, autoSignDarwinBinariesHook }: </ins> stdenv.mkDerivation { pname = "freeimage";

] ++ lib.optionals stdenv.isDarwin [ darwin.cctools fixDarwinDylibNames <ins> ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ autoSignDarwinBinariesHook </ins> ]; buildInputs = [ libtiff libtiff.dev_private libpng zlib libwebp libraw openexr openjpeg libjpeg libjpeg.dev_private jxrlib ];

license = licenses.gpl2Plus; maintainers = with maintainers; [ uri-canva ]; platforms = platforms.unix; <del> broken = stdenv.hostPlatform.system == "aarch64-darwin"; </del> }; }

fplll_20160331 = callPackage ../development/libraries/fplll/20160331.nix {}; freeimage = callPackage ../development/libraries/freeimage { <ins> inherit (darwin) autoSignDarwinBinariesHook; </ins> libraw = libraw_unstable; };
Change:
Bluez complains on startup as visible in : Steps to reproduce the behavior: bluez with the error in There should be no error Looks like the group comes from It has been introduced in Apparently, the group has been removed in bluez 5.56: cc Maintainer information:

Discussion:
cfgFmt = pkgs.formats.ini { }; <del> # bluez will complain if some of the sections are not found, so just make them # empty (but present in the file) for now </del> defaults = { General.ControllerMode = "dual"; <del> Controller = { }; GATT = { }; </del> Policy.AutoEnable = cfg.powerOnBoot; };
Change:
After installing conkeror and launching it, it fails with an SyntaxError exception. Log attached. I have this problem for over a month. System: 16.09pre79453. (Flounder) Nix version: 1.11.2 Nixpkgs version: "16.09pre79453."

Discussion:
# TODO add plugins having various licenses, see http://www.vamp-plugins.org/download.html <del> { stdenv, fetchurl, alsaLib, bzip2, fftw, jackaudio, libX11, liblo, libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate, libsndfile, makeWrapper, pulseaudio, qt4, redland, rubberband, vampSDK </del> <ins> { stdenv, fetchurl, alsaLib, bzip2, fftw, jackaudio, libX11, liblo , libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate , libsndfile, makeWrapper, pkgconfig, pulseaudio, qt4, redland , rubberband, vampSDK </ins> }: <del> stdenv.mkDerivation { name = "sonic-visualiser-1.8"; </del> <ins> stdenv.mkDerivation rec { name = "sonic-visualiser-${version}"; version = "1.9"; </ins> src = fetchurl { <del> url = http://downloads.sourceforge.net/sv1/sonic-visualiser-1.8.tar.gz; sha256 = "16ik6q9n92wljvnqcv7hyzb9v3yp3ixxp6df9kasf53fii973dh7"; </del> <ins> url = "http://code.soundsoftware.ac.uk/attachments/download/194/${name}.tar.gz"; sha256 = "00igf7j6s8xfyxnlkbqma0yby9pknxqzy8cmh0aw95ix80cw56fq"; </ins> }; buildInputs = [ libsndfile qt4 fftw /* should be fftw3f ??*/ bzip2 librdf rubberband libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland <ins> pkgconfig </ins> # optional jackaudio # portaudio

description = "View and analyse contents of music audio files"; homepage = http://www.sonicvisualiser.org/; license = "GPLv2"; <del> maintainers = [ stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.goibhniu ]; </del> <ins> maintainers = [ stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.goibhniu ]; </ins> platforms = stdenv.lib.platforms.linux; }; }
Change:
We could also only on filesystems where it's sure to work. (Just on this topic, we should probably too if possible) CC as the person behind the most changed lines in
Related
Ah, theres even a comment there with the same man page text! Closing in favor of that one.

Discussion:
]; # Create missing swapfiles. <del> # FIXME: support changing the size of existing swapfiles. </del> systemd.services = let

${optionalString (sw.size != null) '' currentSize=$(( $(stat -c "%s" "${sw.device}" 2>/dev/null || echo 0) / 1024 / 1024 )) if [ "${toString sw.size}" != "$currentSize" ]; then <del> fallocate -l ${toString sw.size}M "${sw.device}" || dd if=/dev/zero of="${sw.device}" bs=1M count=${toString sw.size} if [ "${toString sw.size}" -lt "$currentSize" ]; then truncate --size "${toString sw.size}M" "${sw.device}" fi </del> <ins> dd if=/dev/zero of="${sw.device}" bs=1M count=${toString sw.size} </ins> chmod 0600 ${sw.device} ${optionalString (!sw.randomEncryption.enable) "mkswap ${sw.realDevice}"} fi
Change:
Platformio fails to build in nixos-unstable channel due to missing click dependency. Install platformio from nix-unstable channel (eg ) platformio builds and installs build log: not broken in nixos-21.05 Please run and paste the result. Maintainer information:
Click is not missing but is at 8.0.2 which platformio has explicitly blacklisted due to a regression. Bumping to 8.0.3 should resolve this.
This is resolved now.

Discussion:
buildPythonPackage rec { pname = "click"; <del> version = "8.0.2"; </del> <ins> version = "8.0.3"; </ins> src = fetchPypi { inherit pname version; <del> sha256 = "7027bc7bbafaab8b2c2816861d8eb372429ee3c02e193fc2f93d6c4ab9de49c5"; </del> <ins> sha256 = "sha256-QQ6TKwUPXu13PEzalN51lxyJzbMVWnKggxE5p55ey1s="; </ins> }; postPatch = '' substituteInPlace src/click/_unicodefun.py  <del> --replace "'locale'" "'${locale}/bin/locale'" </del> <ins> --replace '"locale"' "'${locale}/bin/locale'" </ins> ''; propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
Change:
The package does not build on M1 Macbook. The error message is Steps to reproduce the behavior: . # on an M1 Macbook The build is successful. If applicable, add screenshots to help explain your problem. Add any other context about the problem here. Please run and paste the result. Maintainer information:
This blocks
Ping the maintainers Thanks.

Discussion:
--replace "pkg-config" "$PKG_CONFIG" substituteInPlace Makefile.gnu  --replace "pkg-config" "$PKG_CONFIG" <ins> '' + lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) '' # Upstream Makefile hardcodes i386 and x86_64 architectures only substituteInPlace Makefile.osx --replace "x86_64" "arm64" </ins> ''; nativeBuildInputs = [
Change:
doesn't work anymore. The tests show errors and take forever (or are stuck). Steps to reproduce the behavior: to branch in The build should finish successfully. Add any other context about the problem here. <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --/cc Please run and paste the result. Maintainer information:
Ping ZHF
ran checkPhase in and cancelled the check when it hung and got these Edit The gpg-ID is being created in the wrong dir
I don't know how, but I think this is somewhat a critical bug that hangs nix when building any fish shell completion derivation. At this moment I just can't build packages like megasync or exodus, because these packages have some post build hooks that install fish shell completion for them. Then, when I retry the same build command, I get that exact same error reported by DamienCassou.
pass-secret-service is not a dependency to any package so it shouldn't be causing issues with other packages You must have pass-secret-service in your config and that's why it's freezing EDIT: it freezes because the tests don't quit by themselves
I'm also affected by this - and it is indeed "critical" in the sense that never completes building the system derivative anymore. If there's a patch to be tested, I'd be happy to assist.
i'll take a look but at worst we can disable the tests for now you can do that locally with

Discussion:
# /etc/ in check phase. postPatch = '' substituteInPlace Makefile  <del> --replace  "dbus-run-session"  "dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf" </del> <ins> --replace "dbus-run-session" "dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf"  --replace '-p $(relpassstore)' '-p $(PASSWORD_STORE_DIR)' </ins> ''; propagatedBuildInputs = with python3.pkgs; [
Change:
For me, at commit (latest release) and at commit (latest in the branch), does not build anymore, due some of its dependencies having no Python 2 support anymore. As far as I can see, dropped Python 2 support since release 3.3.0 (nixpkgs commit ) and later this has been enforced within nixpkgs at commit . And is an indirect dependency of . Steps to reproduce the behavior: up a simple nixops-shell that pins nixpkgs to a certain version by placing the following files in a directory: in the current directory. Nixops builds fine and a nix-shell will be entered Backtrace: nixops: filelock: Please run and paste the result. Maintainer information:

Discussion:
githubId = 2405974; name = "Sébastian Méric de Bellefon"; }; <ins> henkkalkwater = { email = "chris+nixpkgs@netsoj.nl"; github = "HenkKalkwater"; githubId = 4262067; matrix = "@chris:netsoj.nl"; name = "Chris Josten"; }; </ins> henrikolsson = { email = "henrik@fixme.se"; github = "henrikolsson";

<ins> { lib, buildPythonPackage, fetchPypi }: buildPythonPackage rec { pname = "filelock"; version = "3.2.1"; src = fetchPypi { inherit pname version; sha256 = "1qry67zv2pmz8px6wdfbjqv75nmryy2ac7asqgs6q6db2722kpcw"; }; meta = with lib; { homepage = "https://github.com/benediktschmitt/py-filelock"; description = "A platform independent file lock for Python"; license = licenses.unlicense; maintainers = with maintainers; [ henkkalkwater ]; }; } </ins>

feedparser = callPackage ../development/python-modules/feedparser/5.nix { }; <ins> filelock =  callPackage ../development/python-modules/filelock/3.2.nix { }; </ins> flask = callPackage ../development/python-modules/flask/1.nix { }; flask_ldap_login = callPackage ../development/python-modules/flask-ldap-login { };