Merge pull request #34867 from mrVanDalo/feature/memo
memo: refactoring dependency paths
This commit is contained in:
commit
9f05e67af2
@ -1,4 +1,4 @@
|
||||
{ fetchFromGitHub, ack , tree, stdenv, ... }:
|
||||
{ fetchFromGitHub, ag, tree, stdenv, ... }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
@ -15,6 +15,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/{bin,share/man/man1,share/bash-completion/completions}
|
||||
substituteInPlace memo \
|
||||
--replace "ack " "${ag}/bin/ag " \
|
||||
--replace "tree " "${tree}/bin/tree "
|
||||
mv memo $out/bin/
|
||||
mv doc/memo.1 $out/share/man/man1/memo.1
|
||||
mv completion/memo.bash $out/share/bash-completion/completions/memo.sh
|
||||
@ -32,4 +35,4 @@ stdenv.mkDerivation rec {
|
||||
maintainers = [ stdenv.lib.maintainers.mrVanDalo ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user