diff --git a/nixos/modules/services/computing/slurm/slurm.nix b/nixos/modules/services/computing/slurm/slurm.nix index 822e455ea50b..f66780b308c0 100644 --- a/nixos/modules/services/computing/slurm/slurm.nix +++ b/nixos/modules/services/computing/slurm/slurm.nix @@ -348,7 +348,7 @@ in then SLURM_CONF="${cfg.etcSlurm}/slurm.conf" "$EXE" "\$@" else - "$EXE" "\$0" + "$EXE" "\$@" fi EOT chmod +x "$wrappername" diff --git a/pkgs/applications/emulators/libretro/cores/gambatte.nix b/pkgs/applications/emulators/libretro/cores/gambatte.nix index 40aecf867bd5..05a0a5694398 100644 --- a/pkgs/applications/emulators/libretro/cores/gambatte.nix +++ b/pkgs/applications/emulators/libretro/cores/gambatte.nix @@ -5,13 +5,13 @@ }: mkLibretroCore { core = "gambatte"; - version = "0-unstable-2025-11-14"; + version = "0-unstable-2025-12-19"; src = fetchFromGitHub { owner = "libretro"; repo = "gambatte-libretro"; - rev = "6924c76ba03dadddc6e97fa3660f3d3bc08faa94"; - hash = "sha256-VhHPr+zM7YfwdxdhGQ8zkA/9r1ZYr4sgIr147DzKCJw="; + rev = "308255e4a3acb38a054ebb42a5e2fe5c50eebd66"; + hash = "sha256-a75F7kfrVfIVt5yvYIu+oVmpXlOdTDTs5IX1Q5NB8WU="; }; meta = { diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 048cb72268de..5b4b07c419d9 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -274,11 +274,11 @@ "vendorHash": "sha256-3o6YRDrq4rQhNAFyqiGJrAoxuAykWw85OExRGSE3kGI=" }, "datadog_datadog": { - "hash": "sha256-XN9Ae+6GZugtv4PdECdgiW6TJevaTaX3zkDDBifq4UU=", + "hash": "sha256-7SR3DODxlAGz0TTCIpZdEcXi16HvVgV7vLZA5qgzlyo=", "homepage": "https://registry.terraform.io/providers/DataDog/datadog", "owner": "DataDog", "repo": "terraform-provider-datadog", - "rev": "v3.82.0", + "rev": "v3.83.0", "spdx": "MPL-2.0", "vendorHash": "sha256-dyCYlNdi6kaNYZToyiXw66AfDIeTgKAyQEtxh4wZ2Wo=" }, @@ -499,13 +499,13 @@ "vendorHash": "sha256-MYVkNvJ+rbwGw0htClIbmxk3YX2OK/ZO/QOTyMRFiug=" }, "hashicorp_aws": { - "hash": "sha256-KcNBOW9UHQFp0s/VFonraAmZ56yENWxlXqOFv0Iv8J8=", + "hash": "sha256-Q9kenDtLbJeh1otj16JniOKpr8FEwrSmIjCLkaOqICs=", "homepage": "https://registry.terraform.io/providers/hashicorp/aws", "owner": "hashicorp", "repo": "terraform-provider-aws", - "rev": "v6.26.0", + "rev": "v6.27.0", "spdx": "MPL-2.0", - "vendorHash": "sha256-XWHsAbvVMLVZCzMr2UlBb62fmKXTt/iczUI2pudiSLM=" + "vendorHash": "sha256-d90pR0WCyYIaXOyZWNw+2++sgt+subhkPCgFOEsX8JQ=" }, "hashicorp_awscc": { "hash": "sha256-+qcv9cCr5MraBa91x+iziMBK1Wdaq4lg0xbDBf3cmFE=", @@ -1418,13 +1418,13 @@ "vendorHash": null }, "vancluever_acme": { - "hash": "sha256-jSXPx57EutEa0A4tV4mE16vtSUKxmVlqLwOoPetSYvM=", + "hash": "sha256-wtA9AUnxync67kCGII4rUlL74ycYpT1v3l6ghkN759Q=", "homepage": "https://registry.terraform.io/providers/vancluever/acme", "owner": "vancluever", "repo": "terraform-provider-acme", - "rev": "v2.39.0", + "rev": "v2.40.0", "spdx": "MPL-2.0", - "vendorHash": "sha256-4SpO31U25+6UUyVsqetFqjXQAj4gk2jTfLo/rSChOnI=" + "vendorHash": "sha256-qUa78KrmLUG+6vxLde4Of+rHvC2kjaaWKiafa2K/+Us=" }, "venafi_venafi": { "hash": "sha256-wpAckNRqZjSDt7KpCRpLSYkn6Gm+QPzn5sIJ90wRXjI=", diff --git a/pkgs/by-name/ha/hatsu/package.nix b/pkgs/by-name/ha/hatsu/package.nix index c0aaacbe6de3..d5c428864957 100644 --- a/pkgs/by-name/ha/hatsu/package.nix +++ b/pkgs/by-name/ha/hatsu/package.nix @@ -7,16 +7,16 @@ }: rustPlatform.buildRustPackage rec { pname = "hatsu"; - version = "0.3.3"; + version = "0.3.4"; src = fetchFromGitHub { owner = "importantimport"; repo = "hatsu"; tag = "v${version}"; - hash = "sha256-mqs26srbEkGeQzeF4OdqI7o18Ajs+mmAXGLlVfS52sk="; + hash = "sha256-66BNgcCYPMJ5AE/OCfbLrU+A/usv0/QvcyPy8D+7PVs="; }; - cargoHash = "sha256-5c6boVdq0XXbtVHqmIGoxJGQRh8lvn2jbmALPuOSMs4="; + cargoHash = "sha256-NXauXnCpk8YjiX4bqZMbEy/QPb7MiJYzY64YKDV6qq0="; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; diff --git a/pkgs/by-name/ox/oxfmt/package.nix b/pkgs/by-name/ox/oxfmt/package.nix new file mode 100644 index 000000000000..53edf38b4802 --- /dev/null +++ b/pkgs/by-name/ox/oxfmt/package.nix @@ -0,0 +1,107 @@ +{ + lib, + stdenv, + fetchFromGitHub, + fetchPnpmDeps, + cargo, + cmake, + makeBinaryWrapper, + nodejs-slim, + pnpmConfigHook, + pnpm_10, + rustPlatform, + rustc, + versionCheckHook, +}: + +# Build with pnpm instead of buildRustPackage because Prettier integration +# requires the JavaScript runtime and npm dependencies. +# A pure Rust build would lack the Prettier plugin functionality. +stdenv.mkDerivation (finalAttrs: { + pname = "oxfmt"; + version = "0.18.0"; + + src = fetchFromGitHub { + owner = "oxc-project"; + repo = "oxc"; + tag = "oxfmt_v${finalAttrs.version}"; + hash = "sha256-AatmbW8UE8UbV533I2nhijHNlqIsgvtlE7X98uT7aTA="; + }; + + # Remove patchedDependencies from both workspace and lockfile + # to avoid LOCKFILE_CONFIG_MISMATCH error + postPatch = '' + substituteInPlace pnpm-workspace.yaml pnpm-lock.yaml \ + --replace-fail "patchedDependencies:" "_patchedDependencies:" + ''; + + cargoDeps = rustPlatform.fetchCargoVendor { + inherit (finalAttrs) pname version src; + hash = "sha256-4G52/8WZgNFM/vcHXBbtWabBZwWo3ZBVadFjOI2SmUk="; + }; + + pnpmDeps = fetchPnpmDeps { + inherit (finalAttrs) pname version src; + pnpm = pnpm_10; + fetcherVersion = 2; + hash = "sha256-Do2sFEK/8Axj9B9M/W9zqMboPrAo5Zm/zdrMXZvmFg0="; + prePnpmInstall = finalAttrs.postPatch; + }; + + nativeBuildInputs = [ + cargo + cmake + makeBinaryWrapper + nodejs-slim + pnpmConfigHook + pnpm_10 + rustPlatform.cargoSetupHook + rustc + ]; + + # cmake is only needed for libmimalloc-sys2 crate, not for top-level build + dontUseCmakeConfigure = true; + + env.OXC_VERSION = finalAttrs.version; + + buildPhase = '' + runHook preBuild + + pnpm --filter oxfmt-app run build + + runHook postBuild + ''; + + installPhase = '' + runHook preInstall + + local outPath=$out/lib/oxfmt + mkdir -p $outPath $out/bin + + # Reinstall production dependencies only + find -name 'node_modules' -type d -exec rm -rf {} \; || true + pnpm --filter oxfmt-app install --offline --prod --ignore-scripts + + cp -r apps/oxfmt/dist $outPath/ + cp -rL apps/oxfmt/node_modules $outPath/ + cp npm/oxfmt/configuration_schema.json $outPath/ + + makeWrapper ${lib.getExe nodejs-slim} $out/bin/oxfmt \ + --add-flags $outPath/dist/cli.js + + runHook postInstall + ''; + + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + + meta = { + description = "JavaScript formatter with Prettier integration"; + homepage = "https://github.com/oxc-project/oxc"; + changelog = "https://github.com/oxc-project/oxc/blob/${finalAttrs.src.tag}/apps/oxfmt/CHANGELOG.md"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ natsukium ]; + mainProgram = "oxfmt"; + inherit (nodejs-slim.meta) platforms; + }; +}) diff --git a/pkgs/by-name/ra/rattler-build/package.nix b/pkgs/by-name/ra/rattler-build/package.nix index 3dd24e5738cb..89341f7c201f 100644 --- a/pkgs/by-name/ra/rattler-build/package.nix +++ b/pkgs/by-name/ra/rattler-build/package.nix @@ -14,16 +14,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "rattler-build"; - version = "0.54.0"; + version = "0.55.0"; src = fetchFromGitHub { owner = "prefix-dev"; repo = "rattler-build"; tag = "v${finalAttrs.version}"; - hash = "sha256-knbku4ckTe/iQUzixpZoraY6+tttpSlCmb6VLtVy+Bc="; + hash = "sha256-SofCRYAhSOwoNwnFF8eapXRxjwz/x2DNrcOXdiwvkng="; }; - cargoHash = "sha256-6qCh+7aiVBOps6WEQ33395dzEx3mnwI7/qNQXvs+E+I="; + cargoHash = "sha256-pe8r2bYVlP/3l4Ye1FLieiH0Cf5otNN2KCag5fntHUg="; doCheck = false; # test requires network access diff --git a/pkgs/by-name/tf/tfswitch/package.nix b/pkgs/by-name/tf/tfswitch/package.nix index f055d1383f2b..f4681f4820c4 100644 --- a/pkgs/by-name/tf/tfswitch/package.nix +++ b/pkgs/by-name/tf/tfswitch/package.nix @@ -5,16 +5,16 @@ }: buildGoModule rec { pname = "tfswitch"; - version = "1.10.0"; + version = "1.13.0"; src = fetchFromGitHub { owner = "warrensbox"; repo = "terraform-switcher"; rev = "v${version}"; - sha256 = "sha256-c1ueznf3ihsZeLmhD35NZ3pvK79LaonIymu2/2KwbZM="; + sha256 = "sha256-rS7VJQdRzrEK1ZlpmdbAf32vKuyK9I0tflDIC1Nb2OY="; }; - vendorHash = "sha256-MF+P+t+8xVRB4AicuVSqs1VEmBBo180bz2IdHi58vWc="; + vendorHash = "sha256-JJnXleHt7lRnKHBh4Lx71Jb0RRCdUOqzrNHbZ17T5Co="; # Disable tests since it requires network access and relies on the # presence of release.hashicorp.com diff --git a/pkgs/by-name/ty/ty/package.nix b/pkgs/by-name/ty/ty/package.nix index 30c0f1ddef99..3847fa781879 100644 --- a/pkgs/by-name/ty/ty/package.nix +++ b/pkgs/by-name/ty/ty/package.nix @@ -14,14 +14,14 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "ty"; - version = "0.0.4"; + version = "0.0.5"; src = fetchFromGitHub { owner = "astral-sh"; repo = "ty"; tag = finalAttrs.version; fetchSubmodules = true; - hash = "sha256-K29DS5IqzWugNxXGfb+WP4H89iAa0Tk/FfWeJXCnjHM="; + hash = "sha256-G9sVPg1fe35CNYJlRO/1zm3gOY78qfmU/RwKw2iG7o8="; }; # For Darwin platforms, remove the integration test for file notifications, diff --git a/pkgs/development/libraries/libidn2/default.nix b/pkgs/development/libraries/libidn2/default.nix index 067eee12bbef..c131f5afa902 100644 --- a/pkgs/development/libraries/libidn2/default.nix +++ b/pkgs/development/libraries/libidn2/default.nix @@ -44,6 +44,12 @@ stdenv.mkDerivation rec { buildInputs = [ libunistring ] ++ lib.optional stdenv.hostPlatform.isDarwin libiconv; depsBuildBuild = [ buildPackages.stdenv.cc ]; + configureFlags = + # Work around build failure caused by the gnulib workaround for + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114870. + # remove after gnulib is updated + lib.optional stdenv.hostPlatform.isCygwin "gl_cv_clean_version_stddef=yes"; + meta = { homepage = "https://www.gnu.org/software/libidn/#libidn2"; description = "Free software implementation of IDNA2008 and TR46";