jiebi/CodeConvo huggingface dataset:
Code change:
Project description Metadata homepage URL: source URL: license: MIT and Apache 2.0 platforms: linux and darwin (might also work on other platforms) Additional Notes It's worth noting that appears to be updating off the branch with a re-created tag upon each "release". It may be the case that doesn't make sense to be in right now, but perhaps folks have ideas on what it could look like to update automatically. EDIT (17 Apr 2023): I suspect the package will go in . It's also worth adding the following note from the source URL's ...
Didn't try it out myself, but this may work
I'm getting close to publishing a PR actually :) Should be up soon.
Update: adding packaging to the upstream flake may be the best idea for now. Either nixpkgs will need to support Rust-based packages with nightly toolchains (unlikely and for good reasons!) or will need to be buildable, and intentionally so, not as a hack, with stable Rust (linked issue: ). The good news is that caching solutions exist and work in should provide a good bluepoint for where to start with an upstream contribution. Full Context: Fortunately, likely will not have the same issue being included in nixpkgs, so I am authoring a PR to add reindeer (issue: ).
As of yesterday, I have a flake available on my fork that you can use to consume the binary in your downstream projects easily. For now, consider this a simple workaround. I plan on semi-regular-kinda-ish updating it and rebasing on trunk, and eventually contributing it upstream; see also Flake usage is easy. Something like the following should work where you can use or inside your flake outputs to refer to it, and you can put it in your environment, etc: You can also get a binary in your with
As of , there are now buck2 binaries, thanks to the Meta team doing releases! They can be updated every two weeks easily. So that means you don't need a Flake, cache, or any expensive build steps. Please let me know if the binary doesn't work for you; I've done some light testing on NixOS, and it seems to work fine in a normal environment; if things are broken somehow, we can pull it or figure something out.
Two side notes: I will probably migrate the flake to a new repository, so that I don't have to keep my main development fork clean at the moment. We can probably close this now, I think.
Thanks for the help I believe does close this issue since is now in nixpkgs. Great work and thank you again :)

Related discussion:
text: "ehci_hcd" "ehci_pci" "ohci_hcd" <ins> "ohci_pci" </ins> "xhci_hcd" "usbhid" "hid_generic"
Code change:
Project description is a cargo subcommand, which shows crates info from See their for an output example. Metadata homepage URL: source URL: license: mit OR apache platforms: unix, linux, and darwin

