pylyzer: format
This commit is contained in:
parent
f287b2281a
commit
4d300bcf04
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user