aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-11-13 22:50:50 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-11-13 22:50:50 +0100
commitc32b17bfe3596191211b745daf82ca976587c2b1 (patch)
tree9d3877b0c340550684bd7d05ddf262e70e4bb1f2
parentbuild(Cargo.{lock,toml},flake.lock): Update (diff)
downloadserver-c32b17bfe3596191211b745daf82ca976587c2b1.zip
build({.envrc,flake.nix}): Switch to direnv's pre_cache
-rw-r--r--.envrc1
-rw-r--r--flake.nix18
2 files changed, 2 insertions, 17 deletions
diff --git a/.envrc b/.envrc
index f1f922c..16e84c6 100644
--- a/.envrc
+++ b/.envrc
@@ -12,6 +12,7 @@
# You should have received a copy of the License along with this program.
# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+pre_cache_load rust sqlite perf
use flake
root="$(git rev-parse --show-toplevel)"
diff --git a/flake.nix b/flake.nix
index 00c1642..7b49cf6 100644
--- a/flake.nix
+++ b/flake.nix
@@ -33,6 +33,7 @@
buildInputs = [
pkgs.openssl
+ pkgs.zstd.dev
];
nativeBuildInputs = [
@@ -60,29 +61,12 @@
packages = [
# rust stuff
- pkgs.cargo
- pkgs.clippy
- pkgs.rustc
- pkgs.rustfmt
pkgs.mold
- pkgs.cargo-edit
- pkgs.cargo-expand
- pkgs.cargo-flamegraph
-
# Api
pkgs.openapi-generator-cli
- # Releng
- pkgs.git-bug
- pkgs.reuse
- pkgs.cocogitto
-
- # Perf
- pkgs.hyperfine
-
# Sqlite
- pkgs.sqlite-interactive
pkgs.graphviz
];
};