install: env.nix

pull/319/head
undefined 3 years ago
parent eff13ac4f5
commit ea6529b523

@ -0,0 +1,14 @@
{ pkgs ? import <nixpkgs> { system = "x86_64-linux"; } }:
let
mongo = pkgs.callPackage ./mongo.nix {};
in pkgs.buildEnv {
name = "hydro-env";
paths = [
mongo
pkgs.minio
pkgs.nodejs
pkgs.yarn
pkgs.git
];
}

@ -1,6 +1,6 @@
{ stdenv, fetchurl, dpkg, glibc, xz, curl, openssl, gcc-unwrapped, autoPatchelfHook }: { stdenv, fetchurl, dpkg, glibc, xz, curl, openssl, gcc-unwrapped, autoPatchelfHook }:
let in stdenv.mkDerivation { stdenv.mkDerivation {
name = "mongodb-5.0.6"; name = "mongodb-5.0.6";
system = "x86_64-linux"; system = "x86_64-linux";
src = fetchurl { src = fetchurl {

Loading…
Cancel
Save