jiebi/CodeConvo huggingface dataset:
Change:
I am unable to configure the Cipher field of an openvpn connection in networkmanager. The dropdown is greyed out, with the text "OpenVPN cipher lookup failed". This causes problems because OpenVPN defaults to a very weak cipher (BF-CBC) that most modern vpn servers reject. On a system with set and plasma5 installed, use to create an openvpn connection. On the VPN tab of the connection editor, click Advanced..., and then click on the Security tab in the Advanced OpenVPN Properties window that pops up. The top item should read Cipher: and the dropdown will be greyed out with the error message mentioned above. ! System: NixOS 17.03 at Nix version: 1.11.8 Nixpkgs version:
temporary workaround: use to manually edit the property and add to it

Discussion:
<ins> diff --git a/vpn/openvpn/openvpnadvancedwidget.cpp b/vpn/openvpn/openvpnadvancedwidget.cpp index 1dea8142..c8013e22 100644 --- a/vpn/openvpn/openvpnadvancedwidget.cpp +++ b/vpn/openvpn/openvpnadvancedwidget.cpp @@ -72,7 +72,7 @@ OpenVpnAdvancedWidget::OpenVpnAdvancedWidget(const NetworkManager::VpnSetting::P connect(m_ui->cmbProxyType, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &OpenVpnAdvancedWidget::proxyTypeChanged); // start openVPN process and get its cipher list -    const QString openVpnBinary = QStandardPaths::findExecutable("openvpn", QStringList() << "/sbin" << "/usr/sbin"); +    const QString openVpnBinary = "@openvpn@/bin/openvpn"; const QStringList args(QLatin1String("--show-ciphers")); d->openvpnProcess = new KProcess(this); </ins>

, knotifications, kservice, kwallet, kwidgetsaddons, kwindowsystem , kxmlgui, mobile_broadband_provider_info , modemmanager-qt, networkmanager-qt, openconnect, plasma-framework <del> , qca-qt5, qtdeclarative, solid </del> <ins> , qca-qt5, qtdeclarative, solid, openvpn </ins> }: plasmaPackage {

src = ./0001-mobile-broadband-provider-info-path.patch; inherit mobile_broadband_provider_info; }) <ins> (substituteAll { src = ./0002-openvpn-binary-path.patch; inherit openvpn; }) </ins> ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ]; propagatedBuildInputs = [

mobile_broadband_provider_info modemmanager-qt networkmanager-qt openconnect qca-qt5 solid ]; <ins> enableParallelBuilding = true; </ins> }
Change:
With the last , gpu acceleration broke for non-wayland. Error code: I can confirm that I have gpu acceleration working when I pin vscode nixpkgs to which is the parent commit of I also tried the following, linking libglvnd's libGLESv2 into vscode directory. The error changed and terminal rendering completely broke with a black screen: postInstall = '' ln -sf ''; Steps to reproduce the behavior: VScode with the --verbose flag, so it outputs details about the startup and other stuff how it complains about missing library. code --status to see check that it's indeed using software rendering. VSCode uses gpu acceleration. See Please run and paste the result.
In general when you are not loading bundled/vendor libraries, then all the libraries ideally should be loaded from the system (especially if they are related) otherwise you run into problems. Try doing what you did in but also for which is provided by the package. I think also provides for that matter.
Almost works. There is a different error now. says for gpu accel instead of . But terminal rendering is still laggy.
Maybe I should go ahead and do the same for , , too. Edit: I tried linking libvulkan and libvkswiftshader but it didn't change anything. I couldn't figure out where to find a so couldn't try that but I doubt it's related. I also took a look at and tried in , both with and . But it complained about missing in so that didn't work.
Try:
It's still looking for a after either or . doesn't contain neither nor .
Would it make sense to bring bundled back so that it works for everybody? Would bringing it back break
I think if you have the it should continue to work for Wayland, and if you remove the it should work for X11 (it seems to explicitly try to load the bundled library). If you can test that and it does actually work it is probably a good enough solution.

Discussion:
# The credentials should be stored in a secure keychain already, so the benefit of this is questionable # in the first place. rm -rf $out/lib/vscode/resources/app/node_modules/vscode-encrypt <del> # Unbundle libglvnd as VSCode doesn't include libGLESv2.so.2 which is necessary for GPU acceleration rm -rf $out/lib/vscode/libGLESv2.so </del> '') + '' runHook postInstall '';

