diff options
-rw-r--r-- | Biz/packages.nix | 3 | ||||
-rw-r--r-- | shell.nix | 19 |
2 files changed, 12 insertions, 10 deletions
diff --git a/Biz/packages.nix b/Biz/packages.nix index 4ffbbf8..65bbe6c 100644 --- a/Biz/packages.nix +++ b/Biz/packages.nix @@ -1,5 +1,7 @@ { pkgs, ... }: +# Base set of packages to be expected everywhere. + with pkgs; { @@ -10,7 +12,6 @@ with pkgs; python3 ranger telnet - tinc_pre traceroute vnstat wget @@ -4,17 +4,18 @@ let nixpkgs = import ./nix/nixpkgs.nix; + basepkgs = import ./Biz/packages.nix { inherit (nixpkgs) pkgs; }; + devpkgs = with nixpkgs; [ + hlint + niv + ormolu + python37Packages.black + python37Packages.pylint + wemux + ] in nixpkgs.mkShell ({ name = "bizdev"; - buildInputs = [ - nixpkgs.git - nixpkgs.hlint - nixpkgs.niv - nixpkgs.ormolu - nixpkgs.python37Packages.black - nixpkgs.python37Packages.pylint - nixpkgs.wemux - ]; + buildInputs = devpkgs ++ basepkgs.environment.systemPackages; shellHook = '' echo "biz" | ${nixpkgs.figlet}/bin/figlet | ${nixpkgs.lolcat}/bin/lolcat ''; |