Re: [Nix-dev] Using system.autoUpgrade with a git channel

2017-07-06 Thread Vladimír Čunát via nix-dev
On 07/07/2017 01:46 AM, John Ramsden via nix-dev wrote: > I was also wondering what exactly the 'nixos-rebuild switch' command's > '--upgrade' flag does. It does $ nix-channel --update nixos Best see the source if you want details, as it's relatively simple:

[Nix-dev] OpenJDK 9

2017-07-06 Thread Matt McHenry via nix-dev
Just a heads-up that I'm working on getting this to build, if anyone else is interested: https://github.com/NixOS/nixpkgs/pull/27194 So far, jigsaw / modularization does not seem to have required nearly as many changes to the nix expression as I would've guessed. :)

[Nix-dev] Using system.autoUpgrade with a git channel

2017-07-06 Thread John Ramsden via nix-dev
I'm currently using a checked out version of the channels repository as my channel. I was previously using the integrated channel and using 'system.autoUpgrade.enable = true'. I assume I can no longer use this service for upgrades while I'm using git. Is there any way to run auto upgrades

Re: [Nix-dev] unequal build hash

2017-07-06 Thread Harmen via nix-dev
On Thu, Jul 06, 2017 at 06:35:15PM +0200, Harmen via nix-dev wrote: > Hello all, > another day, another problem :/ > > I'm trying to figure out why a build generates different build IDs in > different > contexts. > I have a nix expression and some code. If I copy that from machine A > to machine

[Nix-dev] unequal build hash

2017-07-06 Thread Harmen via nix-dev
Hello all, another day, another problem :/ I'm trying to figure out why a build generates different build IDs in different contexts. I have a nix expression and some code. If I copy that from machine A to machine B they both give the same build hash. All's fine there. If on machine B I run

[Nix-dev] error: cannot auto-call a function that has an argument without a default value (‘stdenv’)

2017-07-06 Thread tj5527 via nix-dev
Following the example at http://nixos.org/nix/manual/#chap-writing-nix-expressions to build hello package. But `nix-build -A hello` throws error "error: cannot auto-call a function that has an argument without a default value (‘stdenv’)" How can I fix this problem? My nix-build (Nix) is 1.11.11

Re: [Nix-dev] nix-daemon and private git repos

2017-07-06 Thread Harmen via nix-dev
On Tue, Jul 04, 2017 at 08:10:09PM +, zimbatm wrote: Thanks for the suggestions. I took away from this that it's best to not have Nix deal with the checkouts. For now I'll keep things as separate repos, to keep things easier. Eventually I would like to go to one pkgs tree for all repos, but