diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2021-02-04 22:12:27 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2021-02-04 22:25:39 -0500 |
commit | ba9da295a0efefc0537d7554b2f4488ae94ece2d (patch) | |
tree | 32c2e6d1d6d87c4dd4c322210baedb042be71ecf /shell.nix | |
parent | some pod samples including default generated and sisu-markup (diff) |
shell_spine.nix added
Diffstat (limited to 'shell.nix')
-rwxr-xr-x | shell.nix | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,3 @@ -#!/usr/bin/env -S nix-shell { pkgs ? import <nixpkgs> {} }: pkgs.mkShell { buildInputs = with pkgs; [ @@ -7,6 +6,9 @@ pkgs.mkShell { buildPhase = "nix build -f default.nix"; shellHook = '' echo "built spine @ ./result/bin/spine" + if [[ -e ".envrc" ]]; then + source .envrc + fi #nix-instantiate | nix show-derivation | jq ''; } |