Merge pull request #165863 from davidkna/patch-3

This commit is contained in:
Sandro
2022-03-27 16:38:43 +02:00
committed by GitHub
+2 -5
View File
@@ -2,8 +2,6 @@
, stdenv
, fetchFromGitHub
, rustPlatform
, pkg-config
, openssl
, installShellFiles
, libiconv
, nixosTests
@@ -22,10 +20,9 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-mqUE4JzNBhvtDpT2LM23eHX8q93wtPqA+/zr/PxEDiE=";
};
nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ pkg-config ];
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
++ lib.optionals stdenv.isDarwin [ libiconv Security Foundation ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security Foundation ];
postInstall = ''
for shell in bash fish zsh; do