mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-26 23:27:29 +03:00
Merge pull request #94766 from marsam/fix-ledger-darwin
ledger: fix build on darwin
This commit is contained in:
commit
e31a4679d5
@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
|
||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||
"-DBUILD_DOCS:BOOL=ON"
|
||||
(lib.optionalString usePython "-DUSE_PYTHON=true")
|
||||
] ++ lib.optionals (usePython && stdenv.isDarwin) [
|
||||
# Fix python lookup on Darwin. Not necessary after
|
||||
# https://github.com/NixOS/nixpkgs/pull/94090 lands in master
|
||||
"-DPython_ROOT_DIR=${python}"
|
||||
];
|
||||
|
||||
# by default, it will query the python interpreter for it's sitepackages location
|
||||
|
Loading…
Reference in New Issue
Block a user