about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorRick van Schijndel <Mindavi@users.noreply.github.com>2023-12-08 19:16:51 +0100
committerGitHub <noreply@github.com>2023-12-08 19:16:51 +0100
commitdca0fe66a0e96d02ecd41e0b204dd237cd55a891 (patch)
tree5a6fcebf8477e9ab16aa5ffffefbc190e315d49f /pkgs/tools
parent0a2c90162b5e4b0a2bd0f482dfc9423b1e4c788e (diff)
parent954e459405587214b0ec5a3091ac9ec185f9b07c (diff)
Merge pull request #269169 from uninsane/pr-cross-ostree
ostree: support cross compilation
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/misc/ostree/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/misc/ostree/default.nix b/pkgs/tools/misc/ostree/default.nix
index c8485d4a2fa45..dcb4065a02c0e 100644
--- a/pkgs/tools/misc/ostree/default.nix
+++ b/pkgs/tools/misc/ostree/default.nix
@@ -119,6 +119,10 @@ in stdenv.mkDerivation rec {
   makeFlags = [
     "installed_testdir=${placeholder "installedTests"}/libexec/installed-tests/libostree"
     "installed_test_metadir=${placeholder "installedTests"}/share/installed-tests/libostree"
+    # Setting this flag was required as workaround for a clang bug, but seems not relevant anymore.
+    # https://github.com/ostreedev/ostree/commit/fd8795f3874d623db7a82bec56904648fe2c1eb7
+    # See also Makefile-libostree.am
+    "INTROSPECTION_SCANNER_ENV="
   ];
 
   preConfigure = ''