buildRustPackage packages: editorconfig fixes

This commit is contained in:
zowoq 2020-07-31 14:08:19 +10:00
parent afd895debb
commit 7d58c271b8
6 changed files with 6 additions and 7 deletions

View file

@ -10,7 +10,7 @@ rustPlatform.buildRustPackage rec {
rev = "v${version}";
sha256 = "1i93qkz6d8sbk78i4rvx099hnn4lklp4cjvanpm9ssv8na4rqvh2";
};
cargoSha256 = "01dhkis6zswq1y40n7sdq9xv1sp61f2v7nfqbkicyjngmdrmcgrl";
meta = with stdenv.lib; {
@ -21,4 +21,3 @@ rustPlatform.buildRustPackage rec {
platforms = platforms.all;
};
}

View file

@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "0c5vwy3c5ji602dj64z6jqvcpi2xff03zvjbnwihb3ydqwnb3v67";
buildInputs = [ llvmPackages.clang-unwrapped v8 ]
buildInputs = [ llvmPackages.clang-unwrapped v8 ]
++ lib.optionals stdenv.isDarwin [ libiconv ];
configurePhase = ''

View file

@ -19,4 +19,4 @@ rustPlatform.buildRustPackage rec {
license = licenses.agpl3;
maintainers = with maintainers; [ filalex77 ];
};
}
}

View file

@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
# I've suggested using `/usr/bin/env stty`, but doing that isn't quite as simple
# as a substitution, and this works since we have the path to coreutils stty.
patchPhase = ''
substituteInPlace src/screen/unix.rs --replace "/bin/stty" "${coreutils}/bin/stty"
substituteInPlace src/screen/unix.rs --replace "/bin/stty" "${coreutils}/bin/stty"
'';
# some tests require a tty, this variable turns them off for Travis CI,

View file

@ -3,7 +3,7 @@
rustPlatform.buildRustPackage rec {
name = "tdns-cli";
version = "0.0.5";
src = fetchFromGitHub {
owner = "rotty";
repo = name;

View file

@ -9,7 +9,7 @@ rustPlatform.buildRustPackage rec {
rev = "v${version}";
sha256 = "1kkw87c63nx5pqsxcwn6iw27k02j9ls21zyhb5dvf0zaqd9sz7ad";
};
cargoSha256 = "1wybvm9qckx9cd656gx9zrbszmaj66ihh2kk6qqdb6maixcq5k0x";
meta = with lib; {