jiebi/CodeConvo huggingface dataset:
Change:
in '' runHook preInstall <del> packagePath=$out/share/zoom-us mkdir -p $packagePath $out/bin </del> <ins> mkdir -p $out/{bin,share/zoom-us} </ins> <del> cp -ar ${files} $packagePath </del> <ins> cp -ar ${files} $out/share/zoom-us </ins> # TODO Patch this somehow; tries to dlopen './libturbojpeg.so' from cwd <del> ln -s $(readlink -e "${libjpeg_turbo.out}/lib/libturbojpeg.so") $packagePath/libturbojpeg.so ln -s ${qtEnv}/bin/qt.conf $packagePath makeWrapper $packagePath/zoom $out/bin/zoom-us  --prefix PATH : "${makeBinPath [ coreutils glib.dev pciutils procps qttools.dev utillinux ]}"  --prefix LD_PRELOAD : "${libv4l}/lib/libv4l/v4l2convert.so"  --run "cd $packagePath" </del> <ins> ln -s $(readlink -e "${libjpeg_turbo.out}/lib/libturbojpeg.so") $out/share/zoom-us/libturbojpeg.so </ins> runHook postInstall '';

Discussion:
Describe the bug zoom-us appears to be broken. Caused by a change between .... To Reproduce Steps to reproduce the behavior: Expected behavior Success Additional context Logs: Metadata Please run and paste the result. system: host os: multi-user?: sandbox: version: channels(root): channels(mbauer): nixpkgs: Maintainer information: /cc
I'll try using the new Qt infrastructure and see how it interacts with binaries, I guess.
Just using doesn't change anything, but removing from allows it to build. I had to replace with as well. Unfortunately, the application doesn't create a window, but the terminal output is normal. Still investigating.
Fix incoming.
Change:
<itemizedlist> <listitem> <del> <para /> </del> <ins> <para> <link xlink:href="https://www.keycloak.org/">Keycloak</link>, an open source identity and access management server with support for <link xlink:href="https://openid.net/connect/">OpenID Connect</link>, <link xlink:href="https://oauth.net/2/">OAUTH 2.0</link> and <link xlink:href="https://en.wikipedia.org/wiki/SAML_2.0">SAML 2.0</link>. </para> <para> See the <link linkend="module-services-keycloak">Keycloak section of the NixOS manual</link> for more information. </para> </ins> </listitem> </itemizedlist>

Discussion:
Project description Metadata homepage URL: source URL: license: Apache-2.0 platforms: linux, darwin (maybe?)
There exists a package: A module is currently missing.
Uh I was pretty sure I checked in my local nixpkgs checkout. Weird, I wonder if I just made a typo while checking. Sorry about that. We can leave this issue for the module part.
It looks like the maintainer is Have you started work on a module already, or would you prefer someone else step up to work on that part? I haven't dealt with creating modules in the past, but I'd be willing to learn.
I haven't dug into making a module previously. I suspect there's a bit of ugliness around the setup and configuration decoratively, but I'm happy to work with someone on it. Shall I start a basic PR?
yes please :)
Change:
# this breaks other applications in kicad dontWrapGApps = true; <ins> passthru = { i18n = mkLib version "i18n" "1hkc240gymhmyv6r858mq5d2slz0vjqc47ah8wn82vvmb83fpnjy" { buildInputs = [ gettext ]; meta.license = licenses.gpl2; # https://github.com/KiCad/kicad-i18n/issues/3 }; symbols = mkLib version "symbols" "1rjh2pjcrc3bhcgyyskj5pssm7vffrjk0ymwr70fb7sjpmk96yjk" { meta.license = licenses.cc-by-sa-40; }; footprints = mkLib version "footprints" "19khqyrbrqsdzxvm1b1vxfscxhss705fqky0ilrbvnbvf27fnx8w" { meta.license = licenses.cc-by-sa-40; }; templates = mkLib version "templates" "0rlzq1n09n0sf2kj5c9bvbnkvs6cpycjxmxwcswql0fbpcp0sql7" { meta.license = licenses.cc-by-sa-40; }; packages3d = mkLib version "packages3d" "135jyrljgknnv2y35skhnwcxg16yxxkfbcx07nad3vr4r76zk3am" { hydraPlatforms = []; # this is a ~1 GiB download, occupies ~5 GiB in store meta.license = licenses.cc-by-sa-40; }; }; modules = with passthru; [ i18n symbols footprints templates ]; postInstall = '' mkdir -p $out/share for module in $modules; do lndir $module/share $out/share done ''; </ins> preFixup = '' buildPythonPath "$out $pythonPath" gappsWrapperArgs+=(--set PYTHONPATH "$program_PYTHONPATH")

