mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
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
|
||||
, 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 New Issue
Block a user