mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +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
|
||||
''
|
||||
pushd $out/bin
|
||||
for f in clerk clerk_rating_client; do
|
||||
wrapProgram $f \
|
||||
wrapProgram $out/bin/$f \
|
||||
--prefix PATH : "${binPath}" \
|
||||
--set PERL5LIB $PERL5LIB
|
||||
done
|
||||
popd
|
||||
'';
|
||||
|
||||
passthru.updateScript = unstableGitUpdater {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue