jiebi/CodeConvo huggingface dataset:
Change:
]; configureFlags = [ <del> "--enable-xwayland" </del> "--enable-x11-compositor" "--enable-drm-compositor" "--enable-wayland-compositor"

Discussion:
A in the xwayland package output causes nixos-rebuild to fail due to permission issues, since /var/tmp contains private directories (mode 700) System: NixOS 16.09 Nix version: 1.11.4 Nixpkgs version: 16.09.901.
Essentially the same problem as in vanilla X server:
found some more info on the problem the issue, is that both wayland and xorg have the same "fix" for packages wanting to write to the store, at the same place /nix/store/dd65ni8yzibvq2aj5jdylnv557i3hcd1-xwayland-1.18.4/share/X11/xkb/compiled and /nix/store/v82zrx8dnm5j8lq4a2fc5g0rcx2jx04k-xorg-server-1.18.4/share/X11/xkb/compiled are "conflicting" so buildEnv tries to cd into both, find every file within, and then create a compiled directory with symlinks to merge the 2 except, both versions of compiled are symlinks to /var/tmp in this case, there is no need to merge the contents of "compiled" since its 2 identical symlinks that are conflicting, so id say buildEnv should be patched and i have a simple testcase:
I'm guessing that this works OK when built in a sandbox?
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly: for maintainers and people that previously touched the related code and @ mention them in a comment. on the . on the on .
As both the referenced packages build now, I guess it's safe to close this.
Change:
meta = with lib; { description = "A desktop wiki"; homepage = "https://zim-wiki.org/"; <ins> changelog = "https://github.com/zim-desktop-wiki/zim-desktop-wiki/blob/${version}/CHANGELOG.md"; </ins> license = licenses.gpl2Plus; maintainers = with maintainers; [ pSub ]; broken = stdenv.isDarwin; # https://github.com/NixOS/nixpkgs/pull/52658#issuecomment-449565790

Discussion:
sudo nix-channel --update nixos-rebuild switch Traceback (most recent call last): File "/build/zim-0.74.2/nixrunsetup", line 8, in <moduleexec(compile(getattr(tokenize, 'open', open)(file).read().replace('rn', 'n'), file, 'exec')) File "", line 25, in <moduleimport makeman # helper script File "/build/zim-", line 13, in <modulefrom import HelpCommand File "/build/zim-", line 31, in <modulefrom zim.notebook import Notebook, Path,  File "/build/zim-", line 43, in <modulefrom .info import NotebookInfo, NotebookInfoList,  File "/build/zim-", line 19, in <modulefrom .notebook import NotebookConfig, resolverelativeconfig File "/build/zim-", line 17, in <moduleimport zim.templates File "/build/zim-", line 61, in <modulefrom zim.templates.functions import buildtemplatefunctions File "/build/zim-", line 24, in <modulefrom import htmlencode File "/build/zim-", line 78, in <modulefrom zim.plugins import PluginManager File "/build/zim-", line 51, in <modulefrom zim.actions import hasaction, getactions File "/build/zim-", line 73, in <modulePRIMARYMODIFIERMASK = getmodifiermask() File "/build/zim-", line 68, in getmodifiermask assert Gtk AssertionError error: builder for '/nix/store/qvn6yxkgldm4idrdipsm7iy14yq35j80-zim-' failed with exit code 1 error: 1 dependencies of derivation '/nix/store/792pgp4xzfj0c8miff5gp6pf997zxn8l-system-' failed to build error: 1 dependencies of derivation '/nix/store/anw5qfbacnqhf727l51sclarz4wngb68-nixos-system-bx26-' failed to build 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. --- system: host os: multi-user?: sandbox: version: channels(root): channels(k): nixpkgs:
Change:
./0001-optional-immutable-configuration-dir.patch ]; <del> propagatedBuildInputs = with self; [ argcomplete azure-cli-telemetry azure-common azure-mgmt-core cryptography distro humanfriendly jmespath knack msal-extensions msal msrestazure packaging paramiko pkginfo psutil pyjwt pyopenssl requests ]; </del> <ins> propagatedBuildInputs = with self; [ argcomplete azure-cli-telemetry azure-common azure-mgmt-core cryptography distro humanfriendly jmespath knack msal-extensions msal msrestazure packaging paramiko pkginfo psutil pyjwt pyopenssl requests ] ++ requests.optional-dependencies.socks; </ins> nativeCheckInputs = with self; [ pytest ];

Discussion:
When using a SOCKS5 proxy the command does not work. Steps to reproduce the behavior: Regular installation of azure-cli installs requests with socks () which installs PySocks () I'm not sure about the fix, but I think PySocks needs to be to build inputs: <!-- 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:
<ins> { cp38 = { sha256 = "da8adfa33ff54bc61cfe80334a0ee889e0060918db6ff9215aebe32e98b1f939"; }; cp39 = { sha256 = "cab13346650f88171b3f348ed352f04695b96d1ab1090ed3b80bdc93e897dbd4"; }; cp310 = { sha256 = "bcf3bff9517d77ea6c98592fa16e1cfb8bc0cfa345d3be69729bfa9c5bd78a7c"; }; } </ins>

Discussion:
Project description Ray is a fast and simple framework for building and running distributed applications. It is packaged with RLlib, a scalable reinforcement learning library. The project provides a wheel at , but according to NixOs is by default not compatible. Metadata homepage URL: source URL: license: apache2 platforms: unix, linux
I'm interested in this as well, when I try to use any sort of non-local mode with ray installed in a nix-shell environment via pip, it throws errors launching redis. Even though redis-server exists at the aforemention path. It fails to launch when I attempt to execute redis directly.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
I haven't tested, but since manylinux1 is available by default now (), does it work on your machine on the latest unstable?
I still have the issue with redis unfortunately
this seems to work
I see, the s fixed it.
I marked this as stale due to inactivity. &rarr;
Still important to me.
I marked this as stale due to inactivity. &rarr;
In case anyone is still looking for this - it is packaged in python-on-nix
Change:
outputs = [ "bin" "out" "man" ]; <del> # Optimizations break compilation of libseccomp c bindings hardeningDisable = [ "fortify" ]; </del> nativeBuildInputs = [ pkgconfig go-md2man ]; buildInputs = [ btrfs-progs libseccomp gpgme lvm2 systemd ];

Discussion:
Using go + I am unable to build a simple Go program that makes use of C bindings. The program is a testcase from the Go compiler repository ( ) . The build fails with an error message like this: Another example is geth, the go ethereum client, in version 1.6.1: Switching to clang instead seems to be a workaround for the problem: This last command builds successfully. System: (Hummingbird) Nix version: nix-env (Nix) 1.11.9 Nixpkgs version: Sandboxing enabled: false
I think this has to do with how Go handles GOROOT. It expects to be able to write to $GOROOT even though it's a read-only path. Could you try the buildCommand in go-ethereum:
Aw, I was wondering how to get rid of that warning. The warning is gone, but it doesn't seem to have helped: I originally ran into this issue when I tried to upgrade that linked Nix expression. Version 1.4.7 of go-ethereum compiles just fine, but 1.6.1 doesn't, because now one of the dependencies makes use of some kind of C bindings. While playing around with it I also switched over to using in the Nix expression, but that also didn't help. Switching to clang helped in the end. That version can be found here: But that's just a workaround and I would assume that other Go packages will at some point also run into this problem when they just use or .
I ran into this problem adding seccomp support to the docker package. It's caused by the -O2 optimization flag which is being by the fortify hardening flag. A possible fix would be to add hardeningDisable = [ "fortify" ]; to the buildGoPackage.
I can't no longer reproduce this on my system so I guess the issue is fixed? I created a PR to get rid of the workarounds:
I can confirm that I also cannot reproduce this anymore on my system. I am closing this - thanks!
Change:
, withQt ? true , qt6 ? null }: <ins> let isAppBundle = withQt && stdenv.isDarwin; in </ins> assert withQt -> qt6 != null; stdenv.mkDerivation rec {

Discussion:
I installed wireshark on MacOS with Now when I'm trying to start it from UI it's not starting UI and I need to close it with force quit. When I run it from bash with I see: So looks like it can't find lib directory. MacOS version is Big Sur I'm junior nixpkgs user, so it's possible that I do something wrong. In this case can you please tell me what I need to do to make it working.
I have the same issue: <details<summaryenvinfo</summary</detailsBelow are reports from <details<summaryandroiddump</summary</details<details<summaryciscodump</summary</details<details<summaryrandpktdump</summary</details<details<summarysshdump</summary</details<details<summaryudpdump</summary</detailsHope this helps. EDIT:
Based on my brief investigation, I noted the following issues (see diff/patch at the bottom): regex syntax in awk . I had to add for compilation to proceed . I had to add for compilation to proceed. For issue number 3, I noted that when using the latest zstd version I encountered a make error immediately. Based on this , I changed the zstd version to . It compiled for more than 6 hours, and I was preparing to create a pull request. Unfortuately it reached an error!!!: I'm not really sure how to debug this further. <details<summarydiff/patch</summary</details
Hey, are you still interested in this ? If you are, I'd be happy to help you get this over the line. I have a darwin machine and I don't mind running the build before I go to sleep to test.
, it would be great to have it working. I believe I need to find some time to figure out what you are going to do. :) If you have links to any resources that will help me to understand how it works, can you write them, please? I know I can read through documentation. I just didn't have time for this yet.
I think the way to go here is open a PR with the fix about the awk expression, then test and check the error. If you want to open a PR, I'm happy to test, post the error and we can discuss the fixes possible on the PR.

