summaryrefslogtreecommitdiffstats
path: root/pkgs/rust/enstate/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-02 21:03:43 +0000
committertv <tv@krebsco.de>2026-12-02 21:03:43 +0000
commit2854de4ef2b45acee31a4362ff1adf52eb2d0c47 (patch)
tree04435d2a9a55d7d434f60884b48cfc7224da7a8b /pkgs/rust/enstate/default.nix
parenta6be5efabb5398823115f1c823dbce64e9bfb906 (diff)
pkgs/rust: clean the packages' sources in the overlay
A package file in pkgs/rust names its source as it is; the overlay builds a cleaned copy of it, and checks the plan against the source itself. So the copy can leave Cargo.lock out next to a Cargo.json, as before, while the lock check still has it. A source in the store already, like a fetched one, isn't copied again.
Diffstat (limited to 'pkgs/rust/enstate/default.nix')
-rw-r--r--pkgs/rust/enstate/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/rust/enstate/default.nix b/pkgs/rust/enstate/default.nix
index ab39cd41..dd375ddb 100644
--- a/pkgs/rust/enstate/default.nix
+++ b/pkgs/rust/enstate/default.nix
@@ -1,10 +1,10 @@
-{ cleanCargoSource, inputs, installShellFiles, runCommand }:
+{ inputs, installShellFiles, runCommand }:
{
name = "enstate";
meta.mainProgram = "enstate";
# The populated source, as for the NixOS module.
- src = cleanCargoSource "enstate" inputs.enstate;
+ src = inputs.enstate;
# From the source as built, which can be a checkout instead.
extraPaths = { src }: [
(runCommand "enstate-bash-completion" {