Skip to content

Commit 7267eab

Browse files
committed
imp: apply source filter
- this will safe some rebuild cycles and half a megaton of CO2 over 6monts (ok, I made that last one up)
1 parent 0c02577 commit 7267eab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flake.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
pname = "deploy-rs";
4040
version = "0.1.0";
4141

42-
src = self;
42+
src = nixpkgs.lib.cleanSource ./.;
4343

44-
cargoLock.lockFile = "${self}/Cargo.lock";
44+
cargoLock.lockFile = ./Cargo.lock;
4545
}) // { meta.description = "A Simple multi-profile Nix-flake deploy tool"; };
4646

4747
lib = rec {

0 commit comments

Comments
 (0)