mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2026-08-20 17:02:49 +01:00
Switched package lists from with syntax to explicit
Appranently, the use of `with` for this is discouraged as it can cause some kinds of compilation/linking issues. Switching to explicit declaration is a bit more verbose, but probably makes organising into modules easier in the long run anyway.
This commit is contained in:
@@ -7,24 +7,21 @@
|
||||
unstablePkgs,
|
||||
...
|
||||
}: {
|
||||
home.packages =
|
||||
(with pkgs; [
|
||||
(python3.withPackages (
|
||||
python-pkgs: [
|
||||
python-pkgs.pip
|
||||
python-pkgs.pkginfo
|
||||
python-pkgs.python-lsp-server
|
||||
python-pkgs.setuptools
|
||||
]
|
||||
))
|
||||
lua54Packages.lua
|
||||
luajitPackages.luarocks
|
||||
nodejs-slim
|
||||
sops
|
||||
stylua
|
||||
])
|
||||
++ (with unstablePkgs; [
|
||||
podman-tui
|
||||
vimPlugins.mason-lspconfig-nvim
|
||||
]);
|
||||
home.packages = [
|
||||
(pkgs.python3.withPackages (
|
||||
python-pkgs: [
|
||||
python-pkgs.pip
|
||||
python-pkgs.pkginfo
|
||||
python-pkgs.python-lsp-server
|
||||
python-pkgs.setuptools
|
||||
]
|
||||
))
|
||||
pkgs.lua54Packages.lua
|
||||
pkgs.luajitPackages.luarocks
|
||||
pkgs.nodejs-slim
|
||||
pkgs.sops
|
||||
pkgs.stylua
|
||||
unstablePkgs.podman-tui
|
||||
unstablePkgs.vimPlugins.mason-lspconfig-nvim
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user