Re: [Nix-dev] Regarding the unstable channel

2015-12-15 Thread Joel Moberg
On Mon, Dec 14, 2015 at 2:53 PM, Eric Sagnes wrote: > Hi, > > I am using the unstable channel and recently encoutered some issues to > update > the system with `nixos-rebuild`, to list a few: > > - flashplayer source not found (PR #11675) > - udevil not building (PR

Re: [Nix-dev] Replace module options

2015-11-29 Thread Joel Moberg
I think every service have a enable attribute, you should be able to set this to false or just override that service with another one (example config.systemd.services.alsa-store.enable=false). nix-repl is useful to inspect what your config looks like, you can invoke it with nix-repl '' and

[Nix-dev] Patch binaries automatically

2015-11-12 Thread Joel Moberg
I think it would be possible to automatically build an env that includes all shared libraries a binary need. But maybe this is already possible or not practical? This would need the ability ask which package a file belongs to. Something hydra could keep track on, not all files needs to be

Re: [Nix-dev] Ideas for a NixOS-related bachelors thesis?

2015-10-29 Thread Joel Moberg
There are some ideas presented for GSOC 2015 here https://nixos.org/wiki/GSOC_2015_ideas_list, my fave is P2P substitutes. This would mean it would be easy to share a cache and in some cases improve speed. Maybe not all features are needed for this project. For example, a interface where you can

Re: [Nix-dev] More Library Trouble (Haskell and Python Libraries)

2015-10-19 Thread Joel Moberg
I don't use haskell but I maybe have the answer for Python. I have set PYTHONPATH=$HOME/.nix-profile/lib/python2.7/site-packages. You may want to set it to /run/current-system/sw/lib/python2.7/site-packages if you installed it to the system profile. You can also install recursive-pth-loader which

[Nix-dev] Using ssh-substituter

2015-10-16 Thread Joel Moberg
I am trying to use the ssh-substituter option availible in nix but not gotten it to work. Maybe I am missing something, I made a simple test with this derivation: { pkgs ? (import { }) }: pkgs.stdenv.mkDerivation { name = "ssh-substitute-test"; phases = [ "buildPhase" ]; buildPhase = ''

Re: [Nix-dev] How do I enable wake-on-LAN?

2015-10-04 Thread Joel Moberg
The manual for configuration options links to the sources. You can look at https://github.com/NixOS/nixpkgs/blob/2702f01ee91b264e623ed762c34f3f2d390b3987/nixos/modules/services/networking/wakeonlan.nix There it looks like powerManagem.enable needs to be true. Other than this I have few ideas, you

Re: [Nix-dev] What license does the content of the nixos wiki and the manuals have?

2015-09-21 Thread Joel Moberg
For nix, nixos, nixpkgs and nixops, see source repos and the file COPYING. I think this license applies if there is no other remark on the manual page. I can't find any license info at the wiki. And then I think the 'default' license is that the author owns the rights to all material. But the wiki

Re: [Nix-dev] NixOS installation on multi-boot system with GRUB

2015-08-29 Thread Joel Moberg
I think you can use chain-loading. Then two GRUBs will be installed, one will load the other. See this example for the config option in NixOS http://hydra.nixos.org/build/25232900/download/2/nixos/options.html#opt-boot.loader.grub.extraEntries. And here is GRUBs manual about it

Re: [Nix-dev] DAW config and Running Dual Kernel

2015-08-23 Thread Joel Moberg
On Sun, Aug 23, 2015 at 2:59 AM, Brian Jones asu...@gmail.com wrote: Hello, 1. Is there anyone that can suggest optimal configuration of NixOS for a Linux based Digital Audio Workstation? Check musnix (https://github.com/musnix/musnix), this project aims to make it easier to optimize the

[Nix-dev] mkDefault behaviour

2015-06-29 Thread Joel Moberg
Hi all I have a question about this expression, also here ( https://gist.github.com/b56994f7da885d0e7101): ``` (import nixpkgs/nixos/lib/eval-config.nix { system = builtins.currentSystem; modules = [ nixpkgs/nixos/modules/virtualisation/virtualbox-image.nix

Re: [Nix-dev] mkDefault behaviour

2015-06-26 Thread Joel Moberg
Sorry this had nothing to do with mkDefault. But I would still like to know why this is happening and why I need to build extra packages. On Fri, Jun 26, 2015 at 8:22 PM, Joel Moberg joel.mob...@gmail.com wrote: Hi all I have a question about this expression, also here ( https

Re: [Nix-dev] nixops virtualbox disk size

2015-06-17 Thread Joel Moberg
seemed to have an affect. On Tue, Jun 16, 2015 at 11:25 AM, Joel Moberg joel.mob...@gmail.com wrote: There is, config.virtualbox.baseImageSize, defined here: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/vir tualbox-image.nix#L13 https://github.com/nixos/nixpkgs

Re: [Nix-dev] nixops virtualbox disk size

2015-06-17 Thread Joel Moberg
figure out how to get it used for either of those that option would work great, but I haven't been able to do that yet. On Tue, Jun 16, 2015 at 12:06 PM, Joel Moberg joel.mob...@gmail.com wrote: I don't use nixops but after looking in the repo i found this: https://github.com/NixOS/nixops

Re: [Nix-dev] nixops virtualbox disk size

2015-06-16 Thread Joel Moberg
There is, config.virtualbox.baseImageSize, defined here: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/vir tualbox-image.nix#L13 ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] [UTILS] nixos-scripts - searching for testers / contributors!

2015-06-09 Thread Joel Moberg
I would like to see the diff feature in nix-env. Or something that tells you a little more about what changed between generations. I think nix-env could be more modelled more like the git interface. You have some scripts that already are similar to some commands in git. This would make it

[Nix-dev] Resolve conflicting packages by overloading?

2015-03-04 Thread Joel Moberg
If I install a package that provides a resource that already exist in the environment I get a conflict, and from nix-env I get the suggestion to change the priority. Instead of setting priority, is there a way to instead specify which resources in a package that are allowed to be overloaded in the

Re: [Nix-dev] Resolve conflicting packages by overloading?

2015-03-04 Thread Joel Moberg
Luca Bruno lethalman88 at gmail.com writes: On 03/03/2015 00:02, Joel Moberg wrote: If I install a package that provides a resource that already exist in the environment I get a conflict, and from nix-env I get the suggestion to change the priority. Instead of setting priority