install: env.nix

This commit is contained in:
undefined committed 2022-03-18 09:33:05 +08:00
1 parent eff13ac4f5
commit ea6529b523
2 files changed
+15 -1

No files matched your search

+14
View File
@@ -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 -1
View File
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, dpkg, glibc, xz, curl, openssl, gcc-unwrapped, autoPatchelfHook }:
let in stdenv.mkDerivation {
stdenv.mkDerivation {
name = "mongodb-5.0.6";
system = "x86_64-linux";
src = fetchurl {