aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/tools/misc/fsatrace
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2019-11-10 10:00:43 +0000
committerzimbatm <zimbatm@zimbatm.com>2019-11-10 10:01:01 +0000
commitf40b8471e745a44929bcc93e6ac76498ebd66fce (patch)
tree63a8f1553eaa13411fe9ddb9e89076e0d3b26872 /pkgs/development/tools/misc/fsatrace
parent18cadc6384b0fea5c6af6d5f61f0d59f8b9ac0af (diff)
fsatrace: 0.0.1-160 -> 0.0.1-324
Diffstat (limited to 'pkgs/development/tools/misc/fsatrace')
-rw-r--r--pkgs/development/tools/misc/fsatrace/default.nix17
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/development/tools/misc/fsatrace/default.nix b/pkgs/development/tools/misc/fsatrace/default.nix
index 152792dcee25..b8202f94ce9b 100644
--- a/pkgs/development/tools/misc/fsatrace/default.nix
+++ b/pkgs/development/tools/misc/fsatrace/default.nix
@@ -2,23 +2,26 @@
stdenv.mkDerivation rec {
pname = "fsatrace";
- version = "0.0.1-160";
+ version = "0.0.1-324";
src = fetchFromGitHub {
owner = "jacereda";
repo = "fsatrace";
- rev = "2bf89d836e0156e68f121b0ffeedade7c9381f77";
- sha256 = "0bndfmm0y738azwzf6m6xg6gjnrwcqlfjsampk67vga40yylwkbw";
+ rev = "41fbba17da580f81ababb32ec7e6e5fd49f11473";
+ sha256 = "1ihm2v723idd6m0kc1z9v73hmfvh2v0vjs8wvx5w54jaxh3lmj1y";
};
- preConfigure = ''
- mkdir -p $out/libexec/${pname}-${version}
- export makeFlags=INSTALLDIR=$out/libexec/${pname}-${version}
+ installDir = "libexec/${pname}-${version}";
+
+ makeFlags = [ "INSTALLDIR=$(out)/$(installDir)" ];
+
+ preInstall = ''
+ mkdir -p $out/$installDir
'';
postInstall = ''
mkdir -p $out/bin
- ln -s $out/libexec/${pname}-${version}/fsatrace $out/bin/
+ ln -s $out/$installDir/fsatrace $out/bin/fsatrace
'';
meta = with stdenv.lib; {