jiebi/CodeConvo huggingface dataset:
Change:
gdbgui fails to start (dump_stack) nixpkgs similar
Same issue for me :cry: Looks related to this cs01/gdbgui/issues/425

Discussion:
, buildPythonApplication , fetchPypi , gdb <del> , flask-socketio </del> <ins> , eventlet </ins> , flask-compress <ins> , flask-socketio </ins> , pygdbmi , pygments , }:

buildPythonApplication rec { pname = "gdbgui"; <del> version = "0.15.0.1"; </del> <ins> version = "0.15.1.0"; </ins> buildInputs = [ gdb ]; propagatedBuildInputs = [ <del> flask-socketio </del> <ins> eventlet </ins> flask-compress <ins> flask-socketio </ins> pygdbmi pygments ]; src = fetchPypi { inherit pname version; <del> sha256 = "sha256-bwrleLn3GBx4Mie2kujtaUo+XCALM+hRLySIZERlBg0="; </del> <ins> sha256 = "sha256-YcD3om7N6yddm02It6/fjXDsVHG0Cs46fdGof0PMJXM="; </ins> }; postPatch = '' echo ${version} > gdbgui/VERSION.txt <del> # remove upper version bound sed -ie 's!,.*<.*!!' requirements.in </del> <ins> # relax version requirements sed -i 's/==.*$//' requirements.txt </ins> ''; postInstall = ''
Change:
The auto-multiple-choice program does not start, on NixOS 22.11 : Steps to reproduce the behavior: auto-multiple-choice auto-multiple-choice that it's not really working A clear and concise description of what you expected to happen.
I'm trying to reproduce, without success so far. Did you install AMC from , or through nix-env/nix-shell? (I'm rebuilding my system without the global AMC to test those cases, but it triggered a full Emacs recompilation which will take some time)
I installed it using nix-env. I'll try with the systemPackage option later today. I'm using wayland with sway.
I don't think that's the issue there (also I have the very same setup, on unstable though). This message means that the program can't find the perl source module of its gui component, which indicates an installation/path issue.
I really can't reproduce, sorry. Please let me know how things go with . Does exist?
Yup, it exists : After switching with the system version, I get the same error. After updating the channels () and rebuilding () I still get the same error.
Is there a /lib/ directory at your FS root?
Yup, there is, it contains a subdirectory (modules) which is empty. Deleting it makes auto-multiple-choice work as expected.
Ok, I believe that's the root issue, but I'm not sure how to fix this. If it's fully empty besides subdirs, you should just delete it.
Does that mean that auto-multiple-choice is also broken on non nixos installations ?
No, because on those, the Perl modules AMC needs are on the global , or , or whatever. The NixOS package, OTOH, is a self-contained, so-called "portable" build where everything (libs, executables, doc…) lives in a single directory. Your issue comes from the fact that AMC tries to detect such a portable build by first looking for a global , then defaulting to dir iff the former doesn't exist: I think I can solve this by just changing the default lib dir, please don't close the issue.
will fix this.
reverted the "fix" to that issue, because it broke everything else (my fault). For the time being you need to make sure there's no on your system for AMC to work.
No problem, good luck with that !

Discussion:
# Relative paths. "BINDIR=/bin" "PERLDIR=/share/perl5" <del> "MODSDIR=/lib/" </del> <ins> "MODSDIR=/nonexistent" # AMC will test for that dir before # defaulting to the "portable" strategy, so this test *must* fail. </ins> "TEXDIR=/tex/latex/" # what texlive.combine expects "TEXDOCDIR=/share/doc/texmf/" # TODO where to put this? "MAN1DIR=/share/man/man1"
Change:
Project description A GTK based on screen display for keyboard shortcuts like caps-lock and volume Metadata homepage URL: source URL: license: gpl3-only platforms: linux

