yadm: install from build directory instead of $src
Noticed while trying to use substituteInPlace from prePatch that my changes weren't applying to the installed copy.
This commit is contained in:
parent
34db9b5ee3
commit
32e666aa4b
@ -87,6 +87,12 @@
|
||||
githubId = 178750;
|
||||
name = "Andreas Baldeau";
|
||||
};
|
||||
abathur = {
|
||||
email = "travis.a.everett+nixpkgs@gmail.com";
|
||||
github = "abathur";
|
||||
githubId = 2548365;
|
||||
name = "Travis A. Everett";
|
||||
};
|
||||
abbe = {
|
||||
email = "ashish.is@lostca.se";
|
||||
github = "wahjava";
|
||||
|
@ -19,10 +19,10 @@ stdenv.mkDerivation {
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dt $out/bin $src/yadm
|
||||
install -Dt $out/share/man/man1 $src/yadm.1
|
||||
install -D $src/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 -Dt $out/bin yadm
|
||||
install -Dt $out/share/man/man1 yadm.1
|
||||
install -D completion/yadm.zsh_completion $out/share/zsh/site-functions/_yadm
|
||||
install -D completion/yadm.bash_completion $out/share/bash-completion/completions/yadm.bash
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
@ -36,6 +36,7 @@ stdenv.mkDerivation {
|
||||
* Supplies a method of encrypting confidential data so it can safely be stored in your repository.
|
||||
'';
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = with stdenv.lib.maintainers; [ abathur ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user