Merge pull request #234901 from figsoda/flags

treewide: convert *Flags to a list
This commit is contained in:
Weijia Wang
2023-05-30 06:12:27 +03:00
committed by GitHub
4 changed files with 5 additions and 5 deletions
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
# This works around a failure building generate-symbol-graph:
# Sources/generate-symbol-graph/main.swift:13:18: error: module 'SwiftDocC' was not compiled for testing
# TODO: Figure out the cause. It doesn't seem to happen outside Nixpkgs.
swiftpmFlags = "--product docc";
swiftpmFlags = [ "--product docc" ];
# TODO: Tests depend on indexstore-db being provided by an existing Swift
# toolchain. (ie. looks for `../lib/libIndexStore.so` relative to swiftc.
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
configurePhase = generated.configure;
# We only install the swift-format binary, so don't need the other products.
swiftpmFlags = "--product swift-format";
swiftpmFlags = [ "--product swift-format" ];
installPhase = ''
binPath="$(swiftpmBinPath)"
@@ -20,7 +20,7 @@
, graphql-core
, gql
, armips
# tests
# tests
, pytestCheckHook
, parameterized
, xmldiff
@@ -70,7 +70,7 @@ buildPythonPackage rec {
};
checkInputs = [ pytestCheckHook parameterized xmldiff ] ++ passthru.optional-dependencies.spritecollab;
pytestFlagsArray = "test/";
pytestFlagsArray = [ "test/" ];
disabledTestPaths = [
"test/skytemple_files_test/common/spritecollab/sc_online_test.py"
"test/skytemple_files_test/compression_container/atupx/atupx_test.py" # Particularly long test
@@ -17,7 +17,7 @@ buildDartApplication rec {
pubspecLockFile = ./pubspec.lock;
vendorHash = "sha256-Atm7zfnDambN/BmmUf4BG0yUz/y6xWzf0reDw3Ad41s=";
dartCompileFlags = "--define=version=${version}";
dartCompileFlags = [ "--define=version=${version}" ];
meta = with lib; {
homepage = "https://github.com/sass/dart-sass";