jiebi/CodeConvo huggingface dataset:
Code change:
<ins> { lib, fetchFromGitHub, rustPlatform, python3Packages, libiconv, }: python3Packages.buildPythonApplication rec { pname = "granian"; version = "1.5.2"; pyproject = true; src = fetchFromGitHub { owner = "emmett-framework"; repo = "granian"; rev = "v${version}"; hash = "sha256-3kwdPLOkKKSY1w42av3ejarrRKNtai8KB80ZrujSjPo="; }; cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; outputHashes = { "pyo3-log-0.11.0" = "sha256-UU8064vM7cf20lwfifyPC205CY4tIgif0slDz/Pjf9Q="; }; }; nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ]; buildInputs = [ libiconv ]; dependencies = [ python3Packages.uvloop python3Packages.click ]; meta = { description = "Rust HTTP server for Python ASGI/WSGI/RSGI applications"; homepage = "https://github.com/emmett-framework/granian"; license = lib.licenses.bsd3; mainProgram = "granian"; maintainers = with lib.maintainers; [ lucastso10 ]; platforms = lib.platforms.unix; }; } </ins>

Related discussion:
text: Project description Granian is a Rust HTTP server for Python ASGI/WSGI/RSGI applications. It fulfills a similar purpose as daphne, gunicorn, uvicorn or uwsgi, but . Metadata homepage URL: source URL: license: bsd3 platforms: unix Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Code change:
<del> { lib, stdenv, fetchFromGitHub, gettext, makeWrapper, tcl, which </del> <ins> { lib, stdenv, fetchFromGitHub, fetchpatch, gettext, makeWrapper, tcl, which </ins> , ncurses, perl , cyrus_sasl, gss, gpgme, libkrb5, libidn2, libxml2, notmuch, openssl , lua, lmdb, libxslt, docbook_xsl, docbook_xml_dtd_42, w3m, mailcap, sqlite, zlib, lndir , pkg-config, zstd, enableZstd ? true, enableMixmaster ? false, enableLua ? false

Related discussion:
text: Steps to reproduce the behavior: on darwin aarch64 see Since neomutt is broken on darwin-aarch64. See the CI output: Tangent: is it normal that a failing CI build wasn't marked as a failed check, but rather just ignored? <!-- 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.
Broken on Darwin x86-64 as well.
seems to work — I can't tell whether they are running the tests, though, or not. Here are the failing tests.
Looking at the latest comment on the already closed issue here: This issue could use some love. Neomutt is broken on MacOS and it looks like it's the derivation, not upstream.
I can't install neomutt on MacOS with home-manager too
The failing tests were disabled upstream in . I tried simply upgrading to HEAD with the following patch, and the succeeded (darwin-aarch64):
( That's a different bug which you should probably raise separately.)
Unfortunately, the latest fix didn't work for my Intel Mac, some tests are failing for me. I tested using because I didn't know how to do overrides from the CLI
Yes, the failure on should be a separate bug (and could probably be fixed by putting into ).
Code change:
let cfg = config.hardware.pulseaudio; <ins> alsaCfg = config.sound; </ins> systemWide = cfg.enable && cfg.systemWide; nonSystemWide = cfg.enable && !cfg.systemWide;

Related discussion:
text: Setting to while setting to any non-empty value will cause a build failure because and both attempt to create The correct result would be for the contents of to be written out at the end of , after the stanzas provided by pulseaudio. Somewhat relatedly, the in and in pulseaudio's generated config doesn't make a whole lot of sense. means "override", currently there is nothing for it to override, and we would like user config to override generated config, not the other way around. However, as long as user config is placed in the file after generated config then I don't think the actually makes any difference.
I am having this issue as well. Easily replicated by setting those two options.
Can you make a pull request?
Should be fixed with . If there still is a problem, please reopen this issue.
Code change:
githubId = 6806011; name = "Robert Schütz"; }; <ins> dottedmag = { email = "dottedmag@dottedmag.net"; github = "dottedmag"; githubId = 16120; name = "Misha Gusarov"; keys = [{ longkeyid = "rsa4096/0x9D20F6503E338888"; fingerprint = "A8DF 1326 9E5D 9A38 E57C  FAC2 9D20 F650 3E33 8888"; }]; }; </ins> doublec = { email = "chris.double@double.co.nz"; github = "doublec";

Related discussion:
text: Project description is a library that provides strong cryptographic hashes for password hashing, such as bcrypt and yescrypt, as well as a number of legacy ones for backward compatibility (e.g. sha256). It is API- and ABI-compatible with provided by glibc. glibc intends to drop the library eventually: This is a first step towards transitioning whole nixpkgs from libcrypt bundled in glibc, as described here: Metadata homepage URL: source URL: license: lgpl2.1+ platforms: unix
Code change:
++ lib.optional (guiSupport == "gtk3") wrapGAppsHook ; <del> buildInputs = [ ncurses libX11 libXext libSM libXpm libXt libXaw libXau libXmu glib libICE ] </del> <ins> buildInputs = [ ncurses glib ] # All X related dependencies ++ lib.optionals (guiSupport == "gtk2" || guiSupport == "gtk3") [ libSM libICE libX11 libXext libXpm libXt libXaw libXau libXmu ] </ins> ++ lib.optional (guiSupport == "gtk2") gtk2-x11 ++ lib.optional (guiSupport == "gtk3") gtk3-x11 ++ lib.optionals darwinSupport [ CoreServices CoreData Cocoa Foundation libobjc ]

Related discussion:
text: The package hard-codes various X11 libraries as dependencies while making many other features optional, including GUIs. It would be nice to have an option to disable the X11 feature and the related . The use case I have in mind is installing a custom Vim on a remote server. Pulling X libraries, even without enabling a GUI, adds a few dozen megabytes for something essentially useless. An approach is doing something like this: but it doesn't feel very clean... Any thoughts from or ?
I agree. It would have been nice if these X dependencies would have been to only if is or .
/me whispers neovim~~~
I'm all for testing new things and neovim is on my list. But according to , the neovim package pulls 428MiB of dependencies, half of which for Ruby, the other half for both Python 3 and Python 2 (seriously?). Is there a way, by any chance, to configure neovim to avoid this bloat ?
admittedly I've never tried to configure a mininmal version but one can unselect these ecosystems:
See .
Code change:
{ stdenv, fetchFromGitHub, pkgconfig, python, makeWrapper <del> , bash, libsamplerate, libsndfile, readline </del> <ins> , bash, libsamplerate, libsndfile, readline, gcc </ins> # Optional Dependencies , dbus ? null, pythonDBus ? null, libffado ? null, alsaLib ? null

Related discussion:
text: nix-shell -p supercollider [anders $ nixos-version (Flounder) [anders $ nix-env --version nix-env (Nix) 1.11.2 [anders $ nix-instantiate --eval '<nixpkgs' -A lib.nixpkgsVersion ""
you use supercollider ?
no, sorry.
Same here:
Code change:
<ins> diff --git a/napi/Cargo.toml b/napi/Cargo.toml index 3360a9c..86d6ba5 100644 --- a/napi/Cargo.toml +++ b/napi/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" [features] default = [] visitor = ["lightningcss/visitor"] -bundler = ["dep:crossbeam-channel", "dep:rayon"] +bundler = ["dep:crossbeam-channel", "rayon"] [dependencies] serde = { version = "1.0.123", features = ["derive"] } -- 2.44.0 </ins>

Related discussion:
text: Package name: lightningcss Latest released version: 1.24.1 <!-- Search your package here: --- Current version on the unstable channel: 1.22.0 Current version on the stable/release channel: 1.24.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 myself, <!-- If the result shows no maintainers, tag the person that last updated the package. --Note for maintainers: Despite being a minor version bump, an entire dependency chain was for NAPI which I think has something to do with WASM which fails the test in Nix. See lightningcss’s open bug on their Microsoft GitHub proprietary issue tracker @ As a non-Rust developer, I have no idea what this error is supposed to mean with its Cargo package management. Hopefully their maintainer will eventually have a look. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]: [^1] or offering a non-proprietary, non-US-corporate-controlled mirror for this free software project. I wish to delete this Microsoft account in the future, but I need more projects like this to support alternative methods to send patches & contribute.
Build error when updating:
Personally I’ve stuck with version 1.23.0 since 1.24.0 had a regression for system colors. The upstream maintainer seems to be too busy with other stuff to look into issues.
should fix it for further releases. For this particular 1.24.1 release, I a patch to automatically patch the source, see
great work!
Code change:
cheat = callPackage ../applications/misc/cheat { }; <del> chefdk = callPackage ../development/tools/chefdk { }; </del> matter-compiler = callPackage ../development/compilers/matter-compiler { }; cfr = callPackage ../development/tools/java/cfr { };

Related discussion:
text: ChefDK is deprecated and no longer maintained by Chef. This package is currently maintained by and I believe ChefDK should be dropped and replaced by Chef Workstation (see issue ). This has been deprecated since 2021.
Code change:
<del> { lib, fetchpatch, python3 }: </del> <ins> { lib , python3 }: </ins> python3.pkgs.buildPythonApplication rec { pname = "csvkit"; <del> version = "1.0.5"; </del> <ins> version = "1.1.1"; format = "setuptools"; </ins> src = python3.pkgs.fetchPypi { inherit pname version; <del> sha256 = "1ffmbzk4rxnl1yhqfl58v7kvl5m9cbvjm8v7xp4mvr00sgs91lvv"; </del> <ins> hash = "sha256-vt23t49rIq2+1urVrV3kv7Md0sVfMhGyorO2VSkEkiM="; </ins> }; <del> patches = [ # Fixes a failing dbf related test. Won't be needed on 1.0.6 or later. (fetchpatch { url = "https://github.com/wireservice/csvkit/commit/5f22e664121b13d9ff005a9206873a8f97431dca.patch"; sha256 = "1kg00z65x7l6dnm5nfsr5krs8m7mv23hhb1inkaqf5m5fpkpnvv7"; }) ]; </del> propagatedBuildInputs = with python3.pkgs; [ agate agate-excel agate-dbf agate-sql <del> six setuptools </del> ]; nativeCheckInputs = with python3.pkgs; [ <del> nose </del> pytestCheckHook ]; <del> pythonImportsCheck = [ "csvkit" ]; </del> <ins> pythonImportsCheck = [ "csvkit" ]; disabledTests = [ # Test is comparing CLI output "test_decimal_format" ]; </ins> meta = with lib; { <ins> changelog = "https://github.com/wireservice/csvkit/blob/${version}/CHANGELOG.rst"; </ins> description = "A suite of command-line tools for converting to and working with CSV"; <del> maintainers = with maintainers; [ vrthra ]; license = licenses.mit; </del> homepage = "https://github.com/wireservice/csvkit"; <ins> license = licenses.mit; maintainers = with maintainers; [ vrthra ]; </ins> }; }

Related discussion:
text: Package name: csvkit Latest released version: 1.1.1 <!-- Search your package here: --- Current version on the unstable channel: 1.0.5 Current version on the stable/release channel: 1.0.5 <!-- 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. --attn upstream at upstream docs at Note for maintainers: Please tag this issue in your PR.
contains the update.
Code change:
sysctl-value = tempaddrValues.${cfg.tempAddresses}.sysctl; in '' # enable and prefer IPv6 privacy addresses by default <del> ACTION=="add", SUBSYSTEM=="net", RUN+="${pkgs.bash}/bin/sh -c 'echo ${sysctl-value} > /proc/sys/net/ipv6/conf/%k/use_tempaddr'" </del> <ins> ACTION=="add", SUBSYSTEM=="net", RUN+="${pkgs.bash}/bin/sh -c 'echo ${sysctl-value} > /proc/sys/net/ipv6/conf/$name/use_tempaddr'" </ins> ''; }) (pkgs.writeTextFile rec {

Related discussion:
text: Describe the bug The following warning logs are produced in my server. To Reproduce Steps to reproduce the behavior: a NixOS server Expected behavior No warning should be logged. Additional context It should be noted the interfaces of my server are named and and not and as referred to in the warning logs. Notify maintainers Metadata Please run and paste the result. Maintainer information:
(exact) duplicate of .
It may seem related but it is not a duplicate. First the concerning logs are warning (PRIORITY=4) which makes me less inclined to whitelist it in journalwatch. Also, there are no interfaces named and . It seems is not respected.
Sorry, I didn't notice the interface names. That message is surely coming from the IPv6 privacy udev rules. To see their content: The interfaces are not set from NixOS but are coming from the kernel. I'm not sure why you're seeing and . Maybe the traditional scheme is used first and later the interfaces are converted to the new scheme so the udev rules are fired twice.
The message seems indeed to come from the udev rules:
indicates (emphasis is mine): as well as: So it seems the kernel does not respect . you worked on the following code, do you know what is happening?
The interfaces are renamed according to the logs: - I do not know much about udev, maybe the udev is triggered as soon as the network interface is detected and by the time the command is executed, the kernel has already renamed the interface.
I marked this as stale due to inactivity. &rarr;
The same thing is happening here on NixOS unstable:
Code change:
export NIX_PATH=nixpkgs=../../../../.. export WP_VERSION=$(nix $nixFlags '(import <nixpkgs> {}).wordpress.version') <del> PLUGINS=`cat wordpress-plugins.json | jq -r '.[]' | sed -z 's/n/,/g;s/,$/n/'` THEMES=`cat wordpress-themes.json | jq -r '.[]' | sed -z 's/n/,/g;s/,$/n/'` LANGUAGES=`cat wordpress-languages.json | jq -r '.[]' | sed -z 's/n/,/g;s/,$/n/'` </del> <ins> PLUGINS=`cat wordpress-plugins.json | jq -r 'keys|.[]' | sed -z 's/n/,/g;s/,$/n/'` THEMES=`cat wordpress-themes.json | jq -r 'keys|.[]' | sed -z 's/n/,/g;s/,$/n/'` LANGUAGES=`cat wordpress-languages.json | jq -r 'keys|.[]' | sed -z 's/n/,/g;s/,$/n/'` </ins> wp4nix -p $PLUGINS -pl en wp4nix -t $THEMES -tl en

Related discussion:
text: The package with that are automatically fetched carry no license. ` cc
Poking upstream does not seem to yield anything. They did indicate they wouldn't support this use case, so what are you expecting from them?
I talked to the authors of wp4nix and they are happy for new contributions. It would be nice if the wp4nix script would somehow handle license informations, for example by manually defining them. Not quite sure yet how to implement it
If we don't know the licenses to these packages we honestly cannot keep them around. For example, it is absolutely unclear, whether we have a license to even redistribute them. Of course upstream will take patches, but they're not exactly in the same boat we are. I think your attitude towards the whole licensing situation around wp4nix/nc4nix and its resulting packages is alarming.
As written : Fixing this for Wordpress packages and themes (wp4nix) and Nextcloud apps (nc4nix) in a foreseeable time exceeds my skills and competence. Therefore I would like to offer to add a flag to these package sets and remove them for the next release 23.11 if it's not resolved by then.
Couldn't we mark them as unfree so they don't get cached on hydra but people can still use them if they want? Unfortunately it seems like the wordpress plugins repository doesn't seem to provide the license information in an easy manner. And I don't know whether it is stored somewhere else or can even be extracted from the derivation without import-from-derivation.
Actuallly we seem to be safe in theory. claims
In an ideal world, that would hold true, but it is up to the user and distributor to validate the final outcome. I therefore think this situation remains unresolved.
Code change:
# isSupported :: Package -> Bool isSupported = package: <del> # The `platform` attribute of the package is NVIDIA's name for a redistributable architecture. redistArch == package.platform </del> <ins> redistArch == package.redistArch </ins> && strings.versionAtLeast cudaVersion package.minCudaVersion && strings.versionAtLeast package.maxCudaVersion cudaVersion;

Related discussion:
text: should have only eliminated the s and removed some of the platform-based (adding new broken/non-buildable attrs), but instead has changed the actual logic. Since that commit, no longer resolves into but into (note the wrong cuda release), later leading to evaluation errors This currently breaks on Steps to reproduce the behavior: We should probably add some tests for the selection logic as well... A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain your problem. 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]:
Code change:
<ins> { config, lib, pkgs, ... }: let inherit (builtins) toFile; inherit (lib) concatMapStringsSep concatStringsSep mapAttrsToList mkIf mkEnableOption mkOption types; cfg = config.services.strongswan; ipsecSecrets = secrets: toFile "ipsec.secrets" ( concatMapStringsSep "n" (f: "include ${f}") secrets ); ipsecConf = {setup, connections, ca}: let # https://wiki.strongswan.org/projects/strongswan/wiki/IpsecConf makeSections = type: sections: concatStringsSep "nn" ( mapAttrsToList (sec: attrs: "${type} ${sec}n" + (concatStringsSep "n" ( mapAttrsToList (k: v: "  ${k}=${v}") attrs )) ) sections ); setupConf       = makeSections "config" { inherit setup; }; connectionsConf = makeSections "conn" connections; caConf          = makeSections "ca" ca; in builtins.toFile "ipsec.conf" '' ${setupConf} ${connectionsConf} ${caConf} ''; strongswanConf = {setup, connections, ca, secrets}: toFile "strongswan.conf" '' charon { plugins { stroke { secrets_file = ${ipsecSecrets secrets} } } } starter { config_file = ${ipsecConf { inherit setup connections ca; }} } ''; in { options.services.strongswan = { enable = mkEnableOption "strongSwan"; secrets = mkOption { type = types.listOf types.path; default = []; example = [ "/run/keys/ipsec-foo.secret" ]; description = '' A list of paths to IPSec secret files. These files will be included into the main ipsec.secrets file with the `include' directive. It is safer if these paths are absolute. ''; }; setup = mkOption { type = types.attrsOf types.str; default = {}; example = { cachecrls = "yes"; strictcrlpolicy = "yes"; }; description = '' A set of options for the `config setup' section of the `ipsec.conf' file. Defines general configuration parameters. ''; }; connections = mkOption { type = types.attrsOf (types.attrsOf types.str); default = {}; example = { "%default" = { keyexchange = "ikev2"; keyingtries = "1"; }; roadwarrior = { auto       = "add"; leftcert   = "/run/keys/moonCert.pem"; leftid     = "@moon.strongswan.org"; leftsubnet = "10.1.0.0/16"; right      = "%any"; }; }; description = '' A set of connections and their options for the `conn xxx' sections of the `ipsec.conf' file. ''; }; ca = mkOption { type = types.attrsOf (types.attrsOf types.str); default = {}; example = { strongswan = { auto   = "add"; cacert = "/run/keys/strongswanCert.pem"; crluri = "http://crl2.strongswan.org/strongswan.crl"; }; }; description = '' A set of CAs (certification authorities) and their options for the `ca xxx' sections of the `ipsec.conf' file. ''; }; }; config = with cfg; mkIf enable { systemd.services.strongswan = { description = "strongSwan IPSec service"; wantedBy = [ "multi-user.target" ]; path = with pkgs; [ kmod ]; # XXX Linux wants = [ "keys.target" ]; after = [ "network.target" "keys.target" ]; environment = { STRONGSWAN_CONF = strongswanConf { inherit setup connections ca secrets; }; }; serviceConfig = { ExecStart  = "${pkgs.strongswan}/sbin/ipsec start --nofork"; }; }; }; } </ins>

Related discussion:
text: is empty. As a result plugin is not loaded and there is no socket. Relevant part of build log: There must be python instead of : before ./format- ^^^
Code change:
{ lib, stdenv, fetchFromGitHub, python3Packages, libunistring , harfbuzz, fontconfig, pkg-config, ncurses, imagemagick , libstartup_notification, libGL, libX11, libXrandr, libXinerama, libXcursor <del> , libxkbcommon, libXi, libXext, wayland-protocols, wayland </del> <ins> , libxkbcommon, libXi, libXext, wayland-protocols, wayland, xxHash </ins> , lcms2 , librsync , openssl

Related discussion:
text: Package name: kitty Latest released version: 0.29.2 <!-- Search your package here: --- Current version on the unstable channel: 0.29.2 Current version on the stable/release channel: 0.28.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.
Code change:
<ins> { lib, stdenv, fetchFromGitLab, cargo, desktop-file-utils, meson, ninja, pkg-config, rustPlatform, rustc, wrapGAppsHook4, cairo, gdk-pixbuf, glib, gtk4, libadwaita, pango, darwin, }: stdenv.mkDerivation rec { pname = "railway-travel"; version = "2.4.0"; src = fetchFromGitLab { owner = "schmiddi-on-mobile"; repo = "railway"; rev = version; hash = "sha256-2iLxErEP0OG+BcG7fvJBzNjh95EkNoC3NC7rKxPLhYk="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; hash = "sha256-yalFC7Pw9rq1ylLwoxLi4joTyjQsZJ/ZC61GhTNc49w="; }; nativeBuildInputs = [ desktop-file-utils cargo meson ninja pkg-config rustPlatform.cargoSetupHook rustc wrapGAppsHook4 ]; buildInputs = [ cairo gdk-pixbuf glib gtk4 libadwaita pango ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Foundation darwin.apple_sdk.frameworks.Security ]; env.NIX_CFLAGS_COMPILE = toString ( lib.optionals stdenv.cc.isClang [ "-Wno-error=incompatible-function-pointer-types" ] ); meta = with lib; { description = "Find all your travel information"; homepage = "https://gitlab.com/schmiddi-on-mobile/railway"; changelog = "https://gitlab.com/schmiddi-on-mobile/railway/-/blob/${src.rev}/CHANGELOG.md"; license = licenses.gpl3Plus; maintainers = with maintainers; [ lilacious ]; mainProgram = "diebahn"; platforms = platforms.all; }; } </ins>

Related discussion:
text: Project description Railway lets you look up travel information for many different railways, all without needing to navigate through different websites. Metadata homepage URL: source URL: license: gpl3 platforms: linux Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Code change:
fsck.vfat -vn firmware_part.img dd conv=notrunc if=firmware_part.img of=$img seek=$START count=$SECTORS if test -n "$compressImage"; then <del> zstd -T$NIX_BUILD_CORES $img </del> <ins> zstd -T$NIX_BUILD_CORES --rm $img </ins> fi ''; }) {};

Related discussion:
text: Describe the bug Size of aarch64 sd_image has suddenly blown up a lot. whereas on commit it was To Reproduce Hydra: - - This blocks the channel ATM.
It seems this is caused by my PR here: We switched to , but does not erase the original file, while does. I created PR which hopefully fixes this by passing to .