Nix: format with alejandra

This commit is contained in:
Toast 2025-06-05 13:25:48 +02:00
parent 15a00512a8
commit 174f845b2c
2 changed files with 33 additions and 34 deletions

View file

@ -3,18 +3,18 @@
inputs.nixpkgs.url = "nixpkgs/nixos-unstable";
outputs = { nixpkgs, ... }:
let
outputs = {nixpkgs, ...}: let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
lib = nixpkgs.lib;
in
{
in {
devShells.x86_64-linux.default = pkgs.mkShellNoCC {
name = "leek-devshell";
packages = with pkgs; [
ruff
(
python3.withPackages (ps: with ps;[
python3.withPackages (
ps:
with ps; [
# Dev dependencies
python-lsp-server
pylsp-mypy
@ -32,8 +32,7 @@
};
packages.x86_64-linux = rec {
default = leek;
leek = pkgs.callPackage ./package.nix { };
leek = pkgs.callPackage ./package.nix {};
};
};
}

View file

@ -1,8 +1,9 @@
{
kdePackages,
python3Packages,
qt6
}: python3Packages.buildPythonApplication rec {
qt6,
}:
python3Packages.buildPythonApplication rec {
pname = "leek";
version = "0.2";
pyproject = true;
@ -14,7 +15,6 @@
setuptools-scm
];
dependencies = with python3Packages; [
pyside6
tomlkit