diff options
-rw-r--r-- | readme.md | 6 | ||||
-rw-r--r-- | shell.nix | 10 |
2 files changed, 16 insertions, 0 deletions
@@ -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 | |||
3 | with pkgs; | ||
4 | mkShell { | ||
5 | buildInputs = [ miniserve ]; | ||
6 | shellHook = '' | ||
7 | source ~/.bash_prompt | ||
8 | export PS1="$PS1(site) " | ||
9 | ''; | ||
10 | } | ||