Re: [Nix-dev] How to check which commit my channels are on?

2015-05-23 Thread Joachim Schiele
On 23.05.2015 19:09, Matthias Beyer wrote: Hi, is there a way to query which commit my channels are currently pointing to? Something line `nix-channel --list --commit` or something? If not, I think it would be great to integrate such a feature into the nix-channel application! sounds

[Nix-dev] virt-install --os-variant listing nixos

2015-05-23 Thread 4levels
Hi Nix Devs, what does it take to have nixos listed as a known os variant when using virt-install to run a nixos vm? The command to list all known variants is *osinfo-query os* in Fedora21 (I've seen *virt-install --os-variant list* as well but that doesn't seem to work with F21) According to

Re: [Nix-dev] Nix loves Haskell: the video

2015-05-23 Thread Matthias Beyer
On 22-05-2015 23:38:52, Peter Simons wrote: Hi folks, Rok Garbas kindly organized a NixOS meetup in Berlin the other day [1], Oh man, I'd love a nix meetup near my location (BaWü)! Where can I subscribe to get updates on meetups? Is there a central location somewhere? [...]

Re: [Nix-dev] How to check which commit my channels are on?

2015-05-23 Thread Arseniy Seroka
If you use nixos, you can do `nixos-version`. Sincerely, Arseniy Seroka On 23 May 2015 20:09:11 Matthias Beyer m...@beyermatthias.de wrote: Hi, is there a way to query which commit my channels are currently pointing to? Something line `nix-channel --list --commit` or something? If not,

Re: [Nix-dev] Directly configuring sysfs or /sys (not sysctl)

2015-05-23 Thread Roger Qiu
Just listing the current possible methods for configuring /sys (I haven't tried all of them): * Configuring a custom systemd service to run on boot that just executes something like `bash -c 'echo ... /sys...` * Setting up a udev rule: http://serverfault.com/a/636759/147813 * Use systemd's

Re: [Nix-dev] Haskell-env (via nix-shell) - am I doing this right?

2015-05-23 Thread Matthias Beyer
Hi Peter, thanks, thanks for your suggestion, now I got it working. Unfortunately, I cannot `cabal build` because of one recursive dependency is missing: $ cabal build Building ratehs-0.1... Preprocessing executable 'ratehs' for ratehs-0.1... command line: cannot satisfy

[Nix-dev] Directly configuring sysfs or /sys (not sysctl)

2015-05-23 Thread Roger Qiu
Hi, I was wondering if there was a particular Nix/NixOS configuration primitive that allowed direct permanent editing of arbitrary sysfs `/sys` parameters? Currently it seems that it's possible by creating custom systemd services (or maybe a udev rule) that run at boot which set the

Re: [Nix-dev] Nix loves Haskell: the video

2015-05-23 Thread Linus Arver
Interesting. Shame the recording cut off at the questions. I didn't know you could nix-env -qaP haskellPackages to display the ng package set: we just had a person ask about that in #nixos yesterday! Likewise, but for me I had to prefix the argument with nixpkgs. like this: $ nix-env -qaP

Re: [Nix-dev] Directly configuring sysfs or /sys (not sysctl)

2015-05-23 Thread Bjørn Forsman
On 23 May 2015 at 19:35, Roger Qiu roger@polycademy.com wrote: Just listing the current possible methods for configuring /sys (I haven't tried all of them): * Configuring a custom systemd service to run on boot that just executes something like `bash -c 'echo ... /sys...` * Setting up a

Re: [Nix-dev] How to check which commit my channels are on?

2015-05-23 Thread Luca Bruno
https://nixos.org/wiki/FAQ#How_do_I_know_where.27s_nixpkgs_channel_located_and_at_which_commit.3F On Sat, May 23, 2015 at 8:19 PM, Joachim Schiele j...@lastlog.de wrote: On 23.05.2015 19:09, Matthias Beyer wrote: Hi, is there a way to query which commit my channels are currently

Re: [Nix-dev] Directly configuring sysfs or /sys (not sysctl)

2015-05-23 Thread Roger Qiu
I think sysctl is not the same as sysfs in Linux. The sysfs is a vfs that is mounted on `/sys`, whereas sysctl only controls the settings that are available inside `/proc/sys`. Not all the settings in `/sys` is related to the kernel. So it's probably better for it to be located in `boot.sys`.