jiebi/CodeConvo huggingface dataset:
Code change:
./programs/light.nix ./programs/mosh.nix ./programs/mininet.nix <ins> ./programs/msmtp.nix </ins> ./programs/mtr.nix ./programs/nano.nix ./programs/neovim.nix

Related discussion:
text: The ssmtp program is dead/unmaintained. The commonly suggested substitute is msmtp. While [home-manager has a module for msmtp][1], NixOS lacks one. [1]: Let's: [x] Done in We should probably also: [x] Remove the ssmtp NixOS module and add migration instructions to the release notes () [x] Remove the ssmtp package ()
I marked this as stale due to inactivity. &rarr;
The module works really well. Thanks for the module
Code change:
buildGoModule rec { pname = "senpai"; <del> version = "0.2.0"; </del> <ins> version = "0.3.0"; </ins> src = fetchFromSourcehut { <del> owner = "~taiite"; </del> <ins> owner = "~delthas"; </ins> repo = "senpai"; rev = "v${version}"; <del> sha256 = "sha256-q167og8S8YbLcREZ7DVbJhjMzx4iO0WgIFkOV2IpieM="; </del> <ins> sha256 = "sha256-A5kBrJJi+RcSpB0bi2heKzNl5LjdeT9h2Pc9kKXDg1A="; </ins> }; <del> vendorHash = "sha256-PkoEHQEGKCiNbJsm7ieL65MtEult/wubLreJKA1gGpg="; </del> <ins> vendorHash = "sha256-kKYee1QJX7N101MTikHUbX+AqZ2NhM4soE4JAAOdAPI="; patches = [ # fix build failures, submitted upstream https://lists.sr.ht/~delthas/senpai-dev/patches/48581 ./bump-go-version.patch ]; </ins> subPackages = [ "cmd/senpai"

Related discussion:
text: Package name: senpai Latest released version: 0.3.0 <!-- Search your package here: --- Current version on the unstable channel: 0.2.0 Current version on the stable/release channel: 0.2.0 <!-- 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 Note for maintainers: Please tag this issue in your PR. Has new maintainer There are issues where the pulled dependencies don’t work with the 1.16 specified version. + (as well as 19) created a new batch of errors I decided to give up on. I did ask about in on their SourceHut issue tracker: Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Code change:
sasmodels = callPackage ../development/python-modules/sasmodels { }; <ins> scalene = callPackage ../development/python-modules/scalene { }; </ins> scales = callPackage ../development/python-modules/scales { }; scancode-toolkit = callPackage ../development/python-modules/scancode-toolkit { };

Related discussion:
text: Project description Scalene is a high-performance CPU, GPU and memory profiler for Python that does a number of things that other Python profilers do not and cannot do. It runs orders of magnitude faster than many other profilers while delivering far more detailed information. It is also incorporates AI-powered optimization suggestions. Metadata homepage URL: source URL: license: Apache 2 platforms: unix, linux, darwin, windows Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Code change:
<ins> diff --git a/src/vteconv.cc b/src/vteconv.cc index b78d3928..5cb63e7e 100644 --- a/src/vteconv.cc +++ b/src/vteconv.cc @@ -771,7 +771,7 @@ int main (int argc, char *argv[]) { -        g_test_init (&argc, &argv, NULL); +        g_test_init (&argc, &argv, (char *)NULL); g_test_add_func ("/vte/conv/utf8/strlen", test_utf8_strlen); g_test_add_func ("/vte/conv/utf8/validate", test_utf8_validate); diff --git a/src/vtetypes.cc b/src/vtetypes.cc index 1365a295..8f38c9d9 100644 --- a/src/vtetypes.cc +++ b/src/vtetypes.cc @@ -407,7 +407,7 @@ test_util_smart_fd(void) int main(int argc, char *argv[]) { -        g_test_init (&argc, &argv, NULL); +        g_test_init (&argc, &argv, (char *)NULL); g_test_add_func("/vte/c++/grid/coords", test_grid_coords); g_test_add_func("/vte/c++/grid/span", test_grid_span); </ins>

Related discussion:
text: The package has been . Trying to install results in the following error: Why was the package marked as broken? Is there a way to help fix it? System: Nix version: Nixpkgs version:
According to the project homepage it requires a different version of the vte library: If you package this one and add it as a dependency the package should work again.
Thanks for the response . Could you help understand the reasoning behind the commit that marked it as broken? Was the problem that was being packaged with the wrong dependency?
The dependency it needs is not in NixPkgs, so it has to be packaged and nobody cared enough to do it.
We had the patched vte under gnome-3.20, but 3.20 was now removed whole without porting that to the vte in 3.22. EDIT: refs and .
I've wasted hours trying to fix building the special vte library, you may try to continue: This fails with: I don't see marking one package broken preferable to keeping the whole gnome-3.20 in tree, sadly. Please open a pull request if you manage to succeed, but I don't see myself wasting more time on this otherwise soon.
I fixed the errors you found during compilation and submitted a PR to upstream VTE. As the changes may take a while to propagate down into vte-ng, I them as patches to the vte-ng package, which is now used to compile termite.
Code change:
}); in stdenv.mkDerivation rec { pname = "fragments"; <del> version = "2.0.2"; </del> <ins> version = "2.1"; </ins> src = fetchFromGitLab { domain = "gitlab.gnome.org"; owner = "World"; repo = "Fragments"; rev = version; <del> sha256 = "sha256-CMa1yka0kOxMhxSuazlJxTk4fzxuuwKYLBpEMwHbBUE="; </del> <ins> sha256 = "sha256-/KtUcj41s9WeHzIgGWhYQv6oD/Df7WOnJAPuS6yGLHk="; </ins> }; <del> postPatch = '' patchShebangs build-aux/meson/postinstall.py ''; </del> <ins> # https://github.com/gtk-rs/gtk4-rs/issues/1201 patches = [ ./gtk4-rs.patch ]; </ins> cargoDeps = rustPlatform.fetchCargoTarball { <del> inherit src; </del> <ins> inherit src patches; </ins> name = "${pname}-${version}"; <del> hash = "sha256-/rFZcbpITYkpSCEZp9XH253u90RGmuVLEBGIRNBgI/o="; </del> <ins> hash = "sha256-bhQHXx7kZFL+qb+k0gN1NZZ6LYjBUHuNqU528f0QAg0="; </ins> }; nativeBuildInputs = [

Related discussion:
text: Package name: fragments Latest released version: <!-- Search your package here: --- Current version on the unstable channel: 2.0.2 Current version on the stable/release channel: 2.0.2 <!-- 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.
Code change:
sampler = callPackage ../applications/misc/sampler { }; <ins> scalene = with python3Packages; toPythonApplication scalene; </ins> scalr-cli = callPackage ../tools/admin/scalr-cli { }; scaphandre = callPackage ../servers/scaphandre { };

Related discussion:
text: Project description Scalene is a high-performance CPU, GPU and memory profiler for Python that does a number of things that other Python profilers do not and cannot do. It runs orders of magnitude faster than many other profilers while delivering far more detailed information. It is also incorporates AI-powered optimization suggestions. Metadata homepage URL: source URL: license: Apache 2 platforms: unix, linux, darwin, windows Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Code change:
install -D -m0644 keys/* $out/share/refind/keys/ # Fix variable definition of 'RefindDir' which is used to locate ressource files. <del> sed -i "s,bRefindDir=.*,RefindDir=$out/share/refind,g" $out/bin/refind-install # Patch uses of `which`.  We could patch in calls to efibootmgr, # openssl, convert, and openssl, but that would greatly enlarge # refind's closure (from ca 28MB to over 400MB). sed -i 's,`which (.*)`,`type -p 1`,g' $out/bin/refind-install sed -i 's,`which (.*)`,`type -p 1`,g' $out/bin/refind-mvrefind sed -i 's,`which (.*)`,`type -p 1`,g' $out/bin/refind-mkfont </del> <ins> sed -i "s,bRefindDir="$This.*,RefindDir=$out/share/refind,g" $out/bin/refind-install </ins> runHook postInstall ''; <ins> postInstall = '' wrapProgram $out/bin/refind-install  --prefix PATH : ${lib.makeBinPath [ efibootmgr openssl sbsigntool ]} wrapProgram $out/bin/refind-mvrefind  --prefix PATH : ${lib.makeBinPath [ efibootmgr ]} ''; </ins> passthru.tests = { uefiCdrom = nixosTests.boot.uefiCdrom; };

Related discussion:
text: efibootmgr is not a dependency, despite being needed Steps to reproduce the behavior: refind refind-install the error message: ! efibootmgr is a dependency of refind I already had refind installed (from another distro) Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Code change:
preBuild = '' export RAPIDFUZZ_BUILD_EXTENSION=1 <ins> '' + lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) '' export CMAKE_ARGS="-DCMAKE_CXX_COMPILER_AR=$AR -DCMAKE_CXX_COMPILER_RANLIB=$RANLIB" </ins> ''; <ins> NIX_CFLAGS_COMPILE = lib.optionals (stdenv.cc.isClang && stdenv.isDarwin) [ "-fno-lto"  # work around https://github.com/NixOS/nixpkgs/issues/19098 ]; </ins> propagatedBuildInputs = [ jarowinkler numpy

Related discussion:
text: Steps to reproduce the behavior: python3Packages.rapidfuzz Introduced in . Please run and paste the result.
It appears that cmake selects an incorrect linker. I am currently unsure what's the reason for this. Following I think I might need to set: I have zero experience with nix os + no access to a mac. Is there any way to patch in the build system here to check whether this solves the issue?
Code change:
install -Dm555 misc/auto-completion/fish/nnn.fish -t $out/share/fish/vendor_completions.d ''; <del> meta = { </del> <ins> meta = with lib; { </ins> description = "Small ncurses-based file browser forked from noice"; homepage = "https://github.com/jarun/nnn"; license = licenses.bsd2;

Related discussion:
text: It would be great to have option to fetch nnn plugins with nxpkgs or with additional package instead of manually fetching it like developer advise. And second is it possible to implement some option to include icons support from nerdfont to nnn binary file instead of recompiling it? Thanks.
I think this issue was closed preemptively by the line in the PR, there doesn't seem to be any way to include plugins as of now
nnn seems to expect plugins in . This might work better as a home-manager module, maybe with the plugins themselves as an output of nixpkgs. I might take a look at this next week.
I marked this as stale due to inactivity. &rarr;
I've recompiled nnn with icons, by using unstable branch and overriding nnn-package:
I marked this as stale due to inactivity. &rarr;
Code change:
txredisapi = handleTest ./txredisapi.nix {}; tuptime = handleTest ./tuptime.nix {}; turbovnc-headless-server = handleTest ./turbovnc-headless-server.nix {}; <ins> turn-rs = handleTest ./turn-rs.nix {}; </ins> tuxguitar = handleTest ./tuxguitar.nix {}; twingate = runTest ./twingate.nix; typesense = handleTest ./typesense.nix {};

Related discussion:
text: Project description A pure rust implemented turn server. <!-- Describe the project a little: --Metadata homepage URL: source URL: license: gpl-3.0 platforms: linux, windows Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Code change:
''; package = lib.mkOption { <del> default = config.boot.kernelPackages.nvidiaPackages."${if cfg.datacenter.enable then "dc" else "stable"}"; </del> <ins> default = config.boot.kernelPackages.nvidiaPackages."${if cfg.datacenter.enable then "dc" else "stable"}"; </ins> defaultText = lib.literalExpression '' config.boot.kernelPackages.nvidiaPackages."${if cfg.datacenter.enable then "dc" else "stable"}" '';

Related discussion:
text: Package name: Latest released version: 555.42.02 <!-- Search your package here: --- Current version on the unstable channel: 550.78 Current version on the stable/release channel: 545.29.02 <!-- 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]:
Code change:
inherit version; src = "${src}/release/app"; <del> npmDepsHash = "sha256-MRwKxe1hoFs5bPXT6K/UspSDs9XBdcRJGvxGlTKExp4="; </del> <ins> npmDepsHash = "sha256-NgWPr3mctn7f6X2JFsbdNNHkN84RRlLAywqfbyahCQw="; </ins> npmFlags = [ "--ignore-scripts" ]; dontNpmBuild = true;

Related discussion:
text: Package name: feishin Latest released version: 0.7.1 <!-- Search your package here: --- Current version on the unstable channel: 0.6.1 Current version on the stable/release channel: 0.5.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]:
thanks for reporting this, just noticed I hadn't subscribed to release notifications. Shouldn't miss any from now on :) Fixed by (awaiting review).
Code change:
<ins> { lib, stdenv, python3, fetchFromGitHub, qt5, nix-update-script, }: let version = "2.4.3"; in python3.pkgs.buildPythonApplication { pname = "novelwriter"; inherit version; pyproject = true; src = fetchFromGitHub { owner = "vkbo"; repo = "novelWriter"; rev = "v${version}"; hash = "sha256-PuoI/2JnbOFuSDTY3uDrySqPl/MGYna+QvSI7WQ8QMk="; }; nativeBuildInputs = [ qt5.wrapQtAppsHook ]; build-system = with python3.pkgs; [ setuptools ]; dependencies = with python3.pkgs; [ pyqt5 pyenchant qt5.qtbase qt5.qtwayland ]; preBuild = '' export QT_QPA_PLATFORM_PLUGIN_PATH=${qt5.qtbase.bin}/lib/qt-${qt5.qtbase.version}/plugins/platforms ''; postInstall = lib.optionalString stdenv.isLinux '' mkdir -p $out/share/{icons,applications,pixmaps,mime/packages} cp -r setup/data/hicolor $out/share/icons cp setup/data/novelwriter.desktop $out/share/applications cp setup/data/novelwriter.png $out/share/pixmaps cp setup/data/x-novelwriter-project.xml $out/share/mime/packages ''; dontWrapQtApps = true; postFixup = '' wrapQtApp $out/bin/novelwriter ''; passthru.updateScript = nix-update-script { # Stable releases only extraArgs = [ "--version-regex" "^v([0-9.]+)$" ]; }; meta = { description = "Open source plain text editor designed for writing novels"; homepage = "https://novelwriter.io"; changelog = "https://github.com/vkbo/novelWriter/blob/main/CHANGELOG.md"; license = with lib.licenses; [ gpl3 ]; maintainers = with lib.maintainers; [ pluiedev ]; mainProgram = "novelwriter"; platforms = with lib.platforms; unix ++ windows; broken = stdenv.isDarwin; # TODO awaiting build instructions for Darwin }; } </ins>

Related discussion:
text: Project description A markdown-like text editor designed for writing novels and larger projects of many smaller plain text documents. Metadata homepage URL: source URL: license: gpl3 platforms: linux, win, darwin Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Code change:
''); withGitignoreFile = patterns: root: <del> lib.toList patterns ++ [(root + "/.gitignore")]; </del> <ins> lib.toList patterns ++ [ ".git" ] ++ [(root + "/.gitignore")]; </ins> withRecursiveGitignoreFile = patterns: root: <del> lib.toList patterns ++ [(compileRecursiveGitignore root)]; </del> <ins> lib.toList patterns ++ [ ".git" ] ++ [(compileRecursiveGitignore root)]; </ins> # filterSource derivatives

Related discussion:
text: Describe the bug nix-gitignore lets the hash of the source change when some file changes in .git (notably .git/FETCHHEAD) To Reproduce Steps to reproduce the behavior: a git repo in a as follows: Expected behavior Hash does not change Additional context I intend to open a PR to fix this soon Notify maintainers Metadata system: host os: multi-user?: sandbox: version: channels(root): channels(symphorien): channels(foo): nixpkgs: Maintainer information:
Code change:
stdenvNoCC.mkDerivation rec { pname = "blesh"; <del> version = "unstable-2022-07-29"; </del> <ins> version = "0.3.4"; </ins> src = fetchzip { <del> url = "https://github.com/akinomyoga/ble.sh/releases/download/nightly/ble-nightly-20220729+a22e145.tar.xz"; sha256 = "088jv02y40pjcfzgrbx8n6aksznfh6zl0j5siwfw3pmwn3i16njw"; </del> <ins> url = "https://github.com/akinomyoga/ble.sh/releases/download/v${version}/ble-${version}.tar.xz"; sha256 = "sha256-MGCQirZvqGfjTTsbDfihY2il/u2suWBaZ6dX8mF1zLk="; </ins> }; dontBuild = true;

Related discussion:
text: Package name: blesh Latest released version: unstable-2022-07-29 <!-- Search your package here: --- Current version on the unstable channel: unstable-2022-07-29 Current version on the stable/release channel: unstable-2022-07-29 <!-- 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.
Code change:
i686bundled = versionAtLeast version "391" && !disable32Bit; libPathFor = pkgs: pkgs.lib.makeLibraryPath [ pkgs.libdrm pkgs.xorg.libXext pkgs.xorg.libX11 <del> pkgs.xorg.libXv pkgs.xorg.libXrandr pkgs.xorg.libxcb pkgs.zlib pkgs.stdenv.cc.cc ]; </del> <ins> pkgs.xorg.libXv pkgs.xorg.libXrandr pkgs.xorg.libxcb pkgs.zlib pkgs.stdenv.cc.cc pkgs.wayland ]; </ins> self = stdenv.mkDerivation { name = "nvidia-x11-${version}${nameSuffix}";

Related discussion:
text: Yes. We have a package which is what I tried, but since it’s a thin wrapper around it’s possible that it’s still not built with the right options. Also I’ve noticed these messages from : does not show the extension, and GLX applications fail to start. Originally posted by in I probably merged , too early. I'm not totally sure this is working properly.
This is pretty much a help wanted because I lack the depth of knowledge and hardware to help anymore with Nvidia things. My goal with finishing was that it could be possible and improved upon. i.e packages are built with the capability etc.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
The last few evenings, I have tinkered around a bit. I was not successful so far. Here are my findings: I have set the following options: This page says that there is no acceleration support for xwayland and nvidia yet but glxgears fails to start, so I think this is another issue There are multiple versions of : One from the egl-wayland package, the other from nvidia-x11 package. As the one in is loaded, I tried to replace it with the one from egl-wayland. Though, the result is the same with both. When starting an application, which would use acceleration, I can observe this line in the kernel log: Using , I can see that is accessed, though one of the calls fails: one more thing: looking at , gnome-shell is listed. Maybe it has working acceleration? Edit: Got a bit further: Found a reference to an additional directory, which is used to look up libraries: Creating a file in there: with the file in /run/opengl-driver/lib/libnvidia-egl- being replaced by the one from egl-wayland package. Now the error in xwayland is just a warning: I can run a wayland native terminal, but still fails If you have any suggestions, what to try next, I would be glad to give it a try.
Hello, I'm a bot and I thank you in the name of the community for opening this issue. To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant.
Code change:
i686bundled = versionAtLeast version "391" && !disable32Bit; libPathFor = pkgs: pkgs.lib.makeLibraryPath [ pkgs.libdrm pkgs.xorg.libXext pkgs.xorg.libX11 <del> pkgs.xorg.libXv pkgs.xorg.libXrandr pkgs.xorg.libxcb pkgs.zlib pkgs.stdenv.cc.cc ]; </del> <ins> pkgs.xorg.libXv pkgs.xorg.libXrandr pkgs.xorg.libxcb pkgs.zlib pkgs.stdenv.cc.cc pkgs.wayland ]; </ins> self = stdenv.mkDerivation { name = "nvidia-x11-${version}${nameSuffix}";

Related discussion:
text: This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human. The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use or on the relevant files to find them. Lastly, you can always ask for help at or at .
I'm trying to get this working as well. However I can't even get the session chooser in GDM in 20.09. Is it only working in unstable? Any tips? Here's my config
With this overlay and the 470.42.01 driver, nvidia is usable with xwayland. :tada: , unigene-valley and so far every game I started on Steam. Only issues I have so far are that chrome does not start properly Workaround is to start it with some options: and in CSGO there is noticeable input delay.
I've updated to the latest nixos-unstable () which includes updated & , but I'm still facing issues. While it's generally working I have problems with some apps. : : : Additionally in my system logs I can see: & are both working. My relevant config: I also tried using an overlay to apply the new meson flags from overlay: Is there anything else I need to set up?
also fails with
I have a very similar setup as and am experiencing precisely the same errors. I'm not sure whether it's an issue with gnome, my particular config, or what. Things work fine when running in an X session.
:thinking: I don't see anything missing with your config . I have updated my config to and removed the overlay. and are producing the same errors, and chrome won't function properly unless started with and are working for me, as well as and and . Note: Seam is installed via but this should only be relevant for running games inside steam, not steam itself.