mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
freefall 4.2 -> 4.3
This commit is contained in:
parent
2798b02ad0
commit
ea8c69039e
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
let version = "4.2"; in
|
let version = "4.3"; in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "freefall-${version}";
|
name = "freefall-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
sha256 = "1syv8n5hwzdbx69rsj4vayyzskfq1w5laalg5jjd523my52f086g";
|
sha256 = "1bpkr45i4yzp32p0vpnz8mlv9lk4q2q9awf1kg9khg4a9g42qqja";
|
||||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
# Default time-out is a little low, probably because the AC/lid status
|
# Default time-out is a little low, probably because the AC/lid status
|
||||||
# functions were never implemented. Because no-one still uses HDDs, right?
|
# 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)" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user