From 0416bc1ddb481555744713319524d4f468eb5a50 Mon Sep 17 00:00:00 2001 From: Joachim Schiele Date: Wed, 14 Mar 2012 18:18:49 +0000 Subject: [PATCH] added a few fixes from the discussion on irc with marc weber svn path=/nixpkgs/trunk/; revision=33072 --- pkgs/misc/my-env/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/misc/my-env/default.nix b/pkgs/misc/my-env/default.nix index eb319b1c9b34..490061e1e96c 100644 --- a/pkgs/misc/my-env/default.nix +++ b/pkgs/misc/my-env/default.nix @@ -25,15 +25,14 @@ buildInputs = [ libtool stdenv perl curl bzip2 openssl aterm242fixes db45 autoconf automake zlib ]; cTags = [ aterm242fixes]; }; - [...] }; } Put this into your .bashrc - loadEnv(){ . "${HOME}/.nix-profile/dev-envs/${1}" } + loadEnv(){ . "${HOME}/.nix-profile/dev-envs/${1}"; } - then nix-env -iA ...nixEnv + then nix-env -iA env-nix and $ loadEnv postgresql