about summary refs log tree commit diff
path: root/pkgs/development/compilers/gleam
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-22 18:25:31 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-23 08:57:37 +0700
commitacc5f7b18a60bc9b1024e5e1882bf7362e6492e6 (patch)
tree597dab74ebab3915ddff291ec6aa4913f4010c68 /pkgs/development/compilers/gleam
parentbbaff89ceb389e9c21a90eefac60ebc9853144be (diff)
pkgs/development/compilers: stdenv.lib -> lib
Diffstat (limited to 'pkgs/development/compilers/gleam')
-rw-r--r--pkgs/development/compilers/gleam/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/compilers/gleam/default.nix b/pkgs/development/compilers/gleam/default.nix
index b2529986f6e3c..b9c7e7e1e3d2e 100644
--- a/pkgs/development/compilers/gleam/default.nix
+++ b/pkgs/development/compilers/gleam/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, Security }:
+{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, Security }:
 
 rustPlatform.buildRustPackage rec {
   pname = "gleam";
@@ -14,11 +14,11 @@ rustPlatform.buildRustPackage rec {
   nativeBuildInputs = [ pkg-config ];
 
   buildInputs = [ openssl ] ++
-    stdenv.lib.optionals stdenv.isDarwin [ Security ];
+    lib.optionals stdenv.isDarwin [ Security ];
 
   cargoSha256 = "sha256-/l54ezS68loljKNh7AdYMIuCiyIbsMI3jqD9ktjZLfc=";
 
-  meta = with stdenv.lib; {
+  meta = with lib; {
     description = "A statically typed language for the Erlang VM";
     homepage = "https://gleam.run/";
     license = licenses.asl20;