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

21 lines
325 B
Nix
Raw Normal View History

2019-12-20 05:54:26 +01:00
{ pkgs ? import <nixpkgs> { } }:
2019-10-24 02:20:38 +02:00
let
callPackage = pkgs.lib.callPackageWith pkgs;
2019-12-20 05:54:26 +01:00
bin = callPackage ./default.nix { };
2019-10-24 02:20:38 +02:00
2019-12-20 05:54:26 +01:00
in pkgs.mkShell {
2019-10-24 02:20:38 +02:00
# needed pkgs
# -----------
2019-12-20 05:54:26 +01:00
buildInputs = with pkgs; [ bin ];
2019-10-24 02:20:38 +02:00
# run this on start
# -----------------
#shellHook = ''
# HISTFILE=${toString ./.}/.history
#'';
}