nixos/shell.nix

24 lines
442 B
Nix
Raw Normal View History

2022-01-03 20:00:40 +01:00
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell {
name = "nixosbuildshell";
nativeBuildInputs = with pkgs; [
git
nixFlakes
python310
python310Packages.black
python310Packages.mypy
2023-07-22 14:27:04 +02:00
python310Packages.pylint
qtile
2023-06-12 15:22:45 +02:00
vim
2022-01-03 20:00:40 +01:00
];
shellHook = ''
2024-01-01 13:14:24 +01:00
PATH=${
pkgs.writeShellScriptBin "nix" ''
${pkgs.nixFlakes}/bin/nix --experimental-features "nix-command flakes" "$@"
''
}/bin:$PATH
2022-01-03 20:00:40 +01:00
'';
}