jiebi/CodeConvo huggingface dataset:
Change:
cgal = cgal_5.override { boost = boost'; }; <del> in mkDerivation rec { </del> <ins> in stdenv.mkDerivation (finalAttrs: { </ins> pname = "gplates"; <del> version = "2.3.0"; </del> <ins> version = "2.4"; </ins> <del> src = fetchurl { name = "gplates_${version}_src.tar.bz2"; url = "https://www.earthbyte.org/download/8421/?uid=b89bb31428"; sha256 = "0lrcmcxc924ixddii8cyglqlwwxvk7f00g4yzbss5i3fgcbh8n96"; </del> <ins> src = fetchFromGitHub { owner = "GPlates"; repo = "GPlates"; rev = "GPlates-${finalAttrs.version}"; hash = "sha256-BRvrqczGguE2z44ZboxeJxgWEA+t02XkzvU+yF4ki6s="; </ins> }; <del> patches = [ ./boost-placeholders.patch ]; </del> nativeBuildInputs = [ cmake doxygen graphviz <ins> wrapQtAppsHook </ins> ]; buildInputs = [

Discussion:
Package name: gplates Latest released version: 2.4 Current version on the unstable channel: 2.3 Current version on the stable/release channel: 2.3 Notify 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:
mv data/org.pitivi.Pitivi-mime.xml data/org.pitivi.Pitivi-mime.xml.in ''; <ins> # Fixes error #     Couldn’t recognize the image file format for file ".../share/pitivi/pixmaps/asset-proxied.svg" # at startup, see https://github.com/NixOS/nixpkgs/issues/56943 # and https://github.com/NixOS/nixpkgs/issues/89691#issuecomment-714398705. strictDeps = false; </ins> passthru = { updateScript = gnome3.updateScript { packageName = "pitivi";

Discussion:
Describe the bug pitivi crashes with gtk errors on startup. To Reproduce Steps to reproduce the behavior: in terminal and press enter the error message: Additional context This happens at least on wayland/sway. Notify maintainers as he did the last change to the packet and no maintainer is defined. Metadata Please run and paste the result. system: host os: multi-user?: sandbox: version: channels(root): nixpkgs: Maintainer information:
I get a different error with nix on Ubuntu on commit : On on Ubuntu it works.
PR in .
Change:
py = python3.override { packageOverrides = self: super: { botocore = super.botocore.overridePythonAttrs (oldAttrs: rec { <del> version = "2.0.0dev112"; </del> <ins> version = "2.0.0dev122"; </ins> src = fetchFromGitHub { owner = "boto"; repo = "botocore"; <del> rev = "221c0aa5dbad42f096e00fed45d2e2071561b1da"; sha256 = "sha256-uJCP3bUK/xACQVG4kMBDIIP+zPjre+uWbqWEC/gBTD4="; </del> <ins> rev = "8dd916418c8193f56226b7772f263b2435eae27a"; sha256 = "sha256-iAZmqnffqrmFuxlQyOpEQzSCcL/hRAjuXKulOXoy4hY="; </ins> }; }); prompt_toolkit = super.prompt_toolkit.overridePythonAttrs (oldAttrs: rec {

Discussion:
Describe the bug build fails on Darwin during test phase. To Reproduce Steps to reproduce the behavior: -build -A awscli2 Expected behavior It builds. Additional context <details<summaryTest failures</summary</detailsNotify maintainers Metadata Maintainer information:
Ran into this issue as well. There must be a way to disable tests as a temporary workaround (living life dangerously, I know), but I don't know how to do that exactly with an override. doesn't work as its using .
You can just revert to a previous commit instead (same version even):
That is really neat, thank you for sharing!
No problem, this is one of the things I love about Nix. Unstable may break sometimes, but it's fairly easy to just override the broken package and roll forward. BTW I got the hash from , then clicking "Source" and looking at the history. There's also .
Change:
<ins> { lib , stdenv , fetchurl , autoPatchelfHook , squashfsTools , makeBinaryWrapper , alsa-lib , atk , at-spi2-atk , cups , gtk3 , libdrm , libsecret , libxkbcommon , mesa , pango , sqlite , systemd , wayland , xorg }: stdenv.mkDerivation rec { pname = "tradingview"; version = "2.6.1"; revision = "44"; src = fetchurl { url = "https://api.snapcraft.io/api/v1/snaps/download/nJdITJ6ZJxdvfu8Ch7n5kH5P99ClzBYV_${revision}.snap"; hash = "sha512-Hd00TWjPskd0QDzpOSwQCuMw20nW4n1xxRkT1rA95pzbXtw7XFxrJdMWkzWDbucuokU2qR2b5tovAHAgw9E0tQ=="; }; nativeBuildInputs = [ autoPatchelfHook makeBinaryWrapper squashfsTools ]; buildInputs = [ stdenv.cc.cc.lib alsa-lib atk at-spi2-atk cups gtk3 libdrm libsecret libxkbcommon mesa pango sqlite systemd wayland xorg.libxcb xorg.libX11 xorg.libXext ]; unpackPhase = '' runHook preUnpack unsquashfs $src runHook postUnpack ''; installPhase = '' runHook preInstall mkdir -p $out cp -r squashfs-root/* $out mkdir -p $out/share/applications mv $out/meta/gui/tradingview.desktop $out/share/applications substituteInPlace $out/share/applications/tradingview.desktop --replace ${SNAP} $out mkdir $out/bin makeBinaryWrapper $out/tradingview $out/bin/tradingview --prefix LD_LIBRARY_PATH : ${ lib.makeLibraryPath buildInputs } runHook postInstall ''; meta = with lib; { description = "Charting platform for traders and investors"; homepage = "https://www.tradingview.com/desktop/"; changelog = "https://www.tradingview.com/support/solutions/43000673888/"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; maintainers = with maintainers; [ prominentretail ]; platforms = [ "x86_64-linux" ]; mainProgram = "tradingview"; }; } </ins>

Discussion:
Project description Desktop application for charting, technical analysis, and trading. It provides traders and investors with a wide range of tools and features to analyze financial markets and make informed trading decisions. TradingView offers real-time and historical market data for various financial instruments such as stocks, cryptocurrencies, forex pairs, commodities, and indices. Users can create interactive charts with a variety of chart types, timeframes, and drawing tools. They can apply technical indicators and overlays to analyze price movements, identify trends, and generate trading signals. Metadata homepage URL: source URL: source URL(2): (Maybe this could help) license: Propietary platforms: linux
Change:
# plasma5Packages maps to the Qt5 packages set that is used to build the plasma5 desktop plasma5Packages = libsForQt515; <del> qt5ct = libsForQt5.callPackage ../tools/misc/qt5ct { }; </del> qtEnv = qt5.env; qt5Full = qt5.full;

Discussion:
qt5ct is not a part of libsForQt5, what means it's not built for other Qt versions (like 5.14) and apps using these Qt versions (e.g. virtualbox) aren't themed Steps to reproduce the behavior: virtualbox and run it VirtualBox is themed ! Maintainer information:
I don't have enough familiarity with the Qt infrastructure to fix this myself.
looks like all you need is to just move qt5ct from all- to qt5-, it will become libsForQt5.qt5ct
Change:
lib.optionals (finalAttrs.pname == "luarocks-nix") [ file nix-prefetch-git ])} } done <del> '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd luarocks  --bash <($out/bin/luarocks completion bash)  --fish <($out/bin/luarocks completion fish)  --zsh <($out/bin/luarocks completion zsh) </del> ''; propagatedBuildInputs = [ zip unzip cmake ];

Discussion:
Another Problem:
patch welcome !
in , the call to generate completion should be moved to before the wrapping. And it should be called for luarocks-admin too thanks for noticing. Let me know if you wanna do it.
If u wanna test
Change:
<ins> diff --git a/packages/flutter_tools/lib/src/flutter_cache.dart b/packages/flutter_tools/lib/src/flutter_cache.dart index 252021cf78..e50ef0885d 100644 --- a/packages/flutter_tools/lib/src/flutter_cache.dart +++ b/packages/flutter_tools/lib/src/flutter_cache.dart @@ -51,14 +51,6 @@ class FlutterCache extends Cache { registerArtifact(IosUsbArtifacts(artifactName, this, platform: platform)); } registerArtifact(FontSubsetArtifacts(this, platform: platform)); -    registerArtifact(PubDependencies( -      logger: logger, -      // flutter root and pub must be lazily initialized to avoid accessing -      // before the version is determined. -      flutterRoot: () => Cache.flutterRoot!, -      pub: () => pub, -      projectFactory: projectFactory, -    )); } } </ins>  No newline at end of file

Discussion:
Package name: flutter Latest released version: 3.24.1 <!-- Search your package here: --- Current version on the unstable channel: 3.22.2 Current version on the stable/release channel: 3.22.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]:
CC
Already being done

Package name: flutter (stable, but also beta) Latest released version: 3.24.0 <!-- Search your package here: --- Current version on the unstable channel: 3.22.2 (beta version: 3.23.0) Current version on the stable/release channel: 3.22.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! --- Notify 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]:
CC has been a blocker for updates since it affects the update script but it is close to being ready.
Hmm, hopefully this can be resolved soon, as it's quite critical for my work.
Yeah, I hope to have it done soon. It's close. Unfortunately, I just don't always have enough time.
Yeah, of course! Take your time :)
Hey, since the blocker is merged, how is it looking with updating the flutter version? :) No worries, if you're too busy right now
I plan on doing that on my next day off work which will be Thursday.
Change:
inherit parinfer-rust; <ins> phpactor = buildVimPluginFrom2Nix { inherit (phpactor) pname src meta version; postPatch = '' substituteInPlace plugin/phpactor.vim  --replace "g:phpactorpath = expand('<sfile>:p:h') . '/..'" "g:phpactorpath = '${phpactor}'" ''; }; </ins> playground = super.playground.overrideAttrs (old: { dependencies = with self; [ # we need the 'query' grammer to make

Discussion:
Project description A Vim plugin for working with PHP. Metadata homepage URL: source URL: license: MIT platforms: unix, linux, darwin, ...
Hey Oliver! Cool to see some familiar faces in the Nix community !
Change:
fi ''} <del> ${optionalString cfg.startGnuPGAgent '' if test -z "$SSH_AUTH_SOCK"; then # Restart this script as a child of the GnuPG agent. exec "${pkgs.gnupg}/bin/gpg-agent"                          --enable-ssh-support --daemon                              --pinentry-program "${pkgs.pinentry}/bin/pinentry-gtk-2"   --write-env-file "$HOME/.gpg-agent-info"                   "$0" "$sessionType" fi ''} </del> # Handle being called by kdm. if test "''${1:0:1}" = /; then eval exec "$1"; fi

Discussion:
Commit from updated the default version of the GNU Privacy Guard a.k.a. GPG to version 2.1. Unfortunately, this update broke the gpg-related tests of , , apparently because there is some subtle change in the behavior of the GPG 1.x compatibility layer (git-annex relies on rather than using gpg2 directly). To remedy that issue, I fixed to use version 2.0 in . This is no good solution, unfortunately, because now people who rely on `gnupg1' end up having a version of GnuPG 2.0 in their profile that cannot talk to the gpg-agent from version 2.1, which happens to be the one that's installed in the system by default. In it's current state, gpg1 does not work reliably in NIxOS. To work around this issue, I would suggest that we revert to version 2.0 until we've had time to figure out what exactly has changed between versions 2.1 and 2.0 and why this affects .
FYI: Another thing I came across, due to a broken clawsmail pgp, was that the handling of gpg-agent differs from version 2.0 . GnuPG 2.1 do not use GPGAGENTINFO anymore. Instead it search for the gpg-agent socket in
For now at least, setting GPGAGENTINFO to $ seems to make claws-mail work.
Change:
<del> { lib, stdenv, fetchurl, enableLargeConfig ? false }: </del> <ins> { lib, stdenv, fetchurl, pkgconfig, libatomic_ops, enableLargeConfig ? false }: </ins> stdenv.mkDerivation rec { <del> name = "boehm-gc-7.2g"; </del> <ins> name = "boehm-gc-7.6.0"; </ins> src = fetchurl { <del> url = http://www.hboehm.info/gc/gc_source/gc-7.2g.tar.gz; sha256 = "0bvw6cc555qg5b7dgcqy3ryiw0wir79dqy0glff3hjmyy7i2jkjq"; </del> <ins> url = http://www.hboehm.info/gc/gc_source/gc-7.6.0.tar.gz; sha256 = "143x7g0d0k6250ai6m2x3l4y352mzizi4wbgrmahxscv2aqjhjm1"; </ins> }; <del> patches = if stdenv.isCygwin then [ ./cygwin.patch ] else null; </del> <ins> buildInputs = [ libatomic_ops ]; nativeBuildInputs = [ pkgconfig ]; </ins> outputs = [ "out" "dev" "doc" ];

Discussion:
Currently there is a patch applies to boehm-gc when building on cygwin: It would be nice if we can update boehm-gc to 7.6 without breaking it on cygwin, but I have no idea how to do this. cc Thank you.
By the way, the current way I build the new version of boehm-gc is . (a workaround for me) It seems that the new version of boehm-gc requires libatomicops to be installed or have its source avaliable before building. The strange thing is have no effect (libatomic_ops still cannot be found when configuring), so I use the latter approach.
It gets found when is : I checked the cygwin patch and at appears to be already applied in the 7.6 branch. However, what's currently confusing me (if I'm looking at it right) is that the latest 7.6.x release doesn't appear to have a fix for this CVE:
The vuln isn't new though, is it? Unless it is, there's no real need to hold a version upgrade back.
Change:
networking.hosts."127.0.0.1" = [ "site1.local" "site2.local" ]; }; }) {} [ <del> "6_1" </del> <ins> "6_1" "6_2" </ins> ]; testScript = ''

Discussion:
Package name: wordpress Latest released version: 6.2 <!-- Search your package here: --- Current version on the unstable channel: 6.1.1 Current version on the stable/release channel: 6.1.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 <!-- 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:
<del> <section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/xinclude" xml:id="sec-prefer-remote-fetch"> <title>prefer-remote-fetch overlay</title> <para> <function>prefer-remote-fetch</function> is an overlay that download sources on remote builder. This is useful when the evaluating machine has a slow upload while the builder can fetch faster directly from the source. To use it, put the following snippet as a new overlay: <programlisting> self: super: (super.prefer-remote-fetch self super) </programlisting> A full configuration example for that sets the overlay up for your own account, could look like this <screen> <prompt>$ </prompt>mkdir ~/.config/nixpkgs/overlays/ <prompt>$ </prompt>cat &gt; ~/.config/nixpkgs/overlays/prefer-remote-fetch.nix &lt;&lt;EOF self: super: super.prefer-remote-fetch self super EOF </screen> </para> </section> </del>

Discussion:
This issue tracks the conversion of from Docbook to CommonMark per . If you intend to work on this conversion, please comment below! here that you intend to work on it. (Please also post if you stop working on it.) a new branch of nixpkgs master. : change to . to . the contents from Docbook to . Follow . Use existing sections for inspiration. from the folder to build the manual. the manual on your computer at after running from folder: it looks good, submit a PR and reference this issue.
I'll work on this.
Change:
-            f.seek(0) -            f.truncate() -            f.write(content.replace(change_set, orig_set)) <del> -    except: -        print("nERROR:nWas unable to turn on bluetooth on boot") </del> <ins> -    except Exception as e: -        print(f"nERROR:nWas unable to turn on bluetooth on bootn{repr(e)}") </ins> - -    # run auto-cpufreq daemon install script -    call("/usr/bin/auto-cpufreq-remove", shell=True)

Discussion:
Describe the bug I believe the auto-cpufreq daemon should start on boot if enabled. To Reproduce auto-cpufreq daemon: . the system. . auto-cpufreq as dead/inactive. Expected behavior auto-cpufreq service should be started on boot. Additional context I was using the unstable service in 20.09 and it worked as expected. In 21.05 stable, the service starts dead/inactive and my system is very slow. I manually start the service and I'm back to the NixOS I know and love. I was able to fix this by adding the following to my configuration: Notify maintainers Metadata Please run and paste the result. system: host os: multi-user?: sandbox: version: channels(pnelson): channels(root): nixpkgs: Maintainer information:
Sorry for being late, should fix this.
I have the exact same issue now, on 23.11.
Same here, also facing this problem on 23.11...
Thought this might be caused due to some false overwrites in the module config, so I decided to try out rewriting the systemd service. Doesn't work either...
For others who might still be hitting this, I thought I was too. When checking the logs I saw that power-profiles-daemon was starting up, causing auto-cpufreq to shut down. I fixed this by adding: From looking at this code, and be kind with me here since I'm a nix beginner, it is .  I think the best action would be to add an assertion to give users a prompt like with tlp. If this looks correct I can open a PR for it
Change:
serviceConfig = { User  = "searx"; Group = "searx"; <del> ExecStart = "${cfg.package}/bin/searx-run"; </del> <ins> ExecStart = lib.getExe cfg.package; </ins> } // optionalAttrs (cfg.environmentFile != null) { EnvironmentFile = builtins.toPath cfg.environmentFile; }; environment = {

Discussion:
The searx service is trying to start and it fails because the actual name is of the executable has been changed to Steps to reproduce the behavior: ... use newest unstable branch ... try to deploy searx service with ... searx service fails to start searx service should start without any issues The default searx package on Nixos is in Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Thanks for reporting, I just encountered this bug as well after I updated to the latest unstable branch. I believe that a general migration from to naming needs to be done to avoid these kind of issues in the future.
Change:
''; }; <ins> tsun = super.tsun.overrideAttrs (oldAttrs: { buildInputs = oldAttrs.buildInputs ++ [ pkgs.makeWrapper ]; postInstall = '' wrapProgram "$out/bin/tsun"  --prefix NODE_PATH : ${self.typescript}/lib/node_modules ''; }); </ins> stf = super.stf.override { meta.broken = since "10"; };

Discussion:
Describe the bug does not start up. To Reproduce Install and run in the terminal. Expected behavior A TypeScript REPL should start up. Additional context It's possible that the peer dependency on TypeScript is not handled properly. Notify maintainers Metadata Please run and paste the result.
I am not sure how to fix this as it is not a dependency of the tsun package, it is defined as a peer dependency and this expression is generated from a simple JSON file. Of course it should be fixable with overriding and specifying typescript as a dependency, but I don't see any other packages that have these kind of overrides, thus I am not sure how to do it for node packages. I know some other generated packages have some overrides that adds missing dependencies/applies patches and things like that. For now you should be able to include both packages (typescript and tsun) to get it to work.
I've tried , but this yields the same error message as above, which I produced with my main , where I have Is there a more idiomatic way of installing , either locally or globally?
Ah, it is a bit confusing, but seems you need nodejs as well, this works for me: It seems without nodejs it won't setup the which is used for the modules to be found.
In this works for me. But when I have all this in my and install a new generation, fails with the same error as before. I've tried having in but then I get after installing from .
It is the that needs to be set, so this would work: I see now that there are other overrides in the so I should update this package with this code there.
The correct fix might also be this: As the reason why it is not included by the autogenerated expression is due to it being part of peerDependencies which is not included by default in the node2nix command.
Change:
preInstall = '' # required for setuptool during install <del> export PYTHONPATH=$out/${python3.sitePackages}:$PYTHONPATH </del> <ins> export PYTHONPATH=$out/${python3Packages.python.sitePackages}:$PYTHONPATH </ins> ''; postInstall = '' mkdir -p $out/bin $out/share

Discussion:
Mentioned in , the bcc package can also be used as from python. This currently doesn't seem to work? If applicable, add screenshots to help explain your problem. Add any other context about the problem here. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
bcc doesn't depend on kernel anymore, so the second half of the comment you linked at isn't required and we can just move the package & add a compat alias. Technically you should already be able to use bcc as by magic'ing the correct site path, but I agree it's better to move it - patch welcome!
Change:
<ins> { lib , buildFHSUserEnv , sparrow-unwrapped }: buildFHSUserEnv { name = "sparrow"; runScript = "${sparrow-unwrapped}/bin/sparrow"; targetPkgs = pkgs: with pkgs; [ sparrow-unwrapped pcsclite ]; multiPkgs = pkgs: with pkgs; [ pcsclite ]; extraInstallCommands = '' mkdir -p $out/share ln -s ${sparrow-unwrapped}/share/applications $out/share ln -s ${sparrow-unwrapped}/share/icons $out/share mkdir -p $out/etc/udev ln -s ${sparrow-unwrapped}/etc/udev/rules.d $out/etc/udev/rules.d ''; meta = sparrow-unwrapped.meta; } </ins>

Discussion:
Steps to reproduce the behavior: sparrow 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. -- Please run and paste the result.
TLDR; This was caused by and is fixed in Upstream bundles a JDK/JRE with sparrow. Our sparrow package does not use the bundled JDK and instead replaces it with a JDK from Nixpkgs. Since the sparrow bundle contains the JDK and the sparrow code in a single JIMAGE, the sparrow package compares the files in the JIMAGE with the files provided by the JDK in Nixpkgs in order to determine which files in the JIMAGE are part of the JDK. Those files are then excluded from the sparrow derivation. When disabled JavaFX by default it changed the output of the aforementioned comparison, leaving behind some files which belong to the JDK as part of the sparrow derivation; The files which are part of JavaFX. This in turn causes the patchelf procedure to fail because the sparrow package is only expected to patch sparrow-specific dependencies, not the JDK.