Loading pkgs/by-name/ru/rust-analyzer-unwrapped/package.nix +4 −7 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ useMimalloc ? false, doCheck ? true, nix-update-script, versionCheckHook, }: rustPlatform.buildRustPackage rec { Loading Loading @@ -55,14 +56,10 @@ rustPlatform.buildRustPackage rec { export RUST_SRC_PATH=${rustPlatform.rustLibSrc} ''; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; installCheckPhase = '' runHook preInstallCheck versionOutput="$($out/bin/rust-analyzer --version)" echo "'rust-analyzer --version' returns: $versionOutput" [[ "$versionOutput" == "rust-analyzer ${version}" ]] runHook postInstallCheck ''; passthru = { updateScript = nix-update-script { }; Loading Loading
pkgs/by-name/ru/rust-analyzer-unwrapped/package.nix +4 −7 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ useMimalloc ? false, doCheck ? true, nix-update-script, versionCheckHook, }: rustPlatform.buildRustPackage rec { Loading Loading @@ -55,14 +56,10 @@ rustPlatform.buildRustPackage rec { export RUST_SRC_PATH=${rustPlatform.rustLibSrc} ''; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; installCheckPhase = '' runHook preInstallCheck versionOutput="$($out/bin/rust-analyzer --version)" echo "'rust-analyzer --version' returns: $versionOutput" [[ "$versionOutput" == "rust-analyzer ${version}" ]] runHook postInstallCheck ''; passthru = { updateScript = nix-update-script { }; Loading