mirror of
https://github.com/astro/deadnix.git
synced 2024-11-28 01:44:32 +03:00
Fix warning on nix lazy-trees branch
`warning: Performing inefficient double copy of path 'X' to the store. This can typically be avoided by rewriting an attribute like `src = ./.` to `src = builtins.path { path = ./.; name = "source"; }`.`
This commit is contained in:
parent
edcd45cf79
commit
435226dd2a
@ -11,7 +11,7 @@
|
|||||||
pkgs.rustPlatform.buildRustPackage {
|
pkgs.rustPlatform.buildRustPackage {
|
||||||
pname = "deadnix";
|
pname = "deadnix";
|
||||||
version = self.sourceInfo.lastModifiedDate;
|
version = self.sourceInfo.lastModifiedDate;
|
||||||
src = ./.;
|
src = self;
|
||||||
cargoLock.lockFile = ./Cargo.lock;
|
cargoLock.lockFile = ./Cargo.lock;
|
||||||
nativeCheckInputs = [ pkgs.clippy ];
|
nativeCheckInputs = [ pkgs.clippy ];
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user