jiebi/CodeConvo huggingface dataset:
Code change:
Right now, we have sections covering Perl, Python, Ruby, Go, and more. is another popular language and we have an easy/automated way to add new packages to nixpkgs. We should make this easier for people who don't already know how! I plan on tackling this based on instructions I received over at
cc
Some of the entries in the document have a comment like Should I enhance the in and then generate the XML file? Can anyone clue me in to how they're generated?
They are generated in (using pandoc).
Once I've it to , how can I actually generate the XML?
The XML is generated during the build. To have it in the manual you need to include it with in . The confusing part is that refers some files that exists only at build-time (the files generated by ). It is also possible to keep the build directory with to inspect the generated files.

Related discussion:
text: outputFile = "languages-frameworks/idris.xml"; } + toDocbook { <ins> inputFile = ../pkgs/development/node-packages/README.md; outputFile = "languages-frameworks/node.xml"; } + toDocbook { </ins> inputFile = ../pkgs/development/r-modules/README.md; outputFile = "languages-frameworks/r.xml"; }
Code change:
Right now, we have sections covering Perl, Python, Ruby, Go, and more. is another popular language and we have an easy/automated way to add new packages to nixpkgs. We should make this easier for people who don't already know how! I plan on tackling this based on instructions I received over at
cc
Some of the entries in the document have a comment like Should I enhance the in and then generate the XML file? Can anyone clue me in to how they're generated?
They are generated in (using pandoc).
Once I've it to , how can I actually generate the XML?
The XML is generated during the build. To have it in the manual you need to include it with in . The confusing part is that refers some files that exists only at build-time (the files generated by ). It is also possible to keep the build directory with to inspect the generated files.

Related discussion:
text: <xi:include href="idris.xml" /> <!-- generated from ../../pkgs/development/idris-modules/README.md  --> <xi:include href="java.xml" /> <xi:include href="lua.xml" /> <ins> <xi:include href="node.xml" /> <!-- generated from ../../pkgs/development/node-packages/README.md  --> </ins> <xi:include href="perl.xml" /> <xi:include href="python.xml" /> <xi:include href="qt.xml" />
Code change:
Right now, we have sections covering Perl, Python, Ruby, Go, and more. is another popular language and we have an easy/automated way to add new packages to nixpkgs. We should make this easier for people who don't already know how! I plan on tackling this based on instructions I received over at
cc
Some of the entries in the document have a comment like Should I enhance the in and then generate the XML file? Can anyone clue me in to how they're generated?
They are generated in (using pandoc).
Once I've it to , how can I actually generate the XML?
The XML is generated during the build. To have it in the manual you need to include it with in . The confusing part is that refers some files that exists only at build-time (the files generated by ). It is also possible to keep the build directory with to inspect the generated files.

