[Nix-commits] [NixOS/nixpkgs] f60fec: SDL2_mixer: add optional fluidsynth support

2017-03-15 Thread Cray Elliott
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f60fec99d19f0f2181661d65f73aca3a85ca81c4
  
https://github.com/NixOS/nixpkgs/commit/f60fec99d19f0f2181661d65f73aca3a85ca81c4
  Author: Cray Elliott 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/development/libraries/SDL2_mixer/default.nix

  Log Message:
  ---
  SDL2_mixer: add optional fluidsynth support

also add flac support and mp3 support, and add myself as the maintainer,
since there is no current maintainer for this package


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] e3abe9: pythonPackages.pants13-pre: init

2017-03-15 Thread Dan Peebles
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e3abe9c6faf2b65717867a3ec97d9e83bfa7
  
https://github.com/NixOS/nixpkgs/commit/e3abe9c6faf2b65717867a3ec97d9e83bfa7
  Author: Dan Peebles 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.pants13-pre: init


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] bf5dc9: keybase: 20170209 -> 1.0.20

2017-03-15 Thread Peter Hoeg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: bf5dc90f304b6dd047a031cd097ada3bc242b7e0
  
https://github.com/NixOS/nixpkgs/commit/bf5dc90f304b6dd047a031cd097ada3bc242b7e0
  Author: Peter Hoeg 
  Date:   2017-03-16 (Thu, 16 Mar 2017)

  Changed paths:
M pkgs/tools/security/keybase/default.nix

  Log Message:
  ---
  keybase: 20170209 -> 1.0.20


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 00addc: pythonPackages.python-jose: init at 1.3.2

2017-03-15 Thread Jörg Thalheim
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 00addcb95e67ea9e6c2a6429216233a9fa96b45d
  
https://github.com/NixOS/nixpkgs/commit/00addcb95e67ea9e6c2a6429216233a9fa96b45d
  Author: Jörg Thalheim 
  Date:   2017-03-16 (Thu, 16 Mar 2017)

  Changed paths:
A pkgs/development/python-modules/python-jose/default.nix
A pkgs/development/python-modules/python-jose/pycryptodome.patch
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.python-jose: init at 1.3.2


  Commit: 09cfbc8cc33bb00c14bede0ee8f941200d0c69be
  
https://github.com/NixOS/nixpkgs/commit/09cfbc8cc33bb00c14bede0ee8f941200d0c69be
  Author: Jörg Thalheim 
  Date:   2017-03-16 (Thu, 16 Mar 2017)

  Changed paths:
A pkgs/development/python-modules/pyGithub/default.nix
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  PyGithub: init at 1.32


  Commit: 26045faaaf3d6893518b329de1b8cb0c2f2673e5
  
https://github.com/NixOS/nixpkgs/commit/26045faaaf3d6893518b329de1b8cb0c2f2673e5
  Author: Jörg Thalheim 
  Date:   2017-03-16 (Thu, 16 Mar 2017)

  Changed paths:
A pkgs/development/tools/github/cligh/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  cligh: init at 0.3

fixes #23914


Compare: https://github.com/NixOS/nixpkgs/compare/a8f269d014dd...26045faaaf3d___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] how to find packages by file?

2017-03-15 Thread Benno Fünfstück
I've been working on a similar tool that stores the paths in a
locatedb-like format and compresses the result with zstandard. Size is
about 13mb

Bjørn Forsman  schrieb am Mi., 15. März 2017,
17:05:

> On 15 March 2017 at 16:39, Domen Kožar  wrote:
> > It's a few GB per channel commit. At least stored in SQL as-is.
> >
> > With compression and denormalization that could be improved though :)
>
> Ah, I guess that's why you have to run "apt-file update" on Debian to
> get it. It's not there by default.
>
> I checked one of the files that it downloads (Contents-amd64.gz).
> That's a 32 MiB file that when extracted becomes a 480 MiB plain text
> file. So it's comparable to your figure -- apt-file downloads a few of
> these files (one per apt repository).
>
> However, apt-file never extracts the files, it simply runs zfgrep on
> the ~32 MiB sized .gz files. So it's not that bad.
>
> Best regards,
> Bjørn Forsman
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Function to look up symbols dynamically?

2017-03-15 Thread Nicolas Pierron
Hi Bryan,

On Wed, Mar 15, 2017 at 5:21 PM, Bryan Ferris  wrote:
> I believe that for complicated configurations this would lead to a tidier
> config.

I honestly don't think this would help you keep your configuration
isolated by concerns as the module system of NixOS does.

> My goal is to be able to add one line to configuration.nix which
> will import everything from the directory, meaning that you can put as much
> or as little as you want into the main configuration file and you can move
> code around easily in order to find the system of organization that fits
> your specific use-case the best.

Modules have an `imports` top-level attribute which can be used to
list other files that have to be included in the configuration.

> This seems like a reasonable approach to a
> useful tool, no?

If you really want to continue that way, I suggest you to look at the
builtin function `builtins.readDir`.
Otherwise, if what you are looking for a better way to lookup options,
maybe you should look at `nixos-option` tool, which should help you
better understand where options are defined both within NixOS, and
within your own modules:

$ nixos-option environment.systemPackages
Declared by:
  
"/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/config/system-path.nix"

Defined by:
  
"/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/x11/desktop-managers/kde4.nix"
  
"/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/x11/desktop-managers/xterm.nix"
  
"/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/virtualisation/virtualbox-guest.nix"
  
"/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/virtualisation/containers.nix"
  
"/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/tasks/swraid.nix"
  ...

If you are looking for reading more about it, I will recommend the 2
following chapters of the NixOS manual:
http://nixos.org/nixos/manual/index.html#sec-configuration-syntax
http://nixos.org/nixos/manual/index.html#sec-writing-modules

-- 
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] a8f269: gitkraken: 2.1.0 -> 2.2.0

2017-03-15 Thread NWDD
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: a8f269d014dde1eb60d81d0153602a204f95ff28
  
https://github.com/NixOS/nixpkgs/commit/a8f269d014dde1eb60d81d0153602a204f95ff28
  Author: NWDD 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/applications/version-management/gitkraken/default.nix

  Log Message:
  ---
  gitkraken: 2.1.0 -> 2.2.0

also added myself as a maintainer


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 55da47: buildGoModule: share the buildFlagsArray with the ...

2017-03-15 Thread Shea Levy
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 55da471ae58dc54e50359974befa2752e45cb42e
  
https://github.com/NixOS/nixpkgs/commit/55da471ae58dc54e50359974befa2752e45cb42e
  Author: Shea Levy 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/development/go-modules/generic/default.nix

  Log Message:
  ---
  buildGoModule: share the buildFlagsArray with the parallel subprocesses

(cherry picked from commit d6c3e744259ad9e364c5f4d9072ce64f950f2dc3)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] cfc7a1: clips: init at 6.30

2017-03-15 Thread Christopher League
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: cfc7a1877a1ff969e6d1dd18af74b467c3c6b5df
  
https://github.com/NixOS/nixpkgs/commit/cfc7a1877a1ff969e6d1dd18af74b467c3c6b5df
  Author: Christopher League 
  Date:   2017-03-16 (Thu, 16 Mar 2017)

  Changed paths:
A pkgs/development/interpreters/clips/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  clips: init at 6.30

CLIPS is a language for building expert systems.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] Google Summer of Code 2017

2017-03-15 Thread Vladimír Čunát
On 03/15/2017 04:33 PM, Oliver Charles wrote:
> On Wed, Mar 15, 2017 at 12:47 PM Domen Kožar  > wrote:
> That being said, I know people will be disappointed by this. I'm sorry,
> I have no excuses really. I was overworked at that time and totally
> forgot to watch the dates.
> 
> I already applied us two times, I hope I'll gather the energy to try
> again next year.
> But since I screwed up this year, someone else can take over if wanted,
> I understand not to be trusted :) 
> 
> As Thomas said, no hard feelings - this is not your fault! There's
> always next year :)

I certainly second that; there's no use in assigning the blame.  I
personally knew the deadline must be soon, but - honestly - I've been
long-term over-busy with things that felt more important to me, even
around nix(os).

--Vladimir




smime.p7s
Description: S/MIME Cryptographic Signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] NixOps: distributed builds, arm7vl

2017-03-15 Thread Drew Hess
Hi all,

I just wrapped up my first NixOps deployment. It’s lovely! Now I’m
ready to proceed to the next stage, and I could use a little guidance.
Here's where I am currently:

- I use a dedicated NixOS host, which I manage by hand (i.e., not with
  NixOps), as a “command-and-control” (CnC) host for my NixOps
  deployments.

- The current deployment is just 2 x86_64-linux physical hosts. These
  machines are fully managed by NixOps from the CnC host.

Here is where I'd like to get to next:

- Add multiple BeagleBone Black (armv7l architecture) hosts to the
  existing NixOps deployment. These will run various services and
  sensors.

- Use a dedicated armv7l build slave for the armv7l package builds.
  The BeagleBone Blacks (BBBs) are seriously underpowered and should 
  never do their own builds.

I just installed NixOS on a Jetson TK1. I would like to use it as the
armv7l build slave since it has pretty decent specs for an armv7l
machine. Currently, it is managed by hand, i.e., not in NixOps.

Here are my questions:

1. Are there any potential problems that arise from managing build
   slaves that are intended for use in NixOps deployments in the
   NixOps deployment itself? Should build slaves be managed by hand,
   like the CnC host? I’m not sure how NixOS’s support for
   distributed builds interacts and/or interferes with NixOps’s 
   deployments.

2. Does NixOps support both x86_64-linux and armv7l physical host
   targets in the same deployment? Do I need to specify that a
   particular target is armv7l, or will NixOps figure that out when it
   adds the host to the database?

3. Is there a way to ensure that NixOps only uses the dedicated armv7l
   build slave for armv7l builds, and never performs builds on the 
   other armv7l targets that it has deployed? I would prefer that
   deployments fail — say, because the dedicated build slave is down —
   than builds ever happen on the BeagleBones.

Thanks!

d

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 186bd5: wireshark-gtk: wrap properly

2017-03-15 Thread Nikolay Amiantov
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 186bd52fe249e27288b36dd941b020d0dfd5a598
  
https://github.com/NixOS/nixpkgs/commit/186bd52fe249e27288b36dd941b020d0dfd5a598
  Author: Nikolay Amiantov 
  Date:   2017-03-16 (Thu, 16 Mar 2017)

  Changed paths:
M pkgs/applications/networking/sniffers/wireshark/default.nix

  Log Message:
  ---
  wireshark-gtk: wrap properly

(cherry picked from commit 545e267adfc796bcceeb5c6702075fb2890cabe2)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 545e26: wireshark-gtk: wrap properly

2017-03-15 Thread Nikolay Amiantov
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 545e267adfc796bcceeb5c6702075fb2890cabe2
  
https://github.com/NixOS/nixpkgs/commit/545e267adfc796bcceeb5c6702075fb2890cabe2
  Author: Nikolay Amiantov 
  Date:   2017-03-16 (Thu, 16 Mar 2017)

  Changed paths:
M pkgs/applications/networking/sniffers/wireshark/default.nix

  Log Message:
  ---
  wireshark-gtk: wrap properly


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] ef5687: emem: 0.2.35 -> 0.2.39

2017-03-15 Thread Rommel M. Martinez
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ef56873e981bf919046c210f8ae44254885409ee
  
https://github.com/NixOS/nixpkgs/commit/ef56873e981bf919046c210f8ae44254885409ee
  Author: Rommel M. Martinez 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/applications/misc/emem/default.nix

  Log Message:
  ---
  emem: 0.2.35 -> 0.2.39


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 3c57a3: sbt_0_12_4: Fix eval

2017-03-15 Thread Tuomas Tynkkynen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3c57a37c55f35bbd9107c072e052781869f138fc
  
https://github.com/NixOS/nixpkgs/commit/3c57a37c55f35bbd9107c072e052781869f138fc
  Author: Tuomas Tynkkynen 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  sbt_0_12_4: Fix eval


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 5d16b2: Revert "JBoss AS: list known vulnerability"

2017-03-15 Thread Graham Christensen
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5d16b24ed2c5bcb588c8cd1be0d5b02640083b8a
  
https://github.com/NixOS/nixpkgs/commit/5d16b24ed2c5bcb588c8cd1be0d5b02640083b8a
  Author: Graham Christensen 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M nixos/modules/services/web-servers/jboss/default.nix
M pkgs/servers/http/jboss/default.nix

  Log Message:
  ---
  Revert "JBoss AS: list known vulnerability"

This reverts commit 061bd1293b2f26bb7951f253582d66147395ef30.


  Commit: ff8b5f913691bfeb5d070af5b3e4c10368ac723c
  
https://github.com/NixOS/nixpkgs/commit/ff8b5f913691bfeb5d070af5b3e4c10368ac723c
  Author: Graham Christensen 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/servers/http/jboss/default.nix

  Log Message:
  ---
  jboss: mark as broken for CVE-2015-7501


