treewide: remove implicit use of stdenv.lib
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{stdenv, fetchurl, libusb-compat-0_1}:
|
||||
{lib, stdenv, fetchurl, libusb-compat-0_1}:
|
||||
|
||||
with stdenv; mkDerivation rec {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libftdi-0.20";
|
||||
|
||||
src = fetchurl {
|
||||
@@ -14,7 +14,7 @@ with stdenv; mkDerivation rec {
|
||||
|
||||
# Hack to avoid TMPDIR in RPATHs.
|
||||
preFixup = ''rm -rf "$(pwd)" '';
|
||||
configureFlags = lib.optional (!isDarwin) "--with-async-mode";
|
||||
configureFlags = lib.optional (!stdenv.isDarwin) "--with-async-mode";
|
||||
|
||||
# allow async mode. from ubuntu. see:
|
||||
# https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/libftdi/trusty/view/head:/debian/patches/04_async_mode.diff
|
||||
|
||||
Reference in New Issue
Block a user