style: ~apply alejandra

This commit is contained in:
zerosummed
2025-04-17 03:57:54 +03:00
parent 3dfe3d61f6
commit 29ff6989e5
7 changed files with 299 additions and 234 deletions

View File

@@ -1,12 +1,17 @@
{ stdenv, gcc, lib, bash, inotify-tools }:
{
stdenv,
gcc,
lib,
bash,
inotify-tools,
}:
stdenv.mkDerivation {
pname = "hectic";
version = "1.0";
src = ./.;
doCheck = true;
nativeBuildInputs = [ gcc inotify-tools ];
nativeBuildInputs = [gcc inotify-tools];
buildPhase = ''
ls

View File

@@ -3,12 +3,11 @@
stdenv,
postgresql,
...
}:
}:
stdenv.mkDerivation {
pname = "postgreact";
version = "0.1";
src = ./.;
buildInputs = [
@@ -22,10 +21,10 @@ stdenv.mkDerivation {
installPhase = ''
mkdir -p $out/lib/postgresql $out/share/postgresql/extension
# Install compiled library
install -m 755 -D target/postgreact.so $out/lib/postgresql/postgreact.so
# Install control and SQL files
install -m 644 -D postgreact.control $out/share/postgresql/extension/postgreact.control
install -m 644 -D postgreact--0.1.sql $out/share/postgresql/extension/postgreact--0.1.sql
@@ -36,6 +35,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/yukkop/util.nix";
license = licenses.mit;
platforms = postgresql.meta.platforms;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [];
};
}
}

View File

@@ -1,12 +1,17 @@
{ stdenv, gcc, lib, bash, c-hectic }:
{
stdenv,
gcc,
lib,
bash,
c-hectic,
}:
stdenv.mkDerivation {
pname = "prettify";
version = "1.0";
src = ./.;
doCheck = false;
nativeBuildInputs = [ gcc c-hectic ];
nativeBuildInputs = [gcc c-hectic];
buildPhase = ''
ls

View File

@@ -1,12 +1,17 @@
{ stdenv, gcc, lib, bash, gdb }:
{
stdenv,
gcc,
lib,
bash,
gdb,
}:
stdenv.mkDerivation {
pname = "watch";
version = "1.0";
src = ./.;
doCheck = false;
nativeBuildInputs = [ gcc gdb ];
nativeBuildInputs = [gcc gdb];
buildPhase = ''
${bash}/bin/sh ./make.sh build
@@ -25,4 +30,4 @@ stdenv.mkDerivation {
description = "watch";
license = lib.licenses.mit;
};
}
}

View File

@@ -16,7 +16,7 @@ in
cargoLock.lockFile = ./Cargo.lock;
buildInputs = [ postgresql_15 ];
buildInputs = [postgresql_15];
doCheck = true;
}