Loading pkgs/tools/misc/onefetch/default.nix +9 −1 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ , libresolv , Security , git , installShellFiles }: rustPlatform.buildRustPackage rec { Loading @@ -29,7 +30,7 @@ rustPlatform.buildRustPackage rec { ./zstd-pkg-config.patch ]; nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake installShellFiles pkg-config ]; buildInputs = [ zstd ] ++ lib.optionals stdenv.isDarwin [ CoreFoundation libresolv Security ]; Loading @@ -45,6 +46,13 @@ rustPlatform.buildRustPackage rec { git commit -m test ''; postInstall = '' installShellCompletion --cmd onefetch \ --bash <($out/bin/onefetch --generate bash) \ --fish <($out/bin/onefetch --generate fish) \ --zsh <($out/bin/onefetch --generate zsh) ''; meta = with lib; { description = "Git repository summary on your terminal"; homepage = "https://github.com/o2sh/onefetch"; Loading Loading
pkgs/tools/misc/onefetch/default.nix +9 −1 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ , libresolv , Security , git , installShellFiles }: rustPlatform.buildRustPackage rec { Loading @@ -29,7 +30,7 @@ rustPlatform.buildRustPackage rec { ./zstd-pkg-config.patch ]; nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake installShellFiles pkg-config ]; buildInputs = [ zstd ] ++ lib.optionals stdenv.isDarwin [ CoreFoundation libresolv Security ]; Loading @@ -45,6 +46,13 @@ rustPlatform.buildRustPackage rec { git commit -m test ''; postInstall = '' installShellCompletion --cmd onefetch \ --bash <($out/bin/onefetch --generate bash) \ --fish <($out/bin/onefetch --generate fish) \ --zsh <($out/bin/onefetch --generate zsh) ''; meta = with lib; { description = "Git repository summary on your terminal"; homepage = "https://github.com/o2sh/onefetch"; Loading