nix(feat): Change memoryTests shell argument to memory

Avoids confusion with `memoryTest`.
This commit is contained in:
Wolfgang Walther
2021-04-18 13:51:39 +02:00
committed by Wolfgang Walther
parent bc879507ae
commit de73ced34a
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -9,7 +9,7 @@
#
# We highly recommend that use the PostgREST binary cache by installing cachix
# (https://app.cachix.org/) and running `cachix use postgrest`.
{ memoryTests ? false, docker ? false, release ? false }:
{ memory ? false, docker ? false, release ? false }:
let
postgrest =
import ./default.nix;
@@ -41,7 +41,7 @@ lib.overrideDerivation postgrest.env (
postgrest.nixpkgsUpgrade.bin
]
++ modules
++ lib.optional memoryTests postgrest.memory
++ lib.optional memory 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.memory.bashCompletion
++ lib.optional memory postgrest.memory.bashCompletion
++ lib.optional docker postgrest.docker.bashCompletion
)