Commit 41794ae4 authored by Artturin's avatar Artturin
Browse files

nix: use [ ] instead null to empty requiredSystemFeatures

fixes 'error: value is null while a list was expected' with 'nixpkgs.hostPlatform.gcc.arch = "x86_64";'
parent d67ddfd7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ let
    patches = (args.patches or [ ]) ++ [ ./patches/aws-sdk-cpp-TransferManager-ContentEncoding.patch ];

    # only a stripped down version is build which takes a lot less resources to build
    requiredSystemFeatures = null;
    requiredSystemFeatures = [ ];
  });

  aws-sdk-cpp-nix = (aws-sdk-cpp.override {
@@ -77,7 +77,7 @@ let
    customMemoryManagement = false;
  }).overrideAttrs (args: {
    # only a stripped down version is build which takes a lot less resources to build
    requiredSystemFeatures = null;
    requiredSystemFeatures = [ ];
  });