diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-15 16:19:50 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-15 17:12:36 +0700 |
commit | 8c5d37129fc5097d9fb52e95fb07de75392d1c3c (patch) | |
tree | 40cfd341b87811008151e9ecf053cf7449574b98 /pkgs/tools/misc/mbuffer | |
parent | 94f36839357387fd711d17d762d88c69767f265b (diff) | |
download | nixpkgs-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar nixpkgs-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.gz nixpkgs-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.bz2 nixpkgs-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.lz nixpkgs-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.xz nixpkgs-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.tar.zst nixpkgs-8c5d37129fc5097d9fb52e95fb07de75392d1c3c.zip |
pkgs/tools: stdenv.lib -> lib
Diffstat (limited to 'pkgs/tools/misc/mbuffer')
-rw-r--r-- | pkgs/tools/misc/mbuffer/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/tools/misc/mbuffer/default.nix b/pkgs/tools/misc/mbuffer/default.nix index 4007a3f7738..6fdd4a69ebc 100644 --- a/pkgs/tools/misc/mbuffer/default.nix +++ b/pkgs/tools/misc/mbuffer/default.nix @@ -1,5 +1,5 @@ -{ stdenv, fetchurl, - openssl, +{ lib, stdenv, fetchurl, + openssl, } : stdenv.mkDerivation rec { @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { # objdump binary during cross-building for foreign platforms. # The correct objdump is exposed via the environment variable # $OBJDUMP, which should be used in such cases. - preConfigure = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' + preConfigure = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' substituteInPlace configure --replace "OBJDUMP=$ac_cv_path_OBJDUMP" 'OBJDUMP=''${OBJDUMP}' ''; doCheck = true; @@ -25,8 +25,8 @@ stdenv.mkDerivation rec { meta = { homepage = "http://www.maier-komor.de/mbuffer.html"; description = "A tool for buffering data streams with a large set of unique features"; - license = stdenv.lib.licenses.gpl3; - maintainers = with stdenv.lib.maintainers; [ tokudan ]; - platforms = stdenv.lib.platforms.linux; # Maybe other non-darwin Unix + license = lib.licenses.gpl3; + maintainers = with lib.maintainers; [ tokudan ]; + platforms = lib.platforms.linux; # Maybe other non-darwin Unix }; } |