diff options
| author | Fuwn <[email protected]> | 2024-09-14 05:10:43 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-14 05:10:43 -0700 |
| commit | ef71472bfbe457224a24932856e474ba4e8fbf29 (patch) | |
| tree | f5c819df5981664ca1e100c66ff64366adac8336 /.envrc | |
| parent | git: ignore all nix results (diff) | |
| download | nixos-config-ef71472bfbe457224a24932856e474ba4e8fbf29.tar.xz nixos-config-ef71472bfbe457224a24932856e474ba4e8fbf29.zip | |
nix: use lorri as development shell
Diffstat (limited to '.envrc')
| -rw-r--r-- | .envrc | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1 +1,9 @@ -eval "$(lorri direnv)" +#!/usr/bin/env bash + +if type -P lorri &>/dev/null; then + eval "$(lorri direnv)" +else + echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]' + + use nix +fi |