spectre-meltdown-checker: minor cleanup
This commit is contained in:
parent
1d07d8ec4c
commit
cd951e39f2
@ -19,16 +19,20 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
installPhase = with stdenv.lib; ''
|
installPhase = with stdenv.lib; ''
|
||||||
install -D spectre-meltdown-checker.sh $out/bin/spectre-meltdown-checker
|
runHook preInstall
|
||||||
|
|
||||||
|
install -Dm755 spectre-meltdown-checker.sh $out/bin/spectre-meltdown-checker
|
||||||
wrapProgram $out/bin/spectre-meltdown-checker \
|
wrapProgram $out/bin/spectre-meltdown-checker \
|
||||||
--prefix PATH : ${makeBinPath [ binutils-unwrapped ]}
|
--prefix PATH : ${makeBinPath [ binutils-unwrapped ]}
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Spectre & Meltdown vulnerability/mitigation checker for Linux";
|
description = "Spectre & Meltdown vulnerability/mitigation checker for Linux";
|
||||||
homepage = https://github.com/speed47/spectre-meltdown-checker;
|
homepage = https://github.com/speed47/spectre-meltdown-checker;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
platforms = platforms.linux;
|
|
||||||
maintainers = with maintainers; [ dotlambda ];
|
maintainers = with maintainers; [ dotlambda ];
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user