about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-09 20:44:58 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-09 20:44:58 +0200
commit8188a35558fd7c29074f1d6f24e32391370f5926 (patch)
tree9621c3e8ec283c20fb69c53d982f0457adaea777
parentfix(sys/libvirt): Disable, as tiamat can't build `ceph` (diff)
downloadnixos-config-8188a35558fd7c29074f1d6f24e32391370f5926.tar.gz
nixos-config-8188a35558fd7c29074f1d6f24e32391370f5926.zip
refactor(sys/pkgs/comments): Use better direnv api, instead of bare `.env` file
Diffstat (limited to '')
-rwxr-xr-xsys/nixpkgs/pkgs/comments/.env3
-rw-r--r--sys/nixpkgs/pkgs/comments/.envrc3
2 files changed, 3 insertions, 3 deletions
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