mirror of
https://github.com/juspay/services-flake.git
synced 2024-09-17 15:28:33 +03:00
test: Apply overlay only on darwin
Other platforms need not unnecessarily build these packages
This commit is contained in:
parent
c03d66eb44
commit
5a54b621ab
@ -17,7 +17,7 @@
|
||||
inherit system;
|
||||
# Required for elastic search
|
||||
config.allowUnfree = true;
|
||||
overlays = import ./overlays;
|
||||
overlays = import ./overlays { inherit system lib; };
|
||||
};
|
||||
process-compose =
|
||||
let
|
||||
|
@ -1,4 +1,13 @@
|
||||
[
|
||||
{ lib, system, ... }:
|
||||
|
||||
let
|
||||
isDarwin = system == "x86_64-darwin" || system == "aarch64-darwin";
|
||||
in
|
||||
lib.optionals isDarwin [
|
||||
(import ./pgadmin.nix)
|
||||
(import ./grafana.nix)
|
||||
]
|
||||
++
|
||||
[
|
||||
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user