jiebi/CodeConvo huggingface dataset:
Change:
<del> { fetchurl, lib, stdenv, unzip }: let version = "2.9"; fileVersion = builtins.replaceStrings [ "." ] [ "_" ] version; sha256 = { x86_64-linux  = "15i20kzhdcmi94w7wfhqbl6j20v47cdakjm2mn3x8w495iddna4q"; i686-linux    = "15i20kzhdcmi94w7wfhqbl6j20v47cdakjm2mn3x8w495iddna4q"; x86_64-darwin = "0zniyn0s41fxqrajbgwxbcsj5vzf9m7a6yvdz2b11mphr00kpbbs"; i686-darwin   = "0zniyn0s41fxqrajbgwxbcsj5vzf9m7a6yvdz2b11mphr00kpbbs"; x86_64-cygwin = "02slfh1bbpijay4skj85cjiv7z43ha8vm5aa1lwiqjk86qbl1f3h"; i686-cygwin   = "02slfh1bbpijay4skj85cjiv7z43ha8vm5aa1lwiqjk86qbl1f3h"; }.${stdenv.hostPlatform.system} or (throw "system #{stdenv.hostPlatform.system.} is not supported"); url = { x86_64-linux  = "http://kindlegen.s3.amazonaws.com/kindlegen_linux_2.6_i386_v${fileVersion}.tar.gz"; i686-linux    = "http://kindlegen.s3.amazonaws.com/kindlegen_linux_2.6_i386_v${fileVersion}.tar.gz"; x86_64-darwin = "http://kindlegen.s3.amazonaws.com/KindleGen_Mac_i386_v${fileVersion}.zip"; i686-darwin   = "http://kindlegen.s3.amazonaws.com/KindleGen_Mac_i386_v${fileVersion}.zip"; x86_64-cygwin = "http://kindlegen.s3.amazonaws.com/kindlegen_win32_v${fileVersion}.zip"; i686-cygwin   = "http://kindlegen.s3.amazonaws.com/kindlegen_win32_v${fileVersion}.zip"; }.${stdenv.hostPlatform.system} or (throw "system #{stdenv.hostPlatform.system.} is not supported"); in stdenv.mkDerivation { pname = "kindlegen"; inherit version; src = fetchurl { inherit url; inherit sha256; }; sourceRoot = "."; nativeBuildInputs = lib.optional (lib.hasSuffix ".zip" url) unzip; installPhase = '' mkdir -p $out/bin $out/share/kindlegen/doc install -m755 kindlegen $out/bin/kindlegen cp -r *.txt *.html docs/* $out/share/kindlegen/doc ''; meta = with lib; { broken = true; # download links got removed description = "Convert documents to .mobi for use with Amazon Kindle"; homepage = "https://www.amazon.com/gp/feature.html?docId=1000765211"; license = licenses.unfree; maintainers = with maintainers; [ peterhoeg ]; platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "i686-darwin" "x86_64-cygwin" "i686-cygwin" ]; }; } </del>

Discussion:
. Consequently, the is broken. I suppose we need to choose whether to remove the package or find a mirror? CC maintainer: Side notes: Sadly, its replacement, , has no Linux support. But on a more positive note, there are other programs that can produce mobi files, some mentioned in .
I suggest we just drop it. Considering that kindlegen was under an unfree license, we're probably not allowed to distribute it, so let's just blow it away with a release note entry that mentions some alternatives.
I marked this as stale due to inactivity. &rarr;
My current recommendation for NixOS is to use calibre for conversion. It also has commandline tools for scripting.
Change:
return if $relName eq "/propagated-build-inputs" || $relName eq "/nix-support" || <del> $relName =~ /info/dir/ || </del> <ins> $relName =~ /info/dir$/ || </ins> ( $relName =~ /^/share/mime// && !( $relName =~ /^/share/mime/packages/ ) ) || $baseName eq "perllocal.pod" || $baseName eq "log" ||

Discussion:
The emacs package installs about 66 info files into . All of them are then symlinked into the system (or home) profile at, e.g., except for . The Emacs manual () and the source file both reference this manual, but it's not to be found in the info directory. Something like this, I guess… shows only shows and The output of step 3 should also contain . It occurred to me that the filename beginning with the letters may not be a coincidence. We exclude the dir file from the profile, generating it instead. Indeed, the relevant part of  seems to be: The commented line is intended to exclude but also ends up excluding . I'm not sure, is something like appropriate? wrote that part of
Change:
<del> { lib , coreutils , fetchFromGitHub , git , gitUpdater , glibcLocales , python3 }: let pname = "xonsh"; version = "0.15.1"; in python3.pkgs.buildPythonApplication { inherit pname version; pyproject = true; # fetch from github because the pypi package ships incomplete tests src = fetchFromGitHub { owner = "xonsh"; repo = "xonsh"; rev = "refs/tags/${version}"; hash = "sha256-mHOCkUGiSSPmkIQ4tgRZIaCTLgnx39SMwug5EIx/jrU="; }; nativeBuildInputs = with python3.pkgs; [ setuptools wheel ]; propagatedBuildInputs = with python3.pkgs; [ ply prompt-toolkit pygments ]; env.LC_ALL = "en_US.UTF-8"; postPatch = '' sed -ie "s|/bin/ls|${coreutils}/bin/ls|" tests/test_execer.py sed -ie "s|SHELL=xonsh|SHELL=$out/bin/xonsh|" tests/test_integrations.py sed -ie 's|/usr/bin/env|${coreutils}/bin/env|' tests/test_integrations.py sed -ie 's|/usr/bin/env|${coreutils}/bin/env|' scripts/xon.sh find scripts -name 'xonsh*' -exec sed -i -e "s|env -S|env|" {} ; find -name "*.xsh" | xargs sed -ie 's|/usr/bin/env|${coreutils}/bin/env|' patchShebangs . ''; disabledTests = [ # fails on sandbox "test_colorize_file" "test_loading_correctly" "test_no_command_path_completion" "test_bsd_man_page_completions" "test_xonsh_activator" # fails on non-interactive shells "test_capture_always" "test_casting" "test_command_pipeline_capture" "test_dirty_working_directory" "test_man_completion" "test_vc_get_branch" "test_bash_and_is_alias_is_only_functional_alias" ]; disabledTestPaths = [ # fails on sandbox "tests/completers/test_command_completers.py" "tests/test_ptk_highlight.py" "tests/test_ptk_shell.py" # fails on non-interactive shells "tests/prompt/test_gitstatus.py" "tests/completers/test_bash_completer.py" ]; nativeCheckInputs = [ git glibcLocales ] ++ (with python3.pkgs; [ pip pyte pytest-mock pytest-subprocess pytestCheckHook ]); preCheck = '' export HOME=$TMPDIR ''; dontWrapPythonPrograms = true; passthru = { shellPath = "/bin/xonsh"; python = python3; # To the wrapper updateScript = gitUpdater { }; }; meta =  { homepage = "https://xon.sh/"; description = "Python-ish, BASHwards-compatible shell"; changelog = "https://github.com/xonsh/xonsh/raw/${version}/CHANGELOG.rst"; license = with lib.licenses; [ bsd3 ]; maintainers = with lib.maintainers; [ AndersonTorres ]; }; } </del>

Discussion:
Xonsh because of However, in unstable the is using
cc as maintainer
I am waiting for someone hit the button here: P.S.: I am not waiting anymore.
Upstream has unpinned prompt-toolkit after

Upstream issue: Since the issue seems to be specific to NixOS, let's track it here. The two commands above should only print "True". If applicable, add screenshots to help explain your problem. Tested on xonsh 0.13.3 and 0.13.4 system: host os: multi-user?: sandbox: version: nixpkgs:
Upstream fix:
Change:
"apache_beam" ]; <del> nativeCheckInputs = [ </del> <ins> checkInputs = [ </ins> freezegun <ins> hypothesis </ins> mock pandas parameterized psycopg2 pyhamcrest pytestCheckHook <ins> pytest-xdist </ins> pyyaml requests-mock scikit-learn

Discussion:
Build of failed on x86_64-linux as of . This is currently breaking . python39Packages.tensorflow-datasets maintainers cc: maintainers cc: Other cc: n/a nixpkgs at commit This issue was automatically generated by . that created this issue. Internal tags: - -
huh this is a weird failure to me since fasteners==0.18 at the time of this commit which should be working... building locally on this commit i get a different failure: very peculiar...
Change:
-e "s|^((DEST_)?PREFIX)=.*$|1=$out|g ;  s|/sbin/install-info|install-info|g" <ins> # Workaround for bug #458 # ProofGeneral 4.2 byte-compilation fails with Emacs 24.2.90 # http://proofgeneral.inf.ed.ac.uk/trac/ticket/458 sed -i "Makefile"  -e "s|(setq byte-compile-error-on-warn t)||g" </ins> sed -i "bin/proofgeneral" -e's/which/type -p/g' # @image{ProofGeneral} fails, so remove it.

Discussion:
If i install a "sshfs-fuse" package without explicitly installing "fuse", i will get fusermount: cannot run /nix/var/nix/profiles/default/bin/fusermount': No such file or directory when i try to use it. When i install "fuse" by hands — it can run fusermount and all works fine as it should. jackc says: Well, the problem is that fusermount needs_ to be setuid.
I think the right thing to do here is to make a wrapper for the binary that looks for a suid fuserwrapper (first in , and issues a warning when it can't be found.
On Wed, Apr 10, 2013 at 01:58:04PM -0700, jcumming wrote: That binary will be found in any default nixos. But fuse won't be available. What about adding fuse by default in nixos?
I don't know if it's a good decision. But at least it's not bad ;-)
+1 on enabling FUSE by default.
+1 on enabling FUSE (and the kernel module)
sshfs myremotecomputer:/tmp mydir fusermount: cannot run/nix/var/nix/profiles/default/bin/fusermount': No such file or directory but i've also seen: this error was caused since i was installing using: nix-env -i fuse sshfsFuse but instead one must install like this: environment.systemPackages = [fuse sshfsFuse ], and load fuse module
+1 for fuse
Change:
}; }; <ins> syncthing-gtk = buildPythonPackage rec { version = "0.6.3"; name = "syncthing-gtk-${version}"; src = pkgs.fetchFromGitHub { owner = "syncthing"; repo = "syncthing-gtk"; rev = "v${version}"; sha256 = "1qa5bw2qizjiqvkms8i31wsjf8cw9p0ciamxgfgq6n37wcalv6ms"; }; disabled = isPy3k; </ins> <del> # XXX: ValueError: ZIP does not support timestamps before 1980 # svneverever =  buildPythonPackage rec { #   name = "svneverever-778489a8"; # #   src = pkgs.fetchgit { #     url = git://git.goodpoint.de/svneverever.git; #     rev = "778489a8c6f07825fb18c9da3892a781c3d659ac"; #     sha256 = "41c9da1dab2be7b60bff87e618befdf5da37c0a56287385cb0cbd3f91e452bb6"; #   }; # #   propagatedBuildInputs = with self; [ pysvn argparse ]; # #   doCheck = false; # }; </del> <ins> propagatedBuildInputs = with self; [ pkgs.syncthing dateutil pyinotify pkgs.libnotify pkgs.psmisc pygobject3 pkgs.gtk3 ]; patchPhase = '' substituteInPlace "scripts/syncthing-gtk"  --replace "/usr/share" "$out/share" substituteInPlace setup.py --replace "version = get_version()" "version = '${version}'" ''; meta = { description = " GTK3 & python based GUI for Syncthing "; maintainers = with maintainers; [ DamienCassou ]; platforms = pkgs.syncthing.meta.platforms; homepage = "https://github.com/syncthing/syncthing-gtk"; license = licenses.gpl2; }; }; systemd = buildPythonPackage rec { version = "231"; name = "python-systemd-${version}"; src = pkgs.fetchurl { url = "https://github.com/systemd/python-systemd/archive/v${version}.tar.gz"; sha256 = "1sifq7mdg0y5ngab8vjy8995nz9c0hxny35dxs5qjx0k0hyzb71c"; }; buildInputs = with pkgs; [ systemd pkgconfig ]; patchPhase = '' substituteInPlace setup.py  --replace "/usr/include" "${pkgs.systemd}/include" echo '#include <time.h>' >> systemd/pyutil.h ''; meta = { description = "Python module for native access to the systemd facilities"; homepage = http://www.freedesktop.org/software/systemd/python-systemd/; license = licenses.lgpl21; }; }; </ins> tabulate = buildPythonPackage rec { version = "0.7.5";

Discussion:
with current current unstable channel, the fail2ban package misses its etc path. The package hasn't been updated for some time and the out path is apparently generated by rewriting pathes in its : This suggests that the breakage might be related to the recent python packaging rework, so /cc as well as pkg maintainers
Change:
blastem = throw "blastem has been removed from nixpkgs as it would still require python2"; # Added 2022-01-01 bluezFull = bluez; # Added 2019-12-03 bomi = throw "bomi has been removed from nixpkgs since it was broken and abandoned upstream"; # Added 2020-12-10 <ins> boost159 = throw "boost159 has been deprecated in favor of the latest version"; # Added 2023-01-01 boost15x = throw "boost15x has been deprecated in favor of the latest version"; # Added 2023-01-01 boost160 = throw "boost160 has been deprecated in favor of the latest version"; # Added 2023-01-01 </ins> botan = throw "botan has been removed because it did not support a supported openssl version"; # added 2021-12-15 bpftool = bpftools; # Added 2021-05-03 brackets = throw "brackets has been removed, it was unmaintained and had open vulnerabilities"; # Added 2021-01-24

Discussion:
Steps to reproduce the behavior: Fails on aarch64 `
Is there a use case for boost160? IMHO this will not be fixed as boost 1.60 was released 5 years before M1 existed.
It's currently a dependency of mongodb-34 and mongodb-36. I tried just change that dependency to boost-16x (which currently maps to 1.69), however that breaks the mongodb build. Nothing in nixpkgs seems to depend on those mongodb versions, so maybe remove those as well?
Change:
kanboard = 281; # pykms = 282; # DynamicUser = true kodi = 283; <del> restya-board = 284; </del> <ins> # restya-board = 284; # removed 2024-01-22 </ins> mighttpd2 = 285; hass = 286; #monero = 287; # dynamically allocated as of 2021-05-08

Discussion:
fails when installing using a custom option; this is the service status: The issue is caused by the hardcoded database name in : the database name should be . I have not tested it directly but looking at the module source code I'm almost sure this also applies to and options. Use this service declaration:
thanks for reporting this. I've never used this service, but I would be willing to take a look and fix this if you were willing to test it for me. Sound good?
Hello Aaron, Aaron Andersen <: yes! thank you for your offer In the next couple of weeks I'll be pretty busy, but I should be able to test later on I'd also like to learn how to test local defined (i.e. in a git branch) changes to the packages/services: do you have a pointer to the relevant documentation please, just a pointer: I'll do my homework :-) Thanks! Gio' [...]
I've found a few issues. The package in nixpkgs hasn't been updated in over 2 years. It also looks like the module author has likely moved on, so the module hasn't seen any support or maintenance in the last 2 years either. Generally at this point if no one is willing to take over maintenance of at least the package we would want to remove this from nixpkgs because this is a web application and we shouldn't have users thinking they are using something up to date and secure when it is actually lagging 7 releases (2 years) behind upstream. That being said I really don't enjoy removing software from nixpkgs that people are using, or want to use... If you're really keen on using this software on NixOS I suggest we look for a new package/module maintainer. Please let me know if you want to pursue this.
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 . 3. Ask on the on .
Change:
operations with Http based protocols (WebDav, Amazon S3, ...). Davix provides an API and a set of command line tools"; <del> license     = licenses.lgpl2Plus; homepage    = "http://dmc.web.cern.ch/projects/davix/home"; maintainers = [ maintainers.adev ]; platforms   = platforms.all; </del> <ins> license = licenses.lgpl2Plus; homepage = "http://dmc.web.cern.ch/projects/davix/home"; changelog = "https://github.com/cern-fts/davix/blob/devel/RELEASE-NOTES.md"; maintainers = with maintainers; [ adev ]; platforms = platforms.all; </ins> }; }

Discussion:
Steps to reproduce the behavior: Build the following Nix expression: See error as davixcopy isn't not found Shared library davix_copy (or related symlinks) is in as the Debian package does. Add any other context about the problem here. <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. -- Please run and paste the result. Maintainer information:
Change:
kaput-cli = "kaput"; leetcode-cli = "leetcode"; less = "lessc"; <ins> localtunnel = "lt"; </ins> lua-fmt = "luafmt"; markdownlint-cli = "markdownlint"; near-cli = "near";

Discussion:
Project description Localtunnel allows you to easily share a web service on your local development machine without messing with DNS and firewall settings. Metadata homepage URL: source URL: license: mit platforms: unix, linux, darwin, nodejs
Change:
}; allowedUDPPorts = mkOption { <del> type = types.listOf types.int; </del> <ins> type = types.listOf types.port; </ins> default = [ ]; <ins> apply = canonicalizePortList; </ins> example = [ 53 ]; description = ''

Discussion:
networking.firewall.allowedTCPPorts = [ 443 443 ]; Seems to generate two identical iptables rules instead of just one. This kind of configuration can easily happen when multiple independent modules append the same port to the list. IMO it would be worth de-duplicating ports (and maybe sorting?) so that the generated firewall configuration is easier to read. system: host os: multi-user?: sandbox: version: channels(delroth): nixpkgs:
Great idea - want to take a stab at a PR?
Change:
cp -r $out/${python.sitePackages}/torch/include $dev/include cp -r $out/${python.sitePackages}/torch/share   $dev/share <ins> # Fix up library paths for split outputs substituteInPlace  $dev/share/cmake/Torch/TorchConfig.cmake  --replace ''${TORCH_INSTALL_PREFIX}/lib "$lib/lib" substituteInPlace  $dev/share/cmake/Caffe2/Caffe2Targets-release.cmake  --replace ''${_IMPORT_PREFIX}/lib "$lib/lib" </ins> mkdir $lib cp -r $out/${python.sitePackages}/torch/lib     $lib/lib '';

Discussion:
Describe the bug The cmake config for pytorch seems to be broken. Cmake fails when using in a . Minimal example here: Expected:Got:Could help: Notify maintainers Metadata system: host os: multi-user?: sandbox: version: channels(root): channels(julien): nixpkgs:
I think this is caused by splitting of the outputs :(. You could try to remove from the derivation and see if it works then. If that solves the problem, we probably have to patch the CMake files.
Thanks for this answer. Indeed, it works with :
Change:
in symlinkJoin { name = "neovim-${stdenv.lib.getVersion neovim}"; <ins> # Remove the symlinks created by symlinkJoin which we need to perform # extra actions upon </ins> postBuild = '' <del> # Remove the symlinks created by symlinkJoin which we need to perform # extra actions upon rm $out/share/applications/nvim.desktop $out/bin/nvim </del> <ins> rm $out/bin/nvim </ins> makeWrapper ${lib.escapeShellArgs initialMakeWrapperArgs} ${extraMakeWrapperArgs} <ins> '' + lib.optionalString stdenv.isLinux '' rm $out/share/applications/nvim.desktop </ins> substitute ${neovim}/share/applications/nvim.desktop $out/share/applications/nvim.desktop  --replace 'TryExec=nvim' "TryExec=$out/bin/nvim"  --replace 'Name=Neovim' 'Name=WrappedNeovim'

Discussion:
The neovim wrapper tries to write to substitute file which is not present in macOS. This failure is probably related to <!-- This may be related to your recent rewrite. --Metadata system: host os: multi-user?: sandbox: version: channels(root): nixpkgs:
Change:
homepage = "https://www.gplates.org"; license = licenses.gpl2Only; platforms = platforms.all; <del> broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/gplates.x86_64-darwin </del> <ins> broken = stdenv.isDarwin; # FIX: this check: https://github.com/GPlates/GPlates/blob/gplates/cmake/modules/Config_h.cmake#L72 </ins> }; <del> } </del> <ins> }) </ins>

Discussion:
Package name: gplates Latest released version: 2.4 Current version on the unstable channel: 2.3 Current version on the stable/release channel: 2.3 Notify maintainers Note for maintainers: Please tag this issue in your PR. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Change:
<ins> { pkgs ? import ../../../../. {} }: with pkgs; mkShell { buildInputs = [ common-updater-scripts curl dotnetCorePackages.sdk_5_0 jq ]; } </ins>

Discussion:
Project description OpenTabletDriver is an open source, cross platform, user mode tablet driver. The goal of OpenTabletDriver is to be cross platform as possible with the highest compatibility in an easily configurable graphical user interface. It supports multiple tablets that are badly supported in Linux. Even for tablets already supported by other means (i.e.: or ), OpenTabletDriver offers a graphical interface, plugins and more customization. List of supported tablets: Metadata homepage URL: source URL: license: LGPLv3 platforms: Linux, Darwin
I tried to create a package but I can't wrap my head on how to build a .NET 5 application. Trying to follow just made me more and more confused. If it helps, here it is the from Arch Linux:
I have a older OTD package in my nix overlay , I just currently don't have the time to mess with it, I have a WIP .NET 5 package on my local machine that I could upload to a gist if needed
This would be great, since I am stuck on trying to compile thanks to some .NET 5 issue.
I tested your recipe in overlay and seems to work well. Still need to figure how to fix some of the following issues, though: Generate the file automatically, so we can update this package without updating every dependency by hand Wrap the launcher script so the daemon is launched automatically (as it happens in the Debian package I think?). Or as an alternative, just start this as a systemd service (as the AUR package does) Generate the udev rules and copy it to the appropriate place. Alternatively we can just extract the udev file from the .deb package, but this involves some manual operation Except for the first issue, for the other ones I think maybe it would be better to have a module (for example, ) so we could automatically enable the systemd service, set the udev rules and add the GUI to the . This seems the cleanest way to fix those issues.
have an initial build of OpenTabletDriver 0.4.2. It almost works, but needs some manual setup: Start the manually before opening . Alternatively, you can start the daemon as an systemd user service, something like this: For now, you need to add manually to your .

This can be fixed if we add a module, that once enabled do this automatically (and it may also create a systemd user service, fixing the first issue too) Now, while it builds and kinda works, I can't seem to make it detect my tablet (Huion HS64). I thought something was wrong with the udev rules but looking at the udev logs it seems that the rules are being applied correctly. The connection between the GUI and daemon itself seems fine, since it does redirect the logs to the daemon. So now I am stuck. Do you have some idea on how to solve the issue above?
Got the package to work with the help of OpenTabletDriver's Discord. It was missing the .
Change:
local out="$2" # https://github.com/AppImage/libappimage/blob/ca8d4b53bed5cbc0f3d0398e30806e0d3adeaaab/src/libappimage/utils/MagicBytesChecker.cpp#L45-L63 <del> local appimageSignature=$(readelf -h "$src" | awk 'NR==2{print $10$11;}') local appimageType=$(readelf -h "$src" | awk 'NR==2{print $12;}') </del> <ins> local appimageSignature; appimageSignature="$(LC_ALL=C readelf -h "$src" | awk 'NR==2{print $10$11;}')" local appimageType; appimageType="$(LC_ALL=C readelf -h "$src" | awk 'NR==2{print $12;}')" </ins> # check AppImage signature if [ "$appimageSignature" != "4149" ]; then

Discussion:
Describe the bug appimage-run can't run appimages containing /bin/sh for example the one in attachment. it was created with nix-bundle and works with ubuntu. To Reproduce Steps to reproduce the behavior: the appimage: Expected behavior Hello world Additional context Works with the appimage-run in 20.03: Also works if the link to /bin/sh is omitted. Notify maintainers <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --cc Metadata system: host os: multi-user?: sandbox: version: channels(root): channels(symphorien): nixpkgs: Maintainer information:
Maybe we need in some of the fhsUserenv's in ?
Mhm. That should be the case usually: I don't know what the issue is here.
the fact that offset is 0 looks wrong
oh the problem is fixed by exporting LANG=C