gappsWrapperArgs+=( # Add gio to PATH so that moving files to the trash works when not using a desktop environment --prefix PATH : ${glib.bin}/bin <del> --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libglvnd ]} </del> --add-flags "''${NIXOS_OZONE_WL:+''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" --add-flags ${lib.escapeShellArg commandLineArgs} )

chmod +x ${vscodeRipgrep} ''); <ins> postFixup = lib.optionalString stdenv.isLinux '' patchelf --add-needed ${libglvnd}/lib/libGLESv2.so.2 $out/lib/vscode/${executableName} ''; </ins> inherit meta; };
Change:
A recent update broke mendeleydesktop for me so I can't start it anymore. System: 17.03.917. (Gorilla) Nix version: nix-env (Nix) 1.11.8 Nixpkgs version: 17.03.917. Channel: nixos
Clone of: (with a temporary fix).
is in my PATH.
Sorry, obviously I didn't read your problem well enough.
Is this still a problem? If so I'll get to fixing it right away :).
Please let me know if doesn't fix it for you!

Discussion:
wrapProgram $out/bin/mendeleydesktop  --add-flags "--unix-distro-build"  <del> ${stdenv.lib.optionalString autorunLinkHandler ''--run "$out/bin/install-mendeley-link-handler.sh $out/bin/mendeleydesktop"''} </del> <ins> ${stdenv.lib.optionalString autorunLinkHandler # ignore errors installing the link handler ''--run "$out/bin/install-mendeley-link-handler.sh $out/bin/mendeleydesktop ||:"''} </ins> # Remove bundled qt bits rm -rf $out/lib/qt
Change:
Project description wayfarer is a screen recorder for GNOME/Wayland/Pipewire Metadata homepage URL: source URL: license: gpl3.0 platforms: linux
are you still working on this?
Yes, this is on my stack.
Would indeed be nice to see
My attempt: edit:fixed

Discussion:
<ins> { lib , stdenv , fetchFromGitHub , blueprint-compiler , desktop-file-utils , gst_all_1 , gtk4 , libpulseaudio , meson , ninja , pipewire , pkg-config , vala , wrapGAppsHook4 }: stdenv.mkDerivation (finalAttrs: { pname = "wayfarer"; version = "1.2.4"; src = fetchFromGitHub { owner = "stronnag"; repo = "wayfarer"; rev = finalAttrs.version; hash = "sha256-Vuiy2SjpK2T1ekbwa/KyIFa1V4BJsnJRIj4b+Yx0VEw="; }; postPatch = '' patchShebangs src/getinfo.sh # OS release information is not available in the sandbox substituteInPlace meson/baseinfo.py  --replace-warn 'platform.freedesktop_os_release()["NAME"]' '"NixOS"' ''; nativeBuildInputs = [ blueprint-compiler desktop-file-utils meson ninja pkg-config vala wrapGAppsHook4 ]; buildInputs = [ gst_all_1.gstreamer gst_all_1.gst-plugins-good gst_all_1.gst-plugins-base gst_all_1.gst-plugins-ugly gtk4 libpulseaudio pipewire ]; meta = with lib; { description = "Screen recorder for GNOME / Wayland / pipewire"; homepage = "https://github.com/stronnag/wayfarer"; license = licenses.gpl3Plus; maintainers = with maintainers; [ fgaz ]; mainProgram = "wayfarer"; platforms = subtractLists platforms.darwin platforms.unix; }; }) </ins>
Change:
Package name: copier Latest released version: 8.1.0 <!-- Search your package here: --- Current version on the unstable channel: 7.0.1 Current version on the stable/release channel: 7.0.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.

Discussion:
python3.pkgs.buildPythonApplication rec { pname = "copier"; <del> version = "7.0.1"; </del> <ins> version = "8.1.0"; </ins> format = "pyproject"; src = fetchFromGitHub {

postFetch = '' rm $out/tests/demo/doc/ma*ana.txt ''; <del> hash = "sha256-i8HqMW36YtRxu/DLJWNiCfw6+ce3Gw8r8VBBo9l9aDI="; </del> <ins> hash = "sha256-PxyXlmEZ9cqZgDWcdeNznEC4F1J4NFMiwy0D7g+YZUs="; </ins> }; POETRY_DYNAMIC_VERSIONING_BYPASS = version;

propagatedBuildInputs = with python3.pkgs; [ colorama <ins> decorator </ins> dunamai <ins> funcy </ins> iteration-utilities jinja2 jinja2-ansible-filters
Change:
is missing a dependency, hence the build fails. Steps to reproduce the behavior: to : end up with this error: should build without any issues - -
If doesn't work, that is a bug but kind:bug and not kind:build-failure so another issue not to mix stuff…

Discussion:
lispLibs = o.lispLibs ++ [ self.mcclim ]; <del> }); </del> <ins> }); cl-charms = super.cl-charms.overrideLispAttrs (o: { nativeLibs = [ pkgs.ncurses ]; }); libusb-ffi = super.libusb-ffi.overrideLispAttrs (o: { nativeLibs = [ pkgs.libusb-compat-0_1 ]; }); cl-fam = super.cl-fam.overrideLispAttrs (o: { nativeLibs = [ pkgs.fam ]; }); jpeg-turbo = super.jpeg-turbo.overrideLispAttrs (o: { nativeLibs = [ pkgs.libjpeg_turbo ]; }); vorbisfile-ffi = super.vorbisfile-ffi.overrideLispAttrs (o: { nativeLibs = [ pkgs.libvorbis ]; }); png = super.png.overrideLispAttrs (o: { nativeLibs = [ pkgs.libpng ]; }); zmq = super.zmq.overrideLispAttrs (o: { nativeLibs = [ pkgs.czmq ]; }); consfigurator = super.consfigurator.overrideLispAttrs (o: { nativeLibs = [ pkgs.acl pkgs.libcap ]; }); cl-gss = super.cl-gss.overrideLispAttrs (o: { nativeLibs = [ pkgs.libkrb5 ]; }); magicffi = super.magicffi.overrideLispAttrs (o: { nativeLibs = [ pkgs.file ]; }); keystone = super.keystone.overrideLispAttrs (o: { nativeLibs = [ pkgs.keystone ]; }); capstone = super.capstone.overrideLispAttrs (o: { nativeLibs = [ pkgs.capstone ]; }); </ins> }); qlpkgs =
Change:
requires in order to store persistent information about the last session and user for the flags. remembers the session I picked. Basically the same as . My hotfix so far: <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --
Pinging as greetd module maintainer. I'm not sure about the best way to fix this. Maybe we can add to the systemd unit of the greed module?

