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