I think there where quite some updates since this issue, so that's why the dependency proposed need to be checked again (snappy and zstd). I don't know at all how it works, I wanted to test today. I'm hoping the errors will be clear enough.
I marked this as stale due to inactivity. &rarr;
I tested on my macOS M1 machine and it appears to be working. I think this can be closed.
Tested on x86_64 darwin and it worked
I find that the GUI starts on macOS (x86_64-darwin), but fails to load the required libraries, and crashes soon afterward. Upon opening the application, it presents a modal dialog with the following message: In the main window, it presents this message:
BTW, if you start Wireshark from terminal like this: it will show error about plugins, but it wil start capturing packets but in terminal there are errors like: I don't know if it can help somehow.
Change:
<del> { fetchurl, stdenv, pkgconfig , libgpgerror, libassuan , qtbase , libcap ? null }: let mkFlag = pfxTrue: pfxFalse: cond: name: "--${if cond then pfxTrue else pfxFalse}-${name}"; mkEnable = mkFlag "enable" "disable"; mkWith = mkFlag "with" "without"; in with stdenv.lib; stdenv.mkDerivation rec { name = "pinentry-0.9.6"; src = fetchurl { url = "mirror://gnupg/pinentry/${name}.tar.bz2"; sha256 = "0rhyw1vk28kgasjp22myf7m2q8kycw82d65pr9kgh93z17lj849a"; }; buildInputs = [ libgpgerror libassuan libcap qtbase ]; # configure cannot find moc on its own preConfigure = '' export QTDIR="${qtbase.dev}" export MOC="${qtbase.dev}/bin/moc" ''; configureFlags = [ (mkWith   (libcap != null)  "libcap") (mkEnable true "pinentry-qt") ]; NIX_CFLAGS_COMPILE = [ "-std=c++11" ]; nativeBuildInputs = [ pkgconfig ]; meta = { homepage = http://gnupg.org/aegypten2/; description = "GnuPG's interface to passphrase input"; license = stdenv.lib.licenses.gpl2Plus; platforms = stdenv.lib.platforms.all; longDescription = '' Pinentry provides a console and (optional) GTK+ and Qt GUIs allowing users to enter a passphrase when `gpg' or `gpg2' is run and needs it. ''; maintainers = [ stdenv.lib.maintainers.ttuegel ]; }; } </del>

Discussion:
Setting breaks . The reason being that defines and as follows: Which then overrides with, Resulting in an infinite loop. This appears to be a regression due to . Set , try to build . Using .
This is downfall from
what should be done about this?
Did not we fix this in Anyway, should fix pinentry for good.
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly: for maintainers and people that previously touched the related code and @ mention them in a comment. on the . on the on .
how does the situation look like now? Is this specific issue fixed?
I marked this as stale due to inactivity. &rarr;
Closing due to inactivity. Please reopen if it's still broken.
Change:
</group> <sbr /> <arg><option>--upgrade</option></arg> <del> <arg><option>--install-grub</option></arg> </del> <ins> <arg><option>--install-bootloader</option></arg> </ins> <arg><option>--no-build-nix</option></arg> <arg><option>--fast</option></arg> <arg><option>--rollback</option></arg>

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:
The size of the VirtualBox base image in MiB. ''; }; <ins> baseImageFreeSpace = mkOption { type = with types; int; default = 30 * 1024; description = '' Free space in the VirtualBox base image in MiB. ''; }; </ins> memorySize = mkOption { type = types.int; default = 1536;

Discussion:
Describe the bug In the 21.05 VirtualBox OVA you can download from there is no disk space available, making it impossible to use for almost anything: To Reproduce Steps to reproduce the behavior: the VirtualBox OVA from , the instructions on above page to import and start it (although the instructions are a bit outdated too, no need to log in manually) in a Konsole window Expected behavior I expect to have disk space. Here's the same for a NixOS 20.09 OVA: Screenshots ! Notify maintainers Metadata Bad nixpkgs version (21.05): Good nixpkgs version (20.09): Maintainer information:
hmm, well we can add a new option to the for the additional disk space in the image. We then could pass the value to from
I think that's setting the disk image size. Which is given here: I haven't had time to take a look, I wonder what looks like; is it a situation where fails?
Right, so assumption seems more right. Good to know.
Change:
<del> { lib, stdenv, fetchurl </del> <ins> { lib, stdenv, fetchgit </ins> , pkgconfig, wrapGAppsHook <del> , glib, glib-networking, gsettings-desktop-schemas, gtk, libsoup, webkitgtk </del> <ins> , glib, gcr, glib-networking, gsettings-desktop-schemas, gtk, libsoup, webkitgtk </ins> , xorg, dmenu, findutils, gnused, coreutils , patches ? null }: stdenv.mkDerivation rec { pname = "surf"; <del> version = "2.0"; </del> <ins> version = "unstable-2019-02-08"; </ins> <del> src = fetchurl { url = "https://dl.suckless.org/surf/surf-${version}.tar.gz"; sha256 = "07cmajyafljigy10d21kkyvv5jf3hxkx06pz3rwwk3y3c9x4rvps"; </del> <ins> src = fetchgit { url = "git://git.suckless.org/surf"; rev = "d068a3878b6b9f2841a49cd7948cdf9d62b55585"; sha256 = "0pjsv2q8c74sdmqsalym8wa2lv55lj4pd36miam5wd12769xw68m"; </ins> }; nativeBuildInputs = [ pkgconfig wrapGAppsHook ]; <del> buildInputs = [ glib glib-networking gsettings-desktop-schemas gtk libsoup webkitgtk ]; </del> <ins> buildInputs = [ glib gcr glib-networking gsettings-desktop-schemas gtk libsoup webkitgtk ]; </ins> inherit patches;

Discussion:
Prefer Git revision rather release. Version 2.0 is from 2017-03-28.
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. 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 created which addresses this issue.
Thanks! Since the time, I had my own version: Terminal [] []: [] []:
Feel free to change/add you to the maintainers if you want to.
Change:
<ins> { lib , buildPythonPackage , fetchFromGitHub , gnupg , keyring , pass , poetry-core , pythonOlder }: buildPythonPackage rec { pname = "keyring-pass"; version = "0.9.2"; disabled = pythonOlder "3.6"; pyproject = true; src = fetchFromGitHub { owner = "nazarewk"; repo = "keyring_pass"; rev = "refs/tags/v${version}"; hash = "sha256-Sf7eDOB3prH2s6BzdBtxewSweC0ibLXVxNHBJRRaJe4="; }; postPatch = '' substituteInPlace keyring_pass/__init__.py  --replace 'pass_binary = "pass"' 'pass_binary = "${lib.getExe pass}"' ''; nativeBuildInputs = [ poetry-core ]; nativeCheckInputs = [ keyring gnupg ]; checkPhase = '' export HOME="$TMPDIR" # generate temporary GPG identity cat <<EOF | gpg --gen-key --batch /dev/stdin %no-protection %transient-key Key-Type: 1 Key-Length: 1024 Subkey-Type: 1 Subkey-Length: 1024 Name-Real: test Name-Email: test@example.com Expire-Date: 1 EOF # configure password store ${lib.getExe pass} init test@example.com # Configure `keyring` CLI # first make sure `keyring-pass` is in "$PYTHONPATH" [[ "$PYTHONPATH" == *"$out"/lib/python*/site-packages* ]] export PYTHON_KEYRING_BACKEND="keyring_pass.PasswordStoreBackend" # confirm set/get/del works keyring set test-service test-username <<<"test-password" test "$(keyring get test-service test-username)" == "test-password" keyring del test-service test-username ''; pythonImportsCheck = [ "keyring_pass" ]; meta = { description = "Password Store (pass) backend for python's keyring"; homepage = "https://github.com/nazarewk/keyring_pass"; license = lib.licenses.mit; maintainers = [ lib.maintainers.nazarewk ]; }; } </ins>

Discussion:
Project description <!-- Describe the project a little: --Password Store (pass) backend for python's keyring Metadata homepage URL: source URL: license: mit platforms: unix, linux, darwin, ...
has broken due to Perhaps we can change this alternative.
I still haven't managed to fully set all of it up on NixOS, it seems that python keyring and gnome one keep fighting. Would be nice to end up with a wiki entry for this, as its not trivial
Recently looks test failed?
Change:
stdenv.mkDerivation rec { pname = "cplex"; <del> version = "128"; </del> <ins> version = "22.11"; </ins> src = if releasePath == null then throw '' This nix expression requires that the cplex installer is already downloaded to your machine. Get it from IBM: <del> https://developer.ibm.com/docloud/blog/2017/12/20/cplex-optimization-studio-12-8-now-available/ </del> <ins> https://www.ibm.com/support/pages/downloading-ibm-ilog-cplex-optimization-studio-2211 </ins> Set `cplex.releasePath = /path/to/download;` in your ~/.config/nixpkgs/config.nix for `nix-*` commands, or

Discussion:
Steps to reproduce the behavior: error message. to download reachable different cplex version on IBM page, 22.1.0. to build package with that cplex version <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Dear I notice this package hasn’t been touched in a while, maybe you have moved on. But any hints how you would approach getting a working cplex, no matter the version, would be greatly appreciated. Please run and paste the result.
Last version I checked was 12.10 and it was still working. I will look into it when I find some time.
Thanks for the reply. For our specific situation we settled on a docker based solution, which works better for the usecase anyway, so there is no hurry.
I am currently experiencing the same error. When using the latest version of CPLEX (which is, to my knowledge, 22.11), I get the following error: It was working with CPLEX Version 20.10 on NixOS 23.11, but with the update to NixOS 24.05 I now get the below error. I guess this is due to an updated java dependency, which is incompatible with the CPLEX Version.
Change:
<del> { buildPythonPackage, isPy3k, pkgs }: buildPythonPackage rec { name = "beautifulsoup-3.2.1"; disabled = isPy3k; src = pkgs.fetchurl { url = "http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.2.1.tar.gz"; sha256 = "1nshbcpdn0jpcj51x0spzjp519pkmqz0n0748j7dgpz70zlqbfpm"; }; # error: invalid command 'test' doCheck = false; meta = { homepage = http://www.crummy.com/software/BeautifulSoup/; license = "bsd"; description = "Undemanding HTML/XML parser"; }; } </del>

Discussion:
With the current packaged version of Anki, downloading addons fails with an SSLCERTIFICATEVERIFYFAILED. Download any addon from the Ankiweb library. I used , but any addon causes the issue. Go to to enter the ID. Then this error shows up in a dialog box: Please run and paste the results. system: host os: multi-user?: sandbox: version: channels(root): nixpkgs:
The update to anki 2.1 () will close this issue, according to my testing. (Add-on downloads work perfectly.)
(oops, I'll keep it open until that PR is merged)
Given that some useful addons don't support Anki 2.1, I'd like this to be fixed for 2.0. OTOH I'm not sure how this can be done.
You can still manually install addons by dropping the files in . An example is described .