Skip to content

Commit e0a83fd

Browse files
authored
Merge pull request #445 from bjornfor/adapt-to-make-binary-wrapper
Replace --suffix-each with multiple --suffix options
2 parents 26f06e4 + afce970 commit e0a83fd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

mach_nix/nix/mkPython.nix

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,9 @@ let
126126
});
127127
final_env = py_final_with_pkgs.override (oa: {
128128
inherit ignoreCollisions;
129-
makeWrapperArgs = [
130-
''--suffix-each PATH ":" "${toString (map (p: "${p}/bin") extra_pkgs_other)}"''
131-
''--set QT_PLUGIN_PATH ${py_final_with_pkgs}/plugins''
132-
];
129+
makeWrapperArgs =
130+
(map (p: "--suffix PATH : ${p}/bin") extra_pkgs_other)
131+
++ [''--set QT_PLUGIN_PATH ${py_final_with_pkgs}/plugins''];
133132
});
134133
in let
135134
self = final_env.overrideAttrs (oa: {

0 commit comments

Comments
 (0)