aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml4
-rw-r--r--nix/mobase-shell.nix2
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 612eed9..fd072f1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -100,15 +100,13 @@ jobs:
cmake --build /tmp/libloot/build --parallel
cmake --install /tmp/libloot/build
- # Configure full project (disable Rust FFI — not needed for mobase)
+ # Configure full project (only mobase target will be built)
PYBIND11_DIR=\$(python3 -c 'import pybind11; print(pybind11.get_cmake_dir())')
cmake -S . -B build-nix -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DPython_EXECUTABLE=\$(which python3) \
-Dpybind11_DIR=\"\${PYBIND11_DIR}\" \
-DBUILD_PLUGIN_PYTHON=ON \
- -DBUILD_NAK_FFI=OFF \
- -DBUILD_BSA_FFI=OFF \
-DCMAKE_PREFIX_PATH=/tmp/libloot-install \
-Dlibloot_DIR=/tmp/libloot-install
diff --git a/nix/mobase-shell.nix b/nix/mobase-shell.nix
index ecab384..f2b3930 100644
--- a/nix/mobase-shell.nix
+++ b/nix/mobase-shell.nix
@@ -6,6 +6,8 @@ pkgs.mkShell {
ninja
pkg-config
git
+ rustc
+ cargo
];
buildInputs = with pkgs; [