jiebi/CodeConvo huggingface dataset:
Code change:
sha512 = "dabb55d2ba41f977b6d3f03bfcf147d11785136dd1277efc62011c8371ef25cc04531266bd16608639b9b6a500c1a18a45f44ba7a43e17ab5ac139e36eff7149"; }; <del> nativeBuildInputs = [ makeWrapper squashfsTools ]; </del> <ins> nativeBuildInputs = [ makeWrapper wrapGAppsHook squashfsTools ]; </ins> dontStrip = true; dontPatchELF = true;

Related discussion:
text: Describe the bug When adding a local directory to spotify client, it always fails due to missing gtk schema(s) To Reproduce Steps to reproduce the behavior: on button Expected behavior Open a file chooser to select which directory to be . Screenshots If applicable, add screenshots to help explain your problem. Additional context Running spotify with flag from console gives me Notify maintainers <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. -- Metadata Maintainer information:
I think that this issue is not NixOS specific:
Still seems to be an issue. I'm using flakes so above is not applicable I'm on.
Tail end of strace.
Yep I can confirm that. However, as IvanMalison commented above, the bug might be not by nixos but by upstream.
I'm getting the same issue as OP when clicking the button I also tried this on EndeavourOS with the same version of spotify and there it works flawlessly. So I think this is actually a nixpkgs problem and not something upstream related. Maybe the issue can be reopened?
Code change:
# tagged releases don't have "unknown" # kicad nightlies use git describe --dirty # nix removes .git, so its approximated here <del> postPatch = '' substituteInPlace CMakeModules/KiCadVersion.cmake  --replace "unknown" "${builtins.substring 0 10 src.rev}"  ''; </del> <ins> postPatch = if (!stable) then '' substituteInPlace cmake/KiCadVersion.cmake  --replace "unknown" "${builtins.substring 0 10 src.rev}" '' else ""; </ins> makeFlags = optionals (debug) [ "CFLAGS+=-Og" "CFLAGS+=-ggdb" ]; cmakeFlags = [ # RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/ "-DCMAKE_SKIP_BUILD_RPATH=ON" <ins> "-DKICAD_USE_EGL=ON" </ins> ] ++ optionals (withScripting) [ "-DKICAD_SCRIPTING_WXPYTHON=ON"

