From 584239a1a0c97f9d57f2de76c04708127178bceb Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 14 Jul 2020 20:29:53 -0700 Subject: dev: move some commands to shell --- shell.nix | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index a83b9af..7e64e11 100644 --- a/shell.nix +++ b/shell.nix @@ -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 -- cgit v1.2.3