jetbrains.clion: use lib.optionals instead of lib.optional
This commit is contained in:
parent
a7a29f5ba0
commit
d94d7c7714
@ -28,10 +28,10 @@ let
|
|||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}).overrideAttrs (attrs: {
|
}).overrideAttrs (attrs: {
|
||||||
nativeBuildInputs = (attrs.nativeBuildInputs or []) ++ optional (stdenv.isLinux) [
|
nativeBuildInputs = (attrs.nativeBuildInputs or []) ++ optionals (stdenv.isLinux) [
|
||||||
autoPatchelfHook
|
autoPatchelfHook
|
||||||
];
|
];
|
||||||
buildInputs = (attrs.buildInputs or []) ++ optional (stdenv.isLinux) [
|
buildInputs = (attrs.buildInputs or []) ++ optionals (stdenv.isLinux) [
|
||||||
python3
|
python3
|
||||||
stdenv.cc.cc
|
stdenv.cc.cc
|
||||||
libdbusmenu
|
libdbusmenu
|
||||||
|
Loading…
Reference in New Issue
Block a user