nixos-config/pkgs/lektor-with-plugins/lektor-shell/shell.nix
2019-12-20 17:54:26 +13:00

22 lines
392 B
Nix

{ pkgs ? import <nixpkgs> { } }:
let
bin = pkgs.python.pkgs.buildPythonPackage {
name = "lektor-shell";
src = ./.;
# propagatedBuildInputs = [ pytest numpy pkgs.libsndfile ];
};
in pkgs.mkShell {
# needed pkgs
# -----------
buildInputs = with pkgs; [ bin ];
# run this on start
# -----------------
shellHook = ''
HISTFILE=${toString ./.}/.history
'';
}