From 8188a35558fd7c29074f1d6f24e32391370f5926 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 9 May 2024 20:44:58 +0200 Subject: refactor(sys/pkgs/comments): Use better direnv api, instead of bare `.env` file --- sys/nixpkgs/pkgs/comments/.env | 3 --- sys/nixpkgs/pkgs/comments/.envrc | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100755 sys/nixpkgs/pkgs/comments/.env diff --git a/sys/nixpkgs/pkgs/comments/.env b/sys/nixpkgs/pkgs/comments/.env deleted file mode 100755 index 8018a738..00000000 --- a/sys/nixpkgs/pkgs/comments/.env +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env sh - -PATH="$(pwd)/target/release/:$(pwd)/target/debug/:$PATH" diff --git a/sys/nixpkgs/pkgs/comments/.envrc b/sys/nixpkgs/pkgs/comments/.envrc index 3550a30f..2b5fbb29 100644 --- a/sys/nixpkgs/pkgs/comments/.envrc +++ b/sys/nixpkgs/pkgs/comments/.envrc @@ -1 +1,4 @@ use flake + +PATH_add ./target/debug +PATH_add ./target/release -- cgit 1.4.1