Skip to content
This repository was archived by the owner on Oct 5, 2024. It is now read-only.

Commit e5001be

Browse files
committed
refactor: Remove workaround buildInputs
1 parent 051ba6c commit e5001be

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

flake.nix

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,8 @@
3737
);
3838
crate = crane'.buildPackage {
3939
src = ./.;
40-
nativeBuildInputs = [
41-
pkgs.protobuf
42-
43-
# It should not be necessary to add this. However,
44-
# the LD_LIBRARY_PATH is not set correctly in the
45-
# x86_64-linux system.
46-
#
47-
# It takes me a rough time to figure out this.
48-
# Sadly, I give up and add this to make it just work.
49-
# (not the best solution definitely)
50-
pkgs.autoPatchelfHook
51-
];
52-
buildInputs = [
53-
pkgs.sqlite
54-
pkgs.libiconv
55-
];
40+
nativeBuildInputs = [ pkgs.protobuf ];
41+
buildInputs = [ pkgs.libiconv ];
5642
strictDeps = true;
5743
};
5844
in

0 commit comments

Comments
 (0)