tree-wide: format with nixfmt

Another saturday another useless formatter change.
It's my dotfiles, after all

alejandra doesn't handle c-style inline comments well.
This commit is contained in:
Primrose 2025-11-08 10:15:58 +08:00
parent ec704b5272
commit ebf8468807
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
116 changed files with 1895 additions and 1689 deletions

View file

@ -6,29 +6,33 @@
libxcb,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage (finalAttrs: let
cargoToml = fromTOML (builtins.readFile (finalAttrs.src + "/Cargo.toml"));
cargoLock = finalAttrs.src + "/Cargo.lock";
in {
pname = "emoji-picker";
version = cargoToml.package.version;
rustPlatform.buildRustPackage (
finalAttrs:
let
cargoToml = fromTOML (builtins.readFile (finalAttrs.src + "/Cargo.toml"));
cargoLock = finalAttrs.src + "/Cargo.lock";
in
{
pname = "emoji-picker";
version = cargoToml.package.version;
src = fetchFromGitHub {
owner = "leana8959";
repo = "emoji-picker";
rev = "d77c086bb3ed1ba55560c5027cc58e2c033c9ca7";
hash = "sha256-gLsBhtSnrOdU/qH9WR3UnsclfptRAP0Wv+MJjY+wYGc=";
};
src = fetchFromGitHub {
owner = "leana8959";
repo = "emoji-picker";
rev = "d77c086bb3ed1ba55560c5027cc58e2c033c9ca7";
hash = "sha256-gLsBhtSnrOdU/qH9WR3UnsclfptRAP0Wv+MJjY+wYGc=";
};
cargoLock.lockFile = cargoLock;
cargoLock.lockFile = cargoLock;
nativeBuildInputs = [
python3
pkg-config
];
nativeBuildInputs = [
python3
pkg-config
];
buildInputs = [
openssl.dev
libxcb
];
})
buildInputs = [
openssl.dev
libxcb
];
}
)