mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-12-19 13:48:48 +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; [
|
extraPackages =
|
||||||
### Nix
|
with pkgs;
|
||||||
(mkIf cfg.enable-nix [
|
[ oxlint ]
|
||||||
|
++ lib.optionals cfg.enable-nix [
|
||||||
nixd
|
nixd
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
])
|
]
|
||||||
|
++ lib.optionals cfg.enable-python [
|
||||||
### Python
|
|
||||||
(mkIf cfg.enable-python [
|
|
||||||
python3Packages.python-lsp-server
|
python3Packages.python-lsp-server
|
||||||
])
|
]
|
||||||
|
++ lib.optionals cfg.enable-php [
|
||||||
### PHP
|
|
||||||
(mkIf cfg.enable-php [
|
|
||||||
php
|
php
|
||||||
phpPackages.composer
|
phpPackages.composer
|
||||||
pretty-php
|
pretty-php
|
||||||
])
|
];
|
||||||
|
|
||||||
### TypeScript/JavaScript
|
|
||||||
oxlint
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue