about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorCole Helbling <cole.e.helbling@outlook.com>2020-03-19 23:46:39 -0700
committerCole Helbling <cole.e.helbling@outlook.com>2020-04-12 14:06:08 -0700
commit120b5a2c319e33edbe0e94d4f64dfe8355a6092a (patch)
tree7157f1e979e0bfc6b7cd595426cb840d8c3cab28 /pkgs/tools
parent0cc340e1328115d5991a04fbe34cf16f0e784844 (diff)
downloadnixlib-120b5a2c319e33edbe0e94d4f64dfe8355a6092a.tar
nixlib-120b5a2c319e33edbe0e94d4f64dfe8355a6092a.tar.gz
nixlib-120b5a2c319e33edbe0e94d4f64dfe8355a6092a.tar.bz2
nixlib-120b5a2c319e33edbe0e94d4f64dfe8355a6092a.tar.lz
nixlib-120b5a2c319e33edbe0e94d4f64dfe8355a6092a.tar.xz
nixlib-120b5a2c319e33edbe0e94d4f64dfe8355a6092a.tar.zst
nixlib-120b5a2c319e33edbe0e94d4f64dfe8355a6092a.zip
broot: improve robustness of installPhase
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/misc/broot/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/broot/default.nix b/pkgs/tools/misc/broot/default.nix
index 5d31570aacd5..7ec0d533c0d5 100644
--- a/pkgs/tools/misc/broot/default.nix
+++ b/pkgs/tools/misc/broot/default.nix
@@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
 
   postInstall = ''
     # install shell completion files
-    OUT_DIR=target/release/build/broot-*/out
+    OUT_DIR=$releaseDir/build/broot-*/out
 
     installShellCompletion --bash $OUT_DIR/{br,broot}.bash
     installShellCompletion --fish $OUT_DIR/{br,broot}.fish