summary refs log tree commit diff
path: root/pkgs/os-specific/linux/freefall/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/freefall/default.nix')
-rw-r--r--pkgs/os-specific/linux/freefall/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/freefall/default.nix b/pkgs/os-specific/linux/freefall/default.nix
index 53b347b48e3f..e2aa079240a6 100644
--- a/pkgs/os-specific/linux/freefall/default.nix
+++ b/pkgs/os-specific/linux/freefall/default.nix
@@ -1,11 +1,11 @@
 { stdenv, fetchurl }:
 
-let version = "4.2"; in
+let version = "4.3"; in
 stdenv.mkDerivation {
   name = "freefall-${version}";
 
   src = fetchurl {
-    sha256 = "1syv8n5hwzdbx69rsj4vayyzskfq1w5laalg5jjd523my52f086g";
+    sha256 = "1bpkr45i4yzp32p0vpnz8mlv9lk4q2q9awf1kg9khg4a9g42qqja";
     url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
   };
 
@@ -14,10 +14,10 @@ stdenv.mkDerivation {
 
     # Default time-out is a little low, probably because the AC/lid status
     # functions were never implemented. Because no-one still uses HDDs, right?
-    substituteInPlace freefall.c --replace "alarm(2)" "alarm(7)"
+    substituteInPlace freefall.c --replace "alarm(2)" "alarm(5)"
   '';
 
-  makeFlags = "PREFIX=$(out)";
+  makeFlags = [ "PREFIX=$(out)" ];
 
   meta = with stdenv.lib; {
     description = "Free-fall protection for spinning HP/Dell laptop hard drives";