Related discussion:
text: <ins> { lib , rustPlatform , fetchFromGitLab , pkg-config , openssl , stdenv , darwin }: rustPlatform.buildRustPackage rec { pname = "cargo-info"; version = "0.7.3"; src = fetchFromGitLab { owner = "imp"; repo = "cargo-info"; rev = version; hash = "sha256-m8YytirD9JBwssZFO6oQ9TGqjqvu1GxHN3z8WKLiKd4="; }; cargoHash = "sha256-gI/DGPCVEi4Mg9nYLaPpeqpV7LBbxoLP0ditU6hPS1w="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; meta = with lib; { description = "Cargo subcommand to show crates info from crates.io"; homepage = "https://gitlab.com/imp/cargo-info"; changelog = "https://gitlab.com/imp/cargo-info/-/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ mit asl20 ]; maintainers = with maintainers; [ figsoda ]; }; } </ins>
Code change:
Project description is a cargo subcommand, which shows crates info from See their for an output example. Metadata homepage URL: source URL: license: mit OR apache platforms: unix, linux, and darwin

Related discussion:
text: cargo-hf2 = callPackage ../development/tools/rust/cargo-hf2 { inherit (darwin.apple_sdk.frameworks) AppKit; }; <ins> cargo-info = callPackage ../development/tools/rust/cargo-info { }; </ins> cargo-inspect = callPackage ../development/tools/rust/cargo-inspect { inherit (darwin.apple_sdk.frameworks) Security; };
Code change:
Package name: gnome-obfuscate Latest released version: 0.0.9 <!-- Search your package here: --- Current version on the unstable channel: 0.0.7 Current version on the stable/release channel: 0.0.7 <!-- 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.

Related discussion:
text: { stdenv , lib , fetchFromGitLab , gettext , meson , ninja , pkg-config <del> , python3 </del> , rustPlatform , wrapGAppsHook4 , appstream-glib , desktop-file-utils , glib , gtk4 <ins> , gdk-pixbuf </ins> , libadwaita , Foundation }: stdenv.mkDerivation rec { pname = "gnome-obfuscate"; <del> version = "0.0.7"; </del> <ins> version = "0.0.9"; </ins> src = fetchFromGitLab { domain = "gitlab.gnome.org"; owner = "World"; repo = "Obfuscate"; rev = version; <del> sha256 = "sha256-jEMOg2yHi6K57XhA/7hkwwvedmikoB8pGV3ka+jixq8="; </del> <ins> hash = "sha256-aUhzact437V/bSsG2Ddu2mC03LbyXFg+hJiuGy5NQfQ="; </ins> }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; <del> sha256 = "sha256-P04BeidLXouPLzT/vsa4VC5AOENF0W4gqXqzdmRFhmE="; </del> <ins> hash = "sha256-HUQvdCmzjdmuJGDLtC/86yzbRimLzx+XbW29f+Ua48w="; </ins> }; nativeBuildInputs = [ gettext <del> glib </del> meson ninja pkg-config <del> python3 </del> rustPlatform.cargoSetupHook rustPlatform.rust.cargo rustPlatform.rust.rustc wrapGAppsHook4 <ins> appstream-glib desktop-file-utils </ins> ]; buildInputs = [ <del> appstream-glib desktop-file-utils </del> glib gtk4 <ins> gdk-pixbuf </ins> libadwaita ] ++ lib.optionals stdenv.isDarwin [ Foundation ]; <del> postPatch = '' patchShebangs build-aux/meson_post_install.py ''; </del> meta = with lib; { description = "Censor private information"; homepage = "https://gitlab.gnome.org/World/obfuscate"; license = licenses.gpl3Plus; <del> maintainers = with maintainers; [ fgaz ]; </del> platforms = platforms.all; <ins> mainProgram = "obfuscate"; maintainers = with maintainers; [ fgaz ]; </ins> }; }
Code change:
Project description Perhaps it would also require a module to set the correct permission for /dev/uinput? dotool reads commands from stdin and simulates keyboard and pointer events. It works everywhere on Linux, including in X11, Wayland and TTYs. <!-- Describe the project a little: --Metadata homepage URL: source URL: license: GPLv3 platforms: unix, linux dotool requires permission to to create the virtual input devices, and a udev rule grants this to users in group input. You could try: echo type hello | dotool and if need be, you can run: sudo groupadd -f input sudo usermod -a -G input $USER and re-login and trigger the udev rule or just reboot. See , but this greets the world: echo 'type Sup, Lads!' | dotool and this screams for three seconds: { echo keydown A; sleep 3; echo key H shift+1; } | dotool There is an initial delay registering the virtual devices, but you can keep writing commands to the same instance or use the daemon and client, and . dotoold & echo type super | dotoolc echo type speedy | dotoolc dotool will produce gobbledygook if your environment has assigned it a different keyboard layout than it's simulating keycodes for. You can match them up with the environment variables and . echo type azerty | DOTOOLXKBLAYOUT=fr dotool dotool was written for , which has a you're welcome to join. You can also send questions, thoughts or patches by composing an email to .

Related discussion:
text: <ins> { lib , buildGoModule , fetchFromSourcehut , libxkbcommon , pkg-config }: buildGoModule rec { pname = "dotool"; version = "1.3"; src = fetchFromSourcehut { owner = "~geb"; repo = "dotool"; rev = version; hash = "sha256-z0fQ+qenHjtoriYSD2sOjEvfLVtZcMJbvnjKZFRSsMA="; }; vendorHash = "sha256-v0uoG9mNaemzhQAiG85RequGjkSllPd4UK2SrLjfm7A="; # uses nix store path for the dotool binary # also replaces /bin/echo with echo patches = [ ./fix-paths.patch ]; postPatch = '' substituteInPlace ./dotoold --replace "@dotool@" "$out/bin/dotool" ''; buildInputs = [ libxkbcommon ]; nativeBuildInputs = [ pkg-config ]; ldflags = [ "-s" "-w" "-X main.Version=${version}" ]; postInstall = '' mkdir -p $out/bin cp ./dotoold ./dotoolc $out/bin ''; meta = with lib; { description = "Command to simulate input anywhere"; homepage = "https://git.sr.ht/~geb/dotool"; changelog = "https://git.sr.ht/~geb/dotool/tree/${version}/item/CHANGELOG.md"; license = licenses.gpl3Only; maintainers = with maintainers; [ dit7ya ]; }; } </ins>
Code change:
Project description Perhaps it would also require a module to set the correct permission for /dev/uinput? dotool reads commands from stdin and simulates keyboard and pointer events. It works everywhere on Linux, including in X11, Wayland and TTYs. <!-- Describe the project a little: --Metadata homepage URL: source URL: license: GPLv3 platforms: unix, linux dotool requires permission to to create the virtual input devices, and a udev rule grants this to users in group input. You could try: echo type hello | dotool and if need be, you can run: sudo groupadd -f input sudo usermod -a -G input $USER and re-login and trigger the udev rule or just reboot. See , but this greets the world: echo 'type Sup, Lads!' | dotool and this screams for three seconds: { echo keydown A; sleep 3; echo key H shift+1; } | dotool There is an initial delay registering the virtual devices, but you can keep writing commands to the same instance or use the daemon and client, and . dotoold & echo type super | dotoolc echo type speedy | dotoolc dotool will produce gobbledygook if your environment has assigned it a different keyboard layout than it's simulating keycodes for. You can match them up with the environment variables and . echo type azerty | DOTOOLXKBLAYOUT=fr dotool dotool was written for , which has a you're welcome to join. You can also send questions, thoughts or patches by composing an email to .

Related discussion:
text: <ins> diff --git a/dotoolc b/dotoolc index e2f7bba..6d1879e 100755 --- a/dotoolc +++ b/dotoolc @@ -7,7 +7,7 @@ is $DOTOOL_PIPE else /tmp/dotool-pipe.' >&2 fi fifo_being_read(){ -	[ -p "$1" ] && /bin/echo 1<>"$1" >"$1" +	[ -p "$1" ] && echo 1<>"$1" >"$1" } p="${DOTOOL_PIPE:-/tmp/dotool-pipe}" diff --git a/dotoold b/dotoold index d2d39a3..e46129c 100755 --- a/dotoold +++ b/dotoold @@ -7,7 +7,7 @@ for the pipe is $DOTOOL_PIPE else /tmp/dotool-pipe.' >&2 fi fifo_being_read(){ -	[ -p "$1" ] && /bin/echo 1<>"$1" >"$1" +	[ -p "$1" ] && echo 1<>"$1" >"$1" } p="${DOTOOL_PIPE:-/tmp/dotool-pipe}" @@ -20,5 +20,5 @@ fi rm -f -- "$p" || exit 1 trap 'rm -f -- "$p"; pkill -P $$; trap - EXIT; exit' EXIT INT TERM HUP mkfifo -m 660 "$p" || exit 1 -dotool <> "$p" & +@dotool@ <> "$p" & wait </ins>
Code change:
Project description Perhaps it would also require a module to set the correct permission for /dev/uinput? dotool reads commands from stdin and simulates keyboard and pointer events. It works everywhere on Linux, including in X11, Wayland and TTYs. <!-- Describe the project a little: --Metadata homepage URL: source URL: license: GPLv3 platforms: unix, linux dotool requires permission to to create the virtual input devices, and a udev rule grants this to users in group input. You could try: echo type hello | dotool and if need be, you can run: sudo groupadd -f input sudo usermod -a -G input $USER and re-login and trigger the udev rule or just reboot. See , but this greets the world: echo 'type Sup, Lads!' | dotool and this screams for three seconds: { echo keydown A; sleep 3; echo key H shift+1; } | dotool There is an initial delay registering the virtual devices, but you can keep writing commands to the same instance or use the daemon and client, and . dotoold & echo type super | dotoolc echo type speedy | dotoolc dotool will produce gobbledygook if your environment has assigned it a different keyboard layout than it's simulating keycodes for. You can match them up with the environment variables and . echo type azerty | DOTOOLXKBLAYOUT=fr dotool dotool was written for , which has a you're welcome to join. You can also send questions, thoughts or patches by composing an email to .

Related discussion:
text: inherit (darwin.apple_sdk.frameworks) Security; }; <ins> dotool = callPackage ../tools/dotool { }; </ins> inherit (ocamlPackages) dot-merlin-reader; dozenal = callPackage ../applications/misc/dozenal { };
Code change:
The script defined in contains a if it does not yet exist. The file name of the disk image is stored in the bash variable which is when creating the disk image. Thus, if contains a space, the disk image creation fails. The following is an easy way to reproduce the problem under macOS with a recent nixpkgs; not sure about a Linux example, but anything that triggers a VM creation via in the current directory should do the trick. and enter a folder with a space in its name: a VM via nix, e.g., (a recent builder VM for macOS). (will ask for sudo password for key setup) image creation is triggered and fails with the following output: The builder disk image for the VM should be created and the VM should be started. (Also seems like there is a minor typo in the error message: "Disk image does not exist, …".)
Good point, can you send a PR?
Sure, here it is. As far as I could see this seems the online place in the script where the variable was not properly escaped. A quick test via from a folder containing spaces worked as expected.

Related discussion:
text: ${concatStringsSep " n" ([ "-f qcow2" ] ++ optional (cfg.useBootLoader && cfg.useDefaultFilesystems) "-F qcow2 -b ${systemImage}/nixos.qcow2" ++ optional (!(cfg.useBootLoader && cfg.useDefaultFilesystems)) "-o size=${toString config.virtualisation.diskSize}M" <del> ++ [ "$NIX_DISK_IMAGE" ])} </del> <ins> ++ [ ''"$NIX_DISK_IMAGE"'' ])} </ins> echo "Virtualisation disk image created." fi
Code change:
Package name: swayfx Latest released version: 0.3 <!-- Search your package here: --- Current version on the unstable channel: 0.2 Current version on the stable/release channel: not packaged <!-- 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.
c.f.

