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

20 lines
325 B
Nix

{ pkgs ? import <nixpkgs> { } }:
let
callPackage = pkgs.lib.callPackageWith pkgs;
bin = callPackage ./default.nix { };
in pkgs.mkShell {
# needed pkgs
# -----------
buildInputs = with pkgs; [ bin ];
# run this on start
# -----------------
#shellHook = ''
# HISTFILE=${toString ./.}/.history
#'';
}