diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7dbf960ce432..65a0673b7505 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3421,7 +3421,7 @@ let libdv = callPackage ../development/libraries/libdv { }; - libdrm = if stdenv.isDarwin then null else (import ../development/libraries/libdrm { + libdrm = if stdenv.isDarwin then null else (callPackage ../development/libraries/libdrm { inherit fetchurl stdenv pkgconfig; inherit (xorg) libpthreadstubs; });