-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
26 lines (23 loc) · 908 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
description = "mongodb packaged from the official binaries to avoid compilation";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { system = "${system}"; config.allowUnfree = true; };
in
{
# set formatter binary for `nix fmt` command
formatter = pkgs.nixpkgs-fmt;
packages = {
mongodb-4_4 = pkgs.callPackage ./packages/mongodb-4_4.nix { };
mongodb-6_0 = pkgs.callPackage ./packages/mongodb-6_0.nix { };
dynamodb_local = pkgs.callPackage ./packages/dynamodb_local.nix { };
adr-tools = pkgs.callPackage ./packages/adr-tools.nix { };
multi-gitter = pkgs.callPackage ./packages/multi-gitter.nix { };
};
});
}