summary refs log tree commit diff
path: root/pkgs/development/libraries/pstreams
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-22 00:00:13 +0700
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-01-21 19:11:02 -0800
commit66e44425c6dfecbea68a5d6dc221ccd56561d4f1 (patch)
tree0a5bf7d41356ad47b4e6f0a737bf16c9a4a5b01e /pkgs/development/libraries/pstreams
parent046d24424ef32cca1227519f93f41b5ec8133f31 (diff)
downloadnixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.gz
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.bz2
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.lz
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.xz
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.tar.zst
nixpkgs-66e44425c6dfecbea68a5d6dc221ccd56561d4f1.zip
pkgs/development/libraries: stdenv.lib -> lib
Diffstat (limited to 'pkgs/development/libraries/pstreams')
-rw-r--r--pkgs/development/libraries/pstreams/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/pstreams/default.nix b/pkgs/development/libraries/pstreams/default.nix
index e3cb9dd67a3..bb9b6bc9c84 100644
--- a/pkgs/development/libraries/pstreams/default.nix
+++ b/pkgs/development/libraries/pstreams/default.nix
@@ -1,4 +1,4 @@
-{ stdenv
+{ lib, stdenv
 , fetchgit
 }:
 
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
 
   src = fetchgit {
     url = "https://git.code.sf.net/p/pstreams/code";
-    rev = let dot2Underscore = stdenv.lib.strings.stringAsChars (c: if c == "." then "_" else c);
+    rev = let dot2Underscore = lib.strings.stringAsChars (c: if c == "." then "_" else c);
           in "RELEASE_${dot2Underscore version}";
     sha256 = "0r8aj0nh5mkf8cvnzl8bdy4nm7i74vs83axxfimcd74kjfn0irys";
   };
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
     # `make install` fails on case-insensitive file systems (e.g. APFS by
     # default) because this target exists
 
-  meta = with stdenv.lib; {
+  meta = with lib; {
     description = "POSIX Process Control in C++";
     longDescription = ''
       PStreams allows you to run another program from your C++ application and