mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
spectre-meltdown-checker: minor cleanup
This commit is contained in:
parent
1d07d8ec4c
commit
cd951e39f2
@ -19,16 +19,20 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
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 \
|
||||
--prefix PATH : ${makeBinPath [ binutils-unwrapped ]}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Spectre & Meltdown vulnerability/mitigation checker for Linux";
|
||||
homepage = https://github.com/speed47/spectre-meltdown-checker;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user