Re: [Nix-dev] some basic questions from a new NixOS user

2011-12-29 Thread Florian Friesdorf
On Thu, 1 Dec 2011 06:33:08 +0100, Nicolas Pierron nicolas.b.pier...@gmail.com wrote: What I did on my server was to add the following lines in /etc/zshenv file. emulate bash alias shopt=false . /etc/profile unalias shopt emulate zsh Thx Nicolas, with 31148/9 this is now in nixpkgs and

Re: [Nix-dev] some basic questions from a new NixOS user

2011-12-01 Thread Linus Arver
Hello Peter, On Thu, Dec 01, 2011 at 08:55:26AM +0100, Peter Simons wrote: Hi Linus, The nix-env -qaP \* command does work, but I am unable to make sense of the output. For example, there is this line: nixpkgs_sys.haskellPackages_ghc704_no_profiling.xmonad

Re: [Nix-dev] some basic questions from a new NixOS user

2011-11-30 Thread Linus Arver
On Wed, Nov 30, 2011 at 05:45:37PM +0100, Peter Simons wrote: Hi Linus, I see that you're on NixOS as well. You might remember me from the Arch-Haskell list some time ago... ah, of course! Now that you've mentioned it, I recognize your name. :-) After supporting Haskell on ArchLinux

Re: [Nix-dev] some basic questions from a new NixOS user

2011-11-30 Thread Linus Arver
On Thu, Dec 01, 2011 at 06:33:08AM +0100, Nicolas Pierron wrote: Hi Linus, On Thu, Dec 1, 2011 at 03:37, Linus Arver linusar...@gmail.com wrote: On Sat, Nov 26, 2011 at 02:42:03PM -0800, Linus Arver wrote: On Fri, Nov 25, 2011 at 12:35:01AM +0100, Nicolas Pierron wrote: Hi Linus,

Re: [Nix-dev] some basic questions from a new NixOS user

2011-11-30 Thread Peter Simons
Hi Linus, The nix-env -qaP \* command does work, but I am unable to make sense of the output. For example, there is this line: nixpkgs_sys.haskellPackages_ghc704_no_profiling.xmonad haskell-xmonad-ghc7.0.4-0.10 I can see that the second column is the package name, but what

Re: [Nix-dev] some basic questions from a new NixOS user

2011-11-29 Thread Peter Simons
Hi Linus, But I must ask, how did you install xmonad? I tried nix-env -i xmonad but it did not work [...] Haskell packages that contain library code generally depend on the version of the compiler they've been built with. Almost all Haskell packages have the appropriate compiler version

Re: [Nix-dev] some basic questions from a new NixOS user

2011-11-29 Thread Shea Levy
Hi all, I'm coming to this thread late and haven't read it all, but in case it's useful I have working nixos configurations that use xmonad available online. I don't use nix-env to install anything on my nixos systems, just nixos-rebuild for it all. See

Re: [Nix-dev] some basic questions from a new NixOS user

2011-11-29 Thread Linus Arver
Hi Peter! I see that you're on NixOS as well. You might remember me from the Arch-Haskell list some time ago... On Tue, Nov 29, 2011 at 06:02:33PM +0100, Peter Simons wrote: Hi Linus, But I must ask, how did you install xmonad? I tried nix-env -i xmonad but it did not work [...]

Re: [Nix-dev] some basic questions from a new NixOS user

2011-11-29 Thread Linus Arver
Hello Shea, On Tue, Nov 29, 2011 at 12:46:16PM -0500, Shea Levy wrote: Hi all, I'm coming to this thread late and haven't read it all, but in case it's useful I have working nixos configurations that use xmonad available online. I don't use nix-env to install anything on my nixos systems,

Re: [Nix-dev] some basic questions from a new NixOS user

2011-11-28 Thread Linus Arver
On Sat, Nov 26, 2011 at 09:20:34PM -0700, Kevin Quick wrote: On Sat, 26 Nov 2011 15:42:03 -0700, Linus Arver linusar...@gmail.com wrote: this in my configuration.nix: services.xserver = { enable = true; layout = us; # Automatic login as regular user (no need to

Re: [Nix-dev] some basic questions from a new NixOS user

2011-11-24 Thread Nicolas Pierron
Hi Linus, On Thu, Nov 24, 2011 at 07:24, Linus Arver linusar...@gmail.com wrote: I'm new to this list. Great. 1a. I've added a new user account with useradd, per the manual, and have done a couple installations of software with `nix-env -i'. This is great, but I'm curious --- what is the

Re: [Nix-dev] some basic questions from a new NixOS user

2011-11-24 Thread Linus Arver
On Thu, Nov 24, 2011 at 08:21:25AM +0100, Marc Weber wrote: You're welcome. 1a. I've added a new user account with useradd, per the manual, and 3 ways: 1) /var/run/current-system/sw/bin/ like installation by configuration.nix 2) system wide root installation ? (not sure about it) 3)

Re: [Nix-dev] some basic questions from a new NixOS user

2011-11-23 Thread Marc Weber
You're welcome. 1a. I've added a new user account with useradd, per the manual, and 3 ways: 1) /var/run/current-system/sw/bin/ like installation by configuration.nix 2) system wide root installation ? (not sure about it) 3) user installation. All can be rolled back. nix-env --list-generations