Related discussion:
text: Steps to reproduce the behavior: kicad (tested on ) The relevant part of the build log is: Complete build log is here: Setting the flag in the cmake build flags, solves the issue. Please run and paste the result.
thanks for filing an issue i'm not sure what changed to cause this issue, or why that change didn't notify me of the breakage... i'll try to get your fix or something similar in a PR today
Code change:
<del> { lib , stdenv , fetchurl , fetchFromGitHub , cmake , curl , nasm , libopenmpt , p7zip , game-music-emu , libpng , SDL2 , SDL2_mixer , zlib , unzip , makeWrapper , makeDesktopItem , copyDesktopItems }: stdenv.mkDerivation (finalAttrs: { pname = "srb2"; version = "2.2.13"; src = fetchFromGitHub { owner = "STJr"; repo = "SRB2"; rev = "SRB2_release_${finalAttrs.version}"; hash = "sha256-OSkkjCz7ZW5+0vh6l7+TpnHLzXmd/5QvTidRQSHJYX8="; }; nativeBuildInputs = [ cmake nasm p7zip makeWrapper copyDesktopItems ]; buildInputs = [ curl game-music-emu libpng libopenmpt SDL2 SDL2_mixer zlib ]; assets = stdenv.mkDerivation { pname = "srb2-data"; version = finalAttrs.version; nativeBuildInputs = [ unzip ]; src = fetchurl { url = "https://github.com/STJr/SRB2/releases/download/SRB2_release_${finalAttrs.version}/SRB2-v${lib.replaceStrings ["."] [""] finalAttrs.version}-Full.zip"; hash = "sha256-g7kaNRE1tjcF5J2v+kTnrDzz4zs5f1b/NH67ce2ifUo="; }; sourceRoot = "."; installPhase = '' mkdir -p $out/share/srb2 cp -r *pk3 *dta *dat models/ $out/share/srb2/ ''; }; cmakeFlags = [ "-DSRB2_ASSET_DIRECTORY=${finalAttrs.assets}/share/srb2" "-DGME_INCLUDE_DIR=${game-music-emu}/include" "-DOPENMPT_INCLUDE_DIR=${libopenmpt.dev}/include" "-DSDL2_MIXER_INCLUDE_DIR=${lib.getDev SDL2_mixer}/include/SDL2" "-DSDL2_INCLUDE_DIR=${lib.getDev SDL2.dev}/include/SDL2" ]; patches = [ # Make the build work without internet connectivity # See: https://build.opensuse.org/request/show/1109889 ./cmake.patch ./thirdparty.patch ]; desktopItems = [ (makeDesktopItem rec { name = "Sonic Robo Blast 2"; exec = finalAttrs.pname; icon = finalAttrs.pname; comment = finalAttrs.meta.description; desktopName = name; genericName = name; categories = [ "Game" ]; }) ]; installPhase = '' mkdir -p $out/bin $out/share/applications $out/share/pixmaps $out/share/icons copyDesktopItems cp ../srb2.png $out/share/pixmaps/. cp ../srb2.png $out/share/icons/. cp bin/lsdlsrb2 $out/bin/srb2 wrapProgram $out/bin/srb2 --set SRB2WADDIR "${finalAttrs.assets}/share/srb2" ''; meta = with lib; { description = "Sonic Robo Blast 2 is a 3D Sonic the Hedgehog fangame based on a modified version of Doom Legacy"; homepage = "https://www.srb2.org/"; platforms = platforms.linux; license = licenses.gpl2Plus; maintainers = with maintainers; [ zeratax donovanglover ]; mainProgram = "srb2"; }; }) </del>

Related discussion:
text: use instead of pulling the windows zip from github releases
I can review if you want to PR this
upstream has said that they'd rather us use the github mirror that they're going to set up
the github mirror has been created
Sorry, I have to delete the github mirror, due to bandwidth limits. Please use
the "SRB22.2" branch and/or "SRB2release_2.2.13" tag
Getting 500 errors when trying to access
does this work for you?
The link works however the download buttons don't. PRs welcome if anyone can get it working, but wait for to be merged first to avoid merge conflicts.
i have had another look, and have found that it might be better to pull directly from branch
Thanks, was able to get it to work with :+1:
Code change:
criu = callPackage ../os-specific/linux/criu { }; cryptomator = callPackage ../tools/security/cryptomator { <del> jdk = jdk20.override { enableJavaFX = true; }; </del> <ins> jdk = jdk21.override { enableJavaFX = true; }; </ins> }; cryptsetup = callPackage ../os-specific/linux/cryptsetup { };

Related discussion:
text: In the vault options, vaults can only be mounted as . Steps to reproduce the behavior: cryptomator to a vault options the tab, the combo box does not contain a FUSE item Vaults can be mounted as FUSE volumes In the console output, cryptomator seems to have access to the fuse3 libs in its PATH: Full console output:
I think this might be related to It seems since they switched to the new fuse integration they only search a predefined number of paths. This is also consistent as the nix build of cryptomator works on non nixos linux.
I have the same issue. Does somebody have some workaraound yet? EDIT: so what I am currently doing, which is really not ideal, is just mounting the webdav directory with rclone, which, well, uses FUSE. so yeah rclone has no problems with using FUSE...
The fix for this is merged but not yet released It's in the 4.0.0 milestone of fuse-nio-adapter. I'm currently using the flapak version of Cryptomator.
thank you for the answer! i don't quite understand what is. Is it a dependency of ? Is there a way to manually fetch this so that it works? I'm gonna try the flatpak version of Cryptomator out, thanks for the hint. I actually tried out appimage, but that didn't change anything.
In the 1.11.0-beta2 release of cryptomator, vaults are able to be mounted as FUSE volumes. So once 1.11.0 is fully released (and the nixpkgs version updated), this issue should be fixed. Until the new version of cryptomator is released, you could create an overlay to use the beta version, like I am doing at the moment. Apart from changing the version and hashes, I also needed to change the jdk used to a jdk21 and overriding it to enable JavaFX:
thank you for your response! i hope i am not rude to ask for your help in achieving this myself. i put the following in my : and i also did the overlay.
Code change:
criu = callPackage ../os-specific/linux/criu { }; cryptomator = callPackage ../tools/security/cryptomator { <del> jdk = jdk20.override { enableJavaFX = true; }; </del> <ins> jdk = jdk21.override { enableJavaFX = true; }; </ins> }; cryptsetup = callPackage ../os-specific/linux/cryptsetup { };

Related discussion:
text: i get the following error when building: haven't been able to successfully find a solution via search engines...
For overlays, I simply copy the nix files and doing the following overlay: This is quite crude, and there is probably a better way to do it, but it at least avoids any weird errors like the one you are having.
Code change:
subPackages = [ "cmd/tailscale" "cmd/tailscaled" ]; <del> ldflags = [ "-X tailscale.com/version.Long=${version}" "-X tailscale.com/version.Short=${version}" ]; </del> <ins> ldflags = [ "-w" "-s" "-X tailscale.com/version.longStamp=${version}" "-X tailscale.com/version.shortStamp=${version}" ]; </ins> doCheck = false;

Related discussion:
text: Hello, I recently submitted a pull request to update Tailscale in the NixOS repository (). After updating my laptop, I noticed that Tailscale has indeed been updated. However, upon checking the Tailscale dashboard, I discovered an issue with the displayed version number. Here's a screenshot that demonstrates the problem: ! It's possible that something has changed on Tailscale's end, which may require us to modify our build script accordingly. Unfortunately, I am not well-versed in Go yet and could use some assistance in resolving this issue. Any help or guidance would be greatly appreciated. Ping maintainers:
Code change:
cloner false config.nesting.children ++ cloner true config.nesting.clone; systemBuilder = let kernelPath = "${config.boot.kernelPackages.kernel}/" +

Related discussion:
text: When executing switch-to-configuration in a pure environment it fails: I am calling switch-to-configuration via systemd-run to active a new profile using the Hail update tool. The actual executed script is as follows: Actual output: <preactivating the configuration... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LCALL = (unset), LANG = "enUS.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). setting up /etc... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LCALL = (unset), LANG = "enUS.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). setting up tmpfiles Too few arguments. sh: systemctl: command not found </preThe script works if I pass on the PATH and LOCALE_ARCHIVE environment variables: System: (NixOS: 17.09pre-git (Hummingbird)) Nix version: nix-env (Nix) 1.11.13 Nixpkgs version: nixos-unstable (Commit ) Sandboxing enabled: no (Related Hail issue: )
Code change:
}); beaker = buildPythonPackage rec { <del> name = "Beaker-1.7.0"; disabled = isPy3k; </del> <ins> name = "Beaker-${version}"; version = "1.8.0"; </ins> <del> src = pkgs.fetchurl { url = "http://pypi.python.org/packages/source/B/Beaker/${name}.tar.gz"; sha256 = "0vv4y22b3ly1212n9nnhgvc8yz32adlfl7w7s1wj0i5srpjcgvlq"; </del> <ins> # The pypy release do not contains the tests src = pkgs.fetchFromGitHub { owner = "bbangert"; repo = "beaker"; rev = "${version}"; sha256 = "17yfr7a307n8rdl09was4j60xqk2s0hk0hywdkigrpj4qnw0is7g"; </ins> }; buildInputs = <del> [ self.sqlalchemy7 self.pycryptopp self.nose </del> <ins> [ self.nose </ins> self.mock self.webtest ]; <del> # http://hydra.nixos.org/build/4511591/log/raw doCheck = false; </del> <ins> propagatedBuildInputs = [ self.sqlalchemy self.pycrypto ] ++ optionals (isPy26 || isPy27) [ self.funcsigs self.pycryptopp ]; </ins> meta = { <ins> description = "A Session and Caching library with WSGI Middleware"; </ins> maintainers = with maintainers; [ garbas iElectric ]; platforms = platforms.all; };

Related discussion:
text: To make sure that we are on the same page: Kernel: System: Nix version: Nixpkgs version: broke legacy packages (only tested with the -set). Multiple options to solve this: revert the commit (an update will eventually have to be done) make sure no-one depends on sqlalchemy legacy versions (this would be the best choice, but can require a big amount of work) re-introduce an outdated version only used by legacy version (I’ll prepare a PR shortly that follows this path) cc
To be complete, the build problem is a test failure: I also checked, we cannot downgrade sqlite only for few pythonPackages, the entire python (and package set) have to be changed. Any preferred way to go?
(We should check if we still need this version, have it removed locally for virtmanager, virtinst as it isn't used, but haven't had the time to push that)
Yes, this is the preferred way to go. I began that but did not finish it yet, and it impacts some important parts (it causes xen to fail) I would prefer not to break because of unsufficient testing from me. This is in progress but could require some time to complete.
FYI xen already fails on
FYI: I switched away from sqlalchemy7 in yesterday.
Apart from virtinst, acd_cli, beaker, coilmq, and geeknote are the only revdeps of sqlalchemy7, as far as I can tell.
I openned to do some cleanup on sqlalchemy7. There still is that explicitly require . The same work will have to be done for and .
This should have remained open.
Using an older version of sqlite requires overriding the derivations of the interpreters.
See
Code change:
githubId = 3300322; name = "Mitchell Fossen"; }; <ins> mfrw = { email = "falakreyaz@gmail.com"; github = "mfrw"; githubId = 4929861; name = "Muhammad Falak R Wani"; }; </ins> mgdelacroix = { email = "mgdelacroix@gmail.com"; github = "mgdelacroix";

Related discussion:
text: Package name: Latest released version: <!-- Search your package here: --- Current version on the unstable channel: Current version on the stable/release channel: <!-- 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.
You don't need to open an issue if you're going to make a PR right after.
Apologies, my bad. I was not aware :(. I am only 1 day & 1 PR old here.
Code change:
export LC_ALL=C ''; <del> pytestFlagsArray = [ "tests" # TestScrollBarWithScrollable.test_wrapping_bug fails "--deselect=tests/tui_test/scroll_test.py::TestScrollBarWithScrollable::test_wrapping_bug" # https://github.com/rndusr/stig/issues/214 "--deselect=tests/completion_test/classes_test.py::TestCandidates::test_candidates_are_sorted_case_insensitively" ] ++ lib.optionals stdenv.isDarwin [ "--deselect=tests/client_test/ttypes_test.py::TestTimestamp::test_string__month_day_hour_minute_second" "--deselect=tests/client_test/aiotransmission_test/api_torrent_test.py" "--deselect=tests/client_test/aiotransmission_test/rpc_test.py" </del> <ins> disabledTestPaths = [ # Almost all tests fail in this file, it is reported upstream in: # https://github.com/rndusr/stig/issues/214 , and upstream fails to # reproduce the issue unfortunately. "tests/client_test/aiotransmission_test/api_settings_test.py" ]; disabledTests = [ # Another failure with similar circumstances to the above "test_candidates_are_sorted_case_insensitively" </ins> ]; passthru.tests = testers.testVersion {

Related discussion:
text: Steps to reproduce the behavior: stig I got this when switching from 23.05 to 23.11 system: host os: multi-user?: sandbox: version: channels(root): channels(ao): nixpkgs:
Thanks for the report, this is supposed to be fixed in . I will wait for Darwin CI to be green there and merge it. Ping me if I forget. Follow that PR at:
Great, thanks!
Code change:
./programs/ssh.nix ./programs/starship.nix ./programs/steam.nix <ins> ./programs/streamcontroller.nix </ins> ./programs/streamdeck-ui.nix ./programs/sysdig.nix ./programs/system-config-printer.nix

Related discussion:
text: Project description As discussed in is now EOL and the dev's have moved their effort to . As per the in order for it to work specific need to be set up. We can probably do something similar to what we do for the expression: Metadata homepage URL: source URL: license: GPL3 platforms: linux Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
For people who subscribed to this issue: I opened to add streamcontroller
Code change:
] ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata <ins> ] ++ lib.optionals (pythonAtLeast "3.10") [ truststore </ins> ]; nativeCheckInputs = [

Related discussion:
text: Steps to reproduce the behavior: truststore Output of : Adding to solves this issue. Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Code change:
sha256 = "0vzj365s4j0pw5w37lfhx3dmpkdp85driravsvx8rlrw0lii91a7"; }; <ins> patches = stdenv.lib.optionals stdenv.isDarwin ./darwin-enable-cxx-exceptions.patch; </ins> buildInputs = [ pkgconfig glib boost ] ++ opt stdenv.isLinux systemd ++ opt (stdenv.isLinux && alsaSupport) alsaLib

Related discussion:
text: nix fails to build libjack2 and libpulseaudio on darwin too (probably another two issues should be filed?). mpd build log is the third one. After disabling libjack2: After disabling libpulseaudio: I'm no expert in c++ but quick googling shows that exceptions are disabled by default when building with xcode toolchain. On a side note, which way is proper to manage ? I'm editing expression in but not sure if that is the right way. I'm using OS X 10.10.4, nix-env 1.9, nixpkgs from master HEAD.
Compilation fails on throw from boost library and mpd sources are compiling with , so I've to mpd expression but still no luck here.
Seems like this didn't get resolved and it's been a while... I have mpd failing to build on Darwin also, but with a different error, CoreAudio related. I'm using a local nixpkgs checked out at , OS X 10.11.3. Here's the failure:
Code change:
done ''; <del> # remove when bumping to the latest version. # This patch basically rebases `fcf7469d7664f37e94d5f6d0b3fe6fce6413f88c` # from weechat upstream to weechat-2.2. patches = [ ./aggregate-commands.patch ]; </del> meta = { homepage = http://www.weechat.org/; description = "A fast, light and extensible chat client";

Related discussion:
text: 3 is out! I'm not sure what's changed but it's at least 200% more better, and has a plugin for making you toast :stuckouttongue: . The release notes are here: and are as follows: Anyway I imagine someone'll be excited about the new version :grin: so thought I'd share.
Haha, a proper changelog is here: my bad :innocent:.
Code change:
<del> { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig </del> <ins> { stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkgconfig </ins> , ffmpeg, libjpeg, libmicrohttpd }: stdenv.mkDerivation rec {

Related discussion:
text: , CVSSv3=7.5 (nixos-20.03) Scanned versions: nixos-20.03: . Cc Cc
Fixed by
Code change:
<ins> # Steam {#sec-steam} ## Steam in Nix {#sec-steam-nix} Steam is distributed as a `.deb` file, for now only as an i686 package (the amd64 package only has documentation). When unpacked, it has a script called `steam` that in Ubuntu (their target distro) would go to `/usr/bin`. When run for the first time, this script copies some files to the user's home, which include another script that is the ultimate responsible for launching the steam binary, which is also in $HOME. Nix problems and constraints: - We don't have `/bin/bash` and many scripts point there. Similarly for `/usr/bin/python`. - We don't have the dynamic loader in `/lib`. - The `steam.sh` script in $HOME can not be patched, as it is checked and rewritten by steam. - The steam binary cannot be patched, it's also checked. The current approach to deploy Steam in NixOS is composing a FHS-compatible chroot environment, as documented [here](http://sandervanderburg.blogspot.nl/2013/09/composing-fhs-compatible-chroot.html). This allows us to have binaries in the expected paths without disrupting the system, and to avoid patching them to work in a non FHS environment. ## How to play {#sec-steam-play} Use `programs.steam.enable = true;` if you want to add steam to systemPackages and also enable a few workarrounds aswell as Steam controller support or other Steam supported controllers such as the DualShock 4 or Nintendo Switch Pr. ## Troubleshooting {#sec-steam-troub} - **Steam fails to start. What do I do?** Try to run ```ShellSession strace steam ``` to see what is causing steam to fail. - **Using the FOSS Radeon or nouveau (nvidia) drivers** - The `newStdcpp` parameter was removed since NixOS 17.09 and should not be needed anymore. - Steam ships statically linked with a version of libcrypto that conflics with the one dynamically loaded by radeonsi_dri.so. If you get the error ``` steam.sh: line 713: 7842 Segmentation fault (core dumped) ``` have a look at [this pull request](https://github.com/NixOS/nixpkgs/pull/20269). - **Java** 1. There is no java in steam chrootenv by default. If you get a message like ``` /home/foo/.local/share/Steam/SteamApps/common/towns/towns.sh: line 1: java: command not found ``` You need to add ```nix steam.override { withJava = true; }; ``` ## steam-run {#sec-steam-run} The FHS-compatible chroot used for steam can also be used to run other linux games that expect a FHS environment. To do it, add ```nix pkgs.steam.override ({ nativeOnly = true; newStdcpp = true; }).run ``` to your configuration, rebuild, and run the game with ``` steam-run ./foo ``` </ins>

Related discussion:
text: This issue tracks the conversion of from Docbook to CommonMark per . If you intend to work on this conversion, please comment below! here that you intend to work on it. (Please also post if you stop working on it.) a new branch of nixpkgs master. : change to . to . the contents from Docbook to . Follow . Use existing sections for inspiration. from the folder to build the manual. the manual on your computer at after running from folder: it looks good, submit a PR and reference this issue.
I will also work on this
Code change:
<del> { lib, stdenv, fetchFromGitHub, makeDesktopItem, pkg-config, cmake </del> <ins> { lib, stdenv, fetchFromGitHub, pkg-config, cmake </ins> , wrapQtAppsHook, qtbase, bluez, ffmpeg, libao, libGLU, libGL, pcre, gettext , libXrandr, libusb1, lzo, libpthreadstubs, libXext, libXxf86vm, libXinerama , libSM, libXdmcp, readline, openal, udev, libevdev, portaudio, curl, alsa-lib

Related discussion:
text: The derivation of creates a different .desktop file from the "official" one that has a different name. This is probably done in order to differentiate the two versions of in case someone installs both of them, but the problem is that while it creates a new one, it doesn't delete the "official" one. Also, the new .desktop file should also set , otherwise games don't launch in Wayland. (Though maybe it should be a wrapper instead) (And, unrelated, but why and not ?) The same also applies to PATH: there are both and (which is a link made by the derivation to in the folder). For consistency, there should be made a , otherwise if both dolphins are installed, one overwrites the other in PATH. Steps to reproduce the behavior: dolphinEmuMaster; an app launcher; are both the original "Dolphin Emulator" and the new "Dolphin Emulator (master)" that open the same app (the master one doesn't set `QTQPAPLATFORM=xcb). PATH there are both and (which is a link). There should only be the "Dolphin Emulator (master)" desktop file, and in PATH there should be only (and instead of ). <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --