diff options
| author | tv <tv@krebsco.de> | 2026-12-02 21:03:43 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-12-02 21:03:43 +0000 |
| commit | 2854de4ef2b45acee31a4362ff1adf52eb2d0c47 (patch) | |
| tree | 04435d2a9a55d7d434f60884b48cfc7224da7a8b /pkgs/rust/enstate | |
| parent | a6be5efabb5398823115f1c823dbce64e9bfb906 (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')
| -rw-r--r-- | pkgs/rust/enstate/default.nix | 4 |
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" { |
