firefox_decrypt: refactor makeWrapperArgs for macOS support (#283821)
* firefox_decrypt: refactor makeWrapperArgs for macOS support
This commit is contained in:
parent
8a16f9a618
commit
7367cbd4e4
@ -6,6 +6,7 @@
|
|||||||
, wheel
|
, wheel
|
||||||
, nss
|
, nss
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
|
, stdenv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
@ -26,7 +27,12 @@ buildPythonApplication rec {
|
|||||||
wheel
|
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 { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user