Compare: https://github.com/NixOS/nixpkgs/compare/061bd1293b2f...ff8b5f913691___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 061bd1: JBoss AS: list known vulnerability

2017-03-15 Thread Renaud
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 061bd1293b2f26bb7951f253582d66147395ef30
  
https://github.com/NixOS/nixpkgs/commit/061bd1293b2f26bb7951f253582d66147395ef30
  Author: Renaud 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M nixos/modules/services/web-servers/jboss/default.nix
M pkgs/servers/http/jboss/default.nix

  Log Message:
  ---
  JBoss AS: list known vulnerability

CVE-2015-7501

Warning in JBoss module

(cherry picked from commit 72619a86c9166d7b4bea5762070ee14fb72dc6e7)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 7e46b9: JBoss AS: list known vulnerability

2017-03-15 Thread Renaud
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7e46b92f28bfc9d006092457fc9270c40f4e22b8
  
https://github.com/NixOS/nixpkgs/commit/7e46b92f28bfc9d006092457fc9270c40f4e22b8
  Author: Renaud 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M nixos/modules/services/web-servers/jboss/default.nix
M pkgs/servers/http/jboss/default.nix

  Log Message:
  ---
  JBoss AS: list known vulnerability

CVE-2015-7501

Warning in JBoss module

(cherry picked from commit 72619a86c9166d7b4bea5762070ee14fb72dc6e7)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 72619a: JBoss AS: list known vulnerability

2017-03-15 Thread Graham Christensen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 72619a86c9166d7b4bea5762070ee14fb72dc6e7
  
https://github.com/NixOS/nixpkgs/commit/72619a86c9166d7b4bea5762070ee14fb72dc6e7
  Author: Renaud 
  Date:   2017-03-13 (Mon, 13 Mar 2017)

  Changed paths:
M nixos/modules/services/web-servers/jboss/default.nix
M pkgs/servers/http/jboss/default.nix

  Log Message:
  ---
  JBoss AS: list known vulnerability

CVE-2015-7501

Warning in JBoss module


  Commit: e4c0613470007df5f286d375f6f529f076bf2c23
  
https://github.com/NixOS/nixpkgs/commit/e4c0613470007df5f286d375f6f529f076bf2c23
  Author: Graham Christensen 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M nixos/modules/services/web-servers/jboss/default.nix
M pkgs/servers/http/jboss/default.nix

  Log Message:
  ---
  Merge pull request #23674 from c0bw3b/sec/jboss7

JBoss AS: list known vulnerability


Compare: https://github.com/NixOS/nixpkgs/compare/eba3900781ef...e4c061347000___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] eba390: ocamlPackages.rresult: init at 0.5.0

2017-03-15 Thread Vincent Laporte
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: eba3900781ef0abd0a8eb478820280851d1e0fbb
  
https://github.com/NixOS/nixpkgs/commit/eba3900781ef0abd0a8eb478820280851d1e0fbb
  Author: Vincent Laporte 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
A pkgs/development/ocaml-modules/rresult/default.nix
M pkgs/top-level/ocaml-packages.nix

  Log Message:
  ---
  ocamlPackages.rresult: init at 0.5.0

Rresult is an OCaml module for handling computation results and errors in an
explicit and declarative manner without resorting to exceptions.

