From 897df34e5e55448ae89fbf1a77533e792e7a5c4e Mon Sep 17 00:00:00 2001 From: Akshay Date: Tue, 1 Sep 2020 12:50:05 +0530 Subject: add dev shell --- readme.md | 6 ++++++ shell.nix | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 shell.nix diff --git a/readme.md b/readme.md index 471c30e..d52455a 100644 --- a/readme.md +++ b/readme.md @@ -7,3 +7,9 @@ my technical blog, put together with: - sed: case conversions - [eva](https://github.com/nerdypepper/eva): floating point calculations +### build + + ```shell + # on nixos + $ ./generate.sh + ``` diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..a74f68c --- /dev/null +++ b/shell.nix @@ -0,0 +1,10 @@ +{ pkgs ? import {} }: + +with pkgs; +mkShell { + buildInputs = [ miniserve ]; + shellHook = '' + source ~/.bash_prompt + export PS1="$PS1(site) " + ''; +} -- cgit v1.2.3