Configure a formatter for Nix.
I've choosen nixpkgs-fmt because it's the one whose output is most similar to
the current style.
};
};
nativeBuildInputs = [
- pkg-config gzip makeWrapper
+ gzip
installShellFiles
+ makeWrapper
+ pkg-config
];
buildInputs = [ openssl dbus sqlite ]
++ lib.optionals stdenv.isDarwin [
installShellCompletion --zsh --name _${pname} ./completions.zsh
'';
}
-
)
{
inherit (final.darwin.apple_sdk.frameworks) Security SystemConfiguration;
export RUST_BACKTRACE=1
'';
});
+ formatter.${system} = pkgs.nixpkgs-fmt;
}));
}
