🐛 Fix incorrect usage of mkIf (oops)
Some checks failed
Trufflehog: check for exposed secrets / Run trufflehog (push) Has been cancelled
Nix: check for unused code / Run deadnix (push) Has been cancelled
Nix: validate flake.lock / Check Lockfile (push) Has been cancelled
Nix: validate flake / Validate x86_64-linux (push) Has been cancelled

This commit is contained in:
Jo 2025-12-16 03:19:58 +01:00
parent d01579f0a4
commit e5cf3d49ad

View file

@ -135,27 +135,20 @@ in
}
];
extraPackages = with pkgs; [
### Nix
(mkIf cfg.enable-nix [
extraPackages =
with pkgs;
[ oxlint ]
++ lib.optionals cfg.enable-nix [
nixd
nixfmt-rfc-style
])
### Python
(mkIf cfg.enable-python [
]
++ lib.optionals cfg.enable-python [
python3Packages.python-lsp-server
])
### PHP
(mkIf cfg.enable-php [
]
++ lib.optionals cfg.enable-php [
php
phpPackages.composer
pretty-php
])
### TypeScript/JavaScript
oxlint
];
};
};