tv WiringPi: stdenv.lib -> lib
Deprecated since nixpkgs 21.05
This commit is contained in:
parent
291dabd3d7
commit
d91cf6bfaa
|
@ -1,4 +1,4 @@
|
||||||
{ fetchFromGitHub, runCommand, stdenv }:
|
{ fetchFromGitHub, lib, runCommand, stdenv }:
|
||||||
|
|
||||||
let
|
let
|
||||||
generic = name: extraAttrs:
|
generic = name: extraAttrs:
|
||||||
|
@ -6,7 +6,7 @@ let
|
||||||
pname = "WiringPi-${name}";
|
pname = "WiringPi-${name}";
|
||||||
version = "2020-09-14";
|
version = "2020-09-14";
|
||||||
|
|
||||||
src = fetchFromGitHub (stdenv.lib.importJSON ./src.json);
|
src = fetchFromGitHub (lib.importJSON ./src.json);
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
runHook postBuild
|
runHook postBuild
|
||||||
|
|
Loading…
Reference in a new issue