Homepage: http://erratique.ch/software/rresult


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 18a272: sbt-0.12.4: add an older stable version (#23933)

2017-03-15 Thread Sergii Paryzhskyi
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 18a272ef756ee6901cce4726e97a9ddb495b15ad
  
https://github.com/NixOS/nixpkgs/commit/18a272ef756ee6901cce4726e97a9ddb495b15ad
  Author: Sergii Paryzhskyi 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M lib/maintainers.nix
A pkgs/development/tools/build-managers/sbt/0.12.4.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  sbt-0.12.4: add an older stable version (#23933)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] da6619: libs: make splitString also split last separator (...

2017-03-15 Thread Léo Gaspard
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: da6619cffed4aae4da168a11ae46473ad397b07e
  
https://github.com/NixOS/nixpkgs/commit/da6619cffed4aae4da168a11ae46473ad397b07e
  Author: Léo Gaspard 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M lib/strings.nix
M lib/tests.nix

  Log Message:
  ---
  libs: make splitString also split last separator (#23851)

* libs: make splitString also split last separator

* libs: add tests for splitStrings


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 68a1dc: rustRegistry: 2017-02-19 -> 2017-03-13

2017-03-15 Thread Daiderd Jordan
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 68a1dc63042f2d70c0fc90bf4d22da45ec391d8b
  
https://github.com/NixOS/nixpkgs/commit/68a1dc63042f2d70c0fc90bf4d22da45ec391d8b
  Author: mimadrid 
  Date:   2017-03-13 (Mon, 13 Mar 2017)

  Changed paths:
M pkgs/top-level/rust-packages.nix

  Log Message:
  ---
  rustRegistry: 2017-02-19 -> 2017-03-13


  Commit: 363cfbd23dd6653a12fd2a5deba97befe8816426
  
https://github.com/NixOS/nixpkgs/commit/363cfbd23dd6653a12fd2a5deba97befe8816426
  Author: mimadrid 
  Date:   2017-03-13 (Mon, 13 Mar 2017)

  Changed paths:
M pkgs/tools/text/ripgrep/default.nix

  Log Message:
  ---
  ripgrep: 0.4.0 -> 0.5.0


  Commit: c8ddac7c767b9d9fe1e5fcea5062a08c4c7a96b4
  
https://github.com/NixOS/nixpkgs/commit/c8ddac7c767b9d9fe1e5fcea5062a08c4c7a96b4
  Author: Daiderd Jordan 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/tools/text/ripgrep/default.nix
M pkgs/top-level/rust-packages.nix

  Log Message:
  ---
  Merge pull request #23864 from mimadrid/update/ripgrep-0.5.0

ripgrep: 0.4.0 -> 0.5.0


Compare: https://github.com/NixOS/nixpkgs/compare/373d83516ad5...c8ddac7c767b___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] e7dca2: ITK build on darwin

2017-03-15 Thread Daiderd Jordan
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e7dca2c2309389699d510f7df4183331d827ea4c
  
https://github.com/NixOS/nixpkgs/commit/e7dca2c2309389699d510f7df4183331d827ea4c
  Author: Ashley Gillman 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/development/libraries/itk/default.nix

  Log Message:
  ---
  ITK build on darwin


  Commit: 373d83516ad500a5a1bf0689c705a411dc39808d
  
https://github.com/NixOS/nixpkgs/commit/373d83516ad500a5a1bf0689c705a411dc39808d
  Author: Daiderd Jordan 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/development/libraries/itk/default.nix

  Log Message:
  ---
  Merge pull request #23918 from ashgillman/patch-2

ITK builds on darwin


Compare: https://github.com/NixOS/nixpkgs/compare/0cfa1b0ddeb5...373d83516ad5___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 0cfa1b: openjdk-darwin: use a sensible crypto policy

2017-03-15 Thread Dan Peebles
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0cfa1b0ddeb5fb4083eea532ea9eccfbc4ad9d98
  
https://github.com/NixOS/nixpkgs/commit/0cfa1b0ddeb5fb4083eea532ea9eccfbc4ad9d98
  Author: Dan Peebles 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/development/compilers/openjdk-darwin/8.nix

  Log Message:
  ---
  openjdk-darwin: use a sensible crypto policy

We should really move to a source build of openjdk on Darwin, but that's
tricky so for now we continue to hack around it and do stuff like this,
even though crypto export polices are stupid and make no sense. No, I'm
not bitter at all that I need to do this 


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 376d96: bundler: 1.14.4 -> 1.14.6 (#23930)

2017-03-15 Thread Andrzej Trzaska
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 376d960034d90c33b9a59db168151b18ccb8bdc5
  
https://github.com/NixOS/nixpkgs/commit/376d960034d90c33b9a59db168151b18ccb8bdc5
  Author: Andrzej Trzaska 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/development/ruby-modules/bundler/default.nix

  Log Message:
  ---
  bundler: 1.14.4 -> 1.14.6 (#23930)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 77b7b7: bup: 0.28.1 -> 0.29 (#23876)

2017-03-15 Thread edanaher
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 77b7b7df33e05d5cf238b0e0a0fd73b7c48d27fa
  
https://github.com/NixOS/nixpkgs/commit/77b7b7df33e05d5cf238b0e0a0fd73b7c48d27fa
  Author: edanaher 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/tools/backup/bup/default.nix

  Log Message:
  ---
  bup: 0.28.1 -> 0.29 (#23876)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 893a53: linux_4_9: 4.9.14 -> 4.9.15

2017-03-15 Thread Joachim Fasting
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 893a539fcdd4552c6f3a06a41d515dff8a9c95cb
  
https://github.com/NixOS/nixpkgs/commit/893a539fcdd4552c6f3a06a41d515dff8a9c95cb
  Author: Joachim Fasting 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/os-specific/linux/kernel/linux-4.9.nix

  Log Message:
  ---
  linux_4_9: 4.9.14 -> 4.9.15

(cherry picked from commit 12648a455bd9d7755b635f0732ce402590e1bd6f)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 18a277: linux_4_9: 4.9.13 -> 4.9.14

2017-03-15 Thread Joachim Fasting
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 18a27746a6a7c020d495f8b160fe875e6444db7f
  
https://github.com/NixOS/nixpkgs/commit/18a27746a6a7c020d495f8b160fe875e6444db7f
  Author: Joachim Fasting 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/os-specific/linux/kernel/linux-4.9.nix

  Log Message:
  ---
  linux_4_9: 4.9.13 -> 4.9.14

(cherry picked from commit 8091c1b208a439c068300b7c564ea8470445dd21)


  Commit: 286cc49e6aa36e40d8091d04c7ffac8673ee3e48
  
https://github.com/NixOS/nixpkgs/commit/286cc49e6aa36e40d8091d04c7ffac8673ee3e48
  Author: Joachim Fasting 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/os-specific/linux/kernel/linux-4.9.nix

  Log Message:
  ---
  linux_4_9: 4.9.14 -> 4.9.15

(cherry picked from commit 12648a455bd9d7755b635f0732ce402590e1bd6f)


Compare: https://github.com/NixOS/nixpkgs/compare/310ed9213d4a...286cc49e6aa3___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 331f5a: go1.4: patch test to work with recent tzdata

2017-03-15 Thread Dan Peebles
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 331f5a886d2f4e3ebb282a71c7ab77d5facbdf0b
  
https://github.com/NixOS/nixpkgs/commit/331f5a886d2f4e3ebb282a71c7ab77d5facbdf0b
  Author: Dan Peebles 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/development/compilers/go/1.4.nix

  Log Message:
  ---
  go1.4: patch test to work with recent tzdata


  Commit: 08314598bb938682049fc5753da13648141c0230
  
https://github.com/NixOS/nixpkgs/commit/08314598bb938682049fc5753da13648141c0230
  Author: Dan Peebles 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/development/compilers/go/1.6.nix

  Log Message:
  ---
  go1.6: patch test to work with recent tzdata


  Commit: e6a5ab85b40b5ecbbcc18f518f7cd640f6c3a6e2
  
https://github.com/NixOS/nixpkgs/commit/e6a5ab85b40b5ecbbcc18f518f7cd640f6c3a6e2
  Author: Dan Peebles 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/development/compilers/go/1.7.nix

  Log Message:
  ---
  go1.7: patch test to work with recent tzdata


  Commit: 2ffda66f11bfd7f12271ac44ac7010148f73a085
  
https://github.com/NixOS/nixpkgs/commit/2ffda66f11bfd7f12271ac44ac7010148f73a085
  Author: Dan Peebles 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/development/compilers/go/1.8.nix

  Log Message:
  ---
  go1.8: patch test to work with recent tzdata


Compare: https://github.com/NixOS/nixpkgs/compare/12648a455bd9...2ffda66f11bf___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 12648a: linux_4_9: 4.9.14 -> 4.9.15

2017-03-15 Thread Joachim Fasting
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 12648a455bd9d7755b635f0732ce402590e1bd6f
  
https://github.com/NixOS/nixpkgs/commit/12648a455bd9d7755b635f0732ce402590e1bd6f
  Author: Joachim Fasting 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/os-specific/linux/kernel/linux-4.9.nix

  Log Message:
  ---
  linux_4_9: 4.9.14 -> 4.9.15


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] Function to look up symbols dynamically?

2017-03-15 Thread Layus

Hi Bryan,

I used to wonder why this was not implemented in NixOS config itself.
The module implementation makes it possible to configure any setting 
from any file.

It is even possible to declare option for unrelated option trees.

For example, nixos/modules/services/networking/dnschain.nix declares the 
option tree services.dnschain.* (not services.netxorking.dnschain.*) [1].
But it also declares the options services.dnsmasq.resolveDNSChainQueries 
[2] and services.pdns-recursor.resolveDNSChainQueries [3].
As for the optiosns it sets [4], they add new users, new services and 
configure dns resolvers.


I think most users do take advantage of this feature to group options to 
group options related to the same aspect of a system, rather than 
according to the option hierarchy.
For example, I have a config file for Epson printers[5]. It would be a 
real mess if all these related options were set in different files.
See 
https://www.mail-archive.com/nix-dev@lists.science.uu.nl/msg32637.html 
for sample modularization of NixOS configuration.


-- Layus.

[1]: 
https://github.com/rnhmjoj/nixpkgs/blob/f7d49037a48846e025dd3d8f2ecb47f499431ee8/nixos/modules/services/networking/dnschain.nix#L38
[2]: 
https://github.com/rnhmjoj/nixpkgs/blob/f7d49037a48846e025dd3d8f2ecb47f499431ee8/nixos/modules/services/networking/dnschain.nix#L101
[3]: 
https://github.com/rnhmjoj/nixpkgs/blob/f7d49037a48846e025dd3d8f2ecb47f499431ee8/nixos/modules/services/networking/dnschain.nix#L109
[4]: 
https://github.com/rnhmjoj/nixpkgs/blob/f7d49037a48846e025dd3d8f2ecb47f499431ee8/nixos/modules/services/networking/dnschain.nix#L122-L163

[5]: https://gist.github.com/layus/32208155451f4fee8146f5e3c6f2dc3b

On 15/03/17 17:21, Bryan Ferris wrote:

@Domen:

That's great, thanks!

@Kevin

Well, the reason I want it is that I'm trying to make it so that I can 
load my configuration.nix from a directory tree rather than a single 
file. I noticed that I was moving lengthy sections of my config (for 
instance, the systemPackages variable) into separate files and 
importing them. Rather than manually telling my configuration.nix 
about every new file, I want to write a script so that I can specify a 
target directory (say, /etc/nixos/config.d) and have the file names 
imply which attribute they are setting. For instance, I could have 
/etc/nixos/config.d/environment.nix with the following contents:


{ config, pkgs, ... }:

{
  systemPackages = with pkgs; [
autoconf
gcc
gdb
...
  ];
}

or I could have /etc/nixos/config.d/environment/systemPackages.nix 
with the following contents:


{ config, pkgs, .. }:

with pkgs; [
  autoconf
  gcc
  gdb
  ...
]

and in either case the script will determine what key to set based on 
the relative path and filename. In this example, I see how I can use 
hasAttr/getAttr to get systemPackages, but not how I could get 
environment to begin with.


I believe that for complicated configurations this would lead to a 
tidier config. My goal is to be able to add one line to 
configuration.nix which will import everything from the directory, 
meaning that you can put as much or as little as you want into the 
main configuration file and you can move code around easily in order 
to find the system of organization that fits your specific use-case 
the best. This seems like a reasonable approach to a useful tool, no?



___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev



___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] e4d8cb: iio-sensor-proxy: init at 2.2 and nixos module

2017-03-15 Thread Vladimír Čunát
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e4d8cb8dabb0b7ec7b5f785a5cebd34909df0603
  
https://github.com/NixOS/nixpkgs/commit/e4d8cb8dabb0b7ec7b5f785a5cebd34909df0603
  Author: Peter Hoeg 
  Date:   2017-02-25 (Sat, 25 Feb 2017)

  Changed paths:
A nixos/modules/hardware/sensor/iio.nix
M nixos/modules/module-list.nix
A pkgs/os-specific/linux/iio-sensor-proxy/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  iio-sensor-proxy: init at 2.2 and nixos module

This PR adds support for ```iio-sensor-proxy``` used by GNOME v3 and
others for reading data from the accelerometer, gps, compass and similar sensors
built into some relatively recent laptops.

Additionally, there is a NixOS module exposed via hardware.sensor.iio
for enabling services, udev rules and dbus services.


  Commit: 82aa79d57fd558ff6ba295c65502cd315556d915
  
https://github.com/NixOS/nixpkgs/commit/82aa79d57fd558ff6ba295c65502cd315556d915
  Author: Leon Isenberg 
  Date:   2017-03-07 (Tue, 07 Mar 2017)

  Changed paths:
M pkgs/development/compilers/ghcjs/shims.nix

  Log Message:
  ---
  haskell: ghcjs shims: dc034a0 -> b970152


  Commit: 9ea35eae7a5aee9159735ca662b65c8552aec8dc
  
https://github.com/NixOS/nixpkgs/commit/9ea35eae7a5aee9159735ca662b65c8552aec8dc
  Author: Franz Pletz 
  Date:   2017-03-08 (Wed, 08 Mar 2017)

  Changed paths:
M nixos/modules/config/update-users-groups.pl

  Log Message:
  ---
  nixos/users-groups: chown home on createHome

Fixes #23619.


  Commit: 07905c8f93b444acd231adf9559dc55b2dc6fc73
  
https://github.com/NixOS/nixpkgs/commit/07905c8f93b444acd231adf9559dc55b2dc6fc73
  Author: Leon Isenberg 
  Date:   2017-03-08 (Wed, 08 Mar 2017)

  Changed paths:
M pkgs/development/haskell-modules/configuration-ghcjs.nix

  Log Message:
  ---
  haskell: ghcjs packages: fix ghcjs-dom-jsffi with newer Cabal


  Commit: 330c7e4a5f409da8bb0bfaa48d8ef0ac352e6386
  
https://github.com/NixOS/nixpkgs/commit/330c7e4a5f409da8bb0bfaa48d8ef0ac352e6386
  Author: Wei-Ming Yang 
  Date:   2017-03-10 (Fri, 10 Mar 2017)

  Changed paths:
M pkgs/servers/search/elasticsearch/plugins.nix

  Log Message:
  ---
  fix the incorrect elasticsearch plugin name

elasticsearch_analisys_lemmagen -> elasticsearch_analysis_lemmagen


  Commit: 9041f0d8d964b0c348f72f10a6aef86155796b4f
  
https://github.com/NixOS/nixpkgs/commit/9041f0d8d964b0c348f72f10a6aef86155796b4f
  Author: Lancelot SIX 
  Date:   2017-03-10 (Fri, 10 Mar 2017)

  Changed paths:
A pkgs/development/python-modules/django-raster/default.nix
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.django-raster: 0.3 -> 0.3.1


  Commit: 1ca372e4d23934b857e6d8ca16ed8d5b253b7de8
  
https://github.com/NixOS/nixpkgs/commit/1ca372e4d23934b857e6d8ca16ed8d5b253b7de8
  Author: Lancelot SIX 
  Date:   2017-03-10 (Fri, 10 Mar 2017)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.celery_3: drop


  Commit: 49207a62f3f14aefeddd0daf311529a9495101db
  
https://github.com/NixOS/nixpkgs/commit/49207a62f3f14aefeddd0daf311529a9495101db
  Author: Herwig Hochleitner 
  Date:   2017-03-11 (Sat, 11 Mar 2017)

  Changed paths:
M pkgs/applications/networking/browsers/chromium/upstream-info.nix

  Log Message:
  ---
  chromium: 56.0.2924.87 -> 57.0.2987.98 [Security]


  Commit: 04fa8e006cf662a9cdefa52162e006304ad8877d
  
https://github.com/NixOS/nixpkgs/commit/04fa8e006cf662a9cdefa52162e006304ad8877d
  Author: Daiderd Jordan 
  Date:   2017-03-12 (Sun, 12 Mar 2017)

  Changed paths:
A pkgs/build-support/setup-hooks/fix-darwin-frameworks.sh
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  darwin: add setup-hook to fix CF references


  Commit: 97a3e7cf52068f9e48d3d811f97638c73a513d85
  
https://github.com/NixOS/nixpkgs/commit/97a3e7cf52068f9e48d3d811f97638c73a513d85
  Author: Daiderd Jordan 
  Date:   2017-03-12 (Sun, 12 Mar 2017)

  Changed paths:
M pkgs/os-specific/darwin/apple-sdk/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  darwin-frameworks: don't use pure CF


  Commit: a7b6f2eee460d2a55a9474c78c89a62bdf1700d6
  
https://github.com/NixOS/nixpkgs/commit/a7b6f2eee460d2a55a9474c78c89a62bdf1700d6
  Author: ndowens 
  Date:   2017-03-12 (Sun, 12 Mar 2017)

  Changed paths:
M pkgs/development/libraries/ffms/default.nix

  Log Message:
  ---
  ffms: 2.21 -> 2.22


  Commit: f0bb10fea396d44d126b0e515f6dbb6265467e63
  
https://github.com/NixOS/nixpkgs/commit/f0bb10fea396d44d126b0e515f6dbb6265467e63
  Author: 

[Nix-commits] [NixOS/nixpkgs] 20d9ed: stdenv: aarch64: Update bootstrap tarballs

2017-03-15 Thread Tuomas Tynkkynen
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 20d9edff1723363b0df1d7f44301cefffd8b3881
  
https://github.com/NixOS/nixpkgs/commit/20d9edff1723363b0df1d7f44301cefffd8b3881
  Author: Tuomas Tynkkynen 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/stdenv/linux/bootstrap-files/aarch64.nix

  Log Message:
  ---
  stdenv: aarch64: Update bootstrap tarballs

Hopefully fixes sandboxed build of glibc on aarch64, as discussed on
https://github.com/NixOS/nixpkgs/commit/8bfa9f528c88243578246798c7c2ddde045e0de0.

Picked from the following cross-trunk evaluation:
http://hydra.nixos.org/eval/1341395 based on nixpkgs
commit bb3ef8a95c9659596b8a34d27881cd30ffea2f9f.

build job: http://hydra.nixos.org/build/50125932

(busybox's hash not changing is not a bug!)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 6505c6: keepass-keeagent: init at 0.8.1

2017-03-15 Thread Leon Isenberg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6505c6e3df519bbf800f302e9ba14923b9dabee5
  
https://github.com/NixOS/nixpkgs/commit/6505c6e3df519bbf800f302e9ba14923b9dabee5
  Author: Leon Isenberg 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
A pkgs/applications/misc/keepass-plugins/keeagent/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  keepass-keeagent: init at 0.8.1

[Bjørn: change fetchurl indent 4 -> 2 spaces.]


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] Google Summer of Code 2017

2017-03-15 Thread David Izquierdo

Oh dear, I had been thinking about 1 and 2 lately...


On systemd, I don't think that it's worth it to even try to port 
dependent software. Nix is smart enough to warn about/fix dependencies. 
And "porting" the actual unit files sounds easy IMO, systemd has good 
documentation on unit files that can be easily mapped to alternative 
complementary software (one example I've used recently: `timeout` 
instead of "RuntimeMaxSec"). I don't think indirection would be 
necessary, since the declarative style of units is already really really 
nice to us. Simply moving the relevant options out of the systemd 
namespace and into a more general place (services.service.$NAME?).



BSDs... I thought they had official support... They don't, according to 
the Nix manual's Supported Platforms chapter. I guess once it exists AND 
systemd becomes optional, it's solved itself. And I don't see why Nix 
wouldn't just-work on a BSD when it's supported on Linux and MacOS.



Now, literally all of the above has been pulled out of my backend, and 
from a few months worth of NixOS usage and learning. I hope someone with 
actual knowledge can fix this, and better outline how deep into NixOS's 
internals one would have to plumb to implement this.



On 13/03/17 18:23, Anderson Torres wrote:

2017-01-08 18:40 GMT-02:00 Profpatsch :

On 17-01-04 09:42pm, Vladimír Čunát wrote:

On 01/04/2017 08:51 PM, Peter Simons wrote:

Another very important topic that needs to be addressed in Nix / Hydra
is the question of how to deal with code that wants to import build
products into the ongoing evaluation. [...]

That feels rather vague topic ATM.  My experience is that this kind of
"figure it out how to..." tasks isn't very suitable for similar "project
proposals" like for GSoC.  Still, if we could converge on some more
concrete plan beforehand, maybe the actual implementation would make a
good topic...

I would suggest three big fat proposals:

1 - The most flamewar-igniting one: getting rid of systemd dependency!
It would be very nice if the init system was selectable, with a sane
default (as openrc).
It would be hard as hell to port certain software as Gnome stack, but
I think it can be solved.

2 - Another for the even more courageous would be run a Nixos+kNetBSD
(or kFreeBSD), as in Debian. It would be the definitive test for
portability and independence of Nix model.

3 - Another set of defaults for the stdenv, as musl+clang.


Sounds more like a task for a master’s thesis (or adventurous
bachelor’s thesis) to me.

--
Proudly written in Mutt with Vim on NixOS.
Q: Why is this email five sentences or less?
A: http://five.sentenc.es
May take up to five days to read your message. If it’s urgent, call me.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] a8cca7: prometheus-fritzbox-exporter: init at 1.0

2017-03-15 Thread Pascal Bach
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: a8cca7037e445915b5c58a582eae270e65065678
  
https://github.com/NixOS/nixpkgs/commit/a8cca7037e445915b5c58a582eae270e65065678
  Author: Pascal Bach 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M nixos/modules/module-list.nix
A nixos/modules/services/monitoring/prometheus/fritzbox-exporter.nix
A pkgs/servers/monitoring/prometheus/fritzbox-exporter.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  prometheus-fritzbox-exporter: init at 1.0


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 3f3561: More precise compression settings

2017-03-15 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 3f35612c041ecc4e6a4f29f01d5a87fba983cf0f
  
https://github.com/NixOS/nix/commit/3f35612c041ecc4e6a4f29f01d5a87fba983cf0f
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M src/libstore/s3-binary-cache-store.cc

  Log Message:
  ---
  More precise compression settings


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] Function to look up symbols dynamically?

2017-03-15 Thread Bryan Ferris
@Domen:

That's great, thanks!

@Kevin

Well, the reason I want it is that I'm trying to make it so that I can load
my configuration.nix from a directory tree rather than a single file. I
noticed that I was moving lengthy sections of my config (for instance, the
systemPackages variable) into separate files and importing them. Rather
than manually telling my configuration.nix about every new file, I want to
write a script so that I can specify a target directory (say,
/etc/nixos/config.d) and have the file names imply which attribute they are
setting. For instance, I could have /etc/nixos/config.d/environment.nix
with the following contents:

{ config, pkgs, ... }:

{
  systemPackages = with pkgs; [
autoconf
gcc
gdb
...
  ];
}

or I could have /etc/nixos/config.d/environment/systemPackages.nix with the
following contents:

{ config, pkgs, .. }:

with pkgs; [
  autoconf
  gcc
  gdb
  ...
]

and in either case the script will determine what key to set based on the
relative path and filename. In this example, I see how I can use
hasAttr/getAttr to get systemPackages, but not how I could get environment
to begin with.

I believe that for complicated configurations this would lead to a tidier
config. My goal is to be able to add one line to configuration.nix which
will import everything from the directory, meaning that you can put as much
or as little as you want into the main configuration file and you can move
code around easily in order to find the system of organization that fits
your specific use-case the best. This seems like a reasonable approach to a
useful tool, no?
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] how to find packages by file?

2017-03-15 Thread Bjørn Forsman
On 15 March 2017 at 16:39, Domen Kožar  wrote:
> It's a few GB per channel commit. At least stored in SQL as-is.
>
> With compression and denormalization that could be improved though :)

