spectre-meltdown-checker: 0.29 -> 0.31
This commit is contained in:
parent
67e8392383
commit
898ac01eb8
1 changed files with 4 additions and 9 deletions
|
@ -1,24 +1,19 @@
|
|||
{ stdenv, fetchFromGitHub, fetchpatch, makeWrapper, binutils-unwrapped }:
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, makeWrapper, coreutils, binutils-unwrapped }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "spectre-meltdown-checker-${version}";
|
||||
version = "0.29";
|
||||
version = "0.31";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "speed47";
|
||||
repo = "spectre-meltdown-checker";
|
||||
rev = "v${version}";
|
||||
sha256 = "14i9gx1ngs3ixjirlx4qd87pmac916rvv9y61a5f7nl0dig4awl4";
|
||||
};
|
||||
|
||||
patches = fetchpatch {
|
||||
url = "https://github.com/speed47/spectre-meltdown-checker/pull/79.patch";
|
||||
sha256 = "185kac5r97s3dnihgpwx4aashnzffb1f09xv9jw409g7i6cv2sq9";
|
||||
sha256 = "14g5q2prd5w2zhwi7sr9pnalakd87zkvxk0vrzw4cv3x71d44nk2";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace spectre-meltdown-checker.sh \
|
||||
--replace /bin/echo echo
|
||||
--replace /bin/echo ${coreutils}/bin/echo
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
|
Loading…
Reference in a new issue