Discussion:
<ins> { lib , rustPlatform , fetchFromGitHub , pkg-config , gtk3 , gtk-layer-shell , libpulseaudio }: rustPlatform.buildRustPackage { pname = "swayosd"; version = "unstable-2023-05-09"; src = fetchFromGitHub { owner = "ErikReider"; repo = "SwayOSD"; rev = "5c2176ae6a01a18fdc2b0f5d5f593737b5765914"; hash = "sha256-rh42J6LWgNPOWYLaIwocU1JtQnA5P1jocN3ywVOfYoc="; }; cargoHash = "sha256-ZcgrUcRQTcEYhw2mpJDuYDz3I/u/2Q+O60ajXYRMeow="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ gtk3 gtk-layer-shell libpulseaudio ]; meta = with lib; { description = "A GTK based on screen display for keyboard shortcuts"; homepage = "https://github.com/ErikReider/SwayOSD"; license = licenses.gpl3Plus; maintainers = with maintainers; [ aleksana ]; platforms = platforms.linux; }; } </ins>

swaybg = callPackage ../applications/window-managers/sway/bg.nix { }; swayidle = callPackage ../applications/window-managers/sway/idle.nix { }; swaylock = callPackage ../applications/window-managers/sway/lock.nix { }; <ins> swayosd = callPackage ../applications/window-managers/sway/osd.nix { }; </ins> swayws = callPackage ../applications/window-managers/sway/ws.nix { }; swaywsr = callPackage ../applications/window-managers/sway/wsr.nix { }; sway-contrib = recurseIntoAttrs (callPackages ../applications/window-managers/sway/contrib.nix { });
Change:
Steps to reproduce the behavior: nix on x86_64-darwin experimental features nix-command and flakes to install nushell v0.75.0 via . Please run and paste the result.
I can confirm the bug, the following PR could resolve it.
that is great news! I am hopeful that can resolve it. I see that you marked this as resolved by . However, this does not seem to have resolved the issue for me. I am still receiving the same error when trying to build :
The ofborg test did pass, see Maybe you have to build it on master? Also, I don't think will help, as the author of that PR.
Hmm, after upgrading nix and updating my nixpkgs-unstable channel, I'm still receiving the same error.
You have to wait for the commit to arrive on nixpkgs-unstable.
Thank you your PR resolved it. the fix is in the nixpkgs-unstable channel. Much appreciated!

Discussion:
, xorg , libiconv , AppKit <del> , Foundation </del> , Security # darwin.apple_sdk.sdk , sdk

buildInputs = [ openssl zstd ] ++ lib.optionals stdenv.isDarwin [ zlib libiconv Security ] ++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ <del> Foundation </del> ( # Pull a header that contains a definition of proc_pid_rusage(). # (We pick just that one because using the other headers from `sdk` is not

nsh = callPackage ../shells/nsh { }; <del> nushell = callPackage ../shells/nushell { inherit (darwin.apple_sdk.frameworks) AppKit Foundation Security; </del> <ins> nushell = darwin.apple_sdk_11_0.callPackage ../shells/nushell { inherit (darwin.apple_sdk_11_0.frameworks) AppKit Security; </ins> inherit (darwin.apple_sdk) sdk; };
Change:
I installed nixos.impressive using the command: nix-env -iA nixos.impressive The program crashes when I try to run it: Impressive version: 0.10.5 Python version: 2.7.13 (default, Dec 17 2016, 20:05:07) [GCC 5.4.0] PyGame version: 1.9.1release PIL version: 1.1.7 PyOpenGL version: 3.1.0 Operating system: Linux 4.4.39 (x8664) Command line: /nix/store/4np5kfiqp77hln8qn14p12vqpf0s76rv-impressive-0.10.5/bin/.impressive-wrapped work/2Customers/AMAT/2016-06- Traceback (most recent call last): File "/nix/store/4np5kfiqp77hln8qn14p12vqpf0s76rv-impressive-0.10.5/bin/.impressive-wrapped", line 4695, in <modulerunmain() File "/nix/store/4np5kfiqp77hln8qn14p12vqpf0s76rv-impressive-0.10.5/bin/.impressive-wrapped", line 4145, in runmain main() File "/nix/store/4np5kfiqp77hln8qn14p12vqpf0s76rv-impressive-0.10.5/bin/.impressive-wrapped", line 3952, in main glTexImage2D(GLTEXTURE2D, 0, 1, 256, 64, 0, GLLUMINANCE, GLUNSIGNED_BYTE, LogoImage.tostring()) File "/nix/store/i7iq53ziwv2l2brs23l9bvkaf6wgka9l-python2.7-Pillow-3.4.2/lib/python2.7/site-", line 699, in tostring "Please call tobytes() instead.") NotImplementedError: tostring() has been removed. Please call tobytes() instead. 1) Install impressive 2) call impressive on a PDF file. 3) Crash. System: 16.09.1368. (Flounder) Nix version: nix-env (Nix) 1.11.4 Nixpkgs version: "16.09.1368."

