23 lines
331 B
Nix
23 lines
331 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
|
|
#'';
|
|
}
|