pomsky: add nix-update-script

This commit is contained in:
Petr Portnov
2026-05-18 14:11:02 +03:00
parent 887cfb921d
commit 317f6166f4
+11 -1
View File
@@ -4,6 +4,8 @@
fetchFromGitHub,
pkg-config,
oniguruma,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -32,9 +34,17 @@ rustPlatform.buildRustPackage (finalAttrs: {
RUSTONIG_SYSTEM_LIBONIG = true;
};
# thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: invalid option '--test-threads''
# Compatibility tests run against different regex implementations.
# Some can be run by providing `jdk*_headless` and `python3` `nativeCheckInputs`,
# while some cannot, i.e. `deno`-based requires network access and `dotnet-script` is not packaged,
# and they cannot be disabled partially.
doCheck = false;
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Portable, modern regular expression language";
mainProgram = "pomsky";