Discussion:
{ stdenv, fetchurl, gmp }: stdenv.mkDerivation rec { <del> name = "ikarus-0.0.3"; </del> <ins> version = "0.0.3"; name = "ikarus-${version}"; </ins> src = fetchurl { <del> url = "http://ikarus-scheme.org/${name}.tar.gz"; </del> <ins> url = "http://launchpad.net/ikarus/0.0/${version}/+download/${name}.tar.gz"; </ins> sha256 = "0d4vqwqfnj39l0gar2di021kcf6bfpkc6g40yapkmxm6sxpdcvjv"; };
Change:
The package (binary ) is unusable at runtime: it always crashes. Steps to reproduce the behavior: results in an error: The application works. N/A. Add any other context about the problem here. Maybe ? As they committed a version upgrade Please run and paste the result.
The error appears to be caused by . Replacing it with resolves the error, but results in the following messages: It seems to be a wrapping issue in .
try adding to
I just tried and I still get the exact output as (except I don't have the Wayland error):
cc (as maintainers of )
You'll also need a for the entry point exectables.
Possibly, python executables need to be wrapped manually like
Thank you your last message was correct! I have opened with that fix, it works on my machine now

Discussion:
{ lib , python3Packages , fetchPypi <ins> , qt5 </ins> }: python3Packages.buildPythonApplication rec { pname = "graph-cli"; <del> version = "0.1.18"; </del> <ins> version = "0.1.19"; </ins> src = fetchPypi { inherit version; pname = "graph_cli"; <del> sha256 = "sha256-0mxOc8RJ3GNgSbppLylIViqfYf6zwJ49pltnsyQUpSA="; </del> <ins> hash = "sha256-AOfUgeVgcTtuf5IuLYy1zFTBCjWZxu0OiZzUVXDIaSc="; </ins> }; <ins> nativeBuildInputs = [ qt5.wrapQtAppsHook ]; dontWrapQtApps = true; preFixup = '' makeWrapperArgs+=("''${qtWrapperArgs[@]}") ''; </ins> propagatedBuildInputs = with python3Packages; [ numpy pandas <del> matplotlib </del> <ins> (matplotlib.override { enableQt = true; }) </ins> ]; # does not contain tests despite reference in Makefile
Change:
Steps to reproduce the behavior: fxlinuxprint website apparently ceased to exist. The driver file is nowhere to be found on the internet. If anyone has it cached, I would appreciate if you could at least send it to me so that we can continue to use our (not so old, but really expensive) printer.
https://support-
Same problem again :-/ They have moved or removed the file once again...
Here's a copy on my machine: The original link seems to have disappeared for good. Probably might work instead?

Discussion:
version = "1.1.2-1"; src = fetchzip { <del> url = "https://onlinesupport.fujixerox.com/driver_downloads/fxlinuxpdf112119031.zip"; </del> <ins> url = "https://support-fb.fujifilm.com/driver_downloads/fxlinuxpdf112119031.zip"; </ins> sha256 = "1mv07ch6ysk9bknfmjqsgxb803sj6vfin29s9knaqv17jvgyh0n3"; curlOpts = "--user-agent Mozilla/5.0";  # HTTP 410 otherwise };
Change:
Windows games run under Heroic with fail to play video, producing GStreamer errors on the console output. Steps to reproduce the behavior: any game that plays video cut-scenes when starting a new game (e.g. Blasphemous) a video cut-scene should get a black screen instead of video playback. the game the game log For in-game videos to play normally. Not applicable because the symptom is a black screen. <details<summarygame log</summary</detailsAdd any other context about the problem here. I am the only maintainer of this package.
At least for 64-bit games, the problem was missing GStreamer dependencies in the FHS environment. I don't know of any 32-bit game in my collection suitable for testing that the resolves the issue you described in with 32-bit games.
Note, GStreamer still doesn't work in Heroic if you set the option "Prefer system libraries". Both on 32 bit and 64 bit games. Setting or similar doesn't fix the problem.

Discussion:
libGLU libglvnd libgpg-error <ins> libgudev </ins> libjpeg libkrb5 libmpeg2

libselinux libsndfile libsndfile <ins> libsoup </ins> libtheora libtiff libusb1 libv4l libva <ins> libvdpau </ins> libvorbis <ins> libvpx libwebp </ins> libxkbcommon libxml2 mpg123 ncurses ocl-icd <ins> openal </ins> openldap <ins> openssl openssl_1_1 pango </ins> pipewire samba4 sane-backends SDL2 <ins> speex </ins> sqlite udev udev
Change:
Package name: cmake Latest released version: 3.25.2 <!-- Search your package here: --- Current version on the unstable channel: 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:
+ lib.optionalString isBootstrap "-boot" + lib.optionalString cursesUI "-cursesUI" + lib.optionalString qt5UI "-qt5UI"; <del> version = "3.25.1"; </del> <ins> version = "3.25.2"; </ins> src = fetchurl { url = "https://cmake.org/files/v${lib.versions.majorMinor version}/cmake-${version}.tar.gz"; <del> sha256 = "sha256-HFEdCVFq9JNpTtm68TxVlHo2OJZ01lei1eDM7caykdg="; </del> <ins> sha256 = "0g6k9sa23smh9z5dz8v6dqy89887gxc7s24gchpm7p9ip4ng49n0"; </ins> }; patches = [
Change:
On launch: I thought had broken it, but its ancestors and had the same problem. IIRC I once ran tiled successfully on one of those revisions... System: Nix version: Nixpkgs version:
I was able to reproduce the error on 16.09 stable, and fixed it there, but I couldn't reproduce it on and doesn't seem to be a valid revision.
Seems to be fixed in / .

Discussion:
{ stdenv, fetchurl, gmp }: stdenv.mkDerivation rec { <del> name = "ikarus-0.0.3"; </del> <ins> version = "0.0.3"; name = "ikarus-${version}"; </ins> src = fetchurl { <del> url = "http://ikarus-scheme.org/${name}.tar.gz"; </del> <ins> url = "http://launchpad.net/ikarus/0.0/${version}/+download/${name}.tar.gz"; </ins> sha256 = "0d4vqwqfnj39l0gar2di021kcf6bfpkc6g40yapkmxm6sxpdcvjv"; };
Change:
your commit broke due to Please test your changes with or at least before committing them to master. Can you please issue a fix by reverting your change and downgrading to 0.6.2? There is not currently a fix available upstream.
That commit is from the regular Python batch updates. While we try to fix as many build failures as possible we can't guarantee every package continues to work. I suggest you file a PR reverting that change.
I understand that python-updates is a messy process. But in the case that you do not know or do not test whether a package update will build successfully, please do not update it. There is no need to upgrade flax, and the risks of pushing untested code to master are simply much higher than the reward.
I think it would be a good idea to maintain a list of packages that shouldn't be updated in python-updates. Let's discuss that over at .
I think that's a great idea! will switch over to matrix

Discussion:
buildPythonPackage rec { pname = "flax"; <del> version = "0.6.3"; </del> <ins> version = "0.6.1"; </ins> src = fetchFromGitHub { owner = "google"; repo = pname; rev = "refs/tags/v${version}"; <del> sha256 = "sha256-4BYfrwEddA2LCMyDO6PBBYdMVTqqDxhzMCZ5JIIml3g="; </del> <ins> sha256 = "sha256-fZiODo+izOwGjCCTvi11GvUG/VQL1DV9bNXKjvIIw4A="; </ins> }; buildInputs = [ jaxlib ];

homepage = "https://github.com/google/flax"; license = licenses.asl20; maintainers = with maintainers; [ ndl ]; <del> # Py3.10 requires orbax, tensorstore which needs packaging # Py3.11 requires tensorboard, which is unsupported at py3.11 atm broken = true; # At 2023-02-05 </del> }; }
Change:
I tried to install Roundcube with an non-local PostgreSQL. The DB user password should be stored in a password file. I ran into problems with this setup: the password file is used in two locations: the Roundcube the systemd that initializes the roundcube database Unfortunately the neccessary file content differs for these two services: the roundcube the passwordfile should only contain the PASSWORD (even without a trailing newline) expects an entry like "hostname:port:database:username:password" () So one of these two services will fail. Setup Roundcube with remote PostgreSQL server and password file for DB user password. My solution for now would be, to add a line to the roundcube Please run and paste the result. Cheers, Andreas
Your solution sounds reasonable to me, if you replace with something that takes into account escaped . Would you mind opening a PR? Tag me on it, I'll review it. As you can see the remote db feature of the module has probably never been used except by you; if you want this use case to be better maintained consider contributing a nixos test exercising it.
Fixed by

Discussion:
}; passwordFile = mkOption { type = types.str; <del> description = lib.mdDoc "Password file for the postgresql connection. Must be readable by user `nginx`. Ignored if `database.host` is set to `localhost`, as peer authentication will be used."; </del> <ins> description = lib.mdDoc '' Password file for the postgresql connection. Must be formated according to PostgreSQL .pgpass standard (see https://www.postgresql.org/docs/current/libpq-pgpass.html) but only one line, no comments and readable by user `nginx`. Ignored if `database.host` is set to `localhost`, as peer authentication will be used. ''; </ins> }; dbname = mkOption { type = types.str;

environment.etc."roundcube/config.inc.php".text = '' <?php <del> ${lib.optionalString (!localDB) "$password = file_get_contents('${cfg.database.passwordFile}');"} </del> <ins> ${lib.optionalString (!localDB) '' $password = file('${cfg.database.passwordFile}')[0]; $password = preg_split('~.(*SKIP)(*FAIL)|:~s', $password); $password = end($password); $password = str_replace(":", ":", $password); $password = str_replace("", "", $password); ''} </ins> $config = array(); $config['db_dsnw'] = 'pgsql://${cfg.database.username}${lib.optionalString (!localDB) ":' . $password . '"}@${if localDB then "unix(/run/postgresql)" else cfg.database.host}/${cfg.database.dbname}';

path = [ config.services.postgresql.package ]; }) { <ins> after = [ "network-online.target" ]; </ins> wantedBy = [ "multi-user.target" ]; script = let psql = "${lib.optionalString (!localDB) "PGPASSFILE=${cfg.database.passwordFile}"} ${pkgs.postgresql}/bin/psql ${lib.optionalString (!localDB) "-h ${cfg.database.host} -U ${cfg.database.username} "} ${cfg.database.dbname}";
Change:
Steps to reproduce the behavior: . This issue has been reported in , but it was pointed out (by that the package's maintainer ( solved it via starting . However, I still get the above error. Please run and paste the result.
Thanks for the report, fix is in

Discussion:
, openssl , libusb1 , AppKit <ins> , git </ins> , openssh <ins> , testers , radicle-cli </ins> }: rustPlatform.buildRustPackage rec {

done ''; <del> nativeCheckInputs = [ openssh ]; </del> <ins> nativeCheckInputs = [ git openssh ]; </ins> preCheck = '' eval $(ssh-agent) ''; <ins> passthru.tests = { version = testers.testVersion { package = radicle-cli; }; }; </ins> meta = { description = "Command-line tooling for Radicle, a decentralized code collaboration network"; homepage = "https://radicle.xyz";
Change:
I just found that at least 11 packages that break the assumption that is a list of strings.There could be more in packages that do not evaluate and/or are broken. Not sure if that this is something that should be allowed. It might break automated tooling (or at least add extra complexity that is just needed for these packages) Ran on nixos stable
Note that nixpkgs-lint doesn't detect this condition, but it is to be a list.
Hi, this was already fixed in master some time ago.

Discussion:
{ stdenv, fetchurl, gmp }: stdenv.mkDerivation rec { <del> name = "ikarus-0.0.3"; </del> <ins> version = "0.0.3"; name = "ikarus-${version}"; </ins> src = fetchurl { <del> url = "http://ikarus-scheme.org/${name}.tar.gz"; </del> <ins> url = "http://launchpad.net/ikarus/0.0/${version}/+download/${name}.tar.gz"; </ins> sha256 = "0d4vqwqfnj39l0gar2di021kcf6bfpkc6g40yapkmxm6sxpdcvjv"; };
Change:
I cross-compiled a system from x86_64-linux to aarch64-linux. It largely works, however command fails with the following error: The seems to have the original shebang, whereas the x86-native has had it properly rewritten. Steps to reproduce the behavior: running this from an aarch machine? wg-quick’s shebang is rewritten just like it is for native builds. Reproduction verified at

Discussion:
, makeWrapper , openresolv , procps <ins> , bash </ins> }: stdenv.mkDerivation rec {

nativeBuildInputs = [ makeWrapper ]; <ins> buildInputs = [ bash ]; </ins> makeFlags = [ "DESTDIR=$(out)" "PREFIX=/"
Change:
The glusterfs derivation does not install mount.glusterfs. So it is not possible to mount glusterfs filesystems. ls /nix/store/8p888wid9lm02zw0gaqzdzv41d8yc75r-glusterfs-3.8.1/sbin fusermount-glusterfs gfindmissingfiles glfsheal gluster glusterd glusterfind glusterfs glusterfsd Install glusterfs and try to mount a glusterfs. Even if you don't have a cluster ready, mount should return an error: mount -t glusterfs 172.16.0.167:/var/gluster/testvol tmp/mnt Look inside the sbin folder, there is no mount.glusterfs file. The makefile that install mount.glusterfs () concatenates and to find the right directory. For an unknown reason, the configure flags set mountutildir to but when executed by the Makefile it get evaluated to . So by removing the configureFlag the file get installed properly. But then this script is not able to find basic utilities like sed, cat, grep, etc because no PATH is set. We can use makeWrapper to set it. On the postInstall phase I add: wrapProgram { [ pkgs.coreutils pkgs.gnugrep]}" And I also add makeWrapper to buildInputs. It still print an error about not found (even so it is in the PATH) but at least I can mount my glusterfs volumes. Should I do a PR for this or will someone else provide a better fix? System: 16.09.1272. (Flounder) Nix version: nix-env (Nix) 1.11.4 Nixpkgs version: "16.09.1272."
Possible (just run ), but point taken. Hm, I guess long long ago it tried to install to global and failed. Then I didn't notice the Makefile improvement during the updates… Not sure a better fix is possible here. Yes, a PR would be welcome.

Discussion:
{stdenv, fetchurl, fuse, bison, flex_2_5_35, openssl, python, ncurses, readline, autoconf, automake, libtool, pkgconfig, zlib, libaio, libxml2, acl, sqlite <del> , liburcu, attr </del> <ins> , liburcu, attr, makeWrapper, coreutils, gnused, gnugrep, which </ins> }: let s = # Generated upstream information

buildInputs = [ fuse bison flex_2_5_35 openssl python ncurses readline autoconf automake libtool pkgconfig zlib libaio libxml2 <del> acl sqlite liburcu attr </del> <ins> acl sqlite liburcu attr makeWrapper </ins> ]; # Some of the headers reference acl propagatedBuildInputs = [

''; configureFlags = [ <del> ''--with-mountutildir="$out/sbin" --localstatedir=/var'' </del> <ins> ''--localstatedir=/var'' </ins> ]; makeFlags = "DESTDIR=$(out)";

postInstall = '' cp -r $out/$out/* $out rm -r $out/nix <ins> wrapProgram $out/sbin/mount.glusterfs --set PATH "${stdenv.lib.makeBinPath [ coreutils gnused attr gnugrep which]}" </ins> ''; src = fetchurl {