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

2017-07-07 Thread Danylo Hlynskyi via nix-dev
I've seen this in a wild system.autoUpgrade.enable = true; system.autoUpgrade.flags = lib.mkForce [ "--no-build-output" "-I" "nixpkgs=/etc/nixos/nixpkgs-channels" ]; systemd.services.nixos-upgrade.path = [ pkgs.git ]; systemd.services.nixos-upgrade.preStart = '' cd

Re: [Nix-dev] OpenJDK 9

2017-07-07 Thread Daniel Peebles via nix-dev
Awesome! Very interested, since I think 9 is the first time the build process on macOS won't suck. I see your expression assumes Linux for now, but I look forward to adjusting it to work on Darwin. Darwin is still suck with binary OpenJDK packages for 7 and 8 that diverge fairly significantly from

Re: [Nix-dev] Zoom package?

2017-07-07 Thread Piotr Bogdan via nix-dev
Hi, the package is available in master and unstable - https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/networking/instant-messengers/zoom-us Mark Gardner via nix-dev writes: > Has anyone started packaging Zoom (https://zoom.us/) for NixOS? > > Mark > -- > Mark Gardner --

Re: [Nix-dev] Zoom package?

2017-07-07 Thread Andreas Herrmann via nix-dev
Hi, I needed it a while ago and packaged it: https://github.com/aherrmann/zoom_client_nix It was a one time use for me at the time and it only worked on stable and was broken on master (see Readme), so I didn't go further to try and add it to nixpkgs. Best, Andreas On Friday 07 July 2017

[Nix-dev] Zoom package?

2017-07-07 Thread Mark Gardner via nix-dev
Has anyone started packaging Zoom (https://zoom.us/) for NixOS? Mark -- Mark Gardner -- ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] unequal build hash

2017-07-07 Thread Guillaume Maudoux (Layus) via nix-dev
On 07/07/17 10:28, Harmen via nix-dev wrote: On Fri, Jul 07, 2017 at 07:59:46AM +0200, Vladimír Čunát wrote: On 07/06/2017 07:35 PM, Harmen via nix-dev wrote: Does that makes sense? Did I forget a 'name' somewhere? When you use things like src = ./.; the directory gets copied into nix

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

2017-07-07 Thread Christian Kauhaus via nix-dev
Am 07.07.2017 um 08:07 schrieb Vladimír Čunát via nix-dev: > That's how it's commonly done in nixpkgs. If you want a *separate* > expression that depends on nixpkgs, you may e.g. start by adding this > line to the beginning of the file: > with import {}; > instead of > { stdenv,

Re: [Nix-dev] unequal build hash

2017-07-07 Thread Harmen via nix-dev
On Fri, Jul 07, 2017 at 07:59:46AM +0200, Vladimír Čunát wrote: > On 07/06/2017 07:35 PM, Harmen via nix-dev wrote: > > Does that makes sense? Did I forget a 'name' somewhere? > > When you use things like > src = ./.; > the directory gets copied into nix store and the resulting path's name > is

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

2017-07-07 Thread John Ramsden via nix-dev
Thanks that's helpful. In other words if I'm using a checked out git repository I'm no longer able to use 'system.autoUpgrade'. -- John Ramsden On Thu, Jul 6, 2017, at 10:56 PM, Vladimír Čunát wrote: > On 07/07/2017 01:46 AM, John Ramsden via nix-dev wrote: > > I was also wondering what

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

2017-07-07 Thread Vladimír Čunát via nix-dev
On 07/06/2017 05:54 PM, tj5527 via nix-dev wrote: > 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’)"

Re: [Nix-dev] unequal build hash

2017-07-07 Thread Vladimír Čunát via nix-dev
On 07/06/2017 07:35 PM, Harmen via nix-dev wrote: > Does that makes sense? Did I forget a 'name' somewhere? When you use things like src = ./.; the directory gets copied into nix store and the resulting path's name is based on the name of the directory. --Vladimir