nixos-config/pkgs/lektor-with-plugins/lektor-git/shell.nix

21 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
#'';
}