diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-15 12:42:41 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-15 14:24:03 +0700 |
commit | 108bdac3d99b6d94d3740422af5945e510238304 (patch) | |
tree | dd91cf11f7c29bbd4542f5bdab986430025c02e2 /pkgs/applications/networking/netperf | |
parent | 2e34288f0d8cf01eea228c7dbc50af9589b885f3 (diff) | |
download | nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar.gz nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar.bz2 nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar.lz nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar.xz nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar.zst nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.zip |
pkgs/applications: stdenv.lib -> lib
Diffstat (limited to 'pkgs/applications/networking/netperf')
-rw-r--r-- | pkgs/applications/networking/netperf/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/networking/netperf/default.nix b/pkgs/applications/networking/netperf/default.nix index 47693cc97f1..fe5588d81f8 100644 --- a/pkgs/applications/networking/netperf/default.nix +++ b/pkgs/applications/networking/netperf/default.nix @@ -1,4 +1,4 @@ -{ libsmbios, stdenv, autoreconfHook, fetchFromGitHub }: +{ libsmbios, lib, stdenv, autoreconfHook, fetchFromGitHub }: stdenv.mkDerivation { pname = "netperf"; @@ -11,7 +11,7 @@ stdenv.mkDerivation { sha256 = "1wbbgdvhadd3qs3afv6i777argdpcyxkwz4yv6aqp223n8ki6dm8"; }; - buildInputs = stdenv.lib.optional (with stdenv.hostPlatform; isx86 && isLinux) libsmbios; + buildInputs = lib.optional (with stdenv.hostPlatform; isx86 && isLinux) libsmbios; nativeBuildInputs = [ autoreconfHook ]; autoreconfPhase = '' autoreconf -i -I src/missing/m4 @@ -24,7 +24,7 @@ stdenv.mkDerivation { homepage = "http://www.netperf.org/netperf/"; license = "Hewlett-Packard BSD-like license"; - platforms = stdenv.lib.platforms.unix; - maintainers = [ stdenv.lib.maintainers.mmlb ]; + platforms = lib.platforms.unix; + maintainers = [ lib.maintainers.mmlb ]; }; } |