Skip to content

Commit 541cb71

Browse files
committed
cockpit: properly wrap libexec/cockpit-askpass
Signed-off-by: lucasew <[email protected]>
1 parent d74ba48 commit 541cb71

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pkgs/by-name/co/cockpit/package.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,11 @@ stdenv.mkDerivation (finalAttrs: {
165165
} \
166166
--run 'cd $(mktemp -d)'
167167
168-
wrapProgram $out/bin/cockpit-bridge \
169-
--prefix PYTHONPATH : $out/${python3Packages.python.sitePackages}
168+
for binary in $out/bin/cockpit-bridge $out/libexec/cockpit-askpass; do
169+
chmod +x $binary
170+
wrapProgram $binary \
171+
--prefix PYTHONPATH : $out/${python3Packages.python.sitePackages}
172+
done
170173
171174
substituteInPlace $out/${python3Packages.python.sitePackages}/cockpit/_vendor/systemd_ctypes/libsystemd.py \
172175
--replace-warn libsystemd.so.0 ${systemd}/lib/libsystemd.so.0

0 commit comments

Comments
 (0)