mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
install: env.nix
This commit is contained in:
1 parent
eff13ac4f5
commit
ea6529b523
2 files changed
+15
-1
No files matched your search
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user