Discussion:
KISYSMOD and KISYS3DMOD point to missing directories. On my system they are and , respectively. Neither of these paths exist though. I do see a few other kicad-5.0.0 directories in the Nix store, but I'm not sure if I should use those (and if so, which one). the environment variables (Preferences Configure Paths...)
The library is also supposed to be at which does not exist while points to it.
Mostly fixed by . Symbols and footprints are now included, and the variables point to the correct location. We don't have the 3D models by default as they're five gigabytes, for that you need to use the derivation (which unfortunately means recompiling kicad for now).
Change:
config = mkIf cfg.enable { boot.kernelModules = [ "tun" ]; <ins> # mullvad-daemon writes to /etc/iproute2/rt_tables networking.iproute2.enable = true; </ins> systemd.services.mullvad-daemon = { description = "Mullvad VPN daemon"; wantedBy = [ "multi-user.target" ];

Discussion:
Describe the bug Since upgrading to mullvad-vpn 2020.5 on nixos-unstable the client () can't connect to anymore. To Reproduce Set and run . Expected behavior The mullvad client should be able to connect to the daemon. Screenshots ! Additional context The seems to be fine. Here's the log: And the (client) log: Notify maintainers Metadata Please run and paste the result. Maintainer information:
I got some more logging than provided in the systemd logs running it manually: The code in question seems to be here: the path it's trying to write to is: The whole function is new in . doesn't exist on my machine
Ok adding copies the config files into Mullvad adds to the end of IDK if this is an ideal solution or one that fits NixOS but the mullvad daemon is working now.
While enabling seems to fix the issue with OpenVPN but it's still not working for me when I try to use Wireguard.
fixed this particular issue for me, works with wireguard too. In case it's any help, my full config is here:
I'm running right now and it's working for me. My current config is:
This problem has reappeared for me, with exactly the same symptoms, when I run Mullvad in the current stable, which is 21.05. A workaround (which I don't fully understand) is to completely disable my firewall using It's not sufficient to have the firewall on with the ports recommended by Mullvad opened - that's the following ports, according to TCP: 80, 443, 1401 UDP: 53, 1194, 1195, 1196, 1197, 1300, 1301, 1302, 1303, 1400
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
Have you tried open these ports instead of disabling the firewall?
Yes.
If you use there VPN than you should not have to open any ports because the default nixos firewall is only blocking incoming traffic not out-going.
Change:
<ins> { lib , stdenv , fetchFromGitHub , fetchpatch , cmake , glfw , darwin , enableShared ? !stdenv.hostPlatform.isStatic , enableDebug ? false }: stdenv.mkDerivation (finalAttrs: { pname = "mlx42"; version = "2.3.2"; src = fetchFromGitHub { owner = "codam-coding-college"; repo = "MLX42"; rev = "refs/tags/v${finalAttrs.version}"; hash = "sha256-JCBV8NWibSugqXkbgP0v3gDfaaMNFYztWpBRfHJUG8E="; }; patches = [ (fetchpatch { name = "add-cmake-install.patch"; url = "https://github.com/codam-coding-college/MLX42/commit/a51ca8e0ec3fb793fa96d710696dcee8a4fe57d6.patch"; hash = "sha256-i+0yHZVvfTG19BGVrz7GuEuBw3B7lylCPEvx07il23M="; }) ]; postPatch = '' patchShebangs ./tools '' + lib.optionalString enableShared '' substituteInPlace CMakeLists.txt  --replace "mlx42 STATIC" "mlx42 SHARED" ''; nativeBuildInputs = [ cmake ]; buildInputs = [ glfw ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ OpenGL Cocoa IOKit ]); cmakeFlags = [ "-DDEBUG=${toString enableDebug}" ]; postInstall = '' mkdir -p $out/lib/pkgconfig substituteAll ${./mlx42.pc} $out/lib/pkgconfig/mlx42.pc # This file was removed after 2.3.2, so the used patch doesn't copy this file # This line can be removed after the next release cp $src/include/MLX42/MLX42_Input.h $out/include/MLX42 ''; meta = { description = "A simple cross-platform graphics library that uses GLFW and OpenGL"; homepage = "https://github.com/codam-coding-college/MLX42"; license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ tomasajt ]; platforms = lib.platforms.unix; }; }) </ins>

Discussion:
Project description graphics library <!-- Describe the project a little: --MLX42 is a performant, easy to use, cross-platform, minimal windowing graphics library to create graphical applications without having to work directly with the native windowing framework of the given operating system. Metadata homepage URL: source URL: license: GPL-2.0 platforms: Linux, MacOS, Windows
Change:
, makeWrapper , jre_headless , util-linux, gnugrep, coreutils <ins> , libxcrypt </ins> , autoPatchelfHook , zlib }:

Discussion:
Steps to reproduce the behavior: = true; If services.elasticsearch.package is set to pkgs.elasticsearch-oss it works. <!-- 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:
enableParallelBuilding = !stdenv.isDarwin; <ins> separateDebugInfo = true; </ins> buildFlags = [ "world" ]; NIX_CFLAGS_COMPILE = "-I${libxml2.dev}/include/libxml2";

Discussion:
It would be great to be able to obtain a version of postgres including debug symbols. (For people actually getting segfaults to properly report a backtrace for example. I know it doesn't seem like there are many bugs in postgres, but I'm actually running into on on version 13) It's a matter of passing the flags when building from source. so It seems that it should be another configure flag to add here However I'm not sure what's the best way to go about it, since each version should have a dbgsym version associated. perhaps just like version is inherited for every single package, add a attribute that would be defined in each package and add a new dbgsym version of each package? So far it seems to be what makes the most sense to me. I'm curious to have your opinion when you have a moment. Let me know if I'm missing anything. homepage URL: PS: completely unrelated, but it seems there is a typo here postgreql -postgresql
Change:
services.prometheus.exporters.minio.minioAccessSecret = mkDefault config.services.minio.secretKey; })] ++ [(mkIf config.services.rspamd.enable { services.prometheus.exporters.rspamd.url = mkDefault "http://localhost:11334/stat"; <ins> })] ++ [(mkIf config.services.nginx.enable { systemd.services.prometheus-nginx-exporter.after = [ "nginx.service" ]; systemd.services.prometheus-nginx-exporter.requires = [ "nginx.service" ]; </ins> })] ++ (mapAttrsToList (name: conf: mkExporterConf { inherit name;

Discussion:
Describe the bug The default configuration for generates a systemd service that does not depend on nginx to be up. However, the nginx prometheus exporter fails at startup if nginx is not running: To Reproduce Steps to reproduce the behavior: restart nginx nginx-prometheus-exporter unlucky with restart parallelism Expected behavior Proper dependencies are required. Maintainer information:
Change:
{ lib <ins> , gccStdenv </ins> , stdenv , fetchurl , fetchpatch

Discussion:
Steps to reproduce the behavior: Add any other context about the problem here. <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. -- Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Change:
import glob import tempfile import errno <ins> import warnings </ins> def copy_if_not_exists(source, dest): if not os.path.exists(dest):

Discussion:
I was using gummiboot and struggling to figure out how to reinstall it. This option should be aliased and deprecated in favor of "--install-bootloader" or the like, and the manpage updated to be agnostic of the bootloader selected in , since the correct behavior is already in place (--install-grub reinstalls gummiboot properly).
Change:
# This is syslinux-6.04-pre3^1; syslinux-6.04-pre3 fails to run. # Same issue here https://www.syslinux.org/archives/2019-February/026330.html <del> src = fetchgit { url = "https://repo.or.cz/syslinux"; </del> <ins> src = fetchFromRepoOrCz { repo = "syslinux"; </ins> rev = "b40487005223a78c3bb4c300ef6c436b3f6ec1f7"; <del> sha256 = "sha256-GqvRTr9mA2yRD0G0CF11x1X0jCgqV4Mh+tvE0/0yjqk="; fetchSubmodules = true; </del> <ins> hash = "sha256-XNC+X7UYxdMQQAg4MLACQLxRNnI5/ZCOiCJrEkKgPeM="; </ins> }; patches = let

Discussion:
Steps to reproduce the behavior: The src is: We tried to use from nixpkgs in , but that made nix-build . -A fail. I guess that happened due to one of the commits between and (which is the latest commit on ) <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Change:
kbookmarks kcompletion kconfig kconfigwidgets kcoreaddons kdelibs4support kguiaddons ki18n kiconthemes kinit kio knotifications knotifyconfig kparts kpty kservice ktextwidgets kwidgetsaddons kwindowsystem kxmlgui qtscript knewstuff <ins> makeWrapper </ins> ]; <ins> postInstall = '' wrapProgram $out/bin/konsole --prefix XDG_DATA_DIRS ":" $out/share ''; </ins> propagatedUserEnvPkgs = [ (lib.getBin kinit) ]; }

Discussion:
The arrow keys, and also Home, End etc. don't work in konsole or yakuake. Pressing them does nothing - in particular it does not print an escape code, which makes me think that this isn't a problem. I am using these from XFCE, rather than KDE, but I would hope that that would be supported. Install konsole. Try to use the arrow keys. System: 18.03pre116572. (Impala) Nix version: 1.11.15 Nixpkgs version: 18.03pre116572. Sandboxing enabled: yes
I think it was that mentioned this on the ~mailing list~ #nixos as well. Did you find a solution?
I didn't, I switched to Plasma.
Possibly relevant: running I get output for arrow keys, but nothing when running .
i switched to xfce4-terminal but we need to fix this, konsole is rather important for us.
I also switched to Plasma, where it works. One thing I think I discovered when trying to debug this is that it is not a issue, or anything relating to interpretation of escape sequences. Rather than getting uninterpreted escape sequences, it appears that konsole just doesn't get sent the sequences at all.
xev started from konsole can still get cursor keys, konsole still can't receive them.
The navigation keys are not working because konsole can't find the data file for the . As a temporary workaround, I manually placed in my home directory under . For a real fix, konsole would need to look at the correct path in the nix store. Right now it relies on . Maybe this should include ?
this solution is awesome, can you also fix the problem in nixpkgs? afterwards contact me to get a reward!
Change:
gmailieer = callPackage ../applications/networking/gmailieer {}; <ins> gmailctl = callPackage ../applications/networking/gmailctl {}; </ins> gpm = callPackage ../servers/gpm { ncurses = null;  # Keep curses disabled for lack of value };

Discussion:
Project description Declarative configuration for Gmail filters Metadata homepage URL: source license: mit platforms: unix Package Definition
Do you mind opening a PR?
I haven't been able to get explicit permission from my employer to contribute to open source code, so I'm afraid I can't at this point.
Change:
<del> { callPackage, openssl, python3, enableNpm ? true }: </del> <ins> { callPackage, openssl, python3, fetchpatch, enableNpm ? true }: </ins> let buildNodejs = callPackage ./nodejs.nix {

Discussion:
trying to build nodejs 16.6 on darwin I get the following error This error seems to be fixed by adding as a buildinput. however trying to build after that I get another error which I think is coming from the warning darwin is still on llvm 7. There is an effort at the moment to update it to llvm 11, but it might take some more time. I don't understand how to fix the c++ compiler version. Should it not be fixed to something higher than 7 rather than relying on the default stdenv one? I'm happy to test whatever ideas you have Please run and paste the result. Maintainer information:
There is an issue that was opened on nodejs for this actually it basically says that this requires xcode 11 to build. I noticed we are using xcbuild which is read only at this point. I wonder if it's just a matter of updating to the latest os version. I will try that this weekend.
Change:
assert withLibsecretSupport -> withGuiSupport; buildDotnetModule rec { pname = "git-credential-manager"; <del> version = "2.4.1"; </del> <ins> version = "2.5.0"; </ins> src = fetchFromGitHub { owner = "git-ecosystem"; repo = "git-credential-manager"; rev = "v${version}"; <del> hash = "sha256-Uf0EXaGM4k9Aanz16B9xA2EcseXTI9lLCws/ZVNb3e8="; </del> <ins> hash = "sha256-eRSTF9Ldj00cQbUzHzdMihte0+W4nZ9T/qg/L/yes/w="; </ins> }; projectFile = "src/shared/Git-Credential-Manager/Git-Credential-Manager.csproj"; nugetDeps = ./deps.nix; <del> dotnet-sdk = dotnetCorePackages.sdk_7_0; dotnet-runtime = dotnetCorePackages.runtime_7_0; dotnetInstallFlags = [ "--framework" "net7.0" ]; </del> <ins> dotnet-sdk = dotnetCorePackages.sdk_8_0; dotnet-runtime = dotnetCorePackages.runtime_8_0; dotnetInstallFlags = [ "--framework" "net8.0" ]; </ins> executables = [ "git-credential-manager" ]; runtimeDeps = [ fontconfig ]

Discussion:
Package name: git-credential-manager Latest released version: 2.5.0 <!-- Search your package here: --- Current version on the unstable channel: 2.4.1 Current version on the stable/release channel: 2.4.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. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
In my limited knowledge of the dotnet ecosystem in Nixpkgs, this may be currently blocked by and I'll continue to look into this though
opened a pr for the update:
Change:
<ins> /* This is the Hydra jobset for the `r-updates` branch in Nixpkgs. The jobset can be tested by: $ hydra-eval-jobs -I . pkgs/top-level/release-r.nix */ { supportedSystems ? [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" ] }: with import ./release-lib.nix { inherit supportedSystems; }; mapTestOn { rPackages = packagePlatforms pkgs.rPackages; } </ins>

Discussion:
I'd like to request a change to the configuration of the r-updates jobset () to alter the nixpkgs input to point at the r-updates branch in my fork () rather than peti's. As one of the current codeowners of r/rPackages I would like to be able to manage staging and testing of this tree. Moving r-updates to a branch of nixpkgs rather than my fork, as is done with haskell-updates, would also be fine with me if that's more appropriate.
I'd say a branch in nixpkgs is preferable as it makes contributing, sharing the work among multiple people and changes in maintainers easier. cc who can make these kinds of changes.
I'd rather see the branch to be on nixpkgs for two reasons: it's one less difference between languages it allows for PRs on this repo
It may also be a good idea to move from to nixpkgs as, say, , so the jobset can be changed with less hassle.
We should expand the platforms to darwin & aarch64 too if there's capacity.
All done, I think.
Change:
echo "=== Running MathInstaller ===" ./MathInstaller -auto -createdir=y -execdir=$out/bin -targetdir=$out/libexec/Mathematica -silent <ins> # Fix library paths cd $out/libexec/Mathematica/Executables for path in mathematica MathKernel Mathematica WolframKernel wolfram math; do sed -i -e 's#export LD_LIBRARY_PATH$#export LD_LIBRARY_PATH=${zlib}/lib:''${LD_LIBRARY_PATH}#' $path done </ins> ''; preFixup = ''

Discussion:
Mathematica fails to start. .... System: NixOS: 17.03.1517. (Gorilla) Nix version: 1.11.11 Nixpkgs version: 17.03.1517. Sandboxing enabled: no
Similar issue in .
Change:
wrapProgram  "$out/$pname/bin/${loName}.sh"  --prefix PATH : "$out/libexec/${pname}:${lib.makeBinPath [ jdk coreutils gnugrep which git python3 ]}"  <del> --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath ([ # Some internals want libstdc++.so.6 stdenv.cc.cc.lib libsecret e2fsprogs libnotify # Required for Help -> Collect Logs # in at least rider and goland udev ] ++ extraLdPath)}"  </del> <ins> --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath extraLdPath}"  </ins> ${lib.concatStringsSep " " extraWrapperArgs}  --set-default JDK_HOME "$jdk"  --set-default ANDROID_JAVA_HOME "$jdk" 

Discussion:
A clear and concise description of what the bug is. JetBrains editors run with which result in project built under the editors (i.e. in 's terminal) always picks up from . Even if the project is using for example . This result in ABI conflict when the build executable runs, because other components - which built using , outside clion - use from Steps to reproduce the behavior: well, this might be tricky to prepare a small project needed to support itself, should not leak into projects it edits  I suspect and in are problematic too introduced in
it seems that the fix should be to use command line switch instead of environment variable
And (or ), because JNA is looking for .so files there, so should be on one of them instead of
This is still a problem
Can confirm, this is an issue when using per-project environments which are on a different channel than my systems'. Shouldn't the "internals" be patched using e.g. instead?
For anyone else running into this: the workaround is to clear the environment variable in the IDE settings for the commands you want to run. Cumbersome, but it works.
The above workaround doesn't completely work. For instance, there is no way to remove when setting the project interpreter in PyCharm.
The following seems to work: I'll try to prepare a PR in the coming days. EDIT: It even discovered some missing dependencies and .
Has there been an update on this? I am trying to use prettier in Webstorm and all other tools to have needed the to be reset, if I want to run them. But this is not possible for prettier. I suspect that it would work with unset.
Just had this come up again trying to build a program with gcc 13 in CLion. Simply removing from in fixes the issue and doesn't appear to break clion, idea, or rider.
Change:
cairo glib gtk3 <ins> ] ++ lib.optionals (gtkSupport && lib.versionOlder dist.jdkVersion "17") [ gtk2 ] ++ lib.optionals (stdenv.isLinux && enableJavaFX) [ ffmpeg.lib </ins> ]; runtimeLibraryPath = lib.makeLibraryPath runtimeDependencies;

Discussion:
Attempt to build with JavaFX: . The build fails due to being unable to satisfy dependencies. The issue seems to occur for other versions of as well. Build was attempted in a flake with Nixpkgs pinned to , <!-- 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. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
I remember encountering this during a last bump, but eventually abandoned it because something like point to obsolete versions of ffmpeg that no longer exist in Nixpkgs. I'll probably mark with on Linux as broken at some time this week.
Oh, there's actually for that. Would you please test if works?