Merge pull request #84062 from abathur/fix/yadm_src_usage
yadm: install from build directory instead of $src
This commit is contained in:
commit
9612cb9092
|
@ -100,6 +100,12 @@
|
||||||
githubId = 178750;
|
githubId = 178750;
|
||||||
name = "Andreas Baldeau";
|
name = "Andreas Baldeau";
|
||||||
};
|
};
|
||||||
|
abathur = {
|
||||||
|
email = "travis.a.everett+nixpkgs@gmail.com";
|
||||||
|
github = "abathur";
|
||||||
|
githubId = 2548365;
|
||||||
|
name = "Travis A. Everett";
|
||||||
|
};
|
||||||
abbe = {
|
abbe = {
|
||||||
email = "ashish.is@lostca.se";
|
email = "ashish.is@lostca.se";
|
||||||
github = "wahjava";
|
github = "wahjava";
|
||||||
|
|
|
@ -19,10 +19,10 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
install -Dt $out/bin $src/yadm
|
install -Dt $out/bin yadm
|
||||||
install -Dt $out/share/man/man1 $src/yadm.1
|
install -Dt $out/share/man/man1 yadm.1
|
||||||
install -D $src/completion/yadm.zsh_completion $out/share/zsh/site-functions/_yadm
|
install -D completion/yadm.zsh_completion $out/share/zsh/site-functions/_yadm
|
||||||
install -D $src/completion/yadm.bash_completion $out/share/bash-completion/completions/yadm.bash
|
install -D completion/yadm.bash_completion $out/share/bash-completion/completions/yadm.bash
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@ stdenv.mkDerivation {
|
||||||
* Supplies a method of encrypting confidential data so it can safely be stored in your repository.
|
* Supplies a method of encrypting confidential data so it can safely be stored in your repository.
|
||||||
'';
|
'';
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ abathur ];
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue