mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 07:48:58 +00:00
buildRustPackage packages: editorconfig fixes
This commit is contained in:
parent
afd895debb
commit
7d58c271b8
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
|
@ -19,4 +19,4 @@ rustPlatform.buildRustPackage rec {
|
|||
license = licenses.agpl3;
|
||||
maintainers = with maintainers; [ filalex77 ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
rustPlatform.buildRustPackage rec {
|
||||
name = "tdns-cli";
|
||||
version = "0.0.5";
|
||||
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rotty";
|
||||
repo = name;
|
||||
|
|
|
@ -9,7 +9,7 @@ rustPlatform.buildRustPackage rec {
|
|||
rev = "v${version}";
|
||||
sha256 = "1kkw87c63nx5pqsxcwn6iw27k02j9ls21zyhb5dvf0zaqd9sz7ad";
|
||||
};
|
||||
|
||||
|
||||
cargoSha256 = "1wybvm9qckx9cd656gx9zrbszmaj66ihh2kk6qqdb6maixcq5k0x";
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue