pkgs/os-specific: stdenv.lib -> lib
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{ stdenv, lib, fetchFromGitHub, kernel }:
|
||||
|
||||
# facetimehd is not supported for kernels older than 3.19";
|
||||
assert stdenv.lib.versionAtLeast kernel.version "3.19";
|
||||
assert lib.versionAtLeast kernel.version "3.19";
|
||||
|
||||
let
|
||||
# Note: When updating this revision:
|
||||
@@ -14,7 +14,7 @@ let
|
||||
# e. see if the module loads back (apps using the camera won't
|
||||
# recover and will have to be restarted) and the camera
|
||||
# still works.
|
||||
srcParams = if (stdenv.lib.versionAtLeast kernel.version "4.8") then
|
||||
srcParams = if (lib.versionAtLeast kernel.version "4.8") then
|
||||
{ # Use mainline branch
|
||||
version = "unstable-2020-04-16";
|
||||
rev = "82626d4892eeb9eb704538bf0dc49a00725ff451";
|
||||
|
||||
Reference in New Issue
Block a user