nix(refactor): Split memoryTest from tests.nix into memory.nix

This commit is contained in:
Wolfgang Walther
2021-04-18 13:51:39 +02:00
committed by Wolfgang Walther
parent e199337a53
commit 2e73886adc
5 changed files with 39 additions and 27 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ lib.overrideDerivation postgrest.env (
postgrest.nixpkgsUpgrade.bin
]
++ modules
++ lib.optional memoryTests postgrest.tests.memoryTests.bin
++ lib.optional memoryTests postgrest.memory
++ lib.optional docker postgrest.docker;
shellHook =
@@ -53,7 +53,7 @@ lib.overrideDerivation postgrest.env (
builtins.map (bashCompletion: "source ${bashCompletion}") (
builtins.concatLists (builtins.map (module: module.bashCompletion) modules)
++ [ postgrest.hsie.bashCompletion postgrest.nixpkgsUpgrade.bashCompletion ]
++ lib.optional memoryTests postgrest.tests.memoryTests.bashCompletion
++ lib.optional memoryTests postgrest.memory.bashCompletion
++ lib.optional docker postgrest.docker.bashCompletion
)