nixos/shell.nix

19 lines
359 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
2022-01-04 21:52:27 +01:00
python3
2023-07-22 14:27:04 +02:00
python310Packages.pylint
2023-06-12 15:22:45 +02:00
vim
2022-01-03 20:00:40 +01:00
];
shellHook = ''
PATH=${pkgs.writeShellScriptBin "nix" ''
${pkgs.nixFlakes}/bin/nix --experimental-features "nix-command flakes" "$@"
''}/bin:$PATH
'';
}