firefox_decrypt: refactor makeWrapperArgs for macOS support (#283821)
* firefox_decrypt: refactor makeWrapperArgs for macOS support
This commit is contained in:
parent
8a16f9a618
commit
7367cbd4e4
1 changed files with 7 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
|||
, wheel
|
||||
, nss
|
||||
, nix-update-script
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
|
@ -26,7 +27,12 @@ buildPythonApplication rec {
|
|||
wheel
|
||||
];
|
||||
|
||||
makeWrapperArgs = [ "--prefix" "LD_LIBRARY_PATH" ":" (lib.makeLibraryPath [ nss ]) ];
|
||||
makeWrapperArgs = [
|
||||
"--prefix"
|
||||
(if stdenv.isDarwin then "DYLD_LIBRARY_PATH" else "LD_LIBRARY_PATH")
|
||||
":"
|
||||
(lib.makeLibraryPath [ nss ])
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue