switch from alejandra -> nixpkgs-fmt

alejandra has someone questionable choices for formatting that no one would apply to there code if they would format manually.
nixpkgs-fmt seems to produce more readable results.
This commit is contained in:
Jörg Thalheim
2023-07-21 11:14:54 +02:00
parent cf583e2d44
commit 9aaac528f8
11 changed files with 64 additions and 65 deletions

View File

@@ -4,7 +4,7 @@
symlinkJoin {
name = "clan";
paths = [
(writers.writePython3Bin "clan" {} ./clan.py)
(writers.writePython3Bin "clan" { } ./clan.py)
(writers.writePython3Bin "clan-admin" { flakeIgnore = [ "E501" ]; } ./clan-admin.py)
];
}

View File

@@ -1,7 +1,7 @@
{
lib,
buildGoModule,
fetchFromGitHub,
{ lib
, buildGoModule
, fetchFromGitHub
,
}:
buildGoModule rec {
pname = "go-ssb";
@@ -17,7 +17,7 @@ buildGoModule rec {
vendorHash = "sha256-ZytuWFre7Cz6Qt01tLQoPEuNzDIyoC938OkdIrU8nZo=";
ldflags = ["-s" "-w"];
ldflags = [ "-s" "-w" ];
# take very long
doCheck = false;
@@ -26,6 +26,6 @@ buildGoModule rec {
description = "Go implementation of ssb (work in progress)";
homepage = "https://github.com/ssbc/go-ssb";
license = licenses.mit;
maintainers = with maintainers; [];
maintainers = with maintainers; [ ];
};
}