Ah, I guess that's why you have to run "apt-file update" on Debian to
get it. It's not there by default.

I checked one of the files that it downloads (Contents-amd64.gz).
That's a 32 MiB file that when extracted becomes a 480 MiB plain text
file. So it's comparable to your figure -- apt-file downloads a few of
these files (one per apt repository).

However, apt-file never extracts the files, it simply runs zfgrep on
the ~32 MiB sized .gz files. So it's not that bad.

Best regards,
Bjørn Forsman
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] c037f5: firefox: fix debugBuild = true

2017-03-15 Thread Vladimír Čunát
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: c037f54ffb3aa31ceb6cab975eda7e1a135c5b4f
  
https://github.com/NixOS/nixpkgs/commit/c037f54ffb3aa31ceb6cab975eda7e1a135c5b4f
  Author: David McFarland 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/applications/networking/browsers/firefox/default.nix
A pkgs/applications/networking/browsers/firefox/fix-debug.patch

  Log Message:
  ---
  firefox: fix debugBuild = true


  Commit: 1ea6860cc7352ad739c5a4ac2244c5895a60a21b
  
https://github.com/NixOS/nixpkgs/commit/1ea6860cc7352ad739c5a4ac2244c5895a60a21b
  Author: David McFarland 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/development/libraries/icu/default.nix

  Log Message:
  ---
  icu: fix crash in firefox

Fixes #23857


  Commit: 9adcebb1a97ac75b8a2445459f9e3826a7b71a39
  
https://github.com/NixOS/nixpkgs/commit/9adcebb1a97ac75b8a2445459f9e3826a7b71a39
  Author: Vladimír Čunát 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/applications/networking/browsers/firefox/default.nix
A pkgs/applications/networking/browsers/firefox/fix-debug.patch
M pkgs/development/libraries/icu/default.nix

  Log Message:
  ---
  Merge #23917: fix firefox crashes


Compare: https://github.com/NixOS/nixpkgs/compare/38a03817b03b...9adcebb1a97a___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] d1afb4: Supress debug message

2017-03-15 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: d1afb42f129211977da9a189f697d9f5354ca56a
  
https://github.com/NixOS/hydra/commit/d1afb42f129211977da9a189f697d9f5354ca56a
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  Supress debug message


  Commit: 242ea8009fecbe408339b2f0752a4890d8a99f99
  
https://github.com/NixOS/hydra/commit/242ea8009fecbe408339b2f0752a4890d8a99f99
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M src/hydra-evaluator/hydra-evaluator.cc
M src/script/hydra-eval-jobset

  Log Message:
  ---
  hydra-evaluator: Don't use the "timeout" command

"timeout" does not propagate PR_SET_PDEATHSIG, so it prevents
hydra-eval-jobset from being killed when hydra-evaluator quits.


  Commit: 285754aff69202b02846132100d7b90276d621a0
  
https://github.com/NixOS/hydra/commit/285754aff69202b02846132100d7b90276d621a0
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M hydra-module.nix
M src/hydra-evaluator/hydra-evaluator.cc
M src/lib/Hydra/Controller/Jobset.pm
M src/lib/Hydra/Schema/Jobsets.pm
M src/root/jobset.tt
M src/script/hydra-eval-jobset
M src/sql/hydra.sql
A src/sql/upgrade-53.sql

  Log Message:
  ---
  hydra-evaluator improvements

* The "Jobset" page now shows when evaluations are in progress (rather
  than just pending).

* Restored the ability to do a single evaluation from the command line
  by doing "hydra-evaluator  ".

* Fix some consistency issues between jobset status in PostgreSQL and
  in hydra-evaluator. In particular, "lastCheckedTime" was never
  updated internally.


  Commit: 7e6486e6943bb7152fdaff30a68cd5879c69442c
  
https://github.com/NixOS/hydra/commit/7e6486e6943bb7152fdaff30a68cd5879c69442c
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M src/hydra-queue-runner/builder.cc
M src/hydra-queue-runner/hydra-queue-runner.cc
M src/hydra-queue-runner/state.hh
A src/lib/Hydra/Plugin/CompressLog.pm

  Log Message:
  ---
  Move log compression to a plugin


  Commit: 150228d7dec499a763a8f76477aa35310771fd84
  
https://github.com/NixOS/hydra/commit/150228d7dec499a763a8f76477aa35310771fd84
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M src/hydra-queue-runner/builder.cc
M src/hydra-queue-runner/hydra-queue-runner.cc
M src/hydra-queue-runner/state.hh

  Log Message:
  ---
  Upload build logs to the binary cache


Compare: https://github.com/NixOS/hydra/compare/73900e9f5fe1...150228d7dec4___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 0afeb7: Store: Add a method for getting build logs

2017-03-15 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 0afeb7f51e3465c7c27bc5a83017e9ffde8c6725
  
https://github.com/NixOS/nix/commit/0afeb7f51e3465c7c27bc5a83017e9ffde8c6725
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M doc/manual/command-ref/conf-file.xml
M doc/manual/command-ref/nix-store.xml
M src/libstore/build.cc
M src/libstore/globals.cc
M src/libstore/globals.hh
M src/libstore/local-fs-store.cc
M src/libstore/local-store.hh
M src/libstore/store-api.hh
M src/nix-store/nix-store.cc

  Log Message:
  ---
  Store: Add a method for getting build logs

This allows various Store implementations to provide different ways to
get build logs. For example, BinaryCacheStore can get the build logs
from the binary cache.

Also, remove the log-servers option since we can use substituters for
this.


  Commit: 5b86451f0279c384fb379fed9d2979d8025aa269
  
https://github.com/NixOS/nix/commit/5b86451f0279c384fb379fed9d2979d8025aa269
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
A src/nix/log.cc

  Log Message:
  ---
  Add a "nix log" command

This replaces "nix-store --read-log". It checks the local store and
any configured substituters for the requested logs.


  Commit: 532d73d5d86c3d25d08a8d771a189708dac323e2
  
https://github.com/NixOS/nix/commit/532d73d5d86c3d25d08a8d771a189708dac323e2
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M src/libstore/binary-cache-store.cc
M src/libstore/binary-cache-store.hh
M src/libstore/local-fs-store.cc

  Log Message:
  ---
  BinaryCacheStore: Implement getBuildLog()

We assume that build logs are stored under log/, e.g.

  /nix/store/q7ab198v13p0f8x8wgnd75dva7d5mip6-friday-devil-0.1.1.1.drv

maps to

  
https://cache.nixos.org/log/q7ab198v13p0f8x8wgnd75dva7d5mip6-friday-devil-0.1.1.1.drv


  Commit: 73d7a51ee6942f681db468dc8e3c631b4d3daa4e
  
https://github.com/NixOS/nix/commit/73d7a51ee6942f681db468dc8e3c631b4d3daa4e
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M Makefile.config.in
M configure.ac
M src/nix-store/local.mk

  Log Message:
  ---
  Remove dependency on "curl" binary


  Commit: e8186085e07104d4b844208613c2d704b5b57dec
  
https://github.com/NixOS/nix/commit/e8186085e07104d4b844208613c2d704b5b57dec
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M Makefile.config.in
M configure.ac
M release.nix
M shell.nix
M src/libstore/download.cc
M src/libutil/compression.cc
M src/libutil/local.mk

  Log Message:
  ---
  Add support for brotli compression

Build logs on cache.nixos.org are compressed using Brotli (since this
allows them to be decompressed automatically by Chrome and Firefox),
so it's handy if "nix log" can decompress them.


  Commit: fbbc4d8dda4d347351c0667d1d9a571b201256cf
  
https://github.com/NixOS/nix/commit/fbbc4d8dda4d347351c0667d1d9a571b201256cf
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M src/libutil/util.cc

  Log Message:
  ---
  Fix deadlock in runProgram() when input is larger than the pipe buffer size


  Commit: 2691498b5c68a9c8908da296bf867bfc7f9a068f
  
https://github.com/NixOS/nix/commit/2691498b5c68a9c8908da296bf867bfc7f9a068f
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M src/libutil/compression.cc

  Log Message:
  ---
  Fix assertion failure on SIGINT

  nix: src/libutil/compression.cc:142: virtual nix::XzSink::~XzSink(): 
