dotter: format with rfc style
This commit is contained in:
parent
44e7e48778
commit
200a81b3f0
@ -1,11 +1,12 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
, rustPlatform
|
||||
, darwin
|
||||
, which
|
||||
, installShellFiles
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
rustPlatform,
|
||||
darwin,
|
||||
which,
|
||||
installShellFiles,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -23,7 +24,10 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.CoreServices ];
|
||||
|
||||
nativeCheckInputs = [ which installShellFiles ];
|
||||
nativeCheckInputs = [
|
||||
which
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd dotter \
|
||||
@ -36,7 +40,6 @@ rustPlatform.buildRustPackage rec {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dotfile manager and templater written in rust 🦀";
|
||||
homepage = "https://github.com/SuperCuber/dotter";
|
||||
|
Loading…
Reference in New Issue
Block a user