diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/talloc/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/talloc/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/libraries/talloc/default.nix b/nixpkgs/pkgs/development/libraries/talloc/default.nix index fa920d037a92..553c42da7c4f 100644 --- a/nixpkgs/pkgs/development/libraries/talloc/default.nix +++ b/nixpkgs/pkgs/development/libraries/talloc/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , fetchurl , python3 , pkg-config @@ -43,7 +43,7 @@ stdenv.mkDerivation (rec { ]; # this must not be exported before the ConfigurePhase otherwise waf whines - preBuild = stdenv.lib.optionalString stdenv.hostPlatform.isMusl '' + preBuild = lib.optionalString stdenv.hostPlatform.isMusl '' export NIX_CFLAGS_LINK="-no-pie -shared"; ''; @@ -51,13 +51,13 @@ stdenv.mkDerivation (rec { ${stdenv.cc.targetPrefix}ar q $out/lib/libtalloc.a bin/default/talloc.c.[0-9]*.o ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Hierarchical pool based memory allocator with destructors"; homepage = "https://tdb.samba.org/"; license = licenses.gpl3; platforms = platforms.all; }; -} // stdenv.lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform) { +} // lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform) { # python-config from build Python gives incorrect values when cross-compiling. # If python-config is not found, the build falls back to using the sysconfig # module, which works correctly when cross-compiling. |