jiebi/CodeConvo huggingface dataset:
Change:
After an update and a gc, beamerpresenter will fail with this message: Current beamerpresenter is /nix/store/kfp440m9j1wvxcbxhypaxmp51wcq9900-beamerpresenter-0.2.2/bin/beamerpresenter but the error message is about the store path of an old beamerpresenter which was deleted by the gc. This store path is actually stored in <details<summarycontent</summary<pre[General] cache%20pages=-1 frame%20time=50 gui%20config=/nix/store/cnjrjbkg6mz24hk6bsmlgjmcjjg75sbv-beamerpresenter- log=true manual=/nix/store/cnjrjbkg6mz24hk6bsmlgjmcjjg75sbv-beamerpresenter- memory=1.+08 [drawing] history%20length%20hidden=20 history%20length%20visible=50 mode=cumulative [keys] B=clear Ctrl%2BO=open Ctrl%2BQ=quit Ctrl%2BS=save Ctrl%2BShift%2BS=save as Ctrl%2BShift%2BY=redo right Ctrl%2BShift%2BZ=undo right Ctrl%2BY=redo left, redo Ctrl%2BZ=undo left, undo End=last F11=fullscreen Home=first P=toggle timer PgDown=next PgUp=previous Shift%2BC=clear left, clear right Shift%2BF5=next skipping overlays Shift%2BPgUp=previous skipping overlays Space=update [rendering] page%20part%20threshold=2.5 renderer=mupdf rendering%20arguments=draw, -F%format, -w%width, -h%height, -o-, %file, %page rendering%20command=/nix/store/cnjrjbkg6mz24hk6bsmlgjmcjjg75sbv-beamerpresenter-0.2.0/bin/mutool </pre</detailsSteps to reproduce the behavior: beamerpresenter nixpkgs -store --delete the old beamer presenter the new one works If applicable, add screenshots to help explain your problem. ! <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. -- system: host os: multi-user?: sandbox: version: channels(root): channels(symphorien): nixpkgs:
is there a way to avoid the default paths from being written in It seems that the config keys "gui%20config", "manual", and "rendering%20command" refer to Nix store paths corresponding to the first version of BeamerPresenter which ran on a system. The configuration file keeps pointing to the old package after an upgrade, which is problematic when the old paths get garbage-collected.
I've fixed this upstream, see : these paths are now commented out in the config file by default invalid paths are removed from the config file when running BeamerPresenter

