vengi-tools: fix build on darwin#399609
Conversation
|
|
x86-64 build failure is an existing issue with darwin toolchain on 15.4: |
is this something that will be fixed in the toolchain, or should we mark this as broken for x86_64-darwin? |
6b02301 to
02555a0
Compare
Also, move *.app bundles under /Applications/ directory. Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
02555a0 to
3a2b22a
Compare
|
It's a CLI tool and so should be available outside of an .app bundle. This also fixes passthru.tests on darwin. Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
|
|
| # Disable code signing on macOS | ||
| substituteInPlace cmake/macros.cmake --replace-fail "codesign" "true" | ||
| substituteInPlace cmake/system/apple.cmake --replace-fail "if(APPLE)" "if(false)" |
There was a problem hiding this comment.
FWIW, adding sigtool to the nativeBuildInputs may suffice.
| # calls otool -L on /usr/lib/libSystem.B.dylib and fails because it doesn't exist | ||
| substituteInPlace cmake/applebundle.cmake --replace-fail 'fixup_bundle("''${TARGET_BUNDLE_DIR}" "" "")' "" |
There was a problem hiding this comment.
This is a CMake bug we can hopefully fix for 25.11, but other packages are already working around it, so this seems fine.
Also, move *.app bundles under /Applications/ directory.
Signed-off-by: Ihar Hrachyshka ihar.hrachyshka@gmail.com
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.