diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-06 18:08:50 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-06 18:08:50 +0200 |
commit | 8b30b7894de1f3fe7feb5da40488daef3b151f9c (patch) | |
tree | 02fa704d206bfb24d9b87c6e88d82232997b9b93 | |
parent | fix(nix/module): Mention TVL instead of tvix (diff) | |
download | back-8b30b7894de1f3fe7feb5da40488daef3b151f9c.zip |
fix(nix/package): Use correct paths
-rw-r--r-- | nix/package.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/nix/package.nix b/nix/package.nix index ef00195..b974ea2 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -18,18 +18,17 @@ rustPlatform.buildRustPackage { version = "1.0.0"; src = lib.cleanSourceWith { - src = lib.cleanSource ./.; + src = lib.cleanSource ./..; filter = name: type: (type == "directory") - || (builtins.elem (builtins.baseNameOf name) ["Cargo.toml" "Cargo.lock" "style.css"]) - || (lib.strings.hasSuffix ".rs" (builtins.baseNameOf name)) - || (lib.strings.hasSuffix ".html" (builtins.baseNameOf name)); + || (builtins.elem (builtins.baseNameOf name) ["Cargo.toml" "Cargo.lock" "style.css" "search.png"]) + || (lib.strings.hasSuffix ".rs" (builtins.baseNameOf name)); }; doCheck = true; cargoLock = { - lockFile = ./Cargo.lock; + lockFile = ../Cargo.lock; }; meta = { |