From 3b56e44971257a9923baca18ef1ea043a54baeb9 Mon Sep 17 00:00:00 2001 From: kiana-S Date: Tue, 11 Jan 2022 23:28:57 -0500 Subject: [PATCH] Start using direnv --- .direnv/flake-profile | 1 + .direnv/flake-profile-1-link | 1 + .envrc | 3 +++ shell.nix | 8 -------- 4 files changed, 5 insertions(+), 8 deletions(-) create mode 120000 .direnv/flake-profile create mode 120000 .direnv/flake-profile-1-link create mode 100644 .envrc delete mode 100644 shell.nix diff --git a/.direnv/flake-profile b/.direnv/flake-profile new file mode 120000 index 0000000..0c05709 --- /dev/null +++ b/.direnv/flake-profile @@ -0,0 +1 @@ +flake-profile-1-link \ No newline at end of file diff --git a/.direnv/flake-profile-1-link b/.direnv/flake-profile-1-link new file mode 120000 index 0000000..5e2e9a0 --- /dev/null +++ b/.direnv/flake-profile-1-link @@ -0,0 +1 @@ +/nix/store/y7cn6n6zvp9z6vz8k22mfqqh7vkshc5j-nix-shell-env \ No newline at end of file diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..21282b0 --- /dev/null +++ b/.envrc @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +use flake \ No newline at end of file diff --git a/shell.nix b/shell.nix deleted file mode 100644 index 81e3286..0000000 --- a/shell.nix +++ /dev/null @@ -1,8 +0,0 @@ -(import ( - let lock = builtins.fromJSON (builtins.readFile ./flake.lock); - in - fetchTarball { - url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; - sha256 = lock.nodes.flake-compat.locked.narHash; - } -) { src = ./.; }).shellNix \ No newline at end of file