jiebi/CodeConvo huggingface dataset:
Change:
, enableJemalloc ? false, jemalloc , enableLite ? false , enableShared ? !stdenv.hostPlatform.isStatic <ins> , sse42Support ? stdenv.hostPlatform.sse4_2Support </ins> }: stdenv.mkDerivation rec {

Discussion:
The derivation enables for all x86 Linux platforms (). This causes to fail on CPUs that don't support . Example CPU that fails to run : AMD G-T56N 64-bit dual core on AMD Fusion Controller Hub A55E Chipset Hardware: Steps to reproduce the behavior: the system in configuration the package . I am using nix-bitcoin for this the changes in nix-bitcoin on AMD G-T56N 64-bit dual core chip Electrs should start up and run. Instead it throws a core-dump. Systemd journal: Here's my . Please run and paste the result.
Fix in
Change:
default = "/var/lib/traefik"; type = types.path; description = '' <del> Location for any persistent data traefik creates, ie. acme </del> <ins> Location for any persistent data traefik creates, ie. acme </ins> ''; };

Discussion:
Project description Traefik is a microservice oriented reverse proxy written in Go. It configures itself by container labels from docker/other provider or from text files. It does TLS termination and can fetch certs from let's encrypt automatically. A nixOS module to add configuration to the file backend (similar to the nginx ones) seems easy to implement. Traefik 1.0 is currently packaged (, ) Traefik 2.0 is NOT backwards compatible A package for 2.0 (not source built) has been written up by Metadata homepage URL: source URL: license: MIT platforms: linux, darwin, freebsd, openbsd, windows
Change:
# Fix library paths cd $out/libexec/Mathematica/Executables for path in mathematica MathKernel Mathematica WolframKernel wolfram math; do <del> sed -i -e 's#export LD_LIBRARY_PATH$#export LD_LIBRARY_PATH=${zlib}/lib:''${LD_LIBRARY_PATH}#' $path </del> <ins> sed -i -e "2iexport LD_LIBRARY_PATH=${zlib}/lib:''${LD_LIBRARY_PATH}n" $path </ins> done # Fix xkeyboard config path for Qt for path in mathematica Mathematica; do sed -i -e "2iexport QT_XKB_CONFIG_ROOT="${xkeyboard_config}/share/X11/xkb"n" $path done <ins> # Remove some broken libraries rm $out/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/libz.so* </ins> ''; preFixup = ''

