Loading pkgs/by-name/co/codebook/package.nix +10 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ fetchFromGitHub, nix-update-script, rustPlatform, versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { Loading @@ -19,11 +20,20 @@ rustPlatform.buildRustPackage (finalAttrs: { buildAndTestSubdir = "crates/codebook-lsp"; cargoHash = "sha256-HAJglGtOy+OMZoB50Uz5vrf8IXqBKMMO/Hr9Lcry2+Q="; CARGO_PROFILE_RELEASE_LTO = "fat"; CARGO_PROFILE_RELEASE_CODEGEN_UNITS = "1"; # Integration tests require internet access for dictionaries doCheck = false; passthru.updateScript = nix-update-script { }; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; versionCheckProgramArg = "--version"; meta = { description = "Unholy spellchecker for code"; homepage = "https://github.com/blopker/codebook"; Loading Loading
pkgs/by-name/co/codebook/package.nix +10 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ fetchFromGitHub, nix-update-script, rustPlatform, versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { Loading @@ -19,11 +20,20 @@ rustPlatform.buildRustPackage (finalAttrs: { buildAndTestSubdir = "crates/codebook-lsp"; cargoHash = "sha256-HAJglGtOy+OMZoB50Uz5vrf8IXqBKMMO/Hr9Lcry2+Q="; CARGO_PROFILE_RELEASE_LTO = "fat"; CARGO_PROFILE_RELEASE_CODEGEN_UNITS = "1"; # Integration tests require internet access for dictionaries doCheck = false; passthru.updateScript = nix-update-script { }; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; versionCheckProgramArg = "--version"; meta = { description = "Unholy spellchecker for code"; homepage = "https://github.com/blopker/codebook"; Loading