jiebi/CodeConvo huggingface dataset:
Change:
<ins> From 6f544a5bd43446859754cb80e012af933b843db9 Mon Sep 17 00:00:00 2001 From: Florian Klink <flokli@flokli.de> Date: Wed, 3 Jun 2020 22:05:34 +0200 Subject: [PATCH] clipboard: make which substitutable This is used to detect the presence of xclip and other clipboard handling tools. --- bpython/clipboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bpython/clipboard.py b/bpython/clipboard.py index aee429b..f346429 100644 --- a/bpython/clipboard.py +++ b/bpython/clipboard.py @@ -58,7 +58,7 @@ class OSXClipboard(object): def command_exists(command): process = subprocess.Popen( -        ["which", command], stderr=subprocess.STDOUT, stdout=subprocess.PIPE +        ["@which@", command], stderr=subprocess.STDOUT, stdout=subprocess.PIPE ) process.communicate() -- 2.26.2 </ins>

Discussion:
09.
We should patch the call of in using . cc maintainer
it also tries to also call out to at least xclip (on Linux), pbcopy (on Darwin), and less - should we patch these in, too?
I don't think so as bpython shouldn't depend on X.
On Linux it should have in its dependencies. Otherwise is still going to fail. The whole point of being able to run something via is that all dependencies are in, and if you have to know about random run-time dependencies that are not obvious, some advantages are nullified.
However, the whole point of bpython calling which is to make the dependency on xclip optional. It will hence not fail without it.
Fair point, but I prefer to have programs that are fully featured by default. People that run on limited platforms can make a more complicated expression optimized for their use cases.
If you do the PR, I won't reject patching in the path to xclip.
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly: for maintainers and people that previously touched the related code and @ mention them in a comment. on the . on the on .
I prefered not dragging in and all its dependencies by default and opened On systems with in , this should do the right thing - PTAL.
Change:
meta = with lib; { description = "CLI calendar application"; homepage = "http://lostpackets.de/khal/"; <ins> changelog = "https://github.com/pimutils/khal/releases/tag/v${version}"; </ins> license = licenses.mit; maintainers = with maintainers; [ gebner ]; };

Discussion:
Steps to reproduce the behavior: This might be broken since but I did not bisect. maintainer: author of : Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
I can confirm that broke the test. One solution would be to override the urwid version khal uses. I also suggest opening an upstream issue.
Change:
hyppo = callPackage ../development/python-modules/hyppo { }; <ins> hyrule = callPackage ../development/python-modules/hyrule { }; </ins> i2c-tools = callPackage ../development/python-modules/i2c-tools { inherit (pkgs) i2c-tools; };

Discussion:
The one in is more up-to-date (1.0a3 vs 1.0a1, current version is 1.0a4 though), . The second one is the oldest though. Not sure what is the best solution here. It doesn't seem to make much sense to have Hy being considered a interpreter instead of a Python package (it even has attribute that AFAIK isn't any different from simply from using with and other dependencies as ). But I don't have sufficient context here. We probably need to merge one in another and delete the other derivation. Steps to reproduce the behavior: We should only have one Hy package. N/A N/A <!-- 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.
Created a PR removing and keeping , while also making has the same parameter for backwards compatibility:
Change:
cp -r $releaseDir/osx/Alacritty.app $out/Applications/Alacritty.app '' else '' install -D extra/linux/Alacritty.desktop -t $out/share/applications/ <del> install -D extra/logo/alacritty-term.svg $out/share/icons/hicolor/scalable/apps/Alacritty.svg </del> <ins> install -D extra/logo/compat/alacritty-term.svg $out/share/icons/hicolor/scalable/apps/Alacritty.svg </ins> # patchelf generates an ELF that binutils' "strip" doesn't like: #    strip: not enough room for program headers, try linking with -N

