Skip to content

Commit 7e23870

Browse files
committed
fix fnox linux
1 parent 52faacc commit 7e23870

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkgs/fnox/package.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
lib,
3+
stdenv,
34
fetchFromGitHub,
45
rustPlatform,
56
pkg-config,
67
openssl,
78
perl,
9+
udev,
810
}:
911

1012
rustPlatform.buildRustPackage rec {
@@ -25,7 +27,7 @@ rustPlatform.buildRustPackage rec {
2527
perl
2628
];
2729

28-
buildInputs = [ openssl ];
30+
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isLinux [ udev ];
2931

3032
# Some tests require network access or cloud credentials
3133
doCheck = false;

0 commit comments

Comments
 (0)