2019-12-20 05:54:26 +01:00
|
|
|
{ pkgs ? import <nixpkgs> { } }:
|
2019-10-24 02:20:38 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
bin = pkgs.python.pkgs.buildPythonPackage {
|
|
|
|
name = "lektor-shell";
|
|
|
|
src = ./.;
|
|
|
|
# propagatedBuildInputs = [ pytest numpy pkgs.libsndfile ];
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
}
|