Discussion:
let cfg = config.services.greetd; tty = "tty${toString cfg.vt}"; <del> settingsFormat = pkgs.formats.toml {}; </del> <ins> settingsFormat = pkgs.formats.toml { }; </ins> in { options.services.greetd = {

''; }; <del> vt = mkOption  { </del> <ins> vt = mkOption { </ins> type = types.int; default = 1; description = lib.mdDoc ''

systemd.defaultUnit = "graphical.target"; <ins> # Create directories potentially required by supported greeters # See https://github.com/NixOS/nixpkgs/issues/248323 systemd.tmpfiles.rules = [ "d '/var/cache/tuigreet' - greeter greeter - -" ]; </ins> users.users.greeter = { isSystemUser = true; group = "greeter"; }; <del> users.groups.greeter = {}; </del> <ins> users.groups.greeter = { }; </ins> }; meta.maintainers = with maintainers; [ queezle ];
Change:
The anki package has some broken UI controls in 'preferences'. The core functionality works, but not all of the UX toggles do. Go to 'Tools -Preferences -Review' and try to click any of the checkboxes. Checkboxes should check. This occurs on the 2.1.65 package too: I've only tried to reproduce it on X, I'm unsure if it reproduces under wayland. oh hey that's me Please run and paste the result.
I had a feeling this might be a qt6 or pyqt6 issue since I believe that UX is a pyqt rendered thing. Switching it over to pyqt5 makes those checkboxes work on my machine, and the core functionality (studying) still works. The core functionality is all rust + javascript at this point I think, with basically no QT, so it makes sense this wouldn't impact it. I think the pragmatic thing is to package this with pyqt5 for now, and then once upstream stops supporting pyqt5, we can see if this bug is fixed, and if not properly understand it then.
I've found an even better workaround than using qt5 for this (fyi since you originally reported this). On my machine, if I go to: Tools -Preferences -Appearance (tab) -User Interface (section) -Style and select the 'Style' as 'Native' instead of 'Anki' in the dropdown, then all the other preference controls also start to work. It looks like this bug impacts the 'Anki' style, which is the default. Changing to the 'Native' style seems like an okay workaround for now since the style doesn't even influence that much of anki.
I stumbled upon this issue when bumping the Anki ebuild for Gentoo. In my case, PyQt6 was lacking support for the SVG image format. Compiling PyQt6 with fixed the issue. If you unzip the compiled you'll find several SVG checkbox icons under . Maybe this is the case here, too? Unfortunately, I'm not familiar with Nix, so I can't debug this yet.
Thanks so much for the pointer very much appreciated! Applying the following diff locally did seem to work! Within the anki theme, checkboxes seemed to toggle just fine after that, so it seems likely that's the culprit. I'll open a PR shortly after clicking around a bit more and making sure all seems well with the anki theme Edit: PR over here

Discussion:
buildInputs = [ qt6.qtbase <ins> qt6.qtsvg </ins> ] ++ lib.optional stdenv.isLinux qt6.qtwayland; propagatedBuildInputs = with python3.pkgs; [
Change:
Package name: Citra-Compat-List (not really a package, but part of Citra I guess) <!-- 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 ashley / ivar / joshuafern / sbruder / Note for maintainers: Please tag this issue in your PR.

Discussion:
compat-list = fetchurl { name = "citra-compat-list"; url = "https://web.archive.org/web/20230807103651/https://api.citra-emu.org/gamedb/"; <del> hash = "sha256-Ma1SXgzhyMHa/MeoYuf8b+QYPjhoQEeKklLbGbkHwEk="; </del> <ins> hash = "sha256-J+zqtWde5NgK2QROvGewtXGRAWUTNSKHNMG6iu9m1fU="; </ins> }; in { nightly = qt6Packages.callPackage ./generic.nix rec {
Change:
Package name: -notification-center Latest released version: 2.1.1 <!-- Search your package here: --- Current version on the unstable channel: 2.0.4 Current version on the stable/release channel: <!-- 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.

Discussion:
''; in mkDerivation rec { pname = "deadd-notification-center"; <del> version = "2.0.4"; </del> <ins> version = "2.1.1"; </ins> src = fetchFromGitHub { owner = "phuhl"; repo = "linux_notification_center"; rev = version; <del> hash = "sha256-ascg31HsHeXKhvMNntiRLuZ4+T2+fokfDhZ3c8N/Gzg="; </del> <ins> hash = "sha256-VU9NaQVS0n8hFRjWMvCMkaF5mZ4hpnluV31+/SAK7tU="; </ins> }; isLibrary = false;
Change:
trying to set  to an actual file like so yields the following error cc
Thanks, addressed in linked PR :)

Discussion:
} // optionalAttrs (bssCfg.authentication.wpaPassword != null) { wpa_passphrase = bssCfg.authentication.wpaPassword; } // optionalAttrs (bssCfg.authentication.wpaPskFile != null) { <del> wpa_psk_file = bssCfg.authentication.wpaPskFile; </del> <ins> wpa_psk_file = toString bssCfg.authentication.wpaPskFile; </ins> }; dynamicConfigScripts = let
Change:
Package name: gnomeExtensions.impatience Latest released version: 22 Current version on the unstable channel: 2022-03-26 Current version on the stable/release channel: 2022-03-26 can't find a related PR Currently, packaged version is incompatible with gnome-shell 44 while a compatible version is available on e.g.o. Maybe should be turned into an automatically generated extension. Will investigate on my side, but if any experimented extensions packager chimes in, I wouldn't mind :) Notify maintainers Note for maintainers: Please tag this issue in your PR.

Discussion:
{ lib, stdenv, fetchFromGitHub, glib }: <del> stdenv.mkDerivation rec { </del> <ins> stdenv.mkDerivation { </ins> pname = "gnome-shell-extension-impatience"; <del> version = "unstable-2022-03-26"; </del> <ins> version = "unstable-2023-04-04"; </ins> src = fetchFromGitHub { owner = "timbertson"; repo = "gnome-shell-impatience"; <del> rev = "cf7c0bb8776af9a16e4ae114df0cc65869fb669d"; sha256 = "sha256-z/pZxSEFELtg7kueS2i6gN1+VbN0m4mxc34pOCMak5g="; </del> <ins> rev = "0f961b860040ba0f7bbb51ebbaece7db29787313"; hash = "sha256-c15zZC9xc0nq8NdnP0gjayMmnD8GyHFV8oZaD4LyR7w="; </ins> }; buildInputs = [
Change:
Package name: ArmCord Latest released version: 3.2.3 <!-- Search your package here: --- Current version on the unstable channel: 3.2.1 Current version on the stable/release channel: 3.2.0 Repository: Website: <!-- 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.

Discussion:
stdenv.mkDerivation rec { pname = "armcord"; <del> version = "3.2.1"; </del> <ins> version = "3.2.3"; </ins> src = let

{ x86_64-linux = fetchurl { url = "${base}/v${version}/ArmCord_${version}_amd64.deb"; <del> sha256 = "1cfbypn9kh566s09c1bvxswpc0r11pmsvxlh4dixd5s622ia3h7r"; </del> <ins> hash = "sha256-d8Xv9ecXxkUAIqCS82VKlLNne56hESYvYtSDvNvGul0="; </ins> }; aarch64-linux = fetchurl { url = "${base}/v${version}/ArmCord_${version}_arm64.deb"; <del> sha256 = "0mb6az0mzjz2zal7igigjcigg3phn2ijfw04igpl7q2rg6ha3z00"; </del> <ins> hash = "sha256-yqZ4hl+E4IEEEuKhfyDYY1Lyz5/Nekrf8uxoJr1B8w8="; </ins> }; }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");

meta = with lib; { description = "Lightweight, alternative desktop client for Discord"; <del> homepage = "https://github.com/ArmCord/ArmCord"; </del> <ins> homepage = "https://armcord.app"; downloadPage = "https://github.com/ArmCord/ArmCord"; </ins> sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.osl3; maintainers = with maintainers; [ wrmilling ];
Change:
Should there be an ability to specify UDP port forwarding in the nat module? It would necessitate an extra property in the forwarding list specification, like .
Has done this!

Discussion:
# NAT from external ports to internal ports. ${concatMapStrings (fwd: '' iptables -w -t nat -A nixos-nat-pre  <del> -i ${cfg.externalInterface} -p tcp  </del> <ins> -i ${cfg.externalInterface} -p ${fwd.proto}  </ins> --dport ${builtins.toString fwd.sourcePort}  -j DNAT --to-destination ${fwd.destination} '') cfg.forwardPorts}

destination = mkOption { type = types.str; example = "10.0.0.1:80"; <del> description = "Forward tcp connection to destination ip:port"; </del> <ins> description = "Forward connection to destination ip:port"; }; proto = mkOption { type = types.str; default = "tcp"; example = "udp"; description = "Protocol of forwarded connection"; </ins> }; }; }); default = []; <del> example = [ { sourcePort = 8080; destination = "10.0.0.1:80"; } ]; </del> <ins> example = [ { sourcePort = 8080; destination = "10.0.0.1:80"; proto = "tcp"; } ]; </ins> description = '' List of forwarded ports from the external interface to
Change:
After Zoneminder module partially broke. If you don't set the system won't build. Steps to reproduce the behavior: module. not set option or make it . to build It builds. This happened probably because of a typo: instead of . <!-- 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.

Discussion:
CacheDirectory = dirs cacheDirs; RuntimeDirectory = dirName; ReadWriteDirectories = lib.mkIf useCustomDir [ cfg.storageDir ]; <del> StateDirectory = dirs (lib.optional (!useCustomDir) libDirs); </del> <ins> StateDirectory = dirs (lib.optionals (!useCustomDir) libDirs); </ins> LogsDirectory = dirName; PrivateTmp = true; ProtectSystem = "strict";
Change:
Using xonsh in a environment can override the Python interpreter, which is a problem if the environment is supposed to use a specific one. Then create containing Then inside xonsh, a different Python interpreter is used: Running xonsh should not modify the such that a different executable is used. In the above, when we run we should get the library. Running removes the problematic PATH entry but this is pretty hacky. Please run and paste the result.
I think the recommended way to do this is to add an override to xonsh. See
That's a help but if I launch a nested xonsh by running in xonsh, the extra packages are gone. I've removed these unwanted entries by doing, e.g. in : Everything works fine so far.
since your PR was is this issue still fixed? ETA: looks ok but if anyone still has in their config they should probably remove it before upgrading xonsh or they may get
To make it clear, was reapplied in , while reverting
Oops, it seems we have re-introduced this issue in

Discussion:
let pname = "xonsh"; <del> version = "0.14.4"; </del> <ins> version = "0.15.1"; </ins> in python3.pkgs.buildPythonApplication { inherit pname version;

owner = "xonsh"; repo = "xonsh"; rev = "refs/tags/${version}"; <del> hash = "sha256-7qOEc4RSdOO059LietKnrxY7cy9MfgmfJjdqZZ5ENLU="; </del> <ins> hash = "sha256-mHOCkUGiSSPmkIQ4tgRZIaCTLgnx39SMwug5EIx/jrU="; </ins> }; nativeBuildInputs = with python3.pkgs; [

export HOME=$TMPDIR ''; <ins> dontWrapPythonPrograms = true; </ins> passthru = { shellPath = "/bin/xonsh"; python = python3; # To the wrapper