Related discussion:
text: sway-unwrapped.overrideAttrs (oldAttrs: rec { pname = "swayfx"; <del> version = "0.2"; </del> <ins> version = "0.3"; </ins> src = fetchFromGitHub { owner = "WillPower3309"; repo = "swayfx"; rev = version; <del> sha256 = "sha256-nVy7GdAnheWhjevcCPE407xWSLN8F4Le0uq2RDwv/Zc="; </del> <ins> sha256 = "sha256-3Odyeb10AGbNf6TI1W79sLiwB4PrszC5VzjCr7FuPz4="; </ins> }; <ins> # This patch was backported into SwayFX # remove when next release is rebased on Sway 1.9 patches = let removePatches = [ "LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM.patch" ]; in builtins.filter (patch: !builtins.elem (patch.name or null) removePatches) (oldAttrs.patches or [ ]); </ins> meta = with lib; { <del> description = "A Beautiful Sway Fork"; </del> <ins> description = "Sway, but with eye candy!"; </ins> homepage = "https://github.com/WillPower3309/swayfx"; maintainers = with maintainers; [ ricarch97 ]; license = licenses.mit;
Code change:
NetworkMiner NetworkMiner is an network forensics tool that extracts artifacts, such as files, images, emails and passwords, from captured network traffic in PCAP files. NetworkMiner can also be used to capture live network traffic by sniffing a network interface. Detailed information about each IP address in the analyzed network traffic is aggregated to a network host inventory, which can be used for passive asset discovery as well as to get an overview of which devices that are communicating. NetworkMiner is primarily designed to run in Windows, but can also be used in . Metadata homepage URL: source URL: platforms: linux

Related discussion:
text: <ins> { lib , buildDotnetModule , fetchurl , unzip , dos2unix , makeWrapper , msbuild , mono }: buildDotnetModule rec { pname = "networkminer"; version = "2.8"; src = fetchurl { # Upstream does not provide versioned releases, a mirror has been uploaded # to archive.org url = "https://archive.org/download/networkminer-${lib.replaceStrings ["."] ["-"] version}/NetworkMiner_${lib.replaceStrings ["."] ["-"] version}_source.zip"; sha256 = "1n2312acq5rq0jizlcfk0crslx3wgcsd836p47nk3pnapzw0cqvv"; }; nativeBuildInputs = [ unzip dos2unix msbuild ]; patches = [ # Store application data in XDG_DATA_DIRS instead of trying to write to nix store ./xdg-dirs.patch ]; postPatch = '' # Not all files have UTF-8 BOM applied consistently find . -type f -exec dos2unix -m {} + # Embedded base64-encoded app icon in resx fails to parse. Delete it sed -zi 's|<data name="$this.Icon".*</data>||g' NetworkMiner/NamedPipeForm.resx sed -zi 's|<data name="$this.Icon".*</data>||g' NetworkMiner/UpdateCheck.resx ''; nugetDeps = ./deps.nix; buildPhase = '' runHook preBuild msbuild /p:Configuration=Release NetworkMiner.sln runHook postBuild ''; installPhase = '' runHook preInstall mkdir -p $out/bin $out/share cp -r NetworkMiner/bin/Release $out/share/NetworkMiner makeWrapper ${mono}/bin/mono $out/bin/NetworkMiner  --add-flags "$out/share/NetworkMiner/NetworkMiner.exe"  --add-flags "--noupdatecheck" install -D NetworkMiner/NetworkMiner.desktop $out/share/applications/NetworkMiner.desktop substituteInPlace $out/share/applications/NetworkMiner.desktop  --replace "Exec=mono NetworkMiner.exe %f" "Exec=NetworkMiner"  --replace "Icon=./networkminericon-96x96.png" "Icon=NetworkMiner" install -D NetworkMiner/networkminericon-96x96.png $out/share/pixmaps/NetworkMiner.png runHook postInstall ''; meta = with lib; { description = "The Open Source Network Forensic Analysis Tool (NFAT)"; homepage = "https://www.netresec.com/?page=NetworkMiner"; license = licenses.gpl2Only; maintainers = with maintainers; [ emilytrau ]; platforms = platforms.linux; mainProgram = "NetworkMiner"; }; } </ins>
Code change:
NetworkMiner NetworkMiner is an network forensics tool that extracts artifacts, such as files, images, emails and passwords, from captured network traffic in PCAP files. NetworkMiner can also be used to capture live network traffic by sniffing a network interface. Detailed information about each IP address in the analyzed network traffic is aggregated to a network host inventory, which can be used for passive asset discovery as well as to get an overview of which devices that are communicating. NetworkMiner is primarily designed to run in Windows, but can also be used in . Metadata homepage URL: source URL: platforms: linux

Related discussion:
text: <ins> # This file was automatically generated by passthru.fetch-deps. # Please dont edit it manually, your changes might get overwritten! { fetchNuGet }: [ (fetchNuGet { pname = "Microsoft.NETFramework.ReferenceAssemblies"; version = "1.0.2"; sha256 = "0i42rn8xmvhn08799manpym06kpw89qy9080myyy2ngy565pqh0a"; }) (fetchNuGet { pname = "Microsoft.NETFramework.ReferenceAssemblies.net461"; version = "1.0.2"; sha256 = "0js3dp26nszx82q0phv7hmsm5z23dva7javbmk6a91lbkm07y8p2"; }) (fetchNuGet { pname = "Microsoft.NETFramework.ReferenceAssemblies.net472"; version = "1.0.2"; sha256 = "1dny43jksy6dm9zrkdm8j80gb25w6wdvjlxnphj7ngf0fbg3dd2c"; }) ] </ins>
Code change:
NetworkMiner NetworkMiner is an network forensics tool that extracts artifacts, such as files, images, emails and passwords, from captured network traffic in PCAP files. NetworkMiner can also be used to capture live network traffic by sniffing a network interface. Detailed information about each IP address in the analyzed network traffic is aggregated to a network host inventory, which can be used for passive asset discovery as well as to get an overview of which devices that are communicating. NetworkMiner is primarily designed to run in Windows, but can also be used in . Metadata homepage URL: source URL: platforms: linux

Related discussion:
text: netsniff-ng = callPackage ../tools/networking/netsniff-ng { }; <ins> networkminer = callPackage ../tools/security/networkminer { }; </ins> nixpacks = callPackage ../applications/virtualization/nixpacks { }; nkeys = callPackage ../tools/system/nkeys { };
Code change:
Builds ok on x86_64, but on aarch64-darwin it hangs every time at  Steps to reproduce the behavior: <details</detailsI'm surprised not to see other issues about this as it seems to be logic contained in a major package (pytest), so I wonder if it's a problem local to my system. I tried rerunning after and and outcome was the same. Please run and paste the result.
I can reproduce this and, in my case, it is caused by the test in pylsp-mypy. I do not yet know why.
I believe this will be fixed by I'm planning to wait a few days for a response from upstream before patching this in case the code has to change, but please feel free to pull it in earlier if you have a need.
Yes, that sounds suspicious -- I'll try to build the PR and report back.
Sure enough, that patch does the trick.

Related discussion:
text: , buildPythonPackage , fetchFromGitHub , fetchpatch <ins> , setuptools </ins> , mypy , pytestCheckHook , python-lsp-server , pythonOlder <del> , toml </del> <ins> , tomli </ins> }: buildPythonPackage rec { pname = "pylsp-mypy"; <del> version = "0.6.6"; format = "setuptools"; </del> <ins> version = "0.6.7"; format = "pyproject"; </ins> disabled = pythonOlder "3.7"; src = fetchFromGitHub { <del> owner = "Richardk2n"; </del> <ins> owner = "python-lsp"; </ins> repo = "pylsp-mypy"; rev = "refs/tags/${version}"; <del> hash = "sha256-9B+GSEoQEqd1W/g0oup4xULKWOF0TgSG5DfBtyWA3vs="; </del> <ins> hash = "sha256-ZsNIw0xjxnU9Ue0C7TlhzVOCOCKEbCa2CsiiqeMb14I="; </ins> }; <ins> patches = [ # https://github.com/python-lsp/pylsp-mypy/pull/64 (fetchpatch { name = "fix-hanging-test.patch"; url = "https://github.com/python-lsp/pylsp-mypy/commit/90d28edb474135007804f1e041f88713a95736f9.patch"; hash = "sha256-3DVyUXVImRemXCuyoXlYbPJm6p8OnhBdEKmwjx88ets="; }) ]; nativeBuildInputs = [ setuptools ]; </ins> propagatedBuildInputs = [ mypy python-lsp-server <del> toml </del> <ins> ] ++ lib.optionals (pythonOlder "3.11") [ tomli </ins> ]; nativeCheckInputs = [
Code change:
Builds ok on x86_64, but on aarch64-darwin it hangs every time at  Steps to reproduce the behavior: <details</detailsI'm surprised not to see other issues about this as it seems to be logic contained in a major package (pytest), so I wonder if it's a problem local to my system. I tried rerunning after and and outcome was the same. Please run and paste the result.
I can reproduce this and, in my case, it is caused by the test in pylsp-mypy. I do not yet know why.
I believe this will be fixed by I'm planning to wait a few days for a response from upstream before patching this in case the code has to change, but please feel free to pull it in earlier if you have a need.
Yes, that sounds suspicious -- I'll try to build the PR and report back.
Sure enough, that patch does the trick.

Related discussion:
text: meta = with lib; { description = "Mypy plugin for the Python LSP Server"; <del> homepage = "https://github.com/Richardk2n/pylsp-mypy"; </del> <ins> homepage = "https://github.com/python-lsp/pylsp-mypy"; </ins> license = licenses.mit; maintainers = with maintainers; [ cpcloud ]; };