diff options
author | Doron Behar <doron.behar@gmail.com> | 2021-01-23 10:47:37 +0200 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2021-01-23 10:52:19 +0200 |
commit | f9c6e07c67e9196ed1f134b604c5683167a829e0 (patch) | |
tree | 25116119adaa84b8df83c7760459411cd58f45ab /pkgs/development/tools | |
parent | 4affc40a50dbabf2216176307a507b9225e01be7 (diff) | |
download | nixlib-f9c6e07c67e9196ed1f134b604c5683167a829e0.tar nixlib-f9c6e07c67e9196ed1f134b604c5683167a829e0.tar.gz nixlib-f9c6e07c67e9196ed1f134b604c5683167a829e0.tar.bz2 nixlib-f9c6e07c67e9196ed1f134b604c5683167a829e0.tar.lz nixlib-f9c6e07c67e9196ed1f134b604c5683167a829e0.tar.xz nixlib-f9c6e07c67e9196ed1f134b604c5683167a829e0.tar.zst nixlib-f9c6e07c67e9196ed1f134b604c5683167a829e0.zip |
treewide: Remove usages of stdenv.lib by @doronbehar
Per: https://github.com/NixOS/nixpkgs/issues/108938
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/misc/sccache/default.nix | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/pkgs/development/tools/misc/sccache/default.nix b/pkgs/development/tools/misc/sccache/default.nix index 9c4fa7089104..c68a1c1547cc 100644 --- a/pkgs/development/tools/misc/sccache/default.nix +++ b/pkgs/development/tools/misc/sccache/default.nix @@ -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 ]; |