pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -18,13 +18,13 @@ stdenv.mkDerivation rec {
|
||||
./webassembly-format-fix.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) file;
|
||||
nativeBuildInputs = lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) file;
|
||||
buildInputs = [ zlib ]
|
||||
++ stdenv.lib.optional stdenv.hostPlatform.isWindows libgnurx;
|
||||
++ lib.optional stdenv.hostPlatform.isWindows libgnurx;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
makeFlags = stdenv.lib.optional stdenv.hostPlatform.isWindows "FILE_COMPILE=file";
|
||||
makeFlags = lib.optional stdenv.hostPlatform.isWindows "FILE_COMPILE=file";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://darwinsys.com/file";
|
||||
|
||||
Reference in New Issue
Block a user