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 | 375ea730a6f280c47ddda1f590e8826c2a071960 (patch) | |
| tree | 4a907674ce00bbec45e439c0e8546a981b954ca1 /pkgs/rust/enstate/default.nix | |
| parent | 557a60891891721a606f90a6a234f7a11e07d159 (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.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" { |
