mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-12-19 05:38:49 +00:00
🐛 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
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:
parent
d01579f0a4
commit
e5cf3d49ad
1 changed files with 9 additions and 16 deletions
|
|
@ -135,28 +135,21 @@ 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
|
||||
];
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue