Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clerk: fix reference to wrapped binary in wrapper #367117

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
lucc committed Dec 21, 2024
commit c4f91f848f040a7fceb05244c5a1d37f9f8eba8c
4 changes: 1 addition & 3 deletions pkgs/by-name/cl/clerk/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading