3
0
Fork 0
forked from mirrors/nixpkgs

spectre-meltdown-checker: 0.36 -> 0.37

This commit is contained in:
Robert Schütz 2018-04-19 08:20:40 +02:00
parent 1c0595f780
commit 6dd9819df0

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "spectre-meltdown-checker-${version}";
version = "0.36";
version = "0.37";
src = fetchFromGitHub {
owner = "speed47";
repo = "spectre-meltdown-checker";
rev = "v${version}";
sha256 = "0pcw300hizzm130d0ip7j0ivf53sjlv6qzsdk9l68bj2lpx9n3kd";
sha256 = "0g1p12jbraj0q5qpvqnbg5v1jwlcx6h04xz5s7jds51l7gf5f9np";
};
prePatch = ''
@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
installPhase = with stdenv.lib; ''
install -Dt $out/lib spectre-meltdown-checker.sh
makeWrapper $out/lib/spectre-meltdown-checker.sh $out/bin/spectre-meltdown-checker \
install -D spectre-meltdown-checker.sh $out/bin/spectre-meltdown-checker
wrapProgram $out/bin/spectre-meltdown-checker \
--prefix PATH : ${makeBinPath [ binutils-unwrapped ]}
'';