jiebi/CodeConvo huggingface dataset:
Change:
This seems to have been broken for a while (before at least). <details<summaryBuild log</summary<pre { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/6qjykfvkri219wk15gjijkfjs9ci0588-Python- source root is Python-3.10.0a5 setting SOURCEDATEEPOCH to timestamp of file Python-3.10.0a5/Misc/NEWS { "action": "setPhase", "phase": "patchPhase" } patching sources applying patch /nix/store/345r2zz7pgiyk91j89qlf7mhs95jrv6f-no- patching file applying patch /nix/store/lpfs02z2i2hamz9f50p4bz6v0fs0600j- patching file applying patch /nix/store/9kwzs3pplms8sijf55sdryypzvic4x1s-python-3.x-distutils- patching file patching file Hunk succeeded at 123 (offset -2 lines). Hunk succeeded at 140 (offset -2 lines). Hunk succeeded at 170 (offset -2 lines). Hunk succeeded at 310 (offset -2 lines). patching file Hunk FAILED at 170. Hunk FAILED at 187. Hunk succeeded at 231 (offset 23 lines). 2 out of 3 hunks FAILED -- saving rejects to file patching file Hunk FAILED at 183. 1 out of 3 hunks FAILED -- saving rejects to file patching file Hunk succeeded at 619 (offset 35 lines). </pre</detailsPerhaps and need adjusting to include 3.10? Unfortunately I don’t know much about CPython so I don’t feel confident in diagnosing the exact issue or prescribing a resolution for it. cc

Discussion:
# * https://bugs.python.org/issue35523 # * https://github.com/python/cpython/commit/e6b247c8e524 ./3.7/no-win64-workaround.patch <del> ] ++ optionals (isPy37 || isPy38 || isPy39) [ </del> <ins> ] ++ optionals (pythonAtLeast "3.7") [ </ins> # Fix darwin build https://bugs.python.org/issue34027 ./3.7/darwin-libutil.patch ] ++ optionals (pythonOlder "3.8") [

( if isPy35 then ./3.5/python-3.x-distutils-C++.patch <del> else if isPy37 || isPy38 || isPy39 then </del> <ins> else if pythonAtLeast "3.7" then </ins> ./3.7/python-3.x-distutils-C++.patch else fetchpatch {
Change:
Describe the bug hides clang arguments in a "response file" by default if is true, but ccache does not support this and responds with "no input files" instead. Additional context The following workaround can be used to disable response files in a result , fixing the issue: Notify maintainers Maintainer information:
I've run into this issue as well. Edit: my bad, that doesn't work; we need the env var to be set before the outer layer of stdenv wrapper machinery runs. By the time we're in the ccache wrapper it's too late. It's also not clear to me if this is a bug in or intended behavior (I was not able to find an issue for it upstream) but it's definitely reproducible:

Discussion:
, propagateDoc ? cc != null && cc ? man , extraTools ? [], extraPackages ? [], extraBuildCommands ? "" , nixSupport ? {} <del> , isGNU ? false, isClang ? cc.isClang or false, gnugrep ? null </del> <ins> , isGNU ? false, isClang ? cc.isClang or false, isCcache ? cc.isCcache or false, gnugrep ? null </ins> , buildPackages ? {} , libcxx ? null }:

local dst="$1" local wrapper="$2" export prog="$3" <del> export use_response_file_by_default=${if isClang then "1" else "0"} </del> <ins> export use_response_file_by_default=${if isClang && !isCcache then "1" else "0"} </ins> substituteAll "$wrapper" "$out/bin/$dst" chmod +x "$out/bin/$dst" }

passthru = { isClang = unwrappedCC.isClang or false; isGNU = unwrappedCC.isGNU or false; <ins> isCcache = true; </ins> }; inherit (unwrappedCC) lib; nativeBuildInputs = [ makeWrapper ];
Change:
Describe the bug qtcreator from unstable channel doesn't come with clang plugins even though default value of withClangPlugins is true. This problem doesn't exist in 20.09 channel. To Reproduce Steps to reproduce the behavior: qtcreator from unstable channel. You can look which plugins are loaded from Help -"About Plugins". Expected behavior Clang plugins namely ClangCodeModel, ClangFormat and ClangTools should be loaded. Notify maintainers Metadata system: host os: multi-user?: sandbox: version: channels(ati): nixpkgs: Maintainer information:
I marked this as stale due to inactivity. &rarr;
This problem is still relevant for 21.11

Discussion:
<ins> { stdenv , lib , fetchurl , cmake , pkg-config , ninja , python3 , qtbase , qt5compat , qtdeclarative , qtdoc , qtquick3d , qtquicktimeline , qtserialport , qtsvg , qttools , qtwebengine , qtshadertools , wrapQtAppsHook , yaml-cpp , litehtml , gumbo , llvmPackages , rustc-demangle , elfutils , perf }: stdenv.mkDerivation rec { pname = "qtcreator"; version = "9.0.2"; src = fetchurl { url = "https://download.qt.io/official_releases/${pname}/${lib.versions.majorMinor version}/${version}/qt-creator-opensource-src-${version}.tar.xz"; sha256 = "sha256-7KWMxcoNOXiWlAVCYZzyA/WWLuPIggCBIics23Ifoyg="; }; nativeBuildInputs = [ cmake pkg-config qttools wrapQtAppsHook python3 ninja ]; buildInputs = [ qtbase qtdoc qtsvg qtquick3d qtwebengine qtserialport qtshadertools qt5compat qtdeclarative qtquicktimeline yaml-cpp litehtml gumbo llvmPackages.libclang llvmPackages.llvm rustc-demangle elfutils ]; cmakeFlags = [ # workaround for missing CMAKE_INSTALL_DATAROOTDIR # in pkgs/development/tools/build-managers/cmake/setup-hook.sh "-DCMAKE_INSTALL_DATAROOTDIR=${placeholder "out"}/share" # qtdeclarative in nixpkgs does not provide qmlsc # fix can't find Qt6QmlCompilerPlusPrivate "-DQT_NO_FIND_QMLSC=TRUE" "-DWITH_DOCS=ON" "-DBUILD_DEVELOPER_DOCS=ON" "-DBUILD_QBS=OFF" "-DQTC_CLANG_BUILDMODE_MATCH=ON" "-DCLANGTOOLING_LINK_CLANG_DYLIB=ON" ]; qtWrapperArgs = [ "--set-default PERFPROFILER_PARSER_FILEPATH ${lib.getBin perf}/bin" ]; postInstall = '' substituteInPlace $out/share/applications/org.qt-project.qtcreator.desktop  --replace "Exec=qtcreator" "Exec=$out/bin/qtcreator" ''; meta = with lib; { description = "Cross-platform IDE tailored to the needs of Qt developers"; longDescription = '' Qt Creator is a cross-platform IDE (integrated development environment) tailored to the needs of Qt developers. It includes features such as an advanced code editor, a visual debugger and a GUI designer. ''; homepage = "https://wiki.qt.io/Qt_Creator"; license = licenses.lgpl3Plus; maintainers = [ maintainers.rewine ]; platforms = platforms.linux; }; } </ins>

inherit (linuxPackages) perf; }; <ins> qtcreator-qt6 = qt6Packages.callPackage ../development/tools/qtcreator/qt6.nix { inherit (linuxPackages) perf; stdenv = llvmPackages_14.stdenv; llvmPackages = llvmPackages_14; }; </ins> qxmledit = libsForQt5.callPackage ../applications/editors/qxmledit {} ; r10k = callPackage ../tools/system/r10k { };
Change:
Describe the bug With the recent update (), the derivations fail during on Darwin. This is due to the test framework using , which seems to be present in the Linux stdenv but is not present in the Darwin stdenv. This can be fixed by adding to the of both the derivation and all derivations. Unfortunately I am not able to submit a PR at this time. To Reproduce Steps to reproduce the behavior: Darwin, run Expected behavior It should build 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:

Discussion:
{ lib, stdenv, fetchFromGitHub, bash, makeWrapper, bat # batdiff, batgrep, and batwatch , coreutils <ins> , getconf </ins> , less # batgrep , ripgrep

# Run the library tests as they don't have external dependencies doCheck = true; <ins> checkInputs = lib.optionals stdenv.isDarwin [ getconf ]; </ins> checkPhase = '' runHook preCheck # test list repeats suites. Unique them

dontBuild = true; # we've already built doCheck = true; <ins> checkInputs = lib.optionals stdenv.isDarwin [ getconf ]; </ins> checkPhase = '' runHook preCheck bash ./test.sh --compiled --suite ${name}
Change:
Describe the bug When adding a local directory to spotify client, it always fails due to missing gtk schema(s) To Reproduce Steps to reproduce the behavior: on button Expected behavior Open a file chooser to select which directory to be . Screenshots If applicable, add screenshots to help explain your problem. Additional context Running spotify with flag from console gives me 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 Maintainer information:
I think that this issue is not NixOS specific:
Still seems to be an issue. I'm using flakes so above is not applicable I'm on.
Tail end of strace.
Yep I can confirm that. However, as IvanMalison commented above, the bug might be not by nixos but by upstream.
I'm getting the same issue as OP when clicking the button I also tried this on EndeavourOS with the same version of spotify and there it works flawlessly. So I think this is actually a nixpkgs problem and not something upstream related. Maybe the issue can be reopened?

Discussion:
<del> { fetchurl, lib, stdenv, squashfsTools, xorg, alsa-lib, makeWrapper, openssl, freetype </del> <ins> { fetchurl, lib, stdenv, squashfsTools, xorg, alsa-lib, makeWrapper, wrapGAppsHook, openssl, freetype </ins> , glib, pango, cairo, atk, gdk-pixbuf, gtk3, cups, nspr, nss, libpng, libnotify , libgcrypt, systemd, fontconfig, dbus, expat, ffmpeg, curl, zlib, gnome , at-spi2-atk, at-spi2-core, libpulseaudio, libdrm, mesa, libxkbcommon

sha512 = "dabb55d2ba41f977b6d3f03bfcf147d11785136dd1277efc62011c8371ef25cc04531266bd16608639b9b6a500c1a18a45f44ba7a43e17ab5ac139e36eff7149"; }; <del> nativeBuildInputs = [ makeWrapper squashfsTools ]; </del> <ins> nativeBuildInputs = [ makeWrapper wrapGAppsHook squashfsTools ]; </ins> dontStrip = true; dontPatchELF = true;

runHook postUnpack ''; <ins> # Prevent double wrapping dontWrapGApps = true; </ins> installPhase = '' runHook preInstall

librarypath="${lib.makeLibraryPath deps}:$libdir" wrapProgram $out/share/spotify/spotify  <ins> ''${gappsWrapperArgs[@]}  </ins> --prefix LD_LIBRARY_PATH : "$librarypath"  --prefix PATH : "${gnome.zenity}/bin"
Change:
channel is wedged and cannot advance despite successful Hydra tested builds and completed , probably due to some bug in the channel scripts, but it's not clear. One possibility is that a Nix update caused some of the NAR list files (like ) to be corrupted, but it's not clear why this is blocking the channel from advancing.
Closed by

Discussion:
stdenv.mkDerivation { name = "teamviewer-8.0.17147"; src = fetchurl { <del> url = "http://download.teamviewer.com/download/version_8x/teamviewer_linux_x64.deb"; sha256 = "0s5m15f99rdmspzwx3gb9mqd6jx1bgfm0d6rfd01k9rf7gi7qk0k"; </del> <ins> url = config.teamviewer8.url or "http://download.teamviewer.com/download/version_8x/teamviewer_linux_x64.deb"; sha256 = config.teamviewer8.sha256 or "0s5m15f99rdmspzwx3gb9mqd6jx1bgfm0d6rfd01k9rf7gi7qk0k"; </ins> }; buildInputs = [ makeWrapper patchelf ];

{ stdenv, fetchurl, libX11, libXtst, libXext, libXdamage, libXfixes, wineUnstable, makeWrapper, libXau <del> , bash, patchelf }: </del> <ins> , bash, patchelf, config }: </ins> let topath = "${wineUnstable}/bin";

stdenv.mkDerivation { name = "teamviewer-9.0.32150"; src = fetchurl { <del> url = "http://download.teamviewer.com/download/version_9x/teamviewer_linux_x64.deb"; sha256 = "0wpwbx0xzn3vlzavszxhfvfcaj3pijlpwvlz5m7w19mb6cky3q13"; </del> <ins> url = config.teamviewer9.url or "http://download.teamviewer.com/download/version_9x/teamviewer_linux_x64.deb"; sha256 = config.teamviewer9.sha256 or "0wpwbx0xzn3vlzavszxhfvfcaj3pijlpwvlz5m7w19mb6cky3q13"; </ins> }; buildInputs = [ makeWrapper patchelf ];
Change:
Describe the bug on current master is broken, but previous version was working. Breakage introduced in , partial fix in To Reproduce Expected behavior Successfully install freeimage. Actual behavior Additional context See comments from onwards. Notify maintainers cc Metadata system: host os: multi-user?: sandbox: version: channels(uri): nixpkgs:

Discussion:
preInstall = '' mkdir -p $INCDIR $INSTALLDIR <ins> '' # Workaround for Makefiles.osx not using ?= + lib.optionalString stdenv.isDarwin '' makeFlagsArray+=( "INCDIR=$INCDIR" "INSTALLDIR=$INSTALLDIR" ) </ins> ''; postInstall = lib.optionalString (!stdenv.isDarwin) ''
Change:
Describe the bug Running gives the following error message: To Reproduce Steps to reproduce the behavior: . . Notify maintainers Metadata
I marked this as stale due to inactivity. &rarr;
This is still an issue.
I can confirm the bug.

Discussion:
githubId = 2946283; name = "Brian Cohen"; }; <del> novoxudonoser = { </del> <ins> novoxd = { </ins> email = "radnovox@gmail.com"; <del> github = "novoxudonoser"; </del> <ins> github = "novoxd"; </ins> githubId = 6052922; name = "Kirill Struokov"; };

<del> {lib, python3Packages, fetchpatch, gettext, qt5, fetchFromGitHub}: </del> <ins> {lib, python3Packages, gettext, qt5, fetchFromGitHub}: </ins> python3Packages.buildPythonApplication rec { pname = "dupeguru"; <del> version = "4.0.4"; </del> <ins> version = "4.1.1"; </ins> format = "other";

owner = "arsenetar"; repo = "dupeguru"; rev = version; <del> sha256 = "0ma4f1c6vmpz8gi4sdy43x1ik7wh42wayvk1iq520d3i714kfcpy"; </del> <ins> sha256 = "sha256-0lJocrNQHTrpslbPE6xjZDWhzza8cAt2js35LvicZKg="; </ins> fetchSubmodules = true; }; <del> patches = [ # already merged to master, remove next version bump (fetchpatch { name = "remove-m-from-so-var.patch"; url = "https://github.com/arsenetar/dupeguru/commit/bd0f53bcbe463c48fe141b73af13542da36d82ba.patch"; sha256 = "07iisz8kcr7v8lb21inzj1avlpfhh9k8wcivbd33w49cr3mmnr26"; }) ]; </del> nativeBuildInputs = [ gettext python3Packages.pyqt5

pythonPath = with python3Packages; [ pyqt5 <ins> pyqt5.pyqt5_sip </ins> send2trash sphinx polib

"NO_VENV=1" ]; <del> # TODO: package pytest-monkeyplus for running tests # https://github.com/NixOS/nixpkgs/pull/75054/files#r357690123 doCheck = false; </del> <ins> checkInputs = with python3Packages; [ pytestCheckHook ]; preCheck = '' export HOME="$(mktemp -d)" ''; </ins> # Avoid double wrapping Python programs. dontWrapQtApps = true;

homepage = "https://github.com/arsenetar/dupeguru"; license = licenses.bsd3; platforms = platforms.unix; <del> maintainers = [ maintainers.novoxudonoser ]; </del> <ins> maintainers = [ maintainers.novoxd ]; </ins> }; }

]; passthru = { <del> inherit sip; </del> <ins> inherit sip pyqt5_sip; </ins> multimediaEnabled = withMultimedia; webKitEnabled = withWebKit; WebSocketsEnabled = withWebSockets;
Change:
Describe the bug headers are set in with appendHttpConfig or extraConfig you only can add the same header again with another value but you can not replace the headers set in Expected behavior have an option to enable default headers and disable them to set them yourself Additional context specially for cache or content-security-policy headers annoying Notify maintainers
What about ?
might work but creates the need to check this options on every update.
What needs to be checked every update? Why?
i mean if there is a need for changes in this section.
Ah sorry, yes I understand.
Perhaps we can set headers in an RFC42-style way such as: This would be an addition that should be in the -module itself though. Unfortunately I already have way too much other todos right now, so I don't really want to start another (IMHO) non-trivial task here, so feel free to take over :)

Discussion:
The nextcloud-occ program preconfigured to target this Nextcloud instance. ''; }; <ins> nginx.recommendedHttpHeaders = mkOption { type = types.bool; default = true; description = "Enable additional recommended HTTP response headers"; }; </ins> }; config = mkIf cfg.enable (mkMerge [

}; extraConfig = '' index index.php index.html /index.php$request_uri; <del> add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain-Policies none; add_header X-Frame-Options sameorigin; add_header Referrer-Policy no-referrer; add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always; </del> <ins> ${optionalString (cfg.nginx.recommendedHttpHeaders) '' add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain-Policies none; add_header X-Frame-Options sameorigin; add_header Referrer-Policy no-referrer; add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always; ''} </ins> client_max_body_size ${cfg.maxUploadSize}; fastcgi_buffers 64 4K; fastcgi_hide_header X-Powered-By;
Change:
Describe the bug On my NixOS 20.09, i decided to install from , then I removed it, and tried to reinstall from . However, now i cannot install it from either channel, I get: I tried collecting garbage, rebooting, and I also did but nothing helps. To Reproduce Steps to reproduce the behavior: me, this fails: Expected behavior Should install Zoom. <!-- Screenshots --Additional context Latest Zoom from stable channel was working until I first installed the version from and then removed it. Notify maintainers Metadata Maintainer information:
This was broken with one of the recent channel updates:
Sorry about that. Fix should work from .
Fixed, thanks.

Discussion:
, atk , cairo , dbus <del> , dpkg </del> , libGL , fontconfig , freetype

version = "5.6.16775.0418"; srcs = { x86_64-linux = fetchurl { <del> url = "https://zoom.us/client/${version}/zoom_amd64.deb"; sha256 = "1fmzwxq8jv5k1b2kvg1ij9g6cdp1hladd8vm3cxzd8fywdjcndim"; </del> <ins> url = "https://zoom.us/client/${version}/zoom_x86_64.pkg.tar.xz"; sha256 = "twtxzniojgyLTx6Kda8Ej96uyw2JQB/jIhLdTgTqpCo="; </ins> }; }; <del> dontUnpack = true; </del> libs = lib.makeLibraryPath ([ # $ LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH:$PWD ldd zoom | grep 'not found'

xorg.libXtst ] ++ lib.optional (pulseaudioSupport) libpulseaudio); <del> in stdenv.mkDerivation { name = "zoom-${version}"; </del> <ins> in stdenv.mkDerivation rec { pname = "zoom"; inherit version; src = srcs.${stdenv.hostPlatform.system}; dontUnpack = true; </ins> nativeBuildInputs = [ <del> dpkg </del> makeWrapper ]; <del> unpackCmd = '' mkdir out dpkg -x $curSrc out ''; </del> installPhase = '' runHook preInstall mkdir $out <del> mv usr/* $out/ mv opt $out/ </del> <ins> tar -C $out -xf ${src} mv $out/usr/* $out/ </ins> runHook postInstall '';
Change:
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:

Discussion:
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

config = mkIf cfg.enable { <del> environment.etc."sshguard.conf".text = 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 '' BACKEND="${pkgs.sshguard}/libexec/${backend}" LOGREADER="LANG=C ${pkgs.systemd}/bin/journalctl ${args}" ''; </del> <ins> environment.etc."sshguard.conf".source = configFile; </ins> systemd.services.sshguard = { description = "SSHGuard brute-force attacks protection system";

after = [ "network.target" ]; partOf = optional config.networking.firewall.enable "firewall.service"; <ins> restartTriggers = [ configFile ]; </ins> path = with pkgs; if config.networking.nftables.enable then [ nftables iproute2 systemd ] else [ iptables ipset iproute2 systemd ];
Change:
, CVSSv3=7.5 (nixos-20.09) Scanned versions: nixos-20.09: . Cc Cc

Discussion:
karchive kconfig kcrash kdbusaddons kdeclarative kio kirigami2 kitemmodels knewstuff kwindowsystem kxmlgui plasma-framework ]; <ins> meta.knownVulnerabilities = [ "https://kde.org/info/security/advisory-20210310-1.txt" ]; </ins> }
Change:
, CVSSv3=5.5 (nixos-unstable) Scanned versions: nixos-unstable: . Cc

Discussion:
stdenv.mkDerivation rec { pname = "jasper"; <del> version = "2.0.28"; </del> <ins> version = "2.0.32"; </ins> src = fetchFromGitHub { owner = "jasper-software"; repo = pname; rev = "version-${version}"; <del> hash = "sha256-f3UG5w8GbwZcsFBaQN6v8kdEkKIGgizcAgaVZtKwS78="; </del> <ins> hash = "sha256-Uwgtex0MWC/pOmEr8itHMIa4wxd97c/tsTzcLgV8D0I="; </ins> }; nativeBuildInputs = [

stdenv.mkDerivation rec { pname = "libnbd"; <del> version = "1.7.5"; </del> <ins> version = "1.7.7"; </ins> src = fetchurl { url = "https://download.libguestfs.org/libnbd/${lib.versions.majorMinor version}-development/${pname}-${version}.tar.gz"; <del> sha256 = "sha256-UxQx/wnKnCB3uC9xEfq1F0l3kHAJjp9GzbeRugKyFsk="; </del> <ins> hash = "sha256-fNeu1qx+EbKitv2I8nJAmGMF5jxN2RZGPR/LJYnOjG8="; </ins> }; nativeBuildInputs = [