aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--readme.md6
-rw-r--r--shell.nix10
2 files changed, 16 insertions, 0 deletions
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:
7 - sed: case conversions 7 - sed: case conversions
8 - [eva](https://github.com/nerdypepper/eva): floating point calculations 8 - [eva](https://github.com/nerdypepper/eva): floating point calculations
9 9
10### build
11
12 ```shell
13 # on nixos
14 $ ./generate.sh
15 ```
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..a74f68c
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,10 @@
1{ pkgs ? import <nixpkgs> {} }:
2
3with pkgs;
4mkShell {
5 buildInputs = [ miniserve ];
6 shellHook = ''
7 source ~/.bash_prompt
8 export PS1="$PS1(site) "
9 '';
10}