Skip to content

Commit 76dd04f

Browse files
committed
fix double copy
Why === * New lazy trees nix warns about double copies from using ./. What changed === * Replace with recommended replacement Test plan === * `nix build` works
1 parent 3662fd5 commit 76dd04f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

toml-editor.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,9 @@ rustPlatform.buildRustPackage {
1010
lockFile = ./Cargo.lock;
1111
};
1212

13-
src = ./.;
13+
src = builtins.path {
14+
path = ./.;
15+
name = "source";
16+
};
17+
1418
}

0 commit comments

Comments
 (0)