jiebi/CodeConvo huggingface dataset:
Code change:
<ins> { lib , stdenv , fetchFromGitHub , nix-update-script , meson , ninja , pkg-config , python3 , vala , gtk3 , libgee , pantheon }: stdenv.mkDerivation rec { pname = "pantheon-tweaks"; version = "1.0.1"; src = fetchFromGitHub { owner = "pantheon-tweaks"; repo = pname; rev = version; sha256 = "sha256-tAfDxX/RD7pO5PN/LaZ92Cj/iZtBI/EHb0+pORfYnPM="; }; patches = [ ./fix-paths.patch ]; nativeBuildInputs = [ meson ninja pkg-config python3 vala ]; buildInputs = [ gtk3 libgee pantheon.granite pantheon.switchboard ]; postPatch = '' chmod +x meson/post_install.py patchShebangs meson/post_install.py ''; passthru = { updateScript = nix-update-script { attrPath = pname; }; }; meta = with lib; { description = "Unofficial system settings panel for Pantheon"; longDescription = '' Unofficial system settings panel for Pantheon that lets you easily and safely customise your desktop's appearance. Use programs.pantheon-tweaks.enable to add this to your switchboard. ''; homepage = "https://github.com/pantheon-tweaks/pantheon-tweaks"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = teams.pantheon.members; }; } </ins>

Related discussion:
text: Project description Pantheon Tweaks is a Switchboard plug allowing users to somewhat tweak Pantheon (elementary OS's DE) settings of the more hidden kind, not normally available from Switchboard. As NixOS has Pantheon packaged, it might be of use in Nixpkgs. Metadata homepage URL: source URL: license: platforms: same as Pantheon Depending on Pantheon version currently in Nixpkgs, the predecessor elementary-tweaks, also GPLv3, might be of more use:
As I maintain Pantheon in NixOS, I approve of this being packaged in the future, but not , because it's archived and IIRC I denied that .
Then we should probably do it once Pantheon in NixOS advances to whatever version elementary OS 6 Odin will have - this'll probably happen once elementary OS 6 will get released.
Ah yes, the repo says "Pantheon Tweaks is currently only supported on elementary OS Odin" :+1:
Did some initial work for this (), would you like to try that? Will need Pantheon 6 () and following line in your NixOS configuration file: Update: I will move this out from the pantheon namespace when creating the PR due to reasons below.
Did some initial work for this great! would you like to try that? of course works great. only the force darkmode did not work in minder program. haven't tested more... ! ! maybe it could be enabled by an option like ? So it's consistent with other options like .
Tested 1.13.1 on both elementary OS (installed via appcenter) and NixOS (btw minder in Nixpkgs seems out-of-date, just opened a PR: ), I guess this should be an issue to minder, as minder is trying to read information from of granite (, ), so it should respect settings from switchboard-plug-pantheon-shell, while what pantheon-tweaks does is (I guess) setting under you gtk config file and I am not sure how handle this. You can check this with: ! I am not sure as this is not an official part of Pantheon. I guess it should be okay to do this.
I am not sure as this is not an official part of Pantheon.
Code change:
]; configureFlags = [ <ins> "--disable-werror" </ins> "--enable-jtag_vpi" "--enable-usb_blaster_libftdi" (lib.enableFeature (! stdenv.isDarwin) "amtjtagaccel")

Related discussion:
text: fails to build. Looking at hydra when it started to fail () it could be due to GCC 11 update. Just adding to the only leads to the next error. <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --
Code change:
# ++ exec # + PAGER_PATH= # it's looking for a dependency and didn't find it. Check the script and make sure the dep is in nativeBuildInputs. <del> unpackPhase = '' echo -e 'ny' | PAGER=cat sh -xe $src cd TeamSpeak* ''; buildPhase = '' mv ts3client_linux_${arch} ts3client echo "patching ts3client..." patchelf --replace-needed libquazip.so ${quazip}/lib/libquazip1-qt5.so ts3client patchelf  --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)"  --set-rpath ${lib.makeLibraryPath deps}:$(cat $NIX_CC/nix-support/orig-cc)/${libDir}  --force-rpath  ts3client ''; </del> <ins> unpackPhase = '' echo -e 'ny' | PAGER=cat sh -xe $src cd TeamSpeak* ''; buildPhase = '' mv ts3client_linux_${arch} ts3client echo "patching ts3client..." patchelf --replace-needed libquazip.so ${quazip}/lib/libquazip1-qt5.so ts3client patchelf  --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)"  --set-rpath ${lib.makeLibraryPath deps}:$(cat $NIX_CC/nix-support/orig-cc)/${libDir}  --force-rpath  ts3client ''; </ins> installPhase = ''

Related discussion:
text: Steps to reproduce the behavior: try to install/build the package using nix-shell or nixos the Domain is no longer configured. Teamspeak Download Pages redirects to this place: Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
You might want to check out
Not merged yet
As a workaround, until this is fixed in nixpkgs: The file is still available at the Internet Archive. You can fetch it from there and write it into the store, with something like this:
Code change:
if [ ! "${selfContainedBuild-}" ]; then if [ "${useDotnetFromEnv-}" ]; then # if dotnet CLI is available, set DOTNET_ROOT based on it. Otherwise set to default .NET runtime <del> dotnetRootFlags+=("--run" 'command -v dotnet &>/dev/null && export DOTNET_ROOT="$(@dirname@ "$(@dirname@ "$(@which@ dotnet)")")" || export DOTNET_ROOT="@dotnetRuntime@"') </del> <ins> dotnetRootFlags+=("--run" 'command -v dotnet &>/dev/null && export DOTNET_ROOT="$(@dirname@ "$(@realpath@ "$(@which@ dotnet)")")" || export DOTNET_ROOT="@dotnetRuntime@"') </ins> dotnetRootFlags+=("--suffix" "PATH" ":" "@dotnetRuntime@/bin") else dotnetRootFlags+=("--set" "DOTNET_ROOT" "@dotnetRuntime@")

Related discussion:
text: When running OmniSharp, the program is unable to find a dotnet runtime to use at all. When I remove the part from the part of the script, it starts to work. Presumably because moving the command to /dev/null just isn't helping at all? ! !
Oh this is an issue with buildDotnetModule. I was looking at nixos-23.05 when I am on nixos-unstable.
So I am not the only one having this issue I talked about this in the PR that introduced the bug (). I have made a proof of concept for a fix: I will open a PR for this, now that I know that I am not the only one experiencing this.
Your fix worked because, because the original code is checking whether you have dotnet installed by checking whether has an exit code of 0 (which it does, if it is installed). But if you change it to , it will always have exit code that is not 0 (because running is not correct by itself), thus making it think you don't have it installed, which means it will use the hardcoded dotnet 6 version instead.
Yeah, I just stumbled upon it while copy pasting the script manually, I didn't take the time to understand what was happening, still new to shell-scripts. Thanks for hopefully finding a solution!
Code change:
"-DJSON_MultipleHeaders=ON" ]; <del> doCheck = stdenv.hostPlatform == stdenv.buildPlatform; </del> <ins> # A test cause the build to timeout https://github.com/nlohmann/json/issues/1816 #doCheck = stdenv.hostPlatform == stdenv.buildPlatform; doCheck = false; </ins> postInstall = "rm -rf $out/lib64";

Related discussion:
text: Describe the bug The stable channel was last updated 5 days before. The blocking issue seems to be the build of nlohmannjson timing out. To Reproduce Steps to reproduce the behavior: to local nixpkgs repo: latest changes: stable channel: : That works, so there is no actual issue with the build. The problem is that a test times out on the CI: Maintainer information:
Code change:
options.services.node-red = { enable = mkEnableOption (lib.mdDoc "the Node-RED service"); <del> package = mkPackageOption pkgs "node-red" { }; </del> <ins> package = mkPackageOption pkgs "nodePackages.node-red" { }; </ins> openFirewall = mkOption { type = types.bool;

Related discussion:
text: After commit, just enabling does not work because node-red package is under Steps to reproduce the behavior: enable Pull package correctly ! I think the package option should be something like this instead of easy fix I guess I don't know where is found for nixos modules <!-- 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]:
Code change:
sea-orm-cli = callPackage ../development/tools/sea-orm-cli { }; <ins> vcpkg-tool = callPackage ../by-name/vc/vcpkg-tool/package.nix { fmt = fmt_10; }; </ins> r3ctl = qt5.callPackage ../tools/misc/r3ctl { }; ptouch-print = callPackage ../misc/ptouch-print { };

Related discussion:
text: Project description vcpkg is a package manager for C++ and many large and very small libraries are packaged there. Many of my projects use it for CMake configuration and for its toolchain file that automatically download and build libraries. I want to setup dev environment with nix and this is one of the packages I'm looking for that I've been building manually (since the brew packaged vcpkg is not well configured for manifest files support) Metadata homepage URL: source URL: license: MIT platforms: unix, linux, darwin, windows
I'll try something now.
Reading the , it looks like a case for a module, not merely a package.
I'm not sure what's the difference between a package and a module... but if it allows me to download a prebuilt binary of vcpkg that I can simply install, that's fine for me. Know that this package manager is made (partly) in C++ and need compiling. The build script is the you see there.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
Maybe I am over-engineering here. Reading the AUR script, vcpkg uses systemd scripts/services. Therefore I think it requires more integration with the operating system. Modules are, roughly speaking, designed to "patch" and configure NixOS (the operating system).
Would be nice to have!
Work is ongoing here:
Code change:
configureFlags = [ "--with-gnunet=${gnunet}" ]; <del> patchPhase = "patchShebangs pixmaps/icon-theme-installer"; </del> <ins> postPatch = "patchShebangs pixmaps/icon-theme-installer"; postInstall = '' ln -s $out/share/gnunet-gtk/gnunet_logo.png $out/share/gnunet/gnunet-logo-color.png ''; </ins> meta = gnunet.meta // { description = "GNUnet GTK User Interface";

Related discussion:
text: Describe the bug When i open the About dialog in any program provided by gnunet-gtk, for example , i notice that the logo is missing. ! To Reproduce Steps to reproduce the behavior: (wait for ) Help -About Expected behavior no icons missing Notify maintainers (who fixed the build last) Metadata system: host os: multi-user?: sandbox: version: channels(root): nixpkgs: Maintainer information:
PR:
Code change:
nativeBuildInputs = [ qmake qttools ]; <del> buildInputs = [ qtbase ]; </del> <ins> buildInputs = [ qtbase qtsvg ]; </ins> qmakeFlags = [ "LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease" <ins> "PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}" </ins> ]; <del> preConfigure = '' qmakeFlags+=" PLUGINDIR=$out/$qtPluginPrefix" ''; </del> enableParallelBuilding = true; meta = with lib; {

Related discussion:
text: on Hydra: cc
Since it's been building for me, checked if I was sitting on any changes and while the commit message doesn't indicate that it fixes anything (eep), it does seem to fix this issue: Don't remember enough details to justify it fully offhand (again d'oh for not writing it down at the time hehe) but hopefully this helps work towards a suitable resolution :).
Naturally this breaks in as well.
Yep, broken for me too. Haven't had time to tinker yet.
I have the same problem, but the commit mentioned fixes it for me.
So are we just waiting for this commit to be in the unstable channels?
Code change:
libXrender libXtst zlib <ins> ] ++ lib.optionals stdenv.isLinux [ webkitgtk glib-networking </ins> ]; desktopItems = [

Related discussion:
text: DBeaver has support to show spatial data on a map when the database is capable (e.g. postgres + postgis) but opening "spatial" tab gives this error: Steps to reproduce the behavior: dbeaver to a table that has a geometry, show data "Spatial" on the left A map should be shown This happens on master and 21.05-release, didn't test on 21.11 but I suppose it's the same Maintainer information:
I was able to reproduce the error and have fixed it. This is how the map now looks with a sample polygon taken from !
Wow that was quick! Thank you a lot!
Code change:
rm src/net/cgo_unix_test.go '' + optionalString stdenv.isLinux '' <del> sed -i 's,/usr/share/zoneinfo/,${tzdata}/share/zoneinfo/,' src/time/zoneinfo_unix.go </del> <ins> # prepend the nix path to the zoneinfo files but also leave the original value for static binaries # that run outside a nix server sed -i 's,"/usr/share/zoneinfo/,"${tzdata}/share/zoneinfo/",nt&,' src/time/zoneinfo_unix.go </ins> '' + optionalString stdenv.isAarch32 '' echo '#!${runtimeShell}' > misc/cgo/testplugin/test.bash '' + optionalString stdenv.isDarwin ''

Related discussion:
text: A Go program compiled using nix-shell returns an error when running on a separate server and trying to load a timezone file. file with: $nix-shell $<inside shellgo build $exit $ ./app # name of the app you just created 2019/01/25 20:04:58 All went well: America/NewYork Now copy this file to another computer #./app 2019/01/26 01:01:34 could not load new york locationopen /nix/store/0596k27r6pacyx4jp1bcn8zqyjhji52l-go- no such file or directory The error includes the zip name due to internal reasons the Go team has, but the real problem is that nix replaced with I would be more than happy to send a Pull Request if you agree with the proposed solution of prepending instead of replacing. $ nix-shell -p nix-info --run "nix-info -m" these paths will be fetched (0.00 MiB download, 0.00 MiB unpacked): /nix/store/dzvh4f6ihkwg44mmf2awxg564k1s8khg-nix-info copying path '/nix/store/dzvh4f6ihkwg44mmf2awxg564k1s8khg-nix-info' from ''... system: host os: multi-user?: sandbox: version: channels(diego): nixpkgs: version is nixos-unstable-2019-01-22 The file replaces the path that the go runtime looks for the timezone information. Original Go code is: But nix changes the first entry, for This works fine if you end up running your go application in the same nix env you compiled it, but when you deploy your go program to a separate server, the path, that can look like isn't present on the separate server and then the lookup fails. is a very common path in Linux distributions. A better way to solve this would be to prepend the nix only path, as the first entry, and then keep and the other entries as they are in the original go source code. The benefits are that those who compile and run in the same nix environment will use the nix path, but those who deploy somewhere else won't have to do any extra work.
Code change:
rm src/net/cgo_unix_test.go '' + optionalString stdenv.isLinux '' <del> sed -i 's,/usr/share/zoneinfo/,${tzdata}/share/zoneinfo/,' src/time/zoneinfo_unix.go </del> <ins> # prepend the nix path to the zoneinfo files but also leave the original value for static binaries # that run outside a nix server sed -i 's,"/usr/share/zoneinfo/,"${tzdata}/share/zoneinfo/",nt&,' src/time/zoneinfo_unix.go </ins> '' + optionalString stdenv.isAarch32 '' echo '#!${runtimeShell}' > misc/cgo/testplugin/test.bash '' + optionalString stdenv.isDarwin ''

Related discussion:
text: I doubt anyone ever considered support for non-Nix and therefore I will mark it also as . I'll leave it open for now as maybe it can be supported (I doubt it).
would you accept a PR with my proposed solution? It won't hurt nix deployments but will help a use case of building a go program in nix but deploying outside of nix.
cross referencing a thread on the mailing list about this ticket/issue so both conversations are linked.
Your explanation and proposed solution seem to be very reasonable to me. I suggest that you submit a PR.
Code change:
<ins> { lib , stdenv , fetchurl , jre , makeWrapper }: let version = "0.14.1"; peergos = fetchurl { url = "https://github.com/Peergos/web-ui/releases/download/v${version}/Peergos.jar"; hash = "sha256-oCsUuFxTAL0vAabGggGhZHaF40A5TLfkT15HYPiKHlU="; }; in stdenv.mkDerivation rec { pname = "peergos"; inherit version; dontUnpack = true; dontBuild = true; nativeBuildInputs = [ makeWrapper ]; installPhase = '' runHook preInstall install -D ${peergos} $out/share/java/peergos.jar makeWrapper ${lib.getExe jre} $out/bin/${pname}  --add-flags "-jar -Djava.library.path=native-lib $out/share/java/${pname}.jar" runHook postInstall ''; meta = with lib; { description = "A p2p, secure file storage, social network and application protocol"; homepage = "https://peergos.org/"; # peergos have agpt3 license, peergos-web-ui have gpl3, both are used license = [ licenses.agpl3Only licenses.gpl3Only ]; platforms = platforms.all; maintainers = with maintainers; [ raspher ]; sourceProvenance = with sourceTypes; [ binaryBytecode ]; }; } </ins>

Related discussion:
text: Project description An end-to-end encrypted, peer-to-peer file storage, sharing and communication network. It's written in Java and uses IPFS. A bit similar to Nextcloud. Metadata homepage URL: source URL: license: AGPL3 platforms: linux (JVM)
Related:
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 .
Still important
I marked this as stale due to inactivity. &rarr;
Still important
I marked this as stale due to inactivity. &rarr;
I've a working package of peergos. after some testing i've experienced it a little buggy, so i don't want to push it into release. Let's see what i can do as it's my first package. The example bug: after i've created task, clicking "tasks" from left menu forces me to create new task. However thecreated task is visible in my drive.
Thanks!
Code change:
# tesseract & leptonica. ++ lib.optionals enableTesseract [ tesseract leptonica ] ++ lib.optional enableTbb tbb <del> ++ lib.optionals enableCuda [ cudatoolkit nvidia-optical-flow-sdk ] </del> ++ lib.optionals stdenv.isDarwin [ bzip2 AVFoundation Cocoa VideoDecodeAcceleration CoreMedia MediaToolbox ] ++ lib.optionals enableDocs [ doxygen graphviz-nox ]; <del> propagatedBuildInputs = lib.optional enablePython pythonPackages.numpy; </del> <ins> propagatedBuildInputs = lib.optional enablePython pythonPackages.numpy ++ lib.optionals enableCuda [ cudatoolkit nvidia-optical-flow-sdk ]; </ins> nativeBuildInputs = [ cmake pkg-config unzip ];

Related discussion:
text: qimgv fails to build when . Steps to reproduce the behavior: No build errors. N/A. N/A. Maintainer information:
I am working on a patch to OpenCV to fix this issue correctly. In the meantime, you can replace with and it will build and operate properly. On my system I also had to add to to stop it crashing when I tried to open a file dialog but maybe that is just because I run Nix on Ubuntu instead of NixOS.
Code change:
description = "Twitch.tv browser for Streamlink"; longDescription = "Browse Twitch.tv and watch streams in your videoplayer of choice"; homepage = "https://streamlink.github.io/streamlink-twitch-gui/"; <del> downloadPage = https://github.com/streamlink/streamlink-twitch-gui/releases; </del> <ins> downloadPage = "https://github.com/streamlink/streamlink-twitch-gui/releases"; </ins> license = licenses.mit; maintainers = with maintainers; [ rileyinman ]; platforms = [ "x86_64-linux" "i686-linux" ];

Related discussion:
text: Cannot view any content when running the program because it complains about missing binaries. Steps to reproduce the behavior: to watch any stream No errors, stream works system: host os: multi-user?: sandbox: version: channels(admin): nixpkgs: Add and as runtime dependencies because the following works for me:
Code change:
module_init_tools = kmod; # added 2016-04-22 mozart = mozart2-binary; # added 2019-09-23 mozart-binary = mozart2-binary; # added 2019-09-23 <ins> mpc_cli = mpc-cli; # moved from top-level 2022-01-24 </ins> mpd_clientlib = libmpdclient; # added 2021-02-11 mpich2 = mpich;  # added 2018-08-06 msf = metasploit; # added 2018-04-25

Related discussion:
text: The mpccli package is missing bashcompletion, even though a bash completion file is in the upstream repo under contrib/mpc- . Steps to reproduce the behavior: the package a terminal and type It tries only to complete with the contents of the current directory mpc should be completed with the mpc subcomands like , , etc. On a regular system, the file would have to be installed under /etc/bashcompletion.d/ . I don't know whats the nix(os) equivalent to this.
First, I am not the maintainer of this package. Nonetheless I will review this. Second, in Nixpkgs we do "almost" the same: we use a special hook that installs those extra files at the . Now I need to sleep; please wait a bit more.
Code change:
gcr gnome.adwaita-icon-theme libsecret <ins> libportal-gtk3 </ins> ]; postPatch = ''

Related discussion:
text: Steps to reproduce the behavior: shotwell from latest nixos-unstable I simply install shotwell with . Noticed that often updates this derivation, last time it was changed by but I don't think his change would cause this. Otherwise - meta.maintainers is empty. Please run and paste the result.