pylyzer: format

This commit is contained in:
Gaetan Lepage 2024-08-16 10:17:01 +02:00
parent f287b2281a
commit 4d300bcf04

View File

@ -1,16 +1,17 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, git
, python3
, makeWrapper
, writeScriptBin
, darwin
, which
, nix-update-script
, testers
, pylyzer
{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
git,
python3,
makeWrapper,
writeScriptBin,
darwin,
which,
nix-update-script,
testers,
pylyzer,
}:
rustPlatform.buildRustPackage rec {
@ -35,15 +36,9 @@ rustPlatform.buildRustPackage rec {
git
python3
makeWrapper
] ++ lib.optionals stdenv.isDarwin [
(writeScriptBin "diskutil" "")
];
] ++ lib.optionals stdenv.isDarwin [ (writeScriptBin "diskutil" "") ];
buildInputs = [
python3
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
buildInputs = [ python3 ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
preBuild = ''
export HOME=$TMPDIR
@ -54,9 +49,7 @@ rustPlatform.buildRustPackage rec {
cp -r $HOME/.erg/ $out/lib/erg
'';
nativeCheckInputs = [
which
];
nativeCheckInputs = [ which ];
checkFlags = [
# this test causes stack overflow