Discussion:
Describe the bug When I run mathematica 12.0.0, following error occurs: To Reproduce Steps to reproduce the behavior: as a normal user. mathematica in the shell. error occurs. Expected behavior Should run without errors. Metadata system: host os: multi-user?: sandbox: version: channels(root): nixpkgs:
cc
Sorry about the delay, I was super busy. I have reproduced the issue and will create a PR later.
Change:
<ins> { lib, stdenv, llvm_meta, monorepoSrc, runCommand, cmake, libxml2, libllvm, libclang, version, python3, buildLlvmTools, patches ? [ ], }: stdenv.mkDerivation (finalAttrs: { pname = "bolt"; inherit version patches; # Blank llvm dir just so relative path works src = runCommand "bolt-src-${finalAttrs.version}" { } '' mkdir $out cp -r ${monorepoSrc}/cmake "$out" cp -r ${monorepoSrc}/${finalAttrs.pname} "$out" cp -r ${monorepoSrc}/third-party "$out" # tablegen stuff, probably not the best way but it works... cp -r ${monorepoSrc}/llvm/ "$out" chmod -R +w $out/llvm ''; sourceRoot = "${finalAttrs.src.name}/bolt"; nativeBuildInputs = [ cmake python3 ]; buildInputs = [ libllvm libclang libxml2 ]; cmakeFlags = lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ (lib.cmakeFeature "LLVM_TABLEGEN_EXE" "${buildLlvmTools.llvm}/bin/llvm-tblgen") ]; postUnpack = '' chmod -R u+w -- $sourceRoot/.. ''; prePatch = '' cd .. ''; postPatch = '' cd bolt ''; postInstall = '' mkdir -p $dev/lib mv $out/lib/libLLVMBOLT*.a $dev/lib ''; outputs = [ "out" "dev" ]; meta = llvm_meta // { homepage = "https://github.com/llvm/llvm-project/tree/main/bolt"; description = "LLVM post-link optimizer."; }; }) </ins>

Discussion:
This project should be part of the , but it's missing. BOLT is a post-link optimizer developed to speed up large applications. It achieves the improvements by optimizing application's code layout based on execution profile gathered by sampling profiler, such as Linux perf tool. An overview of the ideas implemented in BOLT along with a discussion of its potential and current results is available in . Metadata homepage URL: source URL: license: Apache License v2.0 with LLVM Exceptions platforms: unix, linux, darwin.
OK I managed to build this on NixOS, but with tons of patches. I think the upstream bolt is not ready for separate compilation yet, so I need to copy a bunch of stuff from elsewhere, but here is the build: the patch: <details</detailsThe patch is really ugly and there are some things that are specific to NixOS (I integrated the in other llvm packages). Not sure if we want to try to get the changes upstreamed before opening a PR. The build is successful, but I haven't yet tested it. Patching this is quite painful and consumed me 4 hours already...
it seems that it works directly without the need for wrapping.
The upstream patch which makes packaging bolt possible in Nix has been merged. We'll have things here merged in not too long from now.
Change:
<del> { lib, buildPythonPackage, fetchFromGitHub, fetchpatch, numpy, scipy, deap, scikit-learn, python }: </del> <ins> { lib , buildPythonPackage , fetchFromGitHub , fetchpatch , deap , numpy , scikit-learn , scipy , unittestCheckHook }: </ins> buildPythonPackage rec { pname = "sklearn-deap"; <del> version = "0.2.3"; </del> <ins> version = "0.3.0"; format = "setuptools"; </ins> # No tests in Pypi src = fetchFromGitHub { owner = "rsteca"; <del> repo = pname; </del> <ins> repo = "sklearn-deap"; </ins> rev = version; <del> sha256 = "1yqnmy8h08i2y6bb2s0a5nx9cwvyg45293whqh420c195gpzg1x3"; </del> <ins> hash = "sha256-bXBHlv1pIOyDLKCBeffyHaTZ7gNiZNl0soa73e8E4/M="; </ins> }; patches = [ <del> # Fix for scikit-learn v0.21.1. See: https://github.com/rsteca/sklearn-deap/pull/62 </del> <ins> # Fix for scikit-learn v1.1. See: https://github.com/rsteca/sklearn-deap/pull/80 </ins> (fetchpatch { <del> url = "https://github.com/rsteca/sklearn-deap/commit/3ae62990fc87f36b59382e7c4db3c74cf99ec3bf.patch"; sha256 = "1na6wf4v0dcmyz3pz8aiqkmv76d1iz3hi4iyfq9kfnycgzpv1kxk"; </del> <ins> url = "https://github.com/rsteca/sklearn-deap/commit/3b84bd905796378dd845f99e083da17284c9ff6f.patch"; hash = "sha256-YYLw0uzecyIbdNAy/CxxWDV67zJbZZhUMypnDm/zNGs="; }) (fetchpatch { url = "https://github.com/rsteca/sklearn-deap/commit/2f60e215c834f60966b4e51df25e91939a72b952.patch"; hash = "sha256-vn5nLPwwkjsQrp3q7C7Z230lkgRiyJN0TQxO8Apizg8="; </ins> }) ]; propagatedBuildInputs = [ numpy scipy deap scikit-learn ]; <del> checkPhase = '' ${python.interpreter} test.py ''; </del> <ins> nativeCheckInputs = [ unittestCheckHook ]; pythonImportsCheck = [ "evolutionary_search" ]; </ins> meta = with lib; { description = "Use evolutionary algorithms instead of gridsearch in scikit-learn"; homepage = "https://github.com/rsteca/sklearn-deap"; <del> license = licenses.lgpl3; </del> <ins> license = licenses.mit; </ins> maintainers = with maintainers; [ psyanticy ]; <del> # broken by scikit-learn 0.24.1 broken = true; </del> }; }

Discussion:
Package name: Latest released version: 0.3.0 Current version on the unstable channel: 0.2.3 Current version on the stable/release channel: 0.2.3 Notify maintainers this package has been marked as broken for 2 years. There must be some update to fix this (in perhaps). Me and my friends use this for our lab work. Would be really helpful if this was fixed. Thanks. Note for maintainers: Please tag this issue in your PR.
Hi, san. Could you please try ? Thanks!
Woah, that was quick. Thank you so much, I'll try this out. Do I just have to put the commit hash in or something more specific?
Yes, if you use flake, please change to .
Change:
yarn --offline --production install mkdir -p "$out/lib/node_modules/gitmoji-cli" <del> cp -r lib node_modules "$out/lib/node_modules/gitmoji-cli" </del> <ins> cp -r lib node_modules package.json "$out/lib/node_modules/gitmoji-cli" </ins> makeWrapper "${nodejs}/bin/node" "$out/bin/gitmoji"  --add-flags "$out/lib/node_modules/gitmoji-cli/lib/cli.js"

Discussion:
gitmoji broken. Steps to reproduce the behavior: <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --~
I'm not a gitmoji-cli maintainer. Buils fine on master. There's a reason we ask you to run .
Sorry to disturb you. I copy wrong name :cry:
Does help?
Still cannot:
I think be packaged to NixOS to make gitmoji work.
No, the dependency is already installed: exists.
Change:
fingerprint = "D618 7A03 A40A 3D56 62F5  4B46 03EF BF83 9A5F DC15"; }]; }; <ins> hleboulanger = { email = "hleboulanger@protonmail.com"; name = "Harold Leboulanger"; github = "thbkrhsw"; githubId = 33122; }; </ins> hlolli = { email = "hlolli@gmail.com"; github = "hlolli";

Discussion:
Project description A terminal UI utility for using systemctl interactively via fzf. Metadata homepage URL: source URL: license: Unlicense platforms: linux, darwin
Submitted a PR
Change:
stdenv.mkDerivation rec { pname = "aws-sdk-cpp"; <del> version = "1.9.150"; </del> <ins> version = "1.9.238"; </ins> src = fetchFromGitHub { owner = "aws"; repo = "aws-sdk-cpp"; rev = version; <del> sha256 = "sha256-fgLdXWQKHaCwulrw9KV3vpQ71DjnQAL4heIRW7Rk7UY="; </del> <ins> sha256 = "sha256-pEmsTfZXsvJMV79dGkjDNbUVajwyoYgzE5DCsC53pGY="; </ins> }; postPatch = '' <ins> # Missing includes for GCC11 sed '5i#include <thread>' -i  aws-cpp-sdk-cloudfront-integration-tests/CloudfrontOperationTest.cpp  aws-cpp-sdk-cognitoidentity-integration-tests/IdentityPoolOperationTest.cpp  aws-cpp-sdk-dynamodb-integration-tests/TableOperationTest.cpp  aws-cpp-sdk-elasticfilesystem-integration-tests/ElasticFileSystemTest.cpp  aws-cpp-sdk-lambda-integration-tests/FunctionTest.cpp  aws-cpp-sdk-mediastore-data-integration-tests/MediaStoreDataTest.cpp  aws-cpp-sdk-queues/source/sqs/SQSQueue.cpp  aws-cpp-sdk-redshift-integration-tests/RedshiftClientTest.cpp  aws-cpp-sdk-s3-crt-integration-tests/BucketAndObjectOperationTest.cpp  aws-cpp-sdk-s3-integration-tests/BucketAndObjectOperationTest.cpp  aws-cpp-sdk-s3control-integration-tests/S3ControlTest.cpp  aws-cpp-sdk-sqs-integration-tests/QueueOperationTest.cpp  aws-cpp-sdk-transfer-tests/TransferTests.cpp </ins> # Flaky on Hydra rm aws-cpp-sdk-core-tests/aws/auth/AWSCredentialsProviderTest.cpp # Includes aws-c-auth private headers, so only works with submodule build

Discussion:
Build of failed on x86_64-linux as of . This is currently breaking maintainers cc: aws-sdk-cpp maintainers cc: Other cc: n/a nixpkgs at commit This issue was automatically generated by . that created this issue. Internal tag: -
Managed to bisect this down to would you mind taking a look?
Sure thing
There are commits between the release on nixpkgs (1.9.150) and the latest release (1.9.238) that fixes gcc11 / c++17 issues. : Testing building latest release; if it isn't something that can be considered (incompatibilities?) then adding them as patches should work.
Change:
extraPrefs = cfg.autoConfig; extraNativeMessagingHosts = old.extraNativeMessagingHosts or [] <del> ++ optional nmh.ff2mpv ff2mpv ++ optional nmh.euwebid web-eid-app ++ optional nmh.gsconnect gnomeExtensions.gsconnect ++ optional nmh.jabref jabref ++ optional nmh.passff passff-host; </del> <ins> ++ optional nmh.ff2mpv pkgs.ff2mpv ++ optional nmh.euwebid pkgs.web-eid-app ++ optional nmh.gsconnect pkgs.gnomeExtensions.gsconnect ++ optional nmh.jabref pkgs.jabref ++ optional nmh.passff pkgs.passff-host; </ins> cfg = let # copy-pasted from the wrapper; TODO: figure out fix applicationName = cfg.package.binaryName or (lib.getName cfg.package);

Discussion:
After upgrading nixpks unstable and restarting Firefox around mid Oct 2023, the browserpass extension in firefox stopped working. It had been a while since I last restarted firefox, which makes it hard to tell when it broke exactly. When trying to use browser pass via Ctrl-Shift-L or by clicking the browserpass icon in the toolbar I get Only broken on nixpkgs unstable (via nixos-unstable-small as of ), stable still works (nixos-23.05-small as of ). Steps to reproduce the behavior: up firefox with browserpass ( working on nixos-23.05 or older version of unstable (eg from early September works) to latest unstable (anything that includes ) firefox and try to use browserpass extension again Browserpass extension should work and fill out username/password fields like it used to. <!-- If applicable, add screenshots to help explain your problem. --I did some debugging using older nixos generations I had 2 (generation 133) was working. Tested via 2 (generation 134) was broken. Tested via That's a large range of commits unfortunately (including the upgrade from FF 117.0 to 118.0.1), but manually looking for relevant commits, stood out to me. That commit a new setting, and changed to , but the new setting isn't actually used anywhere. [[[[]]]] still references . <!-- 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.
The new option is passed in as an override to the Firefox package: You want to be using so the override is actually applied.
I'm pretty sure I tried and it didn't make a difference. I'll try again though to be sure, since it does seem like it should work... In the mean time, I found the workaround of setting directly.
You need to also remove from your in that case, and let the module add the overridden package.
I figured as much. For reference, here is the exact change I made to my config: And I get the error again. Comparing the two wrapper scripts:
Can you try with applied?
Trying again with the latest nixos-unstable-small () which includes that change, I get I fixed that with But I still get the same error from the browserpass extension unless I set too.
Please test
Change:
sha256 = "1ja2j9ygymr259fxf02j1vkvalypac48gpadq8fn3qbclxxj61k5"; }; <del> buildInputs = [ pkgconfig gtk girara gettext ]; </del> <ins> buildInputs = [ pkgconfig gtk girara gettext makeWrapper ]; </ins> # Bug in zathura build system: we should remove empty manfiles in order them # to be compiled properly

Discussion:
i created a fresh for a python repo i use, i forgot a few dependencies the install process fetches them while happyly breaking building wheels i expected to get a hard failure i believe should not use pip to install packages branch in the repo upcoming System: (NixOS: , Ubuntu/Fedora: , ...) Nix version: (run ) Nixpkgs version: (run ) :
you have network access (which you do in a ) then yes, any program can fetch. This is expected and will happen with more programs. should we install packages? Saying that we shouldn't do a certain thing without further argumentation nor alternatives isn't very constructive.
for 1. i would expect no network action possible while building the environment (in order to stay reasonably close to the real env) as for installing python packages, it i believe it should be much saver to have a wheel as a output, and use that to generate a target folder unfortunately im not sure how to prototype such a pip-free builder - there would be a need for a stage1 set of setuptools/wheel packages to bootstrap setuptools/wheel wheels and go with the rest
How would you do that in ? Anyway, that is something to discuss on the Nix tracker, not here. By default we build wheels, and then install the wheels. The wheels can be build in different ways. We could use but we have certain arguments we pass to and I don't know whether accepts those. Building the wheel, and installing the wheel is already separated. We only use for installing the wheel. If would be sufficient we could get rid of . Bootstrapping isn't such a big problem; that's basically just unzipping the wheels as we do already.
(triage) Needs closing? :)
There is no good alternative so closing.
Change:
# 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"

Discussion:
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.
Change:
configFormat = pkgs.formats.toml { }; configFile = configFormat.generate "stalwart-mail.toml" cfg.settings; dataDir = "/var/lib/stalwart-mail"; <ins> stalwartAtLeast = versionAtLeast cfg.package.version; </ins> in { options.services.stalwart-mail = { enable = mkEnableOption "the Stalwart all-in-one email server"; <del> package = mkPackageOption pkgs "stalwart-mail" { }; </del> <ins> package = mkOption { type = types.package; description = '' Which package to use for the Stalwart mail server. ::: {.note} Upgrading from version 0.6.0 to version 0.7.0 or higher requires manual intervention. See <https://github.com/stalwartlabs/mail-server/blob/main/UPGRADING.md> for upgrade instructions. ::: ''; default = pkgs.stalwart-mail_0_6; defaultText = lib.literalExpression "pkgs.stalwart-mail_0_6"; example = lib.literalExpression "pkgs.stalwart-mail"; relatedPackages = [ "stalwart-mail_0_6" "stalwart-mail" ]; }; </ins> settings = mkOption { inherit (configFormat) type;

Discussion:
The new version of stalwart mail (0.7.0), has changed a lot and the module needs a rewrite for a while now, for example: I have forked nixpkgs, to remove the standard settings, to allow me to make a more complex setting. issues I see. No way to disable the default options, in: . WebUI is not currently supported The package imports the entire . <!-- 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]:
If you want to make a contribution, even a small one, im happy to help you get it merged !
I can take a look, as I have written quite extensive configuration for my Stalwart instance. I can check it out to make it available as a NixOS module
That would be amazing ! There is an open pr from the bot for the 0.7 upgrade, you can take over that one or make the update in a new pr. Thank you !
WIP module. I haven't tested it out yet. I will probably do so this evening:
Not yet entirely fixed, module and test need some work to support = 0.7.0
By the way, since migrating to stalwart = 0.7 requires some manual migration in any case, would it be worth setting the default database type to rocksdb instead of sqlite in the module?
In my opinion yes, for the love of Linux or just make it undefined. Do you have a git repo, where I can track your progress and when I have time, give improvements?
Change:
version = "6.5.55"; sha256 = "sha256-NUGRO+f6JzWvYPwiitZsgp+LQwnGSncnost03mgNVxA="; }; <ins> unifi7 = generic { version = "7.0.20-894288bd9b"; sha256 = "sha256-lDSU4D159svqkv+e61v/RWIyw0KOrF8X0nNpo9eQe50="; }; </ins> }

Discussion:
<!-- Note that these are hard requirements --<!-- You can use the "Go to file" functionality on github to find the package Then you can go to the history for this package Find the latest "packagename: oldversion -newversion" commit The "newversion" is the the current version of the package --- <!-- 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! --- name: unifi, unifi7 <!-- The current version can be found easily with the same process than above for checking the master branch If an open PR is present for the package, take this version as the current one and link to the PR --current version: 6.5.55 desired version: 7.0.20 <!-- Search your package here: If no maintainer is listed for your package, tag the person that last updated the package --maintainers:
Thanks for reporting, I'll prepare the patch in a moment
Change:
"systemd/sleep.conf".text = '' [Sleep] <ins> ${config.systemd.sleep.extraConfig} </ins> ''; # install provided sysctl snippets

Discussion:
Describe the bug Cannot configure systemd sleep settings. After my last upgrade my laptop started poweroff at nights.. where I only wanted it to suspend. I suspect this is because of the default systemd settings... but I cannot change them? To Reproduce Steps to reproduce the behavior: Expected behavior I should be able to set config values Maintainer information:
actually.. I tried with it gets two [Sleep] sections now.. but maybe it'll help :)
to add. the actual issue of the laptop powering down was apparently related to the firmware.. it was working perfectly for more than a year.. and one day, suddenly, some bit flipped. I've updated bios, firmwares etc and it helped. laptop is back from the suspend mode as earlier having said that, I think the issue here is still relevant - having a way to nicely override values is a good thing (my workaround is also seemingly working, so probably a low priority thing?)
I think a very low-effort change here would be to add an option that simply appends lines to the config. Would you want to make a PR for that?