summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/rpi
diff options
context:
space:
mode:
Diffstat (limited to 'tv/5pkgs/rpi')
-rw-r--r--tv/5pkgs/rpi/433Utils/default.nix4
-rw-r--r--tv/5pkgs/rpi/WiringPi/default.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/tv/5pkgs/rpi/433Utils/default.nix b/tv/5pkgs/rpi/433Utils/default.nix
index 78be6de35..136e3dbca 100644
--- a/tv/5pkgs/rpi/433Utils/default.nix
+++ b/tv/5pkgs/rpi/433Utils/default.nix
@@ -1,4 +1,4 @@
-{ fetchFromGitHub, stdenv
+{ fetchFromGitHub, lib, stdenv
, wiringPi ? WiringPi.wiringPi
, wiringPiDev ? WiringPi.wiringPiDev
, WiringPi ? rpiPackages.WiringPi
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
pname = "433Utils-RPi_utils";
version = "2018-06-07";
- src = fetchFromGitHub (stdenv.lib.importJSON ./src.json);
+ src = fetchFromGitHub (lib.importJSON ./src.json);
patches = [
./rc-switch.protocols.patch
diff --git a/tv/5pkgs/rpi/WiringPi/default.nix b/tv/5pkgs/rpi/WiringPi/default.nix
index 61c43556d..40fcaeae4 100644
--- a/tv/5pkgs/rpi/WiringPi/default.nix
+++ b/tv/5pkgs/rpi/WiringPi/default.nix
@@ -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