From a1b3d8fd1114748038c121d68f76fa1fae0188d3 Mon Sep 17 00:00:00 2001 From: nelind Date: Tue, 27 Jan 2026 18:13:31 +0100 Subject: [PATCH] fix: nix pds build --- .gitignore | 2 +- default.nix | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 7a79873..847d2c3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ /target .env .direnv -.result +result reference-pds-bsky/ reference-relay-indigo/ pds-moover/ diff --git a/default.nix b/default.nix index 5bc96d3..8d4b445 100644 --- a/default.nix +++ b/default.nix @@ -4,7 +4,7 @@ pkg-config, openssl, }: let - toml = (lib.importTOML ./Cargo.toml).package; + toml = (lib.importTOML ./Cargo.toml).workspace.package; in rustPlatform.buildRustPackage { pname = "tranquil-pds"; inherit (toml) version; @@ -15,10 +15,9 @@ in rustPlatform.buildRustPackage { lib.fileset.unions [ ./Cargo.toml ./Cargo.lock - ./src + ./crates ./.sqlx ./migrations - ./frontend ] ); };