sss_code: fix build (#516538)
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
pkg-config,
|
||||
fontconfig,
|
||||
libiconv,
|
||||
writableTmpDirAsHomeHook,
|
||||
oniguruma,
|
||||
stdenv,
|
||||
libxcb,
|
||||
lib,
|
||||
@@ -27,13 +29,26 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
"sss_code"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.buildPlatform.isDarwin [ libiconv ];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
]
|
||||
++ lib.optionals stdenv.buildPlatform.isDarwin [
|
||||
libiconv
|
||||
]
|
||||
++ lib.optionals stdenv.cc.isClang [
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
fontconfig
|
||||
libxcb
|
||||
oniguruma
|
||||
];
|
||||
|
||||
env = {
|
||||
RUSTONIG_SYSTEM_LIBONIG = true;
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user