Skip to content

Commit 67a09fb

Browse files
committed
fix Rust remplate
1 parent bbb0372 commit 67a09fb

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

rust/Cargo.lock

-7
This file was deleted.

rust/flake.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@
5151
);
5252
in
5353
{
54-
formatter = eachSystem (pkgs: pkgs.nixfmt-rfc-style);
54+
formatter = eachSystem ({ pkgs, ... }: pkgs.nixfmt-rfc-style);
5555
packages = eachSystem (
5656
{ pkgs, craneLib }:
5757
{
5858
default = craneLib.buildPackage {
5959
src = craneLib.cleanCargoSource ./.;
6060
strictDeps = true;
61-
buildInputs = [ pkgs.openssl ];
61+
# buildInputs = [ pkgs.openssl ];
6262
};
6363
}
6464
);
@@ -74,7 +74,7 @@
7474
mold
7575
];
7676
RUSTFLAGS = "-C link-arg=-fuse-ld=mold";
77-
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ pkgs.openssl ];
77+
# LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ pkgs.openssl ];
7878
};
7979
}
8080
);

0 commit comments

Comments
 (0)