From ccc067fd9f0b375366429e84ae782296d14528ed Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Sun, 6 Mar 2022 10:36:54 -0800 Subject: [PATCH] ioztat: 1.1.0 -> 2.0.1 * ioztat: 1.1.0 -> 2.0.1 (#162735) * ioztat: install bin as executable Co-authored-by: Renaud --- pkgs/tools/filesystems/ioztat/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/filesystems/ioztat/default.nix b/pkgs/tools/filesystems/ioztat/default.nix index e87b96482c69..b28f0a36661b 100644 --- a/pkgs/tools/filesystems/ioztat/default.nix +++ b/pkgs/tools/filesystems/ioztat/default.nix @@ -7,13 +7,13 @@ stdenv.mkDerivation rec { pname = "ioztat"; - version = "1.1.0"; + version = "2.0.1"; src = fetchFromGitHub { owner = "jimsalterjrs"; repo = "ioztat"; rev = "v${version}"; - sha256 = "wDRcFlXmXTc1J9MQZqILfPp5jUhX6wW4nOnqspIWVjQ="; + sha256 = "sha256-8svMijgVxSuquPFO2Q2HeqGLdMkwhiujS1DSxC/LRRk="; }; nativeBuildInputs = [ installShellFiles ]; @@ -24,12 +24,15 @@ stdenv.mkDerivation rec { ''; installPhase = '' - mkdir -p $out/bin - cp ioztat $out/bin + runHook preInstall + + install -vDt $out/bin -m 0555 ioztat if [ -f ioztat.8 ]; then installManPage ioztat.8 fi + + runHook postInstall ''; meta = with lib; {