Commit 2aa49d59 authored by OPNA2608's avatar OPNA2608
Browse files

nix: Fix build on big-endian platforms

parent 55200bca
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  nix-util,
  boost,
  curl,
  aws-c-common,
  aws-sdk-cpp,
  aws-crt-cpp,
  libseccomp,
@@ -24,7 +25,9 @@

  withAWS ?
    # Default is this way because there have been issues building this dependency
    stdenv.hostPlatform == stdenv.buildPlatform && (stdenv.isLinux || stdenv.isDarwin),
    stdenv.hostPlatform == stdenv.buildPlatform
    && (stdenv.isLinux || stdenv.isDarwin)
    && lib.meta.availableOn stdenv.hostPlatform aws-c-common,
}:

mkMesonLibrary (finalAttrs: {