mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
clerk: fix reference to wrapped binary in wrapper
Due to the use of pushd/cd the reference to the wrapper binary was a relative path. This does not work in general as it is depending on the working directory where the wrapper is executed.
This commit is contained in:
parent
cc7c9e53ad
commit
c4f91f848f
1 changed files with 1 additions and 3 deletions
|
@ -74,13 +74,11 @@ stdenv.mkDerivation {
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
pushd $out/bin
|
|
||||||
for f in clerk clerk_rating_client; do
|
for f in clerk clerk_rating_client; do
|
||||||
wrapProgram $f \
|
wrapProgram $out/bin/$f \
|
||||||
--prefix PATH : "${binPath}" \
|
--prefix PATH : "${binPath}" \
|
||||||
--set PERL5LIB $PERL5LIB
|
--set PERL5LIB $PERL5LIB
|
||||||
done
|
done
|
||||||
popd
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = unstableGitUpdater {
|
passthru.updateScript = unstableGitUpdater {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue