Massive nixfmt reformatting

This commit is contained in:
Natsu Kagami 2025-04-03 13:59:50 +02:00
parent fe4492f004
commit b29ddd5e65
Signed by: nki
GPG key ID: 55A032EB38B49ADB
109 changed files with 4323 additions and 2368 deletions

View file

@ -1,4 +1,10 @@
{ pkgs, runCommand, zstd, lib, buildFHSEnvChroot }:
{
pkgs,
runCommand,
zstd,
lib,
buildFHSEnvChroot,
}:
let
typora-tar = builtins.fetchurl {
@ -13,35 +19,39 @@ let
in
buildFHSEnvChroot {
name = "typora";
targetPkgs = pkgs: with pkgs; [
glib
nss
nspr
at-spi2-atk
cups
dbus
gtk3
pango
cairo
mesa
expat
libdrm
libxkbcommon
alsa-lib
freefont_ttf
liberation_ttf
wayland
libglvnd
electron
] ++ (with pkgs.xorg; [
libX11
libXcomposite
libXdamage
libXext
libXfixes
libXrandr
libxcb
]);
targetPkgs =
pkgs:
with pkgs;
[
glib
nss
nspr
at-spi2-atk
cups
dbus
gtk3
pango
cairo
mesa
expat
libdrm
libxkbcommon
alsa-lib
freefont_ttf
liberation_ttf
wayland
libglvnd
electron
]
++ (with pkgs.xorg; [
libX11
libXcomposite
libXdamage
libXext
libXfixes
libXrandr
libxcb
]);
extraBuildCommands = ''
# ldd ${typora-src}/bin/Typora-linux-arm64/Typora && false
'';

View file

@ -1,4 +1,10 @@
{ pkgs, runCommandLocal, zstd, lib, buildFHSEnvChroot }:
{
pkgs,
runCommandLocal,
zstd,
lib,
buildFHSEnvChroot,
}:
let
zotero-tar = builtins.fetchurl {
@ -14,7 +20,19 @@ let
in
buildFHSEnvChroot {
name = "zotero";
targetPkgs = pkgs: with pkgs; [ gtk3 dbus-glib libstartup_notification libpaper ] ++ (with pkgs.xorg; [ libX11 libXt ]);
targetPkgs =
pkgs:
with pkgs;
[
gtk3
dbus-glib
libstartup_notification
libpaper
]
++ (with pkgs.xorg; [
libX11
libXt
]);
runScript = "env QT_SCALE_FACTOR=2 ${zotero-src}/usr/lib/zotero/zotero";
extraInstallCommands = ''