summary refs log tree commit diff
path: root/pkgs/os-specific/linux/raspberrypi-eeprom/default.nix
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2021-05-31 15:21:06 -0300
committersuperherointj <5861043+superherointj@users.noreply.github.com>2021-05-31 15:21:06 -0300
commitda159b5308c7b3fa4c36ed794fdb13a6071192fa (patch)
tree72e0d5dde7ff5be19ead85fc13c0237ed7cad5c1 /pkgs/os-specific/linux/raspberrypi-eeprom/default.nix
parent666075648ee0a3a416fcae720e1ee016aa824570 (diff)
downloadnixpkgs-da159b5308c7b3fa4c36ed794fdb13a6071192fa.tar
nixpkgs-da159b5308c7b3fa4c36ed794fdb13a6071192fa.tar.gz
nixpkgs-da159b5308c7b3fa4c36ed794fdb13a6071192fa.tar.bz2
nixpkgs-da159b5308c7b3fa4c36ed794fdb13a6071192fa.tar.lz
nixpkgs-da159b5308c7b3fa4c36ed794fdb13a6071192fa.tar.xz
nixpkgs-da159b5308c7b3fa4c36ed794fdb13a6071192fa.tar.zst
nixpkgs-da159b5308c7b3fa4c36ed794fdb13a6071192fa.zip
raspberrypi-eeprom: 2021-03-18 -> 2021.04.29-138a1
Diffstat (limited to 'pkgs/os-specific/linux/raspberrypi-eeprom/default.nix')
-rw-r--r--pkgs/os-specific/linux/raspberrypi-eeprom/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/raspberrypi-eeprom/default.nix b/pkgs/os-specific/linux/raspberrypi-eeprom/default.nix
index 90af44f8353..5113d3c1070 100644
--- a/pkgs/os-specific/linux/raspberrypi-eeprom/default.nix
+++ b/pkgs/os-specific/linux/raspberrypi-eeprom/default.nix
@@ -1,15 +1,15 @@
 { stdenvNoCC, lib, fetchFromGitHub, makeWrapper
 , python3, binutils-unwrapped, findutils, kmod, pciutils, libraspberrypi
 }:
-stdenvNoCC.mkDerivation {
+stdenvNoCC.mkDerivation rec {
   pname = "raspberrypi-eeprom";
-  version = "2021-03-18";
+  version = "2021.04.29-138a1";
 
   src = fetchFromGitHub {
     owner = "raspberrypi";
     repo = "rpi-eeprom";
-    rev = "ff27ccf69403b01e337fc4ee6e7ae75244028cce";
-    sha256 = "1q1vlld0xxh9zinf5g0qa6jw1dggq93br938mvrfx3nb2aviiwcj";
+    rev = "v${version}";
+    sha256 = "sha256-nzAMPa4gqCAcROFa7z34IoMA3aoMHX9fYCsPFde9dac=";
   };
 
   buildInputs = [ python3 ];
@@ -19,7 +19,7 @@ stdenvNoCC.mkDerivation {
     # Don't try to verify md5 signatures from /var/lib/dpkg and
     # fix path to the configuration.
     substituteInPlace rpi-eeprom-update \
-      --replace 'IGNORE_DPKG_CHECKSUMS=$LOCAL_MODE' 'IGNORE_DPKG_CHECKSUMS=1' \
+      --replace 'IGNORE_DPKG_CHECKSUMS=''${LOCAL_MODE}' 'IGNORE_DPKG_CHECKSUMS=1' \
       --replace '/etc/default' '/etc'
   '';