Discussion:
Describe the bug KDE has trouble with some SVGs, particularly the one bundled in alacritty. To Reproduce Steps to reproduce the behavior: alacritty Expected behavior The icon was properly rendered. Screenshots See picture of gwenview vs. inkscape vs icon in my taskbar. ! Additional context It seems alacritty bundles a png for KDE, as well as a high compat svg, I'm currently trying to make an overlay to fix this. See:
Change:
<del> { stdenv, lib, fetchgit, cmake, pkgconfig, git , qt5, openal, glew, vulkan-loader, libpng, ffmpeg, libevdev, python27 </del> <ins> { mkDerivation, lib, fetchgit, cmake, pkgconfig, git , qtbase, qtquickcontrols, openal, glew, vulkan-loader, libpng, ffmpeg, libevdev, python3 </ins> , pulseaudioSupport ? true, libpulseaudio , waylandSupport ? true, wayland , alsaSupport ? true, alsaLib }: let <del> majorVersion = "0.0.6"; gitVersion = "8187-790962425"; # echo $(git rev-list HEAD --count)-$(git rev-parse --short HEAD) </del> <ins> majorVersion = "0.0.8"; gitVersion = "9300-341fdf7eb"; # echo $(git rev-list HEAD --count)-$(git rev-parse --short HEAD) </ins> in <del> stdenv.mkDerivation { </del> <ins> mkDerivation { </ins> pname = "rpcs3"; version = "${majorVersion}-${gitVersion}"; src = fetchgit { url = "https://github.com/RPCS3/rpcs3"; <del> rev = "790962425cfb893529f72b3ef0dd1424fcc42973"; sha256 = "154ys29b9xdws3bp4b7rb3kc0h9hd49g2yf3z9268cdq8aclahaa"; </del> <ins> rev = "341fdf7eb14763fd06e2eab9a4b2b8f1adf9fdbd"; sha256 = "1qx97zkkjl6bmv5rhfyjqynbz0v8h40b2wxqnl59g287wj0yk3y1"; </ins> }; preConfigure = ''

Discussion:
Describe the bug trying to launch (a Play Station 3 emulator) in a terminal tells you To Reproduce Steps to reproduce the behavior: Expected behavior I expect the emulator to start and show the window Metadata Maintainer information:
cc
Change:
''; checkPhase = '' <del> HOME=$(mktemp -d) nosetests </del> <ins> HOME=$(mktemp -d) nosetests ${lib.optionalString stdenv.isDarwin "--exclude=test_set_external_modification"} </ins> ''; meta = with stdenv.lib; {

Discussion:
The tests for python27Packages.jinja2 fail and thereby the derivation fails to evaluate. (Full log below) I'm crosscompiling an aarch64 sd image with . I'm crosscompiling aarch64 with nixpkgs .
I had the same issue too, this fixes it for me.
Fixed by
Change:
}; in <del> stdenv.mkDerivation rec { </del> <ins> stdenv.mkDerivation { </ins> pname = "fritzing"; <del> version = "1.0.1"; </del> <ins> version = "1.0.2"; </ins> src = fetchFromGitHub { <del> owner = pname; </del> <ins> owner = "fritzing"; </ins> repo = "fritzing-app"; <del> rev = "8f5f1373835050ce014299c78d91c24beea9b633"; hash = "sha256-jLVNzSh2KwXpi3begtp/53sdBmQQbCnKMCm2p770etg="; </del> <ins> rev = "dbdbe34c843677df721c7b3fc3e32c0f737e7e95"; hash = "sha256-Xi5sPU2RGkqh7T+EOvwxJJKKYDhJfccyEZ8LBBTb2s4="; </ins> }; <del> patches = [ # Fix error caused by implicit call (fetchpatch { url = "https://aur.archlinux.org/cgit/aur.git/plain/0003-ParseResult-operator-bool-in-explicit.patch?h=fritzing&id=b2c79b55f0a2811e80bb1136b1e021fbc56937c9"; hash = "sha256-9HdcNqLHEB0HQbF7AaTdUIJUbafwsRKPA+wfF4g8veU="; }) ]; </del> nativeBuildInputs = [ qmake pkg-config qttools wrapQtAppsHook ]; buildInputs = [ qtbase

Discussion:
Package name: fritzing Latest released version: 1.0.1 (not tagged, it appears to be ) <!-- Search your package here: --- Current version on the unstable channel: unstable-2022-07-01 Current version on the stable/release channel: unstable-2022-07-01 <!-- 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]:
Thanks! Updated to in
Change:
<ins> { lib, stdenv, fetchFromGitHub, fetchurl, cmake, codec2 }: let dataVersion = "191005_v1.0"; data = fetchurl { url = "http://rowetel.com/downloads/deep/lpcnet_${dataVersion}.tgz"; sha256 = "1j1695hm2pg6ri611f9kr3spm4yxvpikws55z9zxizai8y94152h"; }; in stdenv.mkDerivation rec { pname = "lpcnetfreedv"; version = "unstable-2021-06-29"; src = fetchFromGitHub { owner = "drowe67"; repo = "LPCNet"; rev = "0dc5935bbf49ff3ba3c9654cc2f802838ebbaead"; sha256 = "0r6488z40fkar11ync8achpg5l6qz7y7cbh7cs3b3w4fsxn58q9i"; }; nativeBuildInputs = [ cmake ]; buildInputs = [ codec2 ]; postPatch = '' mkdir build ln -s ${data} build/lpcnet_${dataVersion}.tgz ''; meta = with lib; { homepage = "https://freedv.org/"; description = "Experimental Neural Net speech coding for FreeDV"; license = licenses.bsd3; maintainers = with maintainers; [ mvs ]; }; } </ins>

Discussion:
Project description Codec2 GUI for ham radio Metadata homepage URL: source URL: license: lgpl 2.1 platforms: unix, linux, darwin
Thanks!
Change:
]; nativeBuildInputs = [ <ins> wrapGAppsHook </ins> pkg-config ];

Discussion:
(FreeFileSync:): GLib-GIO-ERROR **: 04:17:37.147: No GSettings schemas are installed on the system zsh: trace trap (core dumped) FreeFileSync Steps to reproduce the behavior: on browse Opens file picker. Should be possible to fix this with wrapGAppsHook. cf. <!-- 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.
Does adding to work for you?
Yes
How does one add this in their file? Do we just add pkgs.wrapGAppsHook into our environment.systempackages?
No, it's not supposed to be used like that. You can try adding gtk3 but no guarantees because issues like this should be fixed properly.
Change:
<del> { pkgs, fetchurl, stdenv, gtk3, udev, desktop_file_utils, shared_mime_info , intltool, pkgconfig, makeWrapper, ffmpegthumbnailer, jmtpfs, ifuse, lsof, udisks }: </del> <ins> { pkgs, fetchurl, stdenv, gtk3, udev, desktop_file_utils, shared_mime_info , intltool, pkgconfig, makeWrapper, ffmpegthumbnailer, jmtpfs, ifuse, lsof, udisks, hicolor_icon_theme, adwaita-icon-theme }: </ins> stdenv.mkDerivation rec { name = "spacefm-${version}";

Discussion:
I installed spacefm on nixos-unstable channel. I observed a couple of problems: of the program icons are missing. do not work. I tried view -preferences, click "show thumbnails" asked to edit /etc/spacefm and said it was going to ask for a root password. After that thumbnails still did not work but the checkbox shows checked.
Here is a log
Adding as dependencies, fixes the icon warnings. Leaving the only warning on startup as:
Turning on the at-spi2-core service fixes the accessibility warning.
This looks relevant to
Is this issue fixed by ?
Unfortunately, no. I didn't figure out how to fix the thumbnailing.
On my system, it is not coming up with the correct mime-type for a .jpg file, so that might be why the thumbnails are not working.
I haven't tried, but I guess the solution I have purposed for should also work here.
The mime problem might be fixed by .
And the thumbnailing issue does seem same as in . (I don't know a good solution though.)
Are these issues still relevant? Also see my recent which should improve the mime-type situation.
I'm not sure, I stopped using spacefm. I'll close this.
Thumbnails aren’t working for me at all, for anything. I have the “show thumbnails” option checked. I’m using SpaceFM 1.0.5 in Ubuntu MATE 18.04 LTS. (note: I originally posted this at , whoops)
Change:
<ins> import ./make-test-python.nix ({ pkgs, lib, ...} : { name = "gnome-flashback"; meta = with lib; { maintainers = teams.gnome.members ++ [ maintainers.chpatrick ]; }; nodes.machine = { nodes, ... }: let user = nodes.machine.config.users.users.alice; in { imports = [ ./common/user-account.nix ]; services.xserver.enable = true; services.xserver.displayManager = { gdm.enable = true; gdm.debug = true; autoLogin = { enable = true; user = user.name; }; }; services.xserver.desktopManager.gnome.enable = true; services.xserver.desktopManager.gnome.debug = true; services.xserver.desktopManager.gnome.flashback.enableMetacity = true; services.xserver.displayManager.defaultSession = "gnome-flashback-metacity"; }; testScript = { nodes, ... }: let user = nodes.machine.config.users.users.alice; uid = toString user.uid; xauthority = "/run/user/${uid}/gdm/Xauthority"; in '' with subtest("Login to GNOME Flashback with GDM"): machine.wait_for_x() # Wait for alice to be logged in" machine.wait_for_unit("default.target", "${user.name}") machine.wait_for_file("${xauthority}") machine.succeed("xauth merge ${xauthority}") # Check that logging in has given the user ownership of devices assert "alice" in machine.succeed("getfacl -p /dev/snd/timer") with subtest("Wait for Metacity"): machine.wait_until_succeeds( "pgrep metacity" ) machine.sleep(20) machine.screenshot("screen") ''; }) </ins>

Discussion:
I just upgraded to nixos 21.11, and gnome-flashback core dumps on login. Steps to reproduce the behavior: using "Gnome Flashback (Metacity)" to witness the coredump Coredump: If I had to guess, the first stack trace seem to blame: The other are just waiting on stuff. I tried to get debug symbols using the instructions in , but it does not seem to work. Please run and paste the result.
By the way, same thing on unstable.
Do you mean you tried adding the following to your configuration, tried logging into a Flashback session and then looked at the appropriate trace by and then entered ? What specificity does not work?

Describe the bug Admittedly, I don't believe I ever tested the session when working on Then I realized our base testing lacks any coverage for this particular session, and we should be testing this.
cc
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly: for maintainers and people that previously touched the related code and @ mention them in a comment. on the . 3. Ask on the on .
Change:
<del> { lib , aiohttp , beautifulsoup4 , buildPythonPackage , fetchFromGitHub , pkce , poetry-core , pythonOlder }: buildPythonPackage rec { pname = "pymyq"; version = "3.1.13"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "Python-MyQ"; repo = "Python-MyQ"; rev = "refs/tags/v${version}"; hash = "sha256-kW03swRXZdkh45I/up/FIxv0WGBRqTlDt1X71Ow/hrg="; }; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ aiohttp beautifulsoup4 pkce ]; # Project has no tests doCheck = false; pythonImportsCheck = [ "pymyq" ]; meta = with lib; { description = "Python wrapper for MyQ API"; homepage = "https://github.com/Python-MyQ/Python-MyQ"; changelog = "https://github.com/Python-MyQ/Python-MyQ/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; } </del>

Discussion:
The home-assistant component currently declares that it's missing the input However the package actually exists, it's just called . This appears to be the old name of the package, it looks as though it got renamed at some point, although the nixpkgs packge for it wasn't updated for the name change.
Note that merely setting restores the component's functionality.
Change:
homepage    = "https://github.com/Compass/compass"; license     = with licenses; mit; maintainers = with maintainers; [ offline manveru nicknovitski ]; <ins> mainProgram = "compass"; </ins> platforms   = platforms.unix; }; }

Discussion:
After building , I tried to run it, but got an error (see Screenshots). Steps to reproduce the behavior: nixpkgs repository, run Successful execution 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.
Change:
}; }; <ins> FileFcntlLock = buildPerlPackage { pname = "File-FcntlLock"; version = "0.22"; src = fetchurl { url = "mirror://cpan/authors/id/J/JT/JTT/File-FcntlLock-0.22.tar.gz"; hash = "sha256-mpq7Lv/5Orc3QaEo0/cA5SUnNUbBXQTnxRxwSrCdvN8="; }; meta = { description = "File locking with fcntl(2)"; license = with lib.licenses; [ artistic1 ]; maintainers = with maintainers; [ ajs124 das_j ]; }; }; </ins> FileGrep = buildPerlPackage { pname = "File-Grep"; version = "0.02";

Discussion:
Exim 4.97.1 has been released to fix CVE-2023-. This will also need a backport to the stable channel. Package name: exim Latest released version: 4.97.1 Current version on the unstable channel: 4.96.2 (vulnerable Current version on the stable/release channel: 4.96.2 (vulnerable) 4.96: 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:
{ stdenv, lib, fetchFromGitHub, pkg-config, cmake, wrapQtAppsHook <del> , libzip, boost, fftw, qtbase, qtwayland, qtsvg, libusb1 </del> <ins> , libzip, boost, fftw, libusb1, qtbase, qtsvg, qtwayland </ins> , python3, desktopToDarwinBundle }: stdenv.mkDerivation rec { pname = "dsview"; <del> version = "1.3.1"; </del> <ins> version = "1.3.2"; </ins> src = fetchFromGitHub { owner = "DreamSourceLab"; repo = "DSView"; rev = "v${version}"; <del> sha256 = "sha256-LwrlB+Nwq34YjwGmnbUWS3W//ZHr8Do2Wf2te+2oBeI="; </del> <ins> sha256 = "sha256-d/TfCuJzAM0WObOiBhgfsTirlvdROrlCm+oL1cqUrIs="; </ins> }; patches = [

Discussion:
Decoders fail to load due to . Steps to reproduce the behavior: Working Module Imports (no ) Working decoders Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Can you check if the above PR fixes the issue. I'm not able to test it right now as I don't have access to a DSLogic device ATM.
I'm unable to test the PR ATM, but the issue didn't require any device to be attached. Just install and run DSView as per bug report.
Ok just running and playing around did work for me after the update.
Hey, I checked this on my box, and I don't seem to be able to reproduce this issue, decoders seem to work for me when trying the demo device.
Change:
<ins> --- a/src/macdeployqt/shared/shared.cpp +++ b/src/macdeployqt/shared/shared.cpp @@ -1241,6 +1241,12 @@ bool deployQmlImports(const QString &appBundlePath, DeploymentInfo deploymentInf if (!QFile(qmlImportScannerPath).exists()) qmlImportScannerPath = QCoreApplication::applicationDirPath() + "/qmlimportscanner"; +#ifdef NIXPKGS_QMLIMPORTSCANNER +    // Fallback: Nixpkgs hardcoded path +    if (!QFile(qmlImportScannerPath).exists()) +        qmlImportScannerPath = NIXPKGS_QMLIMPORTSCANNER; +#endif + // Verify that we found a qmlimportscanner binary if (!QFile(qmlImportScannerPath).exists()) { LogError() << "qmlimportscanner not found at" << qmlImportScannerPath; </ins>

Discussion:
We are currently stuck on qt 5.11 on darwin/macOS. To get things consistent, this should update to qt 5.12 (or even 5.13) soon. Please run and paste the results.
If qt512 builds on darwin we should change the default version:
is currently broken:
Fixed in

When running the provided by the package, it complains about not finding the tool, which is provided by . I have not found a suitable workaround, since it seems like the location of the scanner is hardcoded inside Invoke on a project using Qt. How to use this tool is explained here: Please run and paste the results. system: host os: multi-user?: sandbox: version: channels(raskolnikov): nixpkgs:
The error is as follows:
Hi I tried withyour latestchanges from . The fact that Qt 5.12 now works on Darwin again is great news! However, this issue seems to not be resolved. Now the does not bail out inmmediately as it did before. It does indeed do something for a while, but then later I get: Maybe there is some other part of the code where it is missing the path correction? Thanks a lot!
My bad, I was actually using the old one by mistake... I am getting new errors though: I will investigate...
I think I found the issue. The problem is this line: is returning , which is incorrect. I think lines 1258-1260 can be discarded altogether since without the tool is still correctly using , which is a better way of passing the import paths, since inside Nix we actually need multiple import paths anyways due to the modularized Qt installation. Would you be happy to extend the patch with such a modification?
Ok... I have further investigated and I was wrong... One must indeed pass to to really make it work. One can indeed pass multiple times, and probably we shall do it for every entry in . Probably this can be patched... but it seems like we are getting into non trivial patching territory...
Thanks Mathew for reopening the issue. I opened a corresponding issue on Qt:
I marked this as stale due to inactivity. &rarr;
Actually this still stands and it'd be nice to have it fixed some day. There are other issues that are blocking me on Mac these days though, like .
I marked this as stale due to inactivity. &rarr;
Change:
<ins> { lib, mkDerivation, fetchFromGitHub, standard-library }: mkDerivation rec { pname = "generic"; version = "0.1"; src = fetchFromGitHub { repo = "Generic"; owner = "effectfully"; rev = "v${version}"; sha256 = "121121rg3daaqp91845fbyws6g28hyj1ywmh12n54r3nicb35g5q"; }; buildInputs = [ standard-library ]; preBuild = '' echo "module Everything where" > Everything.agda find src -name '*.agda' | sed -e 's/src///;s///./g;s/.agda$//;s/^/import /' >> Everything.agda ''; meta = with lib; { description = "A library for doing generic programming in Agda"; homepage = src.meta.homepage; license = licenses.mit; platforms = platforms.unix; maintainers = with maintainers; [ alexarice turion ]; }; } </ins>

Discussion:
Project description Generics library for agda Metadata homepage URL: source URL: license: ? () platforms: All I guess CC:
Is this 2.6.1 compatible?
That's a good question. I haven't tried yet.
The license is MIT, and there was a recent release compatible with 2.6.1.
(See )
Change:
pop-launcher = callPackage ../applications/misc/pop-launcher { }; <del> pot = callPackage ../applications/misc/pot { }; </del> pothos = libsForQt5.callPackage ../applications/radio/pothos { }; potrace = callPackage ../applications/graphics/potrace { };

Discussion:
Package name: pot Latest released version: 2.7.9 <!-- Search your package here: --- Current version on the unstable channel: 2.7.4 Current version on the stable/release channel: 2.6.6 <!-- 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]: