swh: use lib.getExe'

This commit is contained in:
Pol Dellaiera
2026-03-16 08:12:19 +01:00
parent d7a15244d2
commit 4cd88f726b
+2 -1
View File
@@ -1,4 +1,5 @@
{
lib,
python3Packages,
writeShellApplication,
withSwhPythonPackages ? [
@@ -19,7 +20,7 @@ in
writeShellApplication {
name = "swh";
text = ''
${python3'}/bin/swh "$@"
${lib.getExe' python3' "swh"} "$@"
'';
meta = {
inherit (python3Packages.swh-core.meta) license mainProgram platforms;