From b6bf166e1681daddfc5ef84552e6529df02c0a9d Mon Sep 17 00:00:00 2001 From: Ɓukasz Niemier <~@hauleth.dev> Date: Thu, 17 Apr 2025 08:02:20 +0000 Subject: [PATCH] fix: update cargoHash in Nix derivation --- cli/Cargo.toml | 4 ++++ docs/fuk.1.scd | 8 ++++---- nix/fuk.nix | 2 +- 3 file(s) changed, 9 insertion(s)(+), 5 deletion(s)(-) diff --git a/cli/Cargo.toml b/cli/Cargo.toml --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -7,6 +7,10 @@ name = "fuk" version = "0.1.0" edition = "2021" +[profile.release] +codegen-units = 1 +lto = "fat" + [dependencies] clap = { version = "4.4.18", features = ["derive"] } rayon = "1.10.0" diff --git a/docs/fuk.1.scd b/docs/fuk.1.scd --- a/docs/fuk.1.scd +++ b/docs/fuk.1.scd @@ -7,7 +7,7 @@ # SYNOPSIS *fuk* -h++ -*fuk* [--format (json|pretty)] _config.toml_ +*fuk* [--format (json|json-pretty|toml|toml-pretty)] _config.toml_ # DESCRIPTION @@ -35,7 +35,7 @@ *host* Hostnames that will be passed to _ssh-keyscan_(1). *http* - Takes `url` as and argument, with URL pointing to the HTTP resource that + Takes _url_ as and argument, with URL pointing to the HTTP resource that will contain SSH keys. *github*, *gitlab*, *sourcehut*, *codeberg* @@ -46,8 +46,8 @@ *tangled* Support for _tangled.sh_ keys stored in the ATProto profile. Accepts either string, which should be either DID or handle (with or without - preceding `@` sign), or a structure with `handle` key and optional - `host` key. Default host is _https://bsky.social_. + preceding _@_ sign), or a structure with `handle` key and optional + _host_ key. Default host is _https://bsky.social_. Example configuration: diff --git a/nix/fuk.nix b/nix/fuk.nix --- a/nix/fuk.nix +++ b/nix/fuk.nix @@ -17,7 +17,7 @@ version = "0.1.0"; src = ./..; - cargoHash = "sha256-jdiaV4B22GHKrHpuPv+eKsAt2jMv5AazLJmoEYfdUlE="; + cargoHash = "sha256-xPWs7QtyvLodtYSaTshR/Zyiq1L1d1KzvKXt1K76exs="; nativeBuildInputs = [scdoc pkg-config]; -- tangled.sh