gitstatus: also install sh files
This commit is contained in:
parent
260940576a
commit
61d1967ab0
@ -13,11 +13,13 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ (callPackage ./romkatv_libgit2.nix {}) ];
|
buildInputs = [ (callPackage ./romkatv_libgit2.nix {}) ];
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
sed -i '1i GITSTATUS_AUTO_INSTALL=''${GITSTATUS_AUTO_INSTALL-0}' gitstatus.plugin.sh
|
||||||
sed -i '1i GITSTATUS_AUTO_INSTALL=''${GITSTATUS_AUTO_INSTALL-0}' gitstatus.plugin.zsh
|
sed -i '1i GITSTATUS_AUTO_INSTALL=''${GITSTATUS_AUTO_INSTALL-0}' gitstatus.plugin.zsh
|
||||||
sed -i "1a GITSTATUS_DAEMON=$out/bin/gitstatusd" install
|
sed -i "1a GITSTATUS_DAEMON=$out/bin/gitstatusd" install
|
||||||
'';
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm755 usrbin/gitstatusd $out/bin/gitstatusd
|
install -Dm755 usrbin/gitstatusd $out/bin/gitstatusd
|
||||||
|
install -Dm444 gitstatus.plugin.sh $out
|
||||||
install -Dm444 gitstatus.plugin.zsh $out
|
install -Dm444 gitstatus.plugin.zsh $out
|
||||||
install -Dm555 install $out
|
install -Dm555 install $out
|
||||||
install -Dm444 build.info $out
|
install -Dm444 build.info $out
|
||||||
@ -26,6 +28,7 @@ stdenv.mkDerivation rec {
|
|||||||
# should not need to worry about.
|
# should not need to worry about.
|
||||||
pathsToLink = [
|
pathsToLink = [
|
||||||
"/bin/gitstatusd"
|
"/bin/gitstatusd"
|
||||||
|
"/gitstatus.plugin.sh"
|
||||||
"/gitstatus.plugin.zsh"
|
"/gitstatus.plugin.zsh"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user