diff options
author | Ben Sima <ben@bsima.me> | 2020-07-14 20:29:53 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-07-14 20:29:53 -0700 |
commit | 584239a1a0c97f9d57f2de76c04708127178bceb (patch) | |
tree | 9114e816425ad03c521d1b4d37eea986cd5ecbd0 /shell.nix | |
parent | ca28f4a86b839d702bdaa70925884aa2bd5cf9ed (diff) |
dev: move some commands to shell
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 23 |
1 files changed, 1 insertions, 22 deletions
@@ -1,22 +1 @@ -{ - isDevelopmentShell ? true -}: - -let - nixpkgs = import ./nix/default.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 = devpkgs; - shellHook = '' - echo "biz" | ${nixpkgs.figlet}/bin/figlet | ${nixpkgs.lolcat}/bin/lolcat - ''; -} +(import ./default.nix).env |