From ba9da295a0efefc0537d7554b2f4488ae94ece2d Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 4 Feb 2021 22:12:27 -0500 Subject: shell_spine.nix added --- shell.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index 17ccd5b..c2e52a6 100755 --- a/shell.nix +++ b/shell.nix @@ -1,4 +1,3 @@ -#!/usr/bin/env -S nix-shell { pkgs ? import {} }: 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 ''; } -- cgit v1.2.3