23 lines
449 B
Nix
23 lines
449 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
pkgs.mkShell {
|
|
name = "nixosbuildshell";
|
|
nativeBuildInputs = with pkgs; [
|
|
git
|
|
nixFlakes
|
|
nix-output-monitor
|
|
python310
|
|
python310Packages.black
|
|
python310Packages.mypy
|
|
python310Packages.pylint
|
|
qtile
|
|
vim
|
|
];
|
|
|
|
shellHook = ''
|
|
PATH=${pkgs.writeShellScriptBin "nix" ''
|
|
${pkgs.nixFlakes}/bin/nix --experimental-features "nix-command flakes" "$@"
|
|
''}/bin:$PATH
|
|
'';
|
|
}
|
|
|