Discussion:
stdenv.mkDerivation rec { pname = "beamerpresenter"; <del> version = "0.2.3"; </del> <ins> version = "0.2.3-1"; </ins> src = fetchFromGitHub { owner = "stiglers-eponym"; repo = "BeamerPresenter"; <del> rev = "v${version}"; sha256 = "1n9d0i0j67ymnghn8zkqf52c88zby6rqin8aicbw8cpn35fqf5a6"; </del> <ins> rev = "dd41a00b3c6c8b881fa62945165c965634df66f0"; sha256 = "11yj1zl8hdnqbynkbyzg8kwyx1jl8c87x8f8qyllpk0s6cg304d0"; </ins> }; nativeBuildInputs = [
Change:
Installed simple-scan. There are only place-holder icons in the toolbar. run look at toolbar with only place-holder icons System: NixOS: Nix version:nix-env (Nix) 1.11.4 Nixpkgs version: ""
What is your window manager?
I am using Enlightenment (e19).
do you mind confirming that this works?
Yes, it works. Thank you very much.

Discussion:
{ stdenv, fetchurl, cairo, colord, glib, gtk3, gusb, intltool, itstool <del> , libusb1, libxml2, pkgconfig, sane-backends, vala_0_23, wrapGAppsHook </del> <ins> , libusb1, libxml2, pkgconfig, sane-backends, vala_0_32, wrapGAppsHook </ins> , gnome3 }: stdenv.mkDerivation rec { name = "simple-scan-${version}"; <del> version = "3.21.1"; </del> <ins> version = "${major_version}.0.1"; major_version = "3.22"; </ins> src = fetchurl { <del> sha256 = "00w206isni8m8qd9m8x0644s1gqg11pvgnw6zav33b0bs2h2kk79"; url = "https://launchpad.net/simple-scan/3.21/${version}/+download/${name}.tar.xz"; </del> <ins> url = "https://launchpad.net/simple-scan/${major_version}/${version}/+download/${name}.tar.xz"; sha256 = "0l1b3llkdlqq0bcjx1cadba67l2zb4zfykdaprpjbjbr6gkbc1f5"; </ins> }; <del> buildInputs = [ cairo colord glib gusb gtk3 libusb1 libxml2 sane-backends vala_0_23 ]; </del> <ins> buildInputs = [ cairo colord glib gnome3.defaultIconTheme gusb gtk3 libusb1 libxml2 sane-backends vala_0_32 ]; </ins> nativeBuildInputs = [ intltool itstool pkgconfig wrapGAppsHook ]; configureFlags = [ "--disable-packagekit" ];

''; postInstall = '' <del> ( cd ${gnome3.defaultIconTheme}/share/icons/Adwaita for f in `find . | grep 'scanner.'` do local outFile="`echo "$out/share/icons/hicolor/$f" | sed  -e 's#/devices/#/apps/#g'  -e 's#scanner.#simple-scan.#g'`" mkdir -p "`realpath -m "$outFile/.."`" cp "$f" "$outFile" done ) </del> <ins> mkdir -p $out/share/icons mv $out/share/simple-scan/icons/* $out/share/icons/ </ins> ''; enableParallelBuilding = true;
Change:
error while building using unstable channel trying to build a system using weston pkg building successfully I assume its an easy name swap changing "libseat" on 4th line to "seatd"

Discussion:
{ lib, stdenv, fetchurl , meson, ninja, pkg-config, python3, wayland-scanner , cairo, colord, dbus, lcms2, libGL, libXcursor, libdrm, libevdev, libinput <del> , libjpeg, libseat, libxcb, libxkbcommon, mesa, mtdev, pam, udev, wayland </del> <ins> , libjpeg, seatd, libxcb, libxkbcommon, mesa, mtdev, pam, udev, wayland </ins> , wayland-protocols, xlibsWrapper , pipewire ? null, pango ? null, libunwind ? null, freerdp ? null, vaapi ? null , libva ? null, libwebp ? null, xwayland ? null

nativeBuildInputs = [ meson ninja pkg-config python3 wayland-scanner ]; buildInputs = [ cairo colord dbus freerdp lcms2 libGL libXcursor libdrm libevdev libinput <del> libjpeg libseat libunwind libva libwebp libxcb libxkbcommon mesa mtdev pam </del> <ins> libjpeg seatd libunwind libva libwebp libxcb libxkbcommon mesa mtdev pam </ins> pango pipewire udev vaapi wayland wayland-protocols xlibsWrapper ];
Change:
installs, but doesn't work. It shows the no-entry-permitted icon and the error message when clicking: to in out / log in It should work. Error message: ! Add any other context about the problem here. Using flakes for configuration management. <!-- 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.
The following addition to my has worked for me on Xorg, but not on Wayland: (via )
Most GNOME Shell extensions are automatically packaged so they might not work when they depend on other libraries. Then, they need to be patched . The preferred way is to patch the extension in Nixpkgs so that it works out of the box for other people as well. But it is a bit involved process: cc
The already packaged extension system-monitor also uses Gtop, so looking at that might be a good point to start. In the patches that we apply, I see
Doing this results in a new error:

Discussion:
, nvme-cli , procps , pulseaudio <ins> , libgtop </ins> , python3 , smartmontools , substituteAll

meta.maintainers = with lib.maintainers; [ rhoriguchi ]; })) <ins> (patchExtension "tophat@fflewddur.github.io" (old: { patches = [ (substituteAll { src = ./extensionOverridesPatches/tophat_at_fflewddur.github.io.patch; gtop_path = "${libgtop}/lib/girepository-1.0"; }) ]; })) </ins> (patchExtension "unite@hardpixel.eu" (old: { buildInputs = [ xprop ];

<ins> diff --git a/extension.js b/extension.js index 60396f8..b044872 100644 --- a/extension.js +++ b/extension.js @@ -20,6 +20,8 @@ /* exported init, enable, disable */ +imports.gi.GIRepository.Repository.prepend_search_path('@gtop_path@'); + let depFailures = []; let missingLibs = []; </ins>
Change:
Steps to reproduce the behavior: error message. to download reachable different cplex version on IBM page, 22.1.0. to build package with that cplex version <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Dear I notice this package hasn’t been touched in a while, maybe you have moved on. But any hints how you would approach getting a working cplex, no matter the version, would be greatly appreciated. Please run and paste the result.
Last version I checked was 12.10 and it was still working. I will look into it when I find some time.
Thanks for the reply. For our specific situation we settled on a docker based solution, which works better for the usecase anyway, so there is no hurry.
I am currently experiencing the same error. When using the latest version of CPLEX (which is, to my knowledge, 22.11), I get the following error: It was working with CPLEX Version 20.10 on NixOS 23.11, but with the update to NixOS 24.05 I now get the below error. I guess this is due to an updated java dependency, which is incompatible with the CPLEX Version.

Discussion:
stdenv.mkDerivation rec { pname = "cplex"; <del> version = "128"; </del> <ins> version = "22.11"; </ins> src = if releasePath == null then throw '' This nix expression requires that the cplex installer is already downloaded to your machine. Get it from IBM: <del> https://developer.ibm.com/docloud/blog/2017/12/20/cplex-optimization-studio-12-8-now-available/ </del> <ins> https://www.ibm.com/support/pages/downloading-ibm-ilog-cplex-optimization-studio-2211 </ins> Set `cplex.releasePath = /path/to/download;` in your ~/.config/nixpkgs/config.nix for `nix-*` commands, or

''; buildPhase = '' <del> sh $name -i silent -DLICENSE_ACCEPTED=TRUE -DUSER_INSTALL_DIR=$out </del> <ins> export JAVA_TOOL_OPTIONS=-Djdk.util.zip.disableZip64ExtraFieldValidation=true sh $name LAX_VM ${openjdk}/bin/java -i silent -DLICENSE_ACCEPTED=TRUE -DUSER_INSTALL_DIR=$out </ins> ''; installPhase = ''
Change:
Vaapi seems to be broken in 16.09.741., at least used from kodi . However, vainfo from libva seems to show no issues. Here's the output, fwiw: This is on an atom based N3000 pc, where it used to work before (checking old kodi logs), but now it's only telling me this: Any hints on what could I check?
Damn, mpv vaapi support is not built by default. Updated info as it works ok when enabled.
libva is in buildinputs, but from

Discussion:
{ stdenv, fetchurl, gmp }: stdenv.mkDerivation rec { <del> name = "ikarus-0.0.3"; </del> <ins> version = "0.0.3"; name = "ikarus-${version}"; </ins> src = fetchurl { <del> url = "http://ikarus-scheme.org/${name}.tar.gz"; </del> <ins> url = "http://launchpad.net/ikarus/0.0/${version}/+download/${name}.tar.gz"; </ins> sha256 = "0d4vqwqfnj39l0gar2di021kcf6bfpkc6g40yapkmxm6sxpdcvjv"; };
Change:
Project description framework from GObject to XML. From  This is essentially an XML reader/writer library based on libxml2 written in Vala and uses GObjects. Metadata homepage URL: source URL: license: lgpl2.1 platforms: unix, linux, darwin, ...

Discussion:
githubId = 8900; name = "Johan Magnus Jonsson"; }; <ins> jmarmstrong1207 = { name = "James Armstrong"; email = "jm.armstrong1207@gmail.com"; github = "jmarmstrong1207"; githubId = 32995055; }; </ins> jmbaur = { email = "jaredbaur@fastmail.com"; github = "jmbaur";

<ins> { stdenv , lib , fetchFromGitLab , gobject-introspection , meson , ninja , pkg-config , vala , glib , libgee , libxml2 , gitUpdater }: stdenv.mkDerivation (finalAttrs: { pname = "gxml"; version = "0.20.3"; outputs = [ "out" "dev" "devdoc" ]; src = fetchFromGitLab { domain = "gitlab.gnome.org"; owner = "GNOME"; repo = "gxml"; rev = finalAttrs.version; hash = "sha256-GlctGxsLyQ2kPV3oBmusRiouG4PPncBTh3vgxhVaQOo="; }; nativeBuildInputs = [ gobject-introspection meson ninja pkg-config vala ]; propagatedBuildInputs = [ glib libgee libxml2 ]; postPatch = '' # https://gitlab.gnome.org/GNOME/gxml/-/merge_requests/24 substituteInPlace gxml/gxml.pc.in  --replace-fail "includedir=@prefix@/include" "includedir=${placeholder "dev"}/include" ''; doCheck = true; passthru.updateScript = gitUpdater { }; meta = with lib; { description = "GXml provides a GObject API for manipulating XML and a Serializable framework from GObject to XML"; homepage = "https://gitlab.gnome.org/GNOME/gxml"; license = licenses.lgpl21Plus; platforms = platforms.linux; maintainers = with maintainers; [ jmarmstrong1207 ] ++ teams.gnome.members; }; }) </ins>
Change:
In this commit: , the code checks the env var without quotes, which means an unset or empty variables can cause build errors, eg this one for the Rust crate in a nix shell: I'm not sure it's missing quotes though, I don't know how CMake works in this situation, but since that looks like a bash-inspired syntax, I suppose it has bash-inspired bugs too Full error: Temporary workaround: Set to garbage, like , and it will build and run correctly
Ping the relevant people and link this issue in the original PR
probably it is duplicate of

Discussion:
# CMake install location "${_CMAKE_INSTALL_DIR}" ) <del> @@ -47,48 +44,48 @@ endif() </del> <ins> @@ -47,48 +44,49 @@ endif() </ins> # Non "standard" but common install prefixes list(APPEND CMAKE_SYSTEM_PREFIX_PATH

) # List common include file locations not under the common prefixes. <del> +if(IS_DIRECTORY $ENV{NIX_CC} +  AND EXISTS $ENV{NIX_CC}/nix-support/orig-libc +  AND EXISTS $ENV{NIX_CC}/nix-support/orig-libc-dev) </del> <ins> +if(DEFINED ENV{NIX_CC} +  AND IS_DIRECTORY "$ENV{NIX_CC}" +  AND EXISTS "$ENV{NIX_CC}/nix-support/orig-libc" +  AND EXISTS "$ENV{NIX_CC}/nix-support/orig-libc-dev") </ins> +  file(STRINGS "$ENV{NIX_CC}/nix-support/orig-libc" _nix_cmake_libc) +  file(STRINGS "$ENV{NIX_CC}/nix-support/orig-libc-dev" _nix_cmake_libc_dev) +else()
Change:
Using with and any packages depending on results in the following error: However, packages not depending on work fine, as does running on packages depending on and entering the manually. Steps to reproduce the behavior: the following flake: and that fails while succeeds. To be dropped in a with packages depending on . <!-- 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.
While I could reproduce your case with nixos-22.05, on master, in both cases, I get dropped to a python shell, not a hy shell. Here is a version of your flake that overrides the so that you land in a hy repl. But I think it would be better to put this into eventually.
I'd done that with , but hadn't thought to do it with ; it works! Thanks! Should one of us submit a pull request?
Or perhaps would want to?
Not really, if you want to open a PR I can review/merge.
Sorry, the instructions for contributing are a little confusing to me; could someone give me a summary of steps I need to take?
Also, I just realized I don't know how to merge this with ...
And my own problem was fixed after changing the way the flake apps were made; thanks for all the help!

Discussion:
# For backwards compatibility with removed pkgs/development/interpreters/hy # Example usage: #   hy.withPackages (ps: with ps; [ hyrule requests ]) <del> withPackages = python-packages: python.withPackages (ps: (python-packages ps) ++ [ ps.hy ]); </del> <ins> withPackages = python-packages: (python.withPackages (ps: (python-packages ps) ++ [ ps.hy ])).overrideAttrs (old: { name = "${hy.name}-env"; meta = lib.mergeAttrs (builtins.removeAttrs hy.meta [ "license" ]) { mainProgram = "hy"; }; }); </ins> }; meta = with lib; {
Change:
<!-- Note that these are hard requirements --<!-- You can use the "Go to file" functionality on GitHub to find the package Then you can go to the history for this package Find the latest "packagename: oldversion -newversion" commit The "newversion" is the current version of the package --- <!-- 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! --- name: <!-- The current version can be found easily with the same process as above for checking the master branch If an open PR is present for the package, take this version as the current one and link to the PR --current version: 1.3.0 desired version: 1.3.3 <!-- Search your package here: If no maintainer is listed for your package, tag the person that last updated the package --maintainers: Please tag this issue in your PR.

Discussion:
, fetchFromGitHub , python3Packages , dnsmasq <ins> , gawk </ins> , getent , kmod , lxc

python3Packages.buildPythonApplication rec { pname = "waydroid"; <del> version = "1.3.0"; </del> <ins> version = "1.3.3"; </ins> format = "other"; src = fetchFromGitHub { owner = pname; repo = pname; rev = version; <del> sha256 = "sha256-6osDGYyFuyPDeK1QFowh414j3laD8i4bqPgCeJmsszE="; </del> <ins> sha256 = "sha256-av1kcOSViUV2jsFiTE21N6sAJIL6K+zKkpPHjx6iYVk="; </ins> }; propagatedBuildInputs = with python3Packages; [

dontWrapPythonPrograms = true; installPhase = '' <del> make install DESTDIR=$out PREFIX= USE_SYSTEMD=0 USE_NFTABLES=1 </del> <ins> make install PREFIX=$out USE_SYSTEMD=0 USE_NFTABLES=1 </ins> wrapProgram $out/lib/waydroid/data/scripts/waydroid-net.sh  --prefix PATH ":" ${lib.makeBinPath [ dnsmasq getent iproute2 nftables ]}

python3Packages.gbinder-python python3Packages.pygobject3 python3Packages.pyclip <ins> gawk </ins> kmod lxc util-linux
Change:
Steps to reproduce the behavior:
Could you elaborate more? I have noticed this posted issue and decided to check, considering I need racket in the near future, and I am on M1 Mac mini. I was unable to replicate by installing with specified command Outcome is valid My system has numerous differences though: My nix version is higher. Consider updating your channel and nix version. Maybe it is the culprit? Additionally, I am on previous macOS release. Is this an upstream regression in racket itself related to os update? In my case software looks like to be working:
Possibly. I am on version 12.6 and the homebrew package works well. Also, as you see in the log, the failure happens right after , and in the there is a codesign patch. Maybe it's out of date.
FWIW, I'm getting the same error on nix=2.11.0.
Same error here with basically the same Nix setup. I’m on an M2 MacBook Air. This happens with both and .

Discussion:
(void - (if remove? <del> + (if #t </del> <ins> + (begin </ins> (remove-signature file) (add-ad-hoc-signature file)))
Change:
Running and then Results in a lot of The solution is to include in the . I'll take care of this soon! Given above System: (Gorilla)
It would be great if you could send in a PR for this :) Thanks!
Already did :smile: It's the PR that references this issue (). I ran into some difficulty using and have been waiting for a response from someone more knowledgeable!
It might be a good idea to fix the missing wget dependency regardless of using ? EDIT: Submitted PR, also fixing another detail.

Discussion:
<del> with import <nixpkgs> {}; </del> <ins> with import ../../.. {}; </ins> stdenv.mkDerivation { name = "generate-r-packages-shell"; buildCommand = "exit 1"; <ins> buildInputs = [ wget ]; </ins> nativeBuildInputs = [ (rWrapper.override { packages = with rPackages; [
Change:
As the title says, the package is including wayland despite the system being Darwin. Steps to reproduce the behavior: on Darwin Nix should evaluate and not fail.

Discussion:
sassc gi-docgen libxml2 # for xmllint <ins> ] ++ lib.optionals waylandSupport [ </ins> wayland-scanner ] ++ setupHooks;

<del> { lib, stdenv, fetchurl, pkg-config, SDL2, libpng, libiconv }: </del> <ins> { lib, stdenv, fetchurl, pkg-config, SDL2, libpng, libiconv, libobjc }: </ins> stdenv.mkDerivation rec { pname = "qrencode";

}; nativeBuildInputs = [ pkg-config ]; <del> buildInputs = [ SDL2 libpng ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; </del> <ins> buildInputs = [ SDL2 libpng ] ++ lib.optionals stdenv.isDarwin [ libiconv libobjc ]; </ins> configureFlags = [ "--with-tests"

qrcodegen = callPackage ../development/libraries/qrcodegen { }; <del> qrencode = callPackage ../development/libraries/qrencode { }; </del> <ins> qrencode = callPackage ../development/libraries/qrencode { inherit (darwin) libobjc; }; </ins> geeqie = callPackage ../applications/graphics/geeqie { };
Change:
This error occurs when trying to open the help page. ! Steps to reproduce the behavior: Launch qutebrowser-qt6 Run :help Loads help page (since qt6 build, although not a maintainer) Note this doesn't happen for the qt5 build.
I probably should have myself as a maintainer. Seems it is not all urls since I can still load , the help is gone. Perhaps it needs to be explicitly built like the man page.

Discussion:
nativeBuildInputs = [ wrapQtAppsHook wrapGAppsHook asciidoc docbook_xml_dtd_45 docbook_xsl libxml2 libxslt <del> ]; </del> <ins> ] ++ lib.optional isQt6 python3Packages.pygments; </ins> propagatedBuildInputs = with python3Packages; ([ pyyaml backendPackage jinja2 pygments

dontWrapGApps = true; dontWrapQtApps = true; <ins> preConfigure = '' a2x -f manpage doc/qutebrowser.1.asciidoc '' + lib.optionalString isQt6 '' python scripts/asciidoc2html.py ''; </ins> postPatch = '' substituteInPlace qutebrowser/misc/quitter.py --subst-var-by qutebrowser "$out/bin/qutebrowser"

sed -i "s,/usr/share/pdf.js,${pdfjs},g" qutebrowser/browser/pdfjs.py ''; <del> postBuild = '' a2x -f manpage doc/qutebrowser.1.asciidoc ''; </del> postInstall = '' install -Dm644 doc/qutebrowser.1 "$out/share/man/man1/qutebrowser.1" install -Dm644 misc/org.qutebrowser.qutebrowser.desktop
Change:
The license listed for is incorrect. It has been re-licensed upstream: name: current version: desired version: n/a maintainers: Please tag this issue in your PR.
Fix in (which also updates the package)

Discussion:
rustPlatform.buildRustPackage rec { pname = "fido2luks"; <del> version = "0.2.20"; </del> <ins> version = "0.2.21"; </ins> src = fetchFromGitHub { owner = "shimunn"; repo = pname; rev = version; <del> sha256 = "04gl7wn38f42mapmkf026rya668vvhm03yi8iqnz31xgggbr2irm"; </del> <ins> sha256 = "sha256-bXwaFiRHURvS5KtTqIj+3GlGNbEulDgMDP51ZiO1w9o="; </ins> }; <del> cargoPatches = [ #https://github.com/shimunn/fido2luks/pull/50 (fetchpatch { name = "libcryptsetup-rs.patch"; url = "https://github.com/shimunn/fido2luks/commit/c87a9bbb4cbbe90be7385d4bc2946716c593b91d.diff"; sha256 = "2IWz9gcEbXhHlz7VWoJNBZfwnJm/J3RRuXg91xH9Pl4="; }) ]; </del> <ins> nativeBuildInputs = [ pkg-config clang ]; </ins> buildInputs = [ cryptsetup ]; <del> nativeBuildInputs = [ pkg-config clang ]; </del> configurePhase = '' export LIBCLANG_PATH="${llvmPackages.libclang.lib}/lib" ''; <del> cargoSha256 = "U/2dAmFmW6rQvojaKSDdO+/WzajBJmhOZWvzwdiYBm0="; </del> <ins> cargoSha256 = "sha256-MPji87jYJjYtDAXO+v/Z4XRtCKo+ftsNvmlBrM9iMTk="; </ins> meta = with lib; { description = "Decrypt your LUKS partition using a FIDO2 compatible authenticator"; homepage = "https://github.com/shimunn/fido2luks"; <del> license = licenses.gpl3; </del> <ins> license = licenses.mpl20; </ins> maintainers = with maintainers; [ prusnak mmahut ]; platforms = platforms.linux; };
Change:
Project description swc is the "speedy web compiler" fast alternative to tsc, to compile typescript to javascript without type-checking swc is mentioned in a different context in adds 150 MByte to node_modules so it makes sense to factor-out swc to a global package example use: () on a 2x2GHz machine, swc is 10x faster than tsc = 2 minutes vs 20 minutes is a lightweight wrapper (1 MByte or so) but has as peer-dependency, so npm will install both Metadata homepage URL: source URL: license: apl2 platforms: all

Discussion:
<ins> { lib , rustPlatform , fetchCrate }: rustPlatform.buildRustPackage rec { pname = "swc"; version = "0.91.19"; src = fetchCrate { pname = "swc_cli"; inherit version; sha256 = "sha256-BzReetAOKSGzHhITXpm+J2Rz8d9Hq2HUagQmfst74Ag="; }; cargoSha256 = "sha256-1U9YLrPYENv9iJobCxtgnQakJLDctWQwnDUtpLG3PGc="; buildFeatures = [ "swc_core/plugin_transform_host_native" ]; meta = with lib; { description = "Rust-based platform for the Web"; homepage = "https://github.com/swc-project/swc"; license = licenses.asl20; maintainers = with maintainers; [ dit7ya ]; }; } </ins>

swapview = callPackage ../os-specific/linux/swapview { }; <ins> swc = callPackage ../development/tools/swc { }; </ins> swtpm = callPackage ../tools/security/swtpm { }; svnfs = callPackage ../tools/filesystems/svnfs { };