diff options
author | Evan Stoll <evanjsx@gmail.com> | 2020-01-11 13:16:56 -0500 |
---|---|---|
committer | Evan Stoll <evanjsx@gmail.com> | 2020-01-12 15:55:56 -0500 |
commit | 22674e9b4388cb79fd88a45cb739871d35ec8056 (patch) | |
tree | 7d953ac6ce01414765d7ea78ae501821313a4663 /pkgs/tools/misc/broot | |
parent | 315329fec4f0208dd903b966bd40036964766cb9 (diff) | |
download | nixpkgs-22674e9b4388cb79fd88a45cb739871d35ec8056.tar nixpkgs-22674e9b4388cb79fd88a45cb739871d35ec8056.tar.gz nixpkgs-22674e9b4388cb79fd88a45cb739871d35ec8056.tar.bz2 nixpkgs-22674e9b4388cb79fd88a45cb739871d35ec8056.tar.lz nixpkgs-22674e9b4388cb79fd88a45cb739871d35ec8056.tar.xz nixpkgs-22674e9b4388cb79fd88a45cb739871d35ec8056.tar.zst nixpkgs-22674e9b4388cb79fd88a45cb739871d35ec8056.zip |
broot: fix hardlinks during postPatch phase
- add coreutils dependency
Diffstat (limited to 'pkgs/tools/misc/broot')
-rw-r--r-- | pkgs/tools/misc/broot/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/misc/broot/default.nix b/pkgs/tools/misc/broot/default.nix index 63d5ff69e79..1391ae5fee5 100644 --- a/pkgs/tools/misc/broot/default.nix +++ b/pkgs/tools/misc/broot/default.nix @@ -1,4 +1,4 @@ -{ stdenv, rustPlatform, fetchFromGitHub }: +{ stdenv, rustPlatform, fetchFromGitHub, coreutils }: rustPlatform.buildRustPackage rec { pname = "broot"; @@ -13,6 +13,10 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "09gnyj97akychin1axp9kcww3c04xx7x1qnplhs2yxfki62r4y2b"; + postPatch = '' + substituteInPlace src/verb_store.rs --replace '"/bin/' '"${coreutils}/bin/' + ''; + meta = with stdenv.lib; { description = "An interactive tree view, a fuzzy search, a balanced BFS descent and customizable commands"; homepage = "https://dystroy.org/broot/"; |