tv WiringPi: stdenv.lib -> lib

Deprecated since nixpkgs 21.05
This commit is contained in:
tv 2021-06-02 00:24:34 +02:00
parent 291dabd3d7
commit d91cf6bfaa

View file

@ -1,4 +1,4 @@
{ fetchFromGitHub, runCommand, stdenv }:
{ fetchFromGitHub, lib, runCommand, stdenv }:
let
generic = name: extraAttrs:
@ -6,7 +6,7 @@ let
pname = "WiringPi-${name}";
version = "2020-09-14";
src = fetchFromGitHub (stdenv.lib.importJSON ./src.json);
src = fetchFromGitHub (lib.importJSON ./src.json);
buildPhase = ''
runHook postBuild