20 lines
325 B
Nix
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
|
|
#'';
|
|
}
|