Related discussion:
text: <del> NPM packages =========== </del> <ins> Node.js packages =============== To add a package from [NPM](https://www.npmjs.com/) to nixpkgs: </ins> 1. Install node2nix: `nix-env -f '<nixpkgs>' -iA node2nix`. 2. Modify `pkgs/development/node-packages/node-packages.json`, to add, update, or remove package entries.
Code change:
glslc binary in shaderc has invalid signature Steps to reproduce the behavior: to compile shader on aarch64-darwin to SPIR-V should not be killed

Related discussion:
text: <del> { lib, stdenv, fetchFromGitHub, cmake, darwin, python3 }: </del> <ins> { lib, stdenv, fetchFromGitHub, cmake, python3, autoSignDarwinBinariesHook, cctools }: </ins> # Like many google projects, shaderc doesn't gracefully support separately compiled dependencies, so we can't easily use # the versions of glslang and spirv-tools used by vulkan-loader. Exact revisions are taken from # https://github.com/google/shaderc/blob/known-good/known_good.json
Code change:
glslc binary in shaderc has invalid signature Steps to reproduce the behavior: to compile shader on aarch64-darwin to SPIR-V should not be killed

Related discussion:
text: rev = "0c28b6451d77774912e52949c1e57fa726edf113"; sha256 = "sha256-KpCMceTV/BRaoJe1qeXhKYQNQqdGaM6Q9nklpJKzHFY="; }; <del> in stdenv.mkDerivation rec { </del> <ins> in stdenv.mkDerivation rec { </ins> pname = "shaderc"; version = "2021.0";
Code change:
glslc binary in shaderc has invalid signature Steps to reproduce the behavior: to compile shader on aarch64-darwin to SPIR-V should not be killed

Related discussion:
text: ln -s ${spirv-headers} third_party/spirv-tools/external/spirv-headers ''; <del> nativeBuildInputs = [ cmake python3 ] ++ lib.optionals stdenv.isDarwin [ darwin.cctools ]; </del> <ins> nativeBuildInputs = [ cmake python3 ] ++ lib.optionals stdenv.isDarwin [ cctools ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ autoSignDarwinBinariesHook ]; </ins> postInstall = '' moveToOutput "lib/*.a" $static
Code change:
glslc binary in shaderc has invalid signature Steps to reproduce the behavior: to compile shader on aarch64-darwin to SPIR-V should not be killed

Related discussion:
text: session-desktop = callPackage ../applications/networking/instant-messengers/session-desktop { }; <del> shaderc = callPackage ../development/compilers/shaderc { }; </del> <ins> shaderc = callPackage ../development/compilers/shaderc { inherit (darwin) autoSignDarwinBinariesHook cctools; }; </ins> shades-of-gray-theme = callPackage ../data/themes/shades-of-gray { };
Code change:
Easyeffects crashes when Echo Canceller is used (at least when applied on input). I've been told that it works fine on arch linux. Though it might be my hardware that somehow makes it crash. Steps to reproduce the behavior: Echo Canceller module to the Input Easy Effects to one of recording apps It doesn't crash It doesn't write anything useful in the logs, just exits with code 137. Please run and paste the result.
I can reproduce it but it is not a regular crash – there is not core dump. It appears to be killed. Weirdly when I run it with: The termination is not caught.
For me it reproduced with gdb: Maybe it's terminated when child process is crashed?
hmm, it seems to be something wrong with speex when configured to use the fftw library... not sure what, but this doesn't crash:
The same also happens in Speech Processor effect now:
Unfortunately this didn't seem to do the trick for me, it still crashes with the Echo Canceller.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
I have the same problem. The thing is, used to work OK on my system. Then I tried the module, after which this issue appeared. However, now it's persisting. I undid the change, even tried booting into old generation, but is still getting killed with the echo canceller on. For reference, this is what I used to try to enable the echo cancel module (not sure if it ever worked):

Related discussion:
text: <del> { lib, stdenv, fetchurl, autoreconfHook, pkg-config, fftw }: </del> <ins> { lib , stdenv , fetchurl , autoreconfHook , pkg-config , fftw , withFftw3 ? true }: </ins> stdenv.mkDerivation rec { pname = "speexdsp";
Code change:
Easyeffects crashes when Echo Canceller is used (at least when applied on input). I've been told that it works fine on arch linux. Though it might be my hardware that somehow makes it crash. Steps to reproduce the behavior: Echo Canceller module to the Input Easy Effects to one of recording apps It doesn't crash It doesn't write anything useful in the logs, just exits with code 137. Please run and paste the result.
I can reproduce it but it is not a regular crash – there is not core dump. It appears to be killed. Weirdly when I run it with: The termination is not caught.
For me it reproduced with gdb: Maybe it's terminated when child process is crashed?
hmm, it seems to be something wrong with speex when configured to use the fftw library... not sure what, but this doesn't crash:
The same also happens in Speech Processor effect now:
Unfortunately this didn't seem to do the trick for me, it still crashes with the Echo Canceller.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
I have the same problem. The thing is, used to work OK on my system. Then I tried the module, after which this issue appeared. However, now it's persisting. I undid the change, even tried booting into old generation, but is still getting killed with the echo canceller on. For reference, this is what I used to try to enable the echo cancel module (not sure if it ever worked):

Related discussion:
text: outputs = [ "out" "dev" "doc" ]; nativeBuildInputs = [ autoreconfHook pkg-config ]; <del> buildInputs = [ fftw ]; </del> <ins> buildInputs = lib.optionals withFftw3 [ fftw ]; </ins> <del> configureFlags = [ "--with-fft=gpl-fftw3" ] ++ lib.optional stdenv.isAarch64 "--disable-neon"; </del> <ins> configureFlags = lib.optionals withFftw3 [ "--with-fft=gpl-fftw3" ] ++ lib.optional stdenv.isAarch64 "--disable-neon"; </ins> meta = with lib; { homepage = "https://www.speex.org/";
Code change:
Easyeffects crashes when Echo Canceller is used (at least when applied on input). I've been told that it works fine on arch linux. Though it might be my hardware that somehow makes it crash. Steps to reproduce the behavior: Echo Canceller module to the Input Easy Effects to one of recording apps It doesn't crash It doesn't write anything useful in the logs, just exits with code 137. Please run and paste the result.
I can reproduce it but it is not a regular crash – there is not core dump. It appears to be killed. Weirdly when I run it with: The termination is not caught.
For me it reproduced with gdb: Maybe it's terminated when child process is crashed?
hmm, it seems to be something wrong with speex when configured to use the fftw library... not sure what, but this doesn't crash:
The same also happens in Speech Processor effect now:
Unfortunately this didn't seem to do the trick for me, it still crashes with the Echo Canceller.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
I have the same problem. The thing is, used to work OK on my system. Then I tried the module, after which this issue appeared. However, now it's persisting. I undid the change, even tried booting into old generation, but is still getting killed with the echo canceller on. For reference, this is what I used to try to enable the echo cancel module (not sure if it ever worked):

Related discussion:
text: libcardiacarrest = callPackage ../misc/libcardiacarrest { }; <del> easyeffects = callPackage ../applications/audio/easyeffects { }; </del> <ins> easyeffects = callPackage ../applications/audio/easyeffects { # Fix crashes with speexdsp effects speexdsp = speexdsp.override { withFftw3 = false; }; }; </ins> pulseeffects-legacy = callPackage ../applications/audio/pulseeffects-legacy { };
Code change:
When using as a root user the following error is produced: . This needs to be included, see = "source ${}/share/zsh-"; Please run and paste the result.

Related discussion:
text: installPhase = '' install -D powerlevel10k.zsh-theme --target-directory=$out/share/zsh-powerlevel10k <ins> install -D powerlevel9k.zsh-theme --target-directory=$out/share/zsh-powerlevel10k </ins> install -D config/* --target-directory=$out/share/zsh-powerlevel10k/config install -D internal/* --target-directory=$out/share/zsh-powerlevel10k/internal cp -R gitstatus $out/share/zsh-powerlevel10k/gitstatus
Code change:
Steps to reproduce the behavior: build -L 'nixpkgs#curlie' <details</detailsNot a go developer. I think the issue is the same as . That requires a fix from upstream; I don't know whether this is the same, though, and my attempts to patch the build (and thus demonstrate it needs an upstream fix) have been unsuccessful. I used with the following patch. This resulted in the following error. I tried vendoring the derivation and adding the call to (using ) but at this point I hit the time limit I'd set to investigate this. Please run and paste the result.
You need to update vendorSha256, too. IF you get it working please create a PR.

Related discussion:
text: <ins> diff --git a/go.mod b/go.mod index 660463a..5249458 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/rs/curlie require ( golang.org/x/crypto v0.0.0-20180524125353-159ae71589f3 -	golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 +	golang.org/x/sys v0.0.0-20211110154304-99a53858aa08 ) go 1.13 </ins>
Code change:
Steps to reproduce the behavior: build -L 'nixpkgs#curlie' <details</detailsNot a go developer. I think the issue is the same as . That requires a fix from upstream; I don't know whether this is the same, though, and my attempts to patch the build (and thus demonstrate it needs an upstream fix) have been unsuccessful. I used with the following patch. This resulted in the following error. I tried vendoring the derivation and adding the call to (using ) but at this point I hit the time limit I'd set to investigate this. Please run and paste the result.
You need to update vendorSha256, too. IF you get it working please create a PR.

Related discussion:
text: hash = "sha256-3EKxuEpFm+lp2myMfymYYY9boSXGOF2iAdjtGKnjJK0="; }; <del> vendorSha256 = "sha256-tYZtnD7RUurhl8yccXlTIvOxybBJITM+it1ollYJ1OI="; </del> <ins> patches = [ ./bump-golang-x-sys.patch ]; vendorSha256 = "sha256-VsPdMUfS4UVem6uJgFISfFHQEKtIumDQktHQFPC1muc="; </ins> ldflags = [ "-s" "-w" "-X main.version=${version}" ];
Code change:
In GNOME keyboard shortcut settings, the list of categories based on and on my own experience with GNOME on other distros should be: Launchers Navigation Screenshots Sound and Media System Typing Universal Access Windows However, only the following categories are available: Launchers Screenshots Sound and Media System Typing Universal Access So I'm missing Navigation and Windows. Install gnome package and use GNOME. Open keyboard settings (press Super, type "keyboard", choose Keyboard). See the list of categories on the left panel. System: (NixOS: , Ubuntu/Fedora: , ...)Nix version: (run )Nixpkgs version: (run )
I am affected too. Moreover doesn't lock the screen.
I got that, too. Seems like that might be .
Another possible source of not working (if you're using GDM):
Apparently the Control Center derivation only provides some keybindings: the others are part of other packages like GNOME Shell or GPaste. The Control Center loads the bindings , basically using to locate them. But even explicitly passing the path does not make the Windows section appear – though, strace confirms the file being read. Edit: Nevermind, it looks like the navigation and windows keybindings come from .
Hey, have you somehow managed to get it to work using ? (Not quite sure how to interpret your edit). I tried messing around with that but so far I’ve only been able to break :
Try . The error you are seeing is caused by missing GNOME shell SCHEMAS, which will most likely be in the current variable.
It looks like the error I was seeing was related to fish shell not having setup properly and was failing even if I didn’t attempt to change anything. I switched to bash and that particular problem disappeared, however I am now getting a different error message: However, this schema seems to exist in mutter, so I sadly have no idea what is going on here:
Right, for that you also need to add share/gsettings/mutter-3.28.0 or something like that.
Thanks a ton! I finally got it to work using that!
I was able to get it to work using .
The mutter keybindings are not available in control center in NixOS when . Explicitly adding mutter to fixes it. Should mutter perhaps be to ?
I think adding it to dependencies of g-c-c is more in line with Nix. We can do it after we merge 3.32.

Related discussion:
text: , gtk3, glib, glib-networking, gsettings-desktop-schemas , gnome-desktop, gnome-settings-daemon, gnome-online-accounts , vino, gnome-bluetooth, tracker, adwaita-icon-theme <del> , udisks2, gsound, libhandy, cups }: </del> <ins> , udisks2, gsound, libhandy, cups, mutter }: </ins> stdenv.mkDerivation rec { pname = "gnome-control-center";
Code change:
In GNOME keyboard shortcut settings, the list of categories based on and on my own experience with GNOME on other distros should be: Launchers Navigation Screenshots Sound and Media System Typing Universal Access Windows However, only the following categories are available: Launchers Screenshots Sound and Media System Typing Universal Access So I'm missing Navigation and Windows. Install gnome package and use GNOME. Open keyboard settings (press Super, type "keyboard", choose Keyboard). See the list of categories on the left panel. System: (NixOS: , Ubuntu/Fedora: , ...)Nix version: (run )Nixpkgs version: (run )
I am affected too. Moreover doesn't lock the screen.
I got that, too. Seems like that might be .
Another possible source of not working (if you're using GDM):
Apparently the Control Center derivation only provides some keybindings: the others are part of other packages like GNOME Shell or GPaste. The Control Center loads the bindings , basically using to locate them. But even explicitly passing the path does not make the Windows section appear – though, strace confirms the file being read. Edit: Nevermind, it looks like the navigation and windows keybindings come from .
Hey, have you somehow managed to get it to work using ? (Not quite sure how to interpret your edit). I tried messing around with that but so far I’ve only been able to break :
Try . The error you are seeing is caused by missing GNOME shell SCHEMAS, which will most likely be in the current variable.
It looks like the error I was seeing was related to fish shell not having setup properly and was failing even if I didn’t attempt to change anything. I switched to bash and that particular problem disappeared, however I am now getting a different error message: However, this schema seems to exist in mutter, so I sadly have no idea what is going on here:
Right, for that you also need to add share/gsettings/mutter-3.28.0 or something like that.
Thanks a ton! I finally got it to work using that!
I was able to get it to work using .
The mutter keybindings are not available in control center in NixOS when . Explicitly adding mutter to fixes it. Should mutter perhaps be to ?
I think adding it to dependencies of g-c-c is more in line with Nix. We can do it after we merge 3.32.

Related discussion:
text: # Thumbnailers (for setting user profile pictures) --prefix XDG_DATA_DIRS : "${gdk_pixbuf}/share" --prefix XDG_DATA_DIRS : "${librsvg}/share" <ins> # WM keyboard shortcuts --prefix XDG_DATA_DIRS : "${mutter}/share" </ins> ) for i in $out/share/applications/*; do substituteInPlace $i --replace "Exec=gnome-control-center" "Exec=$out/bin/gnome-control-center"
Code change:
On current , (4.2.4) group voice chat will be stuck on "connecting" forever, while private group voice works. This issue exists when connecting from different countries, using different account, with or without proxy, so it seems not really a "connection issue". a voice chat in a private group. it stuck on "connecting" phase forever. Successfully starts or joins a voice chat. chat and live stream are broken. (one to one) voice chat works without issues. 's version of telegram works. (Its font is broken though) Please run and paste the result.

Related discussion:
text: { lib, stdenv, fetchFromGitHub , pkg-config, cmake, ninja, yasm <del> , libjpeg, openssl, libopus, ffmpeg, alsa-lib, libpulseaudio, protobuf </del> <ins> , libjpeg, openssl_1_1, libopus, ffmpeg, alsa-lib, libpulseaudio, protobuf </ins> , openh264, usrsctp, libevent, libvpx , libX11, libXtst, libXcomposite, libXdamage, libXext, libXrender, libXrandr, libXi , glib, abseil-cpp, pcre, util-linuxMinimal, libselinux, libsepol, pipewire
Code change:
On current , (4.2.4) group voice chat will be stuck on "connecting" forever, while private group voice works. This issue exists when connecting from different countries, using different account, with or without proxy, so it seems not really a "connection issue". a voice chat in a private group. it stuck on "connecting" phase forever. Successfully starts or joins a voice chat. chat and live stream are broken. (one to one) voice chat works without issues. 's version of telegram works. (Its font is broken though) Please run and paste the result.

Related discussion:
text: nativeBuildInputs = [ pkg-config cmake ninja yasm ]; buildInputs = [ <del> libjpeg openssl libopus ffmpeg alsa-lib libpulseaudio protobuf </del> <ins> libjpeg libopus ffmpeg alsa-lib libpulseaudio protobuf </ins> openh264 usrsctp libevent libvpx libX11 libXtst libXcomposite libXdamage libXext libXrender libXrandr libXi glib abseil-cpp pcre util-linuxMinimal libselinux libsepol pipewire
Code change:
On current , (4.2.4) group voice chat will be stuck on "connecting" forever, while private group voice works. This issue exists when connecting from different countries, using different account, with or without proxy, so it seems not really a "connection issue". a voice chat in a private group. it stuck on "connecting" phase forever. Successfully starts or joins a voice chat. chat and live stream are broken. (one to one) voice chat works without issues. 's version of telegram works. (Its font is broken though) Please run and paste the result.

Related discussion:
text: propagatedBuildInputs = [ # Required for linking downstream binaries. <del> abseil-cpp openh264 usrsctp libevent libvpx </del> <ins> abseil-cpp openh264 usrsctp libevent libvpx openssl_1_1 </ins> ]; meta = with lib; {
Code change:
Try building
Just ran into the same problem when updating my system flake. For bisecting purposes, nixpkgs was my previous (working) configuration. EDIT: bisection in progress, have to do some large builds now:
Excerpt from : which seems to be the change that breaks , so we probably need to file an upstream issue.
As a workaround, something like this should work:
Note that the downgrade would undo some security fixes; see PR ... which is also why we backported this problem to 22.05.
I see...I'll wait to re-enable qtile then
Depending on how much value you place on the failing test, something like this worked for me: Modifying the package in a general overlay triggered huge rebuilds for me, so I've just replaced it inside my derivation, which is what pulls in in my system configuration.
How would you modify the package with a general overlay? Something like this didn't work for me:
This global overlay works for me, without annoying rebuilds: Note, I'm using and this is imported in . I don't know if you can use it without modifications otherwise.
I have a similar setup, I have (minus the let bindings I have in my config): So I don't see the difference between our configs...
Somehow, the overlay proposed by worked. This reaches about the limits of my Nix knowledge, but maybe is required instead of simply ? Is the only difference I can notice.

Related discussion:
text: ]; # test_peer_interface hits a timeout <ins> # test_tcp_connection_with_forwarding fails due to dbus # creating unix socket anyway on v1.14.4 </ins> checkPhase = '' dbus-run-session --config-file=${dbus.daemon}/share/dbus-1/session.conf  ${python.interpreter} -m pytest -sv --cov=dbus_next  <del> -k "not test_peer_interface" </del> <ins> -k "not test_peer_interface and not test_tcp_connection_with_forwarding" </ins> ''; meta = with lib; {