Assertion `finished' failed.


  Commit: 8b1d65bebe5af8960ba813e1233f2596a3ffebb7
  
https://github.com/NixOS/nix/commit/8b1d65bebe5af8960ba813e1233f2596a3ffebb7
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M src/libstore/binary-cache-store.cc
M src/libstore/download.cc
M src/libstore/download.hh
M src/libstore/s3-binary-cache-store.cc
M src/libutil/compression.cc

  Log Message:
  ---
  S3BinaryCacheStore: Support compression of narinfo and log files

You can now set the store parameter "text-compression=br" to compress
textual files in the binary cache (i.e. narinfo and logs) using
Brotli. This sets the Content-Encoding header; the extension of
compressed files is unchanged.

You can separately specify the compression of log files using
"log-compression=br". This is useful when you don't want to compress
narinfo files for backward compatibility.


  Commit: 45c70382ac152107d40956c6a3ab8c329086733f
  
https://github.com/NixOS/nix/commit/45c70382ac152107d40956c6a3ab8c329086733f
  Author: Eelco Dolstra 
  Date:   

Re: [Nix-dev] how to find packages by file?

2017-03-15 Thread Bjørn Forsman
On 15 March 2017 at 16:00, Domen Kožar  wrote:
> https://github.com/Enlambda/nix-channelstatus has working RESTful API to
> search by files,
> I plan to publish that as a web service in upcoming weeks.

That's nice, but IMHO we need that info offline. I think it could be
made a part of a channel, like the command-not-found DB, but for all
files, not just binaries.

Debian has apt-file, we should have something similar.

Best regards,
Bjørn Forsman
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] how to find packages by file?

2017-03-15 Thread Domen Kožar
It's a few GB per channel commit. At least stored in SQL as-is.

With compression and denormalization that could be improved though :)

On Wed, Mar 15, 2017 at 4:37 PM, Bjørn Forsman 
wrote:

> On 15 March 2017 at 16:00, Domen Kožar  wrote:
> > https://github.com/Enlambda/nix-channelstatus has working RESTful API to
> > search by files,
> > I plan to publish that as a web service in upcoming weeks.
>
> That's nice, but IMHO we need that info offline. I think it could be
> made a part of a channel, like the command-not-found DB, but for all
> files, not just binaries.
>
> Debian has apt-file, we should have something similar.
>
> Best regards,
> Bjørn Forsman
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Google Summer of Code 2017

2017-03-15 Thread Oliver Charles
On Wed, Mar 15, 2017 at 12:47 PM Domen Kožar  wrote:

> We aren't participating in GSOC 2017, because I missed the submission
> deadline.
>
>
> That being said, I know people will be disappointed by this. I'm sorry,
> I have no excuses really. I was overworked at that time and totally forgot
> to watch the dates.
>
> I already applied us two times, I hope I'll gather the energy to try again
> next year.
> But since I screwed up this year, someone else can take over if wanted,
> I understand not to be trusted :)
>

As Thomas said, no hard feelings - this is not your fault! There's always
next year :)

- ocharles
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 04fa8e: darwin: add setup-hook to fix CF references

2017-03-15 Thread Daniel Peebles
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 04fa8e006cf662a9cdefa52162e006304ad8877d
  
https://github.com/NixOS/nixpkgs/commit/04fa8e006cf662a9cdefa52162e006304ad8877d
  Author: Daiderd Jordan 
  Date:   2017-03-12 (Sun, 12 Mar 2017)

  Changed paths:
A pkgs/build-support/setup-hooks/fix-darwin-frameworks.sh
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  darwin: add setup-hook to fix CF references


  Commit: 97a3e7cf52068f9e48d3d811f97638c73a513d85
  
https://github.com/NixOS/nixpkgs/commit/97a3e7cf52068f9e48d3d811f97638c73a513d85
  Author: Daiderd Jordan 
  Date:   2017-03-12 (Sun, 12 Mar 2017)

  Changed paths:
M pkgs/os-specific/darwin/apple-sdk/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  darwin-frameworks: don't use pure CF


  Commit: 38a03817b03b01dd89c94f0b683b4b445d69e42d
  
https://github.com/NixOS/nixpkgs/commit/38a03817b03b01dd89c94f0b683b4b445d69e42d
  Author: Daniel Peebles 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
A pkgs/build-support/setup-hooks/fix-darwin-frameworks.sh
M pkgs/os-specific/darwin/apple-sdk/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #22571 from LnL7/darwin-frameworks-hook

add setup-hook to fix darwin frameworks


Compare: https://github.com/NixOS/nixpkgs/compare/d78f3de21bdb...38a03817b03b___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 310ed9: chromium: 56.0.2924.87 -> 57.0.2987.98 [Security]

2017-03-15 Thread Herwig Hochleitner
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 310ed9213d4ab1f585d3558b7dff3fb8e1649979
  
https://github.com/NixOS/nixpkgs/commit/310ed9213d4ab1f585d3558b7dff3fb8e1649979
  Author: Herwig Hochleitner 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/applications/networking/browsers/chromium/upstream-info.nix

  Log Message:
  ---
  chromium: 56.0.2924.87 -> 57.0.2987.98 [Security]

(cherry picked from commit 49207a62f3f14aefeddd0daf311529a9495101db)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 59b795: apple-sdk: 10.9 -> 10.10

2017-03-15 Thread Daniel Peebles
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 59b795c5901c0a60aa5dd973474e41520224a380
  
https://github.com/NixOS/nixpkgs/commit/59b795c5901c0a60aa5dd973474e41520224a380
  Author: Dan Peebles 
  Date:   2017-03-14 (Tue, 14 Mar 2017)

  Changed paths:
M pkgs/os-specific/darwin/apple-sdk/default.nix
M pkgs/os-specific/darwin/apple-sdk/frameworks.nix

  Log Message:
  ---
  apple-sdk: 10.9 -> 10.10

This is a slightly less ambitious version of the (now reverted) commit
377cef8d16c47df74d2653432d9bba968236c8a0, which had a bunch of issues
that I don't have time to resolve right now.


  Commit: dc61ff31a75b76e02a6565e35fa21a11a3a9e5fe
  
https://github.com/NixOS/nixpkgs/commit/dc61ff31a75b76e02a6565e35fa21a11a3a9e5fe
  Author: Dan Peebles 
  Date:   2017-03-14 (Tue, 14 Mar 2017)

  Changed paths:
M pkgs/applications/virtualization/xhyve/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  xhyve: update and fix to use our Hypervisor framework

(this is a cherry-picked version of f3b65f67d98a2e67c739d4b76b3340eda1dd06f4,
which got reverted because it depended on my 10.11 frameworks, which were
flawed)


  Commit: d78f3de21bdb333c341eea52070e82ad1e46612f
  
https://github.com/NixOS/nixpkgs/commit/d78f3de21bdb333c341eea52070e82ad1e46612f
  Author: Daniel Peebles 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/applications/virtualization/xhyve/default.nix
M pkgs/os-specific/darwin/apple-sdk/default.nix
M pkgs/os-specific/darwin/apple-sdk/frameworks.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #23907 from copumpkin/update-frameworks

Update macOS frameworks from 10.9 to 10.10


Compare: https://github.com/NixOS/nixpkgs/compare/0c928f4a1d64...d78f3de21bdb___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] d6c3e7: buildGoModule: share the buildFlagsArray with the ...

2017-03-15 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d6c3e744259ad9e364c5f4d9072ce64f950f2dc3
  
https://github.com/NixOS/nixpkgs/commit/d6c3e744259ad9e364c5f4d9072ce64f950f2dc3
  Author: Shea Levy 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/development/go-modules/generic/default.nix

  Log Message:
  ---
  buildGoModule: share the buildFlagsArray with the parallel subprocesses


  Commit: 0c928f4a1d645a5eea14f3940518ef9f0376f317
  
https://github.com/NixOS/nixpkgs/commit/0c928f4a1d645a5eea14f3940518ef9f0376f317
  Author: Shea Levy 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/applications/networking/cluster/terragrunt/0.9.8.nix
M pkgs/applications/networking/cluster/terragrunt/default.nix

  Log Message:
  ---
  terragrunt: Set the version variable properly


Compare: https://github.com/NixOS/nixpkgs/compare/162845d5b159...0c928f4a1d64___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] how to find packages by file?

2017-03-15 Thread Domen Kožar
https://github.com/Enlambda/nix-channelstatus has working RESTful API to
search by files,
I plan to publish that as a web service in upcoming weeks.

On Wed, Mar 15, 2017 at 3:55 PM, Profpatsch  wrote:

> On 17-03-15 01:13pm, Linus Heckemann wrote:
> > On 14/03/17 20:24, Roni Choudhury wrote:
> >  2. Use nix-repl — `nix-repl ''` will give you a REPL for the
> > nix language with autocompletion for that sort of thing, which can be
> > very helpful.
>
> Can confirm. Normally I use
> find /nix/store -iname "*library.so"
> to find the package name,
> then I grep nixpkgs for that name
> then I look at the outputs (whether it’s in `lib` or `out`)
> then I grep nixpkgs for the filename to find the attribute name
>
> The naming schemes are pretty similar, it could probably
> be automated fairly well.
>
> --
> Proudly written in Mutt with Vim on NixOS.
> Q: Why is this email five sentences or less?
> A: http://five.sentenc.es
> May take up to five days to read your message. If it’s urgent, call me.
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] how to find packages by file?

2017-03-15 Thread Profpatsch
On 17-03-15 01:13pm, Linus Heckemann wrote:
> On 14/03/17 20:24, Roni Choudhury wrote:
>  2. Use nix-repl — `nix-repl ''` will give you a REPL for the
> nix language with autocompletion for that sort of thing, which can be
> very helpful.

Can confirm. Normally I use
find /nix/store -iname "*library.so"
to find the package name,
then I grep nixpkgs for that name
then I look at the outputs (whether it’s in `lib` or `out`)
then I grep nixpkgs for the filename to find the attribute name

The naming schemes are pretty similar, it could probably
be automated fairly well.

-- 
Proudly written in Mutt with Vim on NixOS.
Q: Why is this email five sentences or less?
A: http://five.sentenc.es
May take up to five days to read your message. If it’s urgent, call me.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 162845: Use gem 2.6.10 (#23902)

2017-03-15 Thread Andrzej Trzaska
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 162845d5b159fbd1c53ec90e82c41464940df55e
  
https://github.com/NixOS/nixpkgs/commit/162845d5b159fbd1c53ec90e82c41464940df55e
  Author: Andrzej Trzaska 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/development/interpreters/ruby/rubygems-src.nix

  Log Message:
  ---
  Use gem 2.6.10 (#23902)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] Google Summer of Code 2017

2017-03-15 Thread Thomas Hunger
I don't believe in individual failure. We should try to put a system in
place to avoid this next time.

A related issue is that GHC didn't get in either because they didn't have a
good page with potential projects.

I propose:

* Several of us put the next deadline into our calendar (probably beginning
of Feb, so I used 31st of January 2018). I just did so.
* We collect ideas for next year already. I have created:
https://github.com/teh/gsoc/blob/master/2018/projects.md - please send PRs
and I'll give you commit bits.

~



On 15 March 2017 at 12:46, Domen Kožar  wrote:

> We aren't participating in GSOC 2017, because I missed the submission
> deadline.
>
>
> That being said, I know people will be disappointed by this. I'm sorry,
> I have no excuses really. I was overworked at that time and totally forgot
> to watch the dates.
>
> I already applied us two times, I hope I'll gather the energy to try again
> next year.
> But since I screwed up this year, someone else can take over if wanted,
> I understand not to be trusted :)
>
> Domen
>
> On Mon, Mar 13, 2017 at 6:23 PM, Anderson Torres <
> torres.anderson...@gmail.com> wrote:
>
>> 2017-01-08 18:40 GMT-02:00 Profpatsch :
>> > On 17-01-04 09:42pm, Vladimír Čunát wrote:
>> >> On 01/04/2017 08:51 PM, Peter Simons wrote:
>> >> > Another very important topic that needs to be addressed in Nix /
>> Hydra
>> >> > is the question of how to deal with code that wants to import build
>> >> > products into the ongoing evaluation. [...]
>> >>
>> >> That feels rather vague topic ATM.  My experience is that this kind of
>> >> "figure it out how to..." tasks isn't very suitable for similar
>> "project
>> >> proposals" like for GSoC.  Still, if we could converge on some more
>> >> concrete plan beforehand, maybe the actual implementation would make a
>> >> good topic...
>>
>> I would suggest three big fat proposals:
>>
>> 1 - The most flamewar-igniting one: getting rid of systemd dependency!
>> It would be very nice if the init system was selectable, with a sane
>> default (as openrc).
>> It would be hard as hell to port certain software as Gnome stack, but
>> I think it can be solved.
>>
>> 2 - Another for the even more courageous would be run a Nixos+kNetBSD
>> (or kFreeBSD), as in Debian. It would be the definitive test for
>> portability and independence of Nix model.
>>
>> 3 - Another set of defaults for the stdenv, as musl+clang.
>>
>> >
>> > Sounds more like a task for a master’s thesis (or adventurous
>> > bachelor’s thesis) to me.
>> >
>> > --
>> > Proudly written in Mutt with Vim on NixOS.
>> > Q: Why is this email five sentences or less?
>> > A: http://five.sentenc.es
>> > May take up to five days to read your message. If it’s urgent, call me.
>> > ___
>> > nix-dev mailing list
>> > nix-dev@lists.science.uu.nl
>> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] how to find packages by file?

2017-03-15 Thread Linus Heckemann
On 14/03/17 20:24, Roni Choudhury wrote:
> So my second question is, *how do I know whether a package
> has .lib or .dev attributes?*

I know of two options for this:

 1. Look at the expressions in a nixpkgs checkout; a good starting point
is usually all-packages.nix to find the actual expression and its
outputs attribute.

 2. Use nix-repl — `nix-repl ''` will give you a REPL for the
nix language with autocompletion for that sort of thing, which can be
very helpful.

> A followup question: *if I didn't have libpangocairo.* already in my
> store, how would I know which package delivers it?*

Hopefully by grepping a nixpkgs checkout. Sometimes the library names
don't exactly correspond to expression names, and sometimes they're not
in the expressions at all; I'm not really sure what can be done about
that, unless there's an index of the files each derivation contains
floating about somewhere — I know there's at least a subset of that, for
implementing the command-not-found functionality that tells you what to
install to make commands available. I tried this with your example of
pangocairo and found this line, from some Haskell bindings...

  "gi-pangocairo" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-cairo
 , gi-glib, gi-gobject, gi-pango, gobjectIntrospection, haskell-gi
 , haskell-gi-base, pango, system-cairo, system-pango, text
 , transformers
 }:

so at that point I'd try looking in the pango and cairo-related
packages... Not really ideal, but I don't know if there is a better way.

Linus
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Google Summer of Code 2017

2017-03-15 Thread Domen Kožar
We aren't participating in GSOC 2017, because I missed the submission
deadline.


That being said, I know people will be disappointed by this. I'm sorry,
I have no excuses really. I was overworked at that time and totally forgot
to watch the dates.

I already applied us two times, I hope I'll gather the energy to try again
next year.
But since I screwed up this year, someone else can take over if wanted,
I understand not to be trusted :)

Domen

On Mon, Mar 13, 2017 at 6:23 PM, Anderson Torres <
torres.anderson...@gmail.com> wrote:

> 2017-01-08 18:40 GMT-02:00 Profpatsch :
> > On 17-01-04 09:42pm, Vladimír Čunát wrote:
> >> On 01/04/2017 08:51 PM, Peter Simons wrote:
> >> > Another very important topic that needs to be addressed in Nix / Hydra
> >> > is the question of how to deal with code that wants to import build
> >> > products into the ongoing evaluation. [...]
> >>
> >> That feels rather vague topic ATM.  My experience is that this kind of
> >> "figure it out how to..." tasks isn't very suitable for similar "project
> >> proposals" like for GSoC.  Still, if we could converge on some more
> >> concrete plan beforehand, maybe the actual implementation would make a
> >> good topic...
>
> I would suggest three big fat proposals:
>
> 1 - The most flamewar-igniting one: getting rid of systemd dependency!
> It would be very nice if the init system was selectable, with a sane
> default (as openrc).
> It would be hard as hell to port certain software as Gnome stack, but
> I think it can be solved.
>
> 2 - Another for the even more courageous would be run a Nixos+kNetBSD
> (or kFreeBSD), as in Debian. It would be the definitive test for
> portability and independence of Nix model.
>
> 3 - Another set of defaults for the stdenv, as musl+clang.
>
> >
> > Sounds more like a task for a master’s thesis (or adventurous
> > bachelor’s thesis) to me.
> >
> > --
> > Proudly written in Mutt with Vim on NixOS.
> > Q: Why is this email five sentences or less?
> > A: http://five.sentenc.es
> > May take up to five days to read your message. If it’s urgent, call me.
> > ___
> > nix-dev mailing list
> > nix-dev@lists.science.uu.nl
> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] d58891: lxc: ensure directory /var/lib/lxc/rootfs

2017-03-15 Thread Volth
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d588913bae9611d6af20695b34f3beb352dcccd7
  
https://github.com/NixOS/nixpkgs/commit/d588913bae9611d6af20695b34f3beb352dcccd7
  Author: Volth 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M nixos/modules/virtualisation/lxc.nix

  Log Message:
  ---
  lxc: ensure directory /var/lib/lxc/rootfs

(cherry picked from commit bcc4c261bea58cbababec413c1faa074d1a90efd)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] bcc4c2: lxc: ensure directory /var/lib/lxc/rootfs

2017-03-15 Thread Volth
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: bcc4c261bea58cbababec413c1faa074d1a90efd
  
https://github.com/NixOS/nixpkgs/commit/bcc4c261bea58cbababec413c1faa074d1a90efd
  Author: Volth 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M nixos/modules/virtualisation/lxc.nix

  Log Message:
  ---
  lxc: ensure directory /var/lib/lxc/rootfs


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] [Nix-Dev] Packaging a Haskell project using Stack

2017-03-15 Thread Sergey Mironov
Hi. I've just fixed and completed the ./unstack.sh script, allowing
users to generate Nix expressions for entire Haskell stack project
(and its dependencies). The URL is the same

https://github.com/grwlf/nixcfg/blob/unstable/ideas/unstack.sh

Regards,
Sergey

PS Please let me know if there is another tool for this task
(cabal2nix? stack itself?)

2017-01-10 13:20 GMT+03:00 Sergey Mironov :
>>> I am to package Stack project which
>>>
>>>   1) depends on old lts-2.21 package set from stackage
>>>   2) doesn't have .cabals anymore, only .yamls.
>>>
>>> The question is basically How to do it?
>>
>> Run "hpack" to generate the Cabal files. Then run "cabal2nix" to
>> generate the Nix files. Add those Nix builds to Nixpkgs as explained in
>> the user's manual at:
>>
>>   
>> http://nixos.org/nixpkgs/manual/#how-to-create-nix-builds-for-your-own-private-haskell-packages
>>
>
> OK, I've managed to create a prototype nix-shell script to packaging
> (not simply building) dependencies for a Stack project. Parameters are
> explained in its header.
>
> https://github.com/grwlf/nixcfg/blob/unstable/ideas/unstack.sh
>
> It works by
> 1) Calling stack list-dependencies
> 2) Calling cabal2nix for every dependency
> 3) Producing top-level all.nix expression
>
> The script is not for end-users yet, it doesn't produce final
> expression to build the Stack project, only its dependencies. Also,
> small modification of  pkgs/development/haskell-modules/default.nix is
> required: One should replace line `inherit mkDerivation callPackage;`
> with `inherit mkDerivation callPackage callPackageWithScope;`. Thus,
> callPackageWithScope function will be accessible for the script.
>
> Regards,
> Sergey
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] fdff44: physlock: fix issue 21935

2017-03-15 Thread Bart Brouns
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: fdff442c50b08bc5ba76e76a0b4de5eb8b9ac875
  
https://github.com/NixOS/nixpkgs/commit/fdff442c50b08bc5ba76e76a0b4de5eb8b9ac875
  Author: Bart Brouns 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M nixos/modules/services/security/physlock.nix

  Log Message:
  ---
  physlock: fix issue 21935

(cherry picked from commit bb3ef8a95c9659596b8a34d27881cd30ffea2f9f)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] bb3ef8: physlock: fix issue 21935

2017-03-15 Thread Bart Brouns
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: bb3ef8a95c9659596b8a34d27881cd30ffea2f9f
  
https://github.com/NixOS/nixpkgs/commit/bb3ef8a95c9659596b8a34d27881cd30ffea2f9f
  Author: Bart Brouns 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M nixos/modules/services/security/physlock.nix

  Log Message:
  ---
  physlock: fix issue 21935


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 15e050: sublime3: fix hardcoded /bin/bash when executing c...

2017-03-15 Thread Mogria
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 15e0502f990ac22b1c0c166182299470606ece2a
  
https://github.com/NixOS/nixpkgs/commit/15e0502f990ac22b1c0c166182299470606ece2a
  Author: Mogria 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/applications/editors/sublime3/default.nix

  Log Message:
  ---
  sublime3: fix hardcoded /bin/bash when executing commands for build systems 
(#23561)

* sublime3: replace hardcoded /bin/bash with /usr/bin/env

exec.py in Default.package-sublime calls /bin/bash with subprocess.
See Issue #12011. Because of this builds could not be started from
withtin Sublime Text.

* sublime3: use wrapped of bash to fix internal build system

Without the wrapped version of bash (a symlink to $bash/bin/bash)
with LD_PRELOAD to glibc an relocation error occurs when trying
to run builds from within Sublime Text 3.  See Issue #12011.

(cherry picked from commit 1893ed54dc1ee7cef56be1c2ce7839c9523ba17e)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 1893ed: sublime3: fix hardcoded /bin/bash when executing c...

2017-03-15 Thread Mogria
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1893ed54dc1ee7cef56be1c2ce7839c9523ba17e
  
https://github.com/NixOS/nixpkgs/commit/1893ed54dc1ee7cef56be1c2ce7839c9523ba17e
  Author: Mogria 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/applications/editors/sublime3/default.nix

  Log Message:
  ---
  sublime3: fix hardcoded /bin/bash when executing commands for build systems 
(#23561)

* sublime3: replace hardcoded /bin/bash with /usr/bin/env

exec.py in Default.package-sublime calls /bin/bash with subprocess.
See Issue #12011. Because of this builds could not be started from
withtin Sublime Text.

* sublime3: use wrapped of bash to fix internal build system

Without the wrapped version of bash (a symlink to $bash/bin/bash)
with LD_PRELOAD to glibc an relocation error occurs when trying
to run builds from within Sublime Text 3.  See Issue #12011.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] Fwd: nixos-container networking

2017-03-15 Thread Danylo Hlynskyi
Host side:

networking.bridges.${bridgeName}.interfaces = [];
networking.interfaces.${bridgeName}.ip4 = [ { address = "${subnet}.1";
prefixLength = 24; } ];

# Each container takes at least 4 inotify file handles, so you quickly
reach limit 128 when spawning many containers
boot.kernel.sysctl."fs.inotify.max_user_instances" = 2048;

# internet in containers!
networking.nat.enable = true;
networking.nat.internalInterfaces = [ "ve-+" "vb-+" bridgeName ]; #
TODO check if bridgeName is required
networking.nat.externalInterface = "eth0";

Container side:

privateNetwork = true;
hostBridge = bridgeName;
localAddress = container_ip + "/24";
config = {
networking.defaultGateway = "${subnet}.1";
networking.extraHosts = ''
  ${subnet}.1 ${hostConfig.networking.hostName}
'';
};

There is also some code to set-up hostname resolving via /etc/hosts,
because I know little about DHCP
, mDNS, nss-* and so on (https://github.com/NixOS/nixpkgs/issues/16754). It
is a wrapper around `containers`
and monitors IP clashes (which are set manually in my setup)


In general, I have 1 bridge with multiple IPs/subnets, so containers in one
subnet don't see containers in other.

2017-03-14 20:12 GMT+02:00 Tomasz Czyż :

>
> -- Forwarded message --
> From: Tomasz Czyż 
> Date: 2017-03-14 18:12 GMT+00:00
> Subject: Re: [Nix-dev] nixos-container networking
> To: Danylo Hlynskyi 
>
>
> Hey Danylo,
>
> yup, I hit 13 char limit and because I was removing - I thought it's that.
>
> I also had the issue with recreating containers, but this happened only
> sometimes and didn't happen when I restart the machine so I was not sure
> why is that. Thanks for your mail, it's very useful.
>
> Would you share your bridget networking?
> I was trying that but I'm wondering if you have one shared bridge or you
> have bridge per container and how you access containers from host (or route
> traffic to them).
>
> Cheers,
> Tom
>
>
> 2017-03-14 6:01 GMT+00:00 Danylo Hlynskyi :
>
>> Strange, I have lot's of containers with "-" and experience no problems.
>> But maybe you've exceeded by accident limit 13 symbols per container name?
>>
>> Also, last time I tried "veth" networking, I was struggling from
>> https://github.com/NixOS/nixpkgs/issues/16330. My container experience
>> was awful when I tried container renames. That's why I've already switched
>> to bridged networking
>>
>> ---
>>
>> BTW, I highly recommend patch to switch-to-configuration.pl
>> 
>> from https://github.com/NixOS/nixpkgs/pull/3021/commits/6e36619b2
>> 77f78ece1bb81b79b5651897e46a2bf
>>
>> It isn't clear from commit message, but it does the following: makes
>> declarative containers truly reloadable (when you change
>> container config, it activates new configuration for container). The
>> culprit is *it should be* default behavior, because of
>>
>> 1. https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/v
>> irtualisation/containers.nix#L225-L230
>> 2. https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/v
>> irtualisation/containers.nix#L676
>>
>> I'd like to PR this, but got no time to test properly other parts of
>> Nixos.
>>
>> 2017-03-14 4:42 GMT+02:00 Tomasz Czyż :
>>
>>> Michael, Ian, thank you for your answers.
>>>
>>> Looks like my problem was with the container name. I tried bunch of
>>> different setups which didn't work and I discovered that when I'm using "-"
>>> in container name it doesn't work (I had impression that worked one or two
>>> times when I started machine from scratch, but most of the time didn't).
>>>
>>> After I removed "-" from the name, looks like private network is working
>>> (I can access private IP of container) so I don't need NAT actually.
>>>
>>> Tom
>>>
>>> 2017-03-13 23:54 GMT+00:00 Ian-Woo Kim :
>>>
 I've recently made nixos-container port forwarding easier (both
 imperative and declarative) and it's now merged into master.

 https://github.com/NixOS/nixpkgs/pull/20869

 Hope that this helps.

 Ian

 On Sun, Mar 12, 2017 at 7:52 PM, Michael Walker 
 wrote:
 > Tomasz,
 >
 > I have declarative container networking set up and working on a VPS,
 > but I wrote most of the configuration as I was learning things, so it
 > may not be the best way.
 >
 > Here's the configuration.nix for the VPS:
 > https://github.com/barrucadu/nixfiles/blob/master/hosts/innsmouth.nix
 > Each container has a config file here:
 > https://github.com/barrucadu/nixfiles/tree/master/containers
 >
 > Containers have ports forwarded to them via NAT; each container is
 > running a web server 

Re: [Nix-dev] how to find packages by file?

2017-03-15 Thread Christian Kauhaus
On 14.03.2017 21:24, Roni Choudhury wrote:
> And perhaps a related final question: *how do I know where a given directory
> in /nix/store "came from" - that is, how can I link something in the store to
> something in nixpkgs?*

I have no immediate answer for the first two questions, but to the third one:
use nix-store --query --deriver /nix/store/path/to/file . This will print the
source derivation. The derivation file contains information where it was built
from, but in most cases it is sufficient to simply look at the file name.

HTH

Christian

-- 
Dipl-Inf. Christian Kauhaus <>< · k...@flyingcircus.io · +49 345 219401-0
Flying Circus Internet Operations GmbH · http://flyingcircus.io
Forsterstraße 29 · 06112 Halle (Saale) · Deutschland
HR Stendal 21169 · Geschäftsführer: Christian Theune, Christian Zagrodnick



signature.asc
Description: OpenPGP digital signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nixos-container networking

2017-03-15 Thread Danylo Hlynskyi
I think it's possible. It is even done for imperative containers:
https://github.com/NixOS/nixpkgs/blob/98a9d815e05dd56aba0f9040d96092335cd90444/pkgs/tools/virtualization/nixos-container/nixos-container.pl#L131
(but I think 11 chars is too restrictive - veth name should be 16 chars max
minus 3 for "ve-" or "vb-")

Another possibility to remove this (unintuitive IMO) restriction is to
generate veth name uniquely by some hashing (like it's done in
https://github.com/chrisfarms/nixos-shell ). Yet another possibility -
expose veth name as configurable container parameter (break abstraction).

2017-03-14 16:48 GMT+02:00 Thomas Hunger :

> Would it be possible to add an assert if there are any restrictions on the
> naming? I don't know enough about this to be of much help though.
>
> On 14 March 2017 at 06:01, Danylo Hlynskyi  wrote:
>
>> Strange, I have lot's of containers with "-" and experience no problems.
>> But maybe you've exceeded by accident limit 13 symbols per container name?
>>
>> Also, last time I tried "veth" networking, I was struggling from
>> https://github.com/NixOS/nixpkgs/issues/16330. My container experience
>> was awful when I tried container renames. That's why I've already switched
>> to bridged networking
>>
>> ---
>>
>> BTW, I highly recommend patch to switch-to-configuration.pl
>> 
>> from https://github.com/NixOS/nixpkgs/pull/3021/commits/6e36619b2
>> 77f78ece1bb81b79b5651897e46a2bf
>>
>> It isn't clear from commit message, but it does the following: makes
>> declarative containers truly reloadable (when you change
>> container config, it activates new configuration for container). The
>> culprit is *it should be* default behavior, because of
>>
>> 1. https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/
>> virtualisation/containers.nix#L225-L230
>> 2. https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/
>> virtualisation/containers.nix#L676
>>
>> I'd like to PR this, but got no time to test properly other parts of
>> Nixos.
>>
>> 2017-03-14 4:42 GMT+02:00 Tomasz Czyż :
>>
>>> Michael, Ian, thank you for your answers.
>>>
>>> Looks like my problem was with the container name. I tried bunch of
>>> different setups which didn't work and I discovered that when I'm using "-"
>>> in container name it doesn't work (I had impression that worked one or two
>>> times when I started machine from scratch, but most of the time didn't).
>>>
>>> After I removed "-" from the name, looks like private network is working
>>> (I can access private IP of container) so I don't need NAT actually.
>>>
>>> Tom
>>>
>>> 2017-03-13 23:54 GMT+00:00 Ian-Woo Kim :
>>>
 I've recently made nixos-container port forwarding easier (both
 imperative and declarative) and it's now merged into master.

 https://github.com/NixOS/nixpkgs/pull/20869

 Hope that this helps.

 Ian

 On Sun, Mar 12, 2017 at 7:52 PM, Michael Walker 
 wrote:
 > Tomasz,
 >
 > I have declarative container networking set up and working on a VPS,
 > but I wrote most of the configuration as I was learning things, so it
 > may not be the best way.
 >
 > Here's the configuration.nix for the VPS:
 > https://github.com/barrucadu/nixfiles/blob/master/hosts/innsmouth.nix
 > Each container has a config file here:
 > https://github.com/barrucadu/nixfiles/tree/master/containers
 >
 > Containers have ports forwarded to them via NAT; each container is
 > running a web server on port 80 with the host reverse-proxying via
 > nginx; the host also does https and letsencrypt for all the proxied
 > containers.
 >
 > At the top of the innsmouth.nix file, I have a "containerSpecs" record
 > which has all the details for each container. The relevant bits of the
 > config are:
 >
 > 1. Set up the networking and NAT:
 >
 > networking.nat.enable = true;
 > networking.nat.internalInterfaces = ["ve-+"];
 > networking.nat.externalInterface = "enp0s4";
 >
 > 2. Forward ports to containers:
 >
 > networking.nat.forwardPorts = concatMap
 > ( {num, ports, ...}:
 > map (p: { sourcePort = p; destination =
 > "192.168.255.${toString num}:${toString p}"; }) ports
 > ) containerSpecs';
 >
 > 3. Define all the containers:
 >
 > containers = mapAttrs
 > (_: {num, config, ...}:
 > { autoStart = true
 > ; privateNetwork = true
 > ; hostAddress = "192.168.254.${toString num}"
 > ; localAddress = "192.168.255.${toString num}"
 > ; config = config
 > ; }
 > ) containerSpecs;
 >
 > 4. Reverse-proxy HTTPS to HTTP in each container, manage 

[Nix-commits] [NixOS/nixpkgs] 8ab704: mpd: 0.20.5 -> 0.20.6

2017-03-15 Thread Jörg Thalheim
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8ab704359bfd084d6add0b5ffaa62eb73eb288fb
  
https://github.com/NixOS/nixpkgs/commit/8ab704359bfd084d6add0b5ffaa62eb73eb288fb
  Author: Jörg Thalheim 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/servers/mpd/default.nix
R pkgs/servers/mpd/i386.patch

  Log Message:
  ---
  mpd: 0.20.5 -> 0.20.6

(cherry picked from commit 53d6b64a37cb1f57008c8074d32182ed0dad98c3)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] b1b465: nixos: Add a menu launcher for the NixOS manual

2017-03-15 Thread Benjamin Staffin
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b1b4653c64477b13b79d655f85581387d781c05a
  
https://github.com/NixOS/nixpkgs/commit/b1b4653c64477b13b79d655f85581387d781c05a
  Author: Benjamin Staffin 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M nixos/modules/services/misc/nixos-manual.nix

  Log Message:
  ---
  nixos: Add a menu launcher for the NixOS manual

(cherry picked from commit 638e1b82439e77e2d195ca768296dfd7ff3f35ff)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] ada3bc: mpd: 0.20.5 -> 0.20.6

2017-03-15 Thread Jörg Thalheim
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ada3bcdcda6c0a1b6d1267f5dfebe76538f4545b
  
https://github.com/NixOS/nixpkgs/commit/ada3bcdcda6c0a1b6d1267f5dfebe76538f4545b
  Author: Jörg Thalheim 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/servers/mpd/default.nix
R pkgs/servers/mpd/i386.patch

  Log Message:
  ---
  mpd: 0.20.5 -> 0.20.6


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 638e1b: nixos: Add a menu launcher for the NixOS manual

2017-03-15 Thread Benjamin Staffin
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 638e1b82439e77e2d195ca768296dfd7ff3f35ff
  
https://github.com/NixOS/nixpkgs/commit/638e1b82439e77e2d195ca768296dfd7ff3f35ff
  Author: Benjamin Staffin 
  Date:   2017-03-14 (Tue, 14 Mar 2017)

  Changed paths:
M nixos/modules/services/misc/nixos-manual.nix

  Log Message:
  ---
  nixos: Add a menu launcher for the NixOS manual


  Commit: 98e4c5dd4572d7d38a7fef223f726f89306b20a7
  
https://github.com/NixOS/nixpkgs/commit/98e4c5dd4572d7d38a7fef223f726f89306b20a7
  Author: Benjamin Staffin 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M nixos/modules/services/misc/nixos-manual.nix

  Log Message:
  ---
  Merge pull request #23861 from benley/nixos-manual-launcher

nixos: Add a menu launcher for the NixOS manual


Compare: https://github.com/NixOS/nixpkgs/compare/19cb65206f22...98e4c5dd4572___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 3e88ef: pythonPackages.django-raster: 0.3 -> 0.3.1

2017-03-15 Thread Lancelot SIX
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3e88ef2cb04d53f5c68b14594853353f8857c3f5
  
https://github.com/NixOS/nixpkgs/commit/3e88ef2cb04d53f5c68b14594853353f8857c3f5
  Author: Lancelot SIX 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
A pkgs/development/python-modules/django-raster/default.nix
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.django-raster: 0.3 -> 0.3.1

(cherry picked from commit 9041f0d8d964b0c348f72f10a6aef86155796b4f)


  Commit: 073a8e8ba5a95653d0944434ceedc3f32b7b0089
  
https://github.com/NixOS/nixpkgs/commit/073a8e8ba5a95653d0944434ceedc3f32b7b0089
  Author: Lancelot SIX 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.celery_3: drop

(cherry picked from commit 1ca372e4d23934b857e6d8ca16ed8d5b253b7de8)


Compare: https://github.com/NixOS/nixpkgs/compare/02187c0319fa...073a8e8ba5a9___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] d54696: entr: upgrade to 3.7

2017-03-15 Thread Pascal Wittmann
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d546966d7db702c458e75b4ebab2ef2512bd2411
  
https://github.com/NixOS/nixpkgs/commit/d546966d7db702c458e75b4ebab2ef2512bd2411
  Author: Nick Novitski 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/tools/misc/entr/default.nix

  Log Message:
  ---
  entr: upgrade to 3.7


  Commit: 19cb65206f22dc90388667822f91b3a5892c97c2
  
https://github.com/NixOS/nixpkgs/commit/19cb65206f22dc90388667822f91b3a5892c97c2
  Author: Pascal Wittmann 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/tools/misc/entr/default.nix

  Log Message:
  ---
  Merge pull request #23908 from nicknovitski/entr-update

entr: upgrade to 3.7


Compare: https://github.com/NixOS/nixpkgs/compare/c7669601505c...19cb65206f22___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] c76696: lit: init at 0.5

2017-03-15 Thread Will Dietz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: c7669601505c46c695af7c6f6332f2f5a8ee3cb6
  
https://github.com/NixOS/nixpkgs/commit/c7669601505c46c695af7c6f6332f2f5a8ee3cb6
  Author: Will Dietz 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
A pkgs/development/tools/misc/lit/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  lit: init at 0.5


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-dev] how to find packages by file?

2017-03-15 Thread Roni Choudhury
Hi all-

I have some newbie-type questions, I hope that's ok.

Right now I am trying to set up a shell.nix file for a project that is not
necessarily designed to work under Nix. I'm going about this mainly by
dropping into an "empyt" shell, ru nning the build process, observing what
fails, then adding a dependency to shell.nix file and trying again.

My main question is, *how do I know what package to include to make use of
a given file?* By way of example, I currently require the file
*libpangocairo-1.0.so.0*. I have this file in my nix store, at this path:
*/nix/store/zb524gnvar0ymb47m1jcy667f7cci6g1-pango-1.40.3/lib/libpangocairo-1.0.so.0*.
However, if I include "pango" in my buildInputs, I wind up with the package
at path */nix/store/d2xiaxchih5wz4h9kgndfz3qj8vn1znr-pango-1.40.3-bin*,
which does not contain the library files I need, nor even a lib directory.
With fontconfig, I am able to include fontconfig.lib in my buildInputs to
get the libraries for that package (and also fontconfig.dev to get header
files, etc.), but pango has no lib attribute. So my second question is, *how
do I know whether a package has .lib or .dev attributes?*

A followup question: *if I didn't have libpangocairo.* already in my store,
how would I know which package delivers it?*

And perhaps a related final question: *how do I know where a given
directory in /nix/store "came from" - that is, how can I link something in
the store to something in nixpkgs?*

I realize these are probably basic questions, but I'm trying to bootstrap
myself into higher understanding. Thanks in advance!

roni
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Google Summer of Code 2017

2017-03-15 Thread Anderson Torres
2017-01-08 18:40 GMT-02:00 Profpatsch :
> On 17-01-04 09:42pm, Vladimír Čunát wrote:
>> On 01/04/2017 08:51 PM, Peter Simons wrote:
>> > Another very important topic that needs to be addressed in Nix / Hydra
>> > is the question of how to deal with code that wants to import build
>> > products into the ongoing evaluation. [...]
>>
>> That feels rather vague topic ATM.  My experience is that this kind of
>> "figure it out how to..." tasks isn't very suitable for similar "project
>> proposals" like for GSoC.  Still, if we could converge on some more
>> concrete plan beforehand, maybe the actual implementation would make a
>> good topic...

I would suggest three big fat proposals:

1 - The most flamewar-igniting one: getting rid of systemd dependency!
It would be very nice if the init system was selectable, with a sane
default (as openrc).
It would be hard as hell to port certain software as Gnome stack, but
I think it can be solved.

2 - Another for the even more courageous would be run a Nixos+kNetBSD
(or kFreeBSD), as in Debian. It would be the definitive test for
portability and independence of Nix model.

3 - Another set of defaults for the stdenv, as musl+clang.

>
> Sounds more like a task for a master’s thesis (or adventurous
> bachelor’s thesis) to me.
>
> --
> Proudly written in Mutt with Vim on NixOS.
> Q: Why is this email five sentences or less?
> A: http://five.sentenc.es
> May take up to five days to read your message. If it’s urgent, call me.
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] fetchgit

2017-03-15 Thread Teo Klestrup
Is bcupkgs a fork of Nixpkgs? If so then you probably want to override
Nixpkgs in your NIX_PATH by setting NIX_PATH=nixpkgs=~/local/bcupkgs.

On 9 Mar 2017 11:53 AM, "Sébastien Petitdemange" <
sebastien.petitdema...@esrf.fr> wrote:

Hi,

I've modify fetchgit module to add an optional argument to filter
submodule. And I would like to use this optional argument to build my
local package. Unfortunately, nix-build still get fetchgit from the main
channel instead of ~/local/bcupckgs:

 -> nix-build  --show-trace ~/local/bcupkgs --cores 8 -A lima-core

error: while evaluating the attribute ‘src’ of the derivation
‘lima-core-1.7’ at
/users/blissadm/local/bcupkgs/pkgs/development/libraries/
lima-core/default.nix:10:3:
anonymous function at
/nix/store/apyslcfxrq2s4hsbbidk04jgjlw5vl6n-nixpkgs-17.09pre102884.
b94e253/nixpkgs/pkgs/build-support/fetchgit/default.nix:14:1
called with unexpected argument ‘submodulesList’, at
/users/blissadm/local/bcupkgs/pkgs/development/libraries/
lima-core/default.nix:12:9

it didn't get the "good one" which is in
~/local/bcupkgs/pkgs/build-support/fetchgit.

I've tried to install nix-prefetch-git locally but it doesn't change
anything.
What is the good way to archive this?

Regards,

SEB

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Function to look up symbols dynamically?

2017-03-15 Thread Bryan Ferris
Hello,

I see in the Nix manual that hasAttr and getAttr exist to allow developers
to dynamically access elements of sets. However, I could not find any
equivalent function for dynamically getting a variable. For example, being
able to say:

(lookup "programs").zsh = { enable = true; }

Of course, the above usage is not useful, but it becomes useful if you
replace the "programs" string with a variable.

Is there any way to achieve this in Nix?

Thanks,
Bryan
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nixos-rebuild switch error

2017-03-15 Thread Sander
Linus Heckemann wrote (ao):
> these are the key lines; particularly
> > curl: (6) Couldn't resolve host 'cache.nixos.org '
> This failure is caused by a flaky internet connection, so it makes sense
> that trying again would fix it. Nothing to be concerned about, besides
> perhaps the poor UX, making it very unclear what the actual cause of the
> failure is :)

nix 1.12 contains fixes for that.

Sander
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] ac7cd6: pythonPackages.ipython: 5.2.1 -> 5.3.0

2017-03-15 Thread Nikolay Amiantov
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ac7cd6d9ead2d2230ca19f8fcde42eb185fd081d
  
https://github.com/NixOS/nixpkgs/commit/ac7cd6d9ead2d2230ca19f8fcde42eb185fd081d
  Author: Frederik Rietdijk 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.ipython: 5.2.1 -> 5.3.0

(cherry picked from commit 065383cde82a2d0f9c5ee733a2a20e83073b2a39)


  Commit: 1ea43b180986e8f71733bf1649b5b063ce1a056c
  
https://github.com/NixOS/nixpkgs/commit/1ea43b180986e8f71733bf1649b5b063ce1a056c
  Author: Frederik Rietdijk 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.jupyter_client: 4.4.0 -> 5.0.0

(cherry picked from commit 2a1cceac16bcf4586ee2cd9551bb56ac33f8048a)


  Commit: c1bbd2a30d127e3eba31aa48ea5dec1f23419adb
  
https://github.com/NixOS/nixpkgs/commit/c1bbd2a30d127e3eba31aa48ea5dec1f23419adb
  Author: Frederik Rietdijk 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.jupyter_core: 4.2.1 -> 4.3.0

(cherry picked from commit fbb30ee46f5044fcbdeab50e5f80f2b9a35ea05a)


  Commit: 23c4eed8889f07f41b36ac61795c3d36025dd6d8
  
https://github.com/NixOS/nixpkgs/commit/23c4eed8889f07f41b36ac61795c3d36025dd6d8
  Author: Frederik Rietdijk 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.nbformat: 4.2.0 -> 4.3.0

(cherry picked from commit 044014826be9daccac419650046d36cdaccd41a0)


  Commit: e2f73955c2f45caf8afd5c3a3cfbf82b05445ac5
  
https://github.com/NixOS/nixpkgs/commit/e2f73955c2f45caf8afd5c3a3cfbf82b05445ac5
  Author: Frederik Rietdijk 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.notebook: 4.3.2 -> 4.4.1

(cherry picked from commit 0c11ce654187c9b00963df4e376437cbda38b634)


  Commit: 2880b669fb95632ad52c3b84f25bd45c1cd9a723
  
https://github.com/NixOS/nixpkgs/commit/2880b669fb95632ad52c3b84f25bd45c1cd9a723
  Author: Frederik Rietdijk 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.pathlib2: 2.1.0 -> 2.2.1

(cherry picked from commit bd0a0c79080051d3b7238367adf31faa867cddbf)


  Commit: 8eebf546dc6a594e4a2b9ff3affa516c0ad17e2c
  
https://github.com/NixOS/nixpkgs/commit/8eebf546dc6a594e4a2b9ff3affa516c0ad17e2c
  Author: Frederik Rietdijk 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.pathpy: 8.1.2 -> 10.1

(cherry picked from commit 47f77d6104b888f1f837662b61b9c88d25842c5d)


  Commit: e38ceac67c193b3a0d93bd608a6552f563d5df27
  
https://github.com/NixOS/nixpkgs/commit/e38ceac67c193b3a0d93bd608a6552f563d5df27
  Author: Frederik Rietdijk 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.pickleshare: 0.5 -> 0.7.4

(cherry picked from commit c7268fa2a935ef691b04eabc78f47e926ce0805f)


  Commit: 9c444a2b2b2c624f4c98bb782ba5dfb593b1bdad
  
https://github.com/NixOS/nixpkgs/commit/9c444a2b2b2c624f4c98bb782ba5dfb593b1bdad
  Author: Frederik Rietdijk 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.prompt_toolkit: 1.0.9 -> 1.0.13

(cherry picked from commit db512addefef7063325ec4c595f32b33731ed13a)


  Commit: 95975a7009b5a552ef484e0ec2639363de1db42f
  
https://github.com/NixOS/nixpkgs/commit/95975a7009b5a552ef484e0ec2639363de1db42f
  Author: Frederik Rietdijk 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.pyzmq: 15.2.0 -> 16.0.2

(cherry picked from commit 88a3861c7bdbbc795c3897c8e84aba2334530962)


  Commit: 53ebd7a2ce9f1a1bf53fc89abaed4b7bdaff54df
  
https://github.com/NixOS/nixpkgs/commit/53ebd7a2ce9f1a1bf53fc89abaed4b7bdaff54df
  Author: Frederik Rietdijk 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.ipython_genutils: 0.1.0 -> 0.2.0

(cherry picked from commit fc55e80ee7754c02a51484a820001b0f57889561)


  Commit: ec2d55c59561f2907fdfdf184c56a707822a38d0
  
https://github.com/NixOS/nixpkgs/commit/ec2d55c59561f2907fdfdf184c56a707822a38d0
  Author: Frederik Rietdijk 
  Date:   

[Nix-commits] [NixOS/nixpkgs] 541b3e: travis: send emails iff commit caused the build to...

2017-03-15 Thread Frederik Rietdijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 541b3ec1bc9357fd5c2ff9bcd96a82920f3316c1
  
https://github.com/NixOS/nixpkgs/commit/541b3ec1bc9357fd5c2ff9bcd96a82920f3316c1
  Author: Joachim Fasting 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M .travis.yml

  Log Message:
  ---
  travis: send emails iff commit caused the build to start failing

This setting should ensure that email notifications are sent
*only* when the commit caused the build to start failing.  That
is, no more "the build is still failing" spam.

As an alternative we could consider disabling email
notifications outright and possibly enable IRC notifications
instead.


  Commit: 62d053436176433ef3ee0c204fc9b49f00ae3668
  
https://github.com/NixOS/nixpkgs/commit/62d053436176433ef3ee0c204fc9b49f00ae3668
  Author: Frederik Rietdijk 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M .travis.yml

  Log Message:
  ---
  Merge pull request #23905 from joachifm/travis-nospam

travis: send emails iff commit caused the build to start failing


Compare: https://github.com/NixOS/nixpkgs/compare/9e60a17cb82b...62d053436176___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] bc5692: wordpress: security upgrade: 4.7.2 -> 4.7.3 & othe...

2017-03-15 Thread Bjørn Forsman
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: bc56929a89d9ef28e606e9828d2d3b90a5291e7a
  
https://github.com/NixOS/nixpkgs/commit/bc56929a89d9ef28e606e9828d2d3b90a5291e7a
  Author: Bas van Dijk 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M nixos/modules/services/web-servers/apache-httpd/wordpress.nix
M nixos/tests/wordpress.nix
A pkgs/servers/web-apps/wordpress/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  wordpress: security upgrade: 4.7.2 -> 4.7.3 & other improvements (#23837)

* Moved the wordpress sources derivation to the attribute pkgs.wordpress. This
  makes it easier to override.

* Also introduce the `package` option for the wordpress virtual host config 
which
  defaults to pkgs.wordpress.

* Also fixed the test in nixos/tests/wordpress.nix.
(cherry picked from commit 308c09d41f309e5055e45c66c07454581945d458)


  Commit: 7b710ef6d0ad90fea665c428ba3362dca94537e6
  
https://github.com/NixOS/nixpkgs/commit/7b710ef6d0ad90fea665c428ba3362dca94537e6
  Author: Bjørn Forsman 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/development/libraries/qt-5/5.6/default.nix

  Log Message:
  ---
  qt56.full: add missing modules

qtquickcontrols2, qtwebkit.

Added in the same order as the modules are listed in default.nix (and
then reformatted the block).

(The qt55 expression already has all modules in *full.)

(cherry picked from commit 961c73a78c95b783d4c235b9401ed4b2d0ec377f)


  Commit: 5028bbaba7464bb5399e55330e57d3108be51b87
  
https://github.com/NixOS/nixpkgs/commit/5028bbaba7464bb5399e55330e57d3108be51b87
  Author: Bjørn Forsman 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/development/libraries/qt-5/5.7/default.nix

  Log Message:
  ---
  qt57.full: add missing modules

qtquickcontrols2, qtwebchannel, qtwebengine, qtwebkit.

Added in the same order as the modules are listed in default.nix (and
then reformatted the block).

(cherry picked from commit db937b9d60c281ab34f329867f593cbacaa6866a)


Compare: https://github.com/NixOS/nixpkgs/compare/dc857403dd44...5028bbaba746___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] a6ef71: grsecurity: 4.9.14-201703121245 -> 4.9.15-20170315...

2017-03-15 Thread Herwig Hochleitner
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: a6ef71693d3e819bf96fb3f4ab0be86254a3811b
  
https://github.com/NixOS/nixpkgs/commit/a6ef71693d3e819bf96fb3f4ab0be86254a3811b
  Author: Joachim Fasting 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/os-specific/linux/kernel/linux-grsecurity.nix
M pkgs/os-specific/linux/kernel/patches.nix

  Log Message:
  ---
  grsecurity: 4.9.14-201703121245 -> 4.9.15-201703150049

Contains a fix for the n_hdlc double free bug.

(cherry picked from commit 9e60a17cb82b4387832fd563892c8ee1639a99c8)


  Commit: dc857403dd443fcc11910a26d8e858658809e0c6
  
https://github.com/NixOS/nixpkgs/commit/dc857403dd443fcc11910a26d8e858658809e0c6
  Author: Herwig Hochleitner 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/applications/networking/browsers/chromium/upstream-info.nix

  Log Message:
  ---
  chromium: 56.0.2924.87 -> 57.0.2987.98 [Security]

(cherry picked from commit 49207a62f3f14aefeddd0daf311529a9495101db)


Compare: https://github.com/NixOS/nixpkgs/compare/d9c1a77b89dc...dc857403dd44___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 9e60a1: grsecurity: 4.9.14-201703121245 -> 4.9.15-20170315...

2017-03-15 Thread Joachim Fasting
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 9e60a17cb82b4387832fd563892c8ee1639a99c8
  
https://github.com/NixOS/nixpkgs/commit/9e60a17cb82b4387832fd563892c8ee1639a99c8
  Author: Joachim Fasting 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M pkgs/os-specific/linux/kernel/linux-grsecurity.nix
M pkgs/os-specific/linux/kernel/patches.nix

  Log Message:
  ---
  grsecurity: 4.9.14-201703121245 -> 4.9.15-201703150049

Contains a fix for the n_hdlc double free bug.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits