treewide: Remove usages of stdenv.lib by @doronbehar

Per: https://github.com/NixOS/nixpkgs/issues/108938
This commit is contained in:
Doron Behar
2021-01-23 10:52:19 +02:00
parent 4affc40a50
commit f9c6e07c67
13 changed files with 67 additions and 45 deletions
@@ -1,4 +1,14 @@
{ stdenv, fetchFromGitHub, cargo, rustc, rustPlatform, pkg-config, glib, openssl, darwin }:
{ stdenv
, lib
, fetchFromGitHub
, cargo
, rustc
, rustPlatform
, pkg-config
, glib
, openssl
, darwin
}:
rustPlatform.buildRustPackage rec {
version = "0.2.14";
@@ -18,12 +28,12 @@ rustPlatform.buildRustPackage rec {
];
buildInputs = [
openssl
] ++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
# Tests fail because of client server setup which is not possible inside the pure environment,
# see https://github.com/mozilla/sccache/issues/460
checkPhase = null;
meta = with stdenv.lib; {
meta = with lib; {
description = "Ccache with Cloud Storage";
homepage = "https://github.com/mozilla/sccache";
maintainers = with maintainers; [ doronbehar ];