Merge pull request #227506 from Artturin/nixoverridereq

nix: use [ ] instead null to empty requiredSystemFeatures
This commit is contained in:
Artturi 2023-04-22 07:28:40 +03:00 committed by GitHub
commit e6899c3b24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,7 @@ let
patches = (args.patches or [ ]) ++ [ ./patches/aws-sdk-cpp-TransferManager-ContentEncoding.patch ]; 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 # 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 { aws-sdk-cpp-nix = (aws-sdk-cpp.override {
@ -77,7 +77,7 @@ let
customMemoryManagement = false; customMemoryManagement = false;
}).overrideAttrs (args: { }).overrideAttrs (args: {
# only a stripped down version is build which takes a lot less resources to build # only a stripped down version is build which takes a lot less resources to build
requiredSystemFeatures = null; requiredSystemFeatures = [ ];
}); });