+15
-1
doc/languages-frameworks/javascript.section.md
+15
-1
doc/languages-frameworks/javascript.section.md
···`buildNpmPackage` allows you to package npm-based projects in Nixpkgs without the use of an auto-generated dependencies file (as used in [node2nix](#javascript-node2nix)). It works by utilizing npm's cache functionality -- creating a reproducible cache that contains the dependencies of a project, and pointing npm to it.······-`prefetch-npm-deps` can calculate the hash of the dependencies of an npm project ahead of time.···
···`buildNpmPackage` allows you to package npm-based projects in Nixpkgs without the use of an auto-generated dependencies file (as used in [node2nix](#javascript-node2nix)). It works by utilizing npm's cache functionality -- creating a reproducible cache that contains the dependencies of a project, and pointing npm to it.···+In the default `installPhase` set by `buildNpmPackage`, it uses `npm pack --json --dry-run` to decide what files to install in `$out/lib/node_modules/$name/`, where `$name` is the `name` string defined in the package's `package.json`. Additionally, the `bin` and `man` keys in the source's `package.json` are used to decide what binaries and manpages are supposed to be installed. If these are not defined, `npm pack` may miss some files, and no binaries will be produced.···+* `makeWrapperArgs`: Flags to pass to `makeWrapper`, added to executable calling the generated `.js` with `node` as an interpreter. These scripts are defined in `package.json`.+`prefetch-npm-deps` is a Nixpkgs package that calculates the hash of the dependencies of an npm project ahead of time.···+It returns a derivation with all `package-lock.json` dependencies downloaded into `$out/`, usable as an npm cache.
+12
maintainers/maintainer-list.nix
+12
maintainers/maintainer-list.nix
······
+1
-1
nixos/doc/manual/release-notes/rl-2311.section.md
+1
-1
nixos/doc/manual/release-notes/rl-2311.section.md
···- `pass` now does not contain `password-store.el`. Users should get `password-store.el` from Emacs lisp package set `emacs.pkgs.password-store`.-- `services.knot` now supports `.settings` from RFC42. The change is not 100% compatible with the previous `.extraConfig`.- `mu` now does not install `mu4e` files by default. Users should get `mu4e` from Emacs lisp package set `emacs.pkgs.mu4e`.
···- `pass` now does not contain `password-store.el`. Users should get `password-store.el` from Emacs lisp package set `emacs.pkgs.password-store`.+- `services.knot` now supports `.settings` from RFC42. The previous `.extraConfig` still works the same, but it displays a warning now.- `mu` now does not install `mu4e` files by default. Users should get `mu4e` from Emacs lisp package set `emacs.pkgs.mu4e`.
+10
-6
nixos/modules/services/networking/knot.nix
+10
-6
nixos/modules/services/networking/knot.nix
···-text = (concatMapStringsSep "\n" (file: "include: ${file}") cfg.keyFiles) + "\n" + yamlConfig;······
···+text = (concatMapStringsSep "\n" (file: "include: ${file}") cfg.keyFiles) + "\n" + configString;······
+7
-7
nixos/modules/services/networking/syncthing.nix
+7
-7
nixos/modules/services/networking/syncthing.nix
···-old_conf_${conf_type}_ids="$(curl -X GET ${s.baseAddress} | ${jq} --raw-output '.[].${s.GET_IdAttrName}')"
···
-1
nixos/tests/syncthing-init.nix
-1
nixos/tests/syncthing-init.nix
+3
-3
pkgs/applications/blockchains/dcrd/default.nix
+3
-3
pkgs/applications/blockchains/dcrd/default.nix
······
······
+2
-2
pkgs/applications/editors/vscode/extensions/default.nix
+2
-2
pkgs/applications/editors/vscode/extensions/default.nix
···changelog = "https://marketplace.visualstudio.com/items/firefox-devtools.vscode-firefox-debug/changelog";
···changelog = "https://marketplace.visualstudio.com/items/firefox-devtools.vscode-firefox-debug/changelog";
+12
-12
pkgs/applications/networking/instant-messengers/discord/default.nix
+12
-12
pkgs/applications/networking/instant-messengers/discord/default.nix
······url = "https://dl-development.discordapp.net/apps/linux/${version}/discord-development-${version}.tar.gz";···
······url = "https://dl-development.discordapp.net/apps/linux/${version}/discord-development-${version}.tar.gz";···
-160
pkgs/applications/radio/uhd/3.5.nix
-160
pkgs/applications/radio/uhd/3.5.nix
···-# See https://files.ettus.com/manual_archive/v3.15.0.0/html/page_build_guide.html for dependencies explanations-url = "https://github.com/EttusResearch/uhd/releases/download/v${version}/uhd-images_${version}.tar.xz";-# /nix/store/wd6r25miqbk9ia53pp669gn4wrg9n9cj-gcc-7.3.0/include/c++/7.3.0/bits/vector.tcc:394:7: note: parameter passing for argument of type 'std::vector<uhd::range_t>::iterator {aka __gnu_cxx::__normal_iterator<uhd::range_t*, std::vector<uhd::range_t> >}' changed in GCC 7.1-# https://files.ettus.com/manual_archive/v3.15.0.0/html/page_build_guide.html#build_instructions_unix_arm
···
+12
-2
pkgs/applications/radio/uhd/default.nix
+12
-2
pkgs/applications/radio/uhd/default.nix
······
······
+3
-3
pkgs/applications/virtualization/colima/default.nix
+3
-3
pkgs/applications/virtualization/colima/default.nix
······
······
+11
-1
pkgs/build-support/node/build-npm-package/hooks/npm-install-hook.sh
+11
-1
pkgs/build-support/node/build-npm-package/hooks/npm-install-hook.sh
···done < <(@jq@ --raw-output '.[0].files | map(.path) | join("\n")' <<< "$(npm pack --json --dry-run ${npmWorkspace+--workspace=$npmWorkspace} $npmPackFlags "${npmPackFlagsArray[@]}" $npmFlags "${npmFlagsArray[@]}")")
···done < <(@jq@ --raw-output '.[0].files | map(.path) | join("\n")' <<< "$(npm pack --json --dry-run ${npmWorkspace+--workspace=$npmWorkspace} $npmPackFlags "${npmPackFlagsArray[@]}" $npmFlags "${npmFlagsArray[@]}")")+if [[ "${makeWrapperArgs+defined}" == "defined" && "$(declare -p makeWrapperArgs)" =~ ^'declare -a makeWrapperArgs=' ]]; then+makeWrapper @hostNode@ "$out/bin/${bin[0]}" --add-flags "$packageOut/${bin[1]}" "${user_args[@]}"
+1
-1
pkgs/data/fonts/iosevka/bin.nix
+1
-1
pkgs/data/fonts/iosevka/bin.nix
+92
-92
pkgs/data/fonts/iosevka/variants.nix
+92
-92
pkgs/data/fonts/iosevka/variants.nix
···
···
+2
-2
pkgs/development/libraries/mlt/default.nix
+2
-2
pkgs/development/libraries/mlt/default.nix
+4
-2
pkgs/development/python-modules/aiosmb/default.nix
+4
-2
pkgs/development/python-modules/aiosmb/default.nix
······
······
+2
-2
pkgs/development/python-modules/botocore-stubs/default.nix
+2
-2
pkgs/development/python-modules/botocore-stubs/default.nix
······
······
+10
-2
pkgs/development/python-modules/google-generativeai/default.nix
+10
-2
pkgs/development/python-modules/google-generativeai/default.nix
·········
·········
+2
-2
pkgs/development/python-modules/ha-philipsjs/default.nix
+2
-2
pkgs/development/python-modules/ha-philipsjs/default.nix
······
······
+2
-2
pkgs/development/python-modules/lxmf/default.nix
+2
-2
pkgs/development/python-modules/lxmf/default.nix
······
······
+2
-2
pkgs/development/python-modules/msgspec/default.nix
+2
-2
pkgs/development/python-modules/msgspec/default.nix
······
······
+2
-2
pkgs/development/python-modules/msldap/default.nix
+2
-2
pkgs/development/python-modules/msldap/default.nix
+2
-2
pkgs/development/python-modules/nibe/default.nix
+2
-2
pkgs/development/python-modules/nibe/default.nix
······
······
+2
-2
pkgs/development/python-modules/nomadnet/default.nix
+2
-2
pkgs/development/python-modules/nomadnet/default.nix
······
······
+2
-2
pkgs/development/python-modules/python-lsp-server/default.nix
+2
-2
pkgs/development/python-modules/python-lsp-server/default.nix
······
······
+2
-2
pkgs/development/python-modules/rns/default.nix
+2
-2
pkgs/development/python-modules/rns/default.nix
······
······
+2
-2
pkgs/development/python-modules/teslajsonpy/default.nix
+2
-2
pkgs/development/python-modules/teslajsonpy/default.nix
······
······
+2
-2
pkgs/development/tools/allure/default.nix
+2
-2
pkgs/development/tools/allure/default.nix
······url = "https://github.com/allure-framework/allure2/releases/download/${version}/allure-${version}.tgz";
······url = "https://github.com/allure-framework/allure2/releases/download/${version}/allure-${version}.tgz";
+4
-4
pkgs/development/tools/api-linter/default.nix
+4
-4
pkgs/development/tools/api-linter/default.nix
······-# reference: https://github.com/googleapis/api-linter/blob/v1.57.1/.github/workflows/release.yaml#L76
······+# reference: https://github.com/googleapis/api-linter/blob/v1.58.1/.github/workflows/release.yaml#L76
+3
-3
pkgs/development/tools/kdash/default.nix
+3
-3
pkgs/development/tools/kdash/default.nix
······
······
+3
-3
pkgs/development/tools/rust/cargo-espflash/default.nix
+3
-3
pkgs/development/tools/rust/cargo-espflash/default.nix
······
······
+3
-3
pkgs/development/tools/rust/cargo-run-bin/default.nix
+3
-3
pkgs/development/tools/rust/cargo-run-bin/default.nix
···
···
+3
-3
pkgs/development/tools/rust/cargo-update/default.nix
+3
-3
pkgs/development/tools/rust/cargo-update/default.nix
···
···
+2
-2
pkgs/os-specific/linux/bpftrace/default.nix
+2
-2
pkgs/os-specific/linux/bpftrace/default.nix
+7
-7
pkgs/os-specific/linux/kernel/zen-kernels.nix
+7
-7
pkgs/os-specific/linux/kernel/zen-kernels.nix
······description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads." +lib.optionalString isLqx " (Same as linux_zen, but less aggressive release schedule and additional extra config)";
······description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads." +lib.optionalString isLqx " (Same as linux_zen, but less aggressive release schedule and additional extra config)";
+2
-11
pkgs/servers/mail/rspamd/default.nix
+2
-11
pkgs/servers/mail/rspamd/default.nix
···-url = "https://github.com/rspamd/rspamd/commit/ffbab4fbf218514845b8e5209aec044621b1f460.patch";
+3
-3
pkgs/tools/misc/diffoci/default.nix
+3
-3
pkgs/tools/misc/diffoci/default.nix
···
···
+2
-2
pkgs/tools/misc/yt-dlp/default.nix
+2
-2
pkgs/tools/misc/yt-dlp/default.nix
···
···
+6
-4
pkgs/tools/networking/termscp/default.nix
+6
-4
pkgs/tools/networking/termscp/default.nix
·········
·········+description = "A feature rich terminal UI file transfer and explorer with support for SCP/SFTP/FTP/S3/SMB";
+2
-2
pkgs/tools/security/dontgo403/default.nix
+2
-2
pkgs/tools/security/dontgo403/default.nix
···
···
+2
-2
pkgs/tools/text/ugrep/default.nix
+2
-2
pkgs/tools/text/ugrep/default.nix
+1
pkgs/top-level/aliases.nix
+1
pkgs/top-level/aliases.nix
···uniffi-bindgen = throw "uniffi-bindgen has been removed since upstream no longer provides a standalone package for the CLI";
···uniffi-bindgen = throw "uniffi-bindgen has been removed since upstream no longer provides a standalone package for the CLI";
+7
-1
pkgs/top-level/all-packages.nix
+7
-1
pkgs/top-level/all-packages.nix
············
············