[Nix-commits] [NixOS/nixpkgs] 9a1507: vmware-guest: fix vmmouse driver

2016-11-19 Thread Joachim F
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 9a1507f2531b2a0afed51e8f171369a54f8e50bd
  
https://github.com/NixOS/nixpkgs/commit/9a1507f2531b2a0afed51e8f171369a54f8e50bd
  Author: Andreas Noever 
  Date:   2016-11-18 (Fri, 18 Nov 2016)

  Changed paths:
M nixos/modules/virtualisation/vmware-guest.nix

  Log Message:
  ---
  vmware-guest: fix vmmouse driver

Fix automatic mouse grabbing/releasing when running as a vmware guest.

1. The xf86inputvmmouse is not loaded by default. Add it.
2. InptutDevice sections for which specify a driver are ignored if
AutoAddDevices is enabled (which it is by default). See [1]. Instead use
an InputClass to load the vmmouse driver.

[1] https://www.x.org/archive/X11R7.7/doc/man/man5/xorg.conf.5.xhtml#heading8


  Commit: eca9955b8302efce3b12b0bc5aa117e38c8315bd
  
https://github.com/NixOS/nixpkgs/commit/eca9955b8302efce3b12b0bc5aa117e38c8315bd
  Author: Joachim F 
  Date:   2016-11-20 (Sun, 20 Nov 2016)

  Changed paths:
M nixos/modules/virtualisation/vmware-guest.nix

  Log Message:
  ---
  Merge pull request #20485 from anoever/master

vmware-guest: fix vmmouse driver


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


[Nix-commits] [NixOS/nixpkgs] f13fa8: franz: Allow to run with grsecurity kernel

2016-11-19 Thread Tim Steinbach
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f13fa8a337863f6d0968bea1a61856beb156a937
  
https://github.com/NixOS/nixpkgs/commit/f13fa8a337863f6d0968bea1a61856beb156a937
  Author: Tim Steinbach 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/applications/networking/instant-messengers/franz/default.nix

  Log Message:
  ---
  franz: Allow to run with grsecurity kernel


  Commit: 9d9338707d7513a5f1e95fcb74d9a5c157842215
  
https://github.com/NixOS/nixpkgs/commit/9d9338707d7513a5f1e95fcb74d9a5c157842215
  Author: Tim Steinbach 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/applications/networking/instant-messengers/franz/default.nix

  Log Message:
  ---
  Merge pull request #20550 from NeQuissimus/franz_grsec

franz: Allow to run with grsecurity kernel


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


[Nix-commits] [NixOS/nixpkgs] e69063: rambox: Allow to run with grsecurity kernel

2016-11-19 Thread Tim Steinbach
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e69063e71a92685abe2ddad18845b699c0a00356
  
https://github.com/NixOS/nixpkgs/commit/e69063e71a92685abe2ddad18845b699c0a00356
  Author: Tim Steinbach 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/applications/networking/instant-messengers/rambox/default.nix

  Log Message:
  ---
  rambox: Allow to run with grsecurity kernel


  Commit: 8e6f36bd7b6ea78dcb26b1be54107ca37c038a81
  
https://github.com/NixOS/nixpkgs/commit/8e6f36bd7b6ea78dcb26b1be54107ca37c038a81
  Author: Tim Steinbach 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/applications/networking/instant-messengers/rambox/default.nix

  Log Message:
  ---
  Merge pull request #20556 from NeQuissimus/rambox_grsec

rambox: Allow to run with grsecurity kernel


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


[Nix-commits] [NixOS/nixpkgs] f198e4: socket-0.7.0.0: Pass new version of QuickCheck

2016-11-19 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f198e4f52383bce5bfb219c564fac35e4182
  
https://github.com/NixOS/nixpkgs/commit/f198e4f52383bce5bfb219c564fac35e4182
  Author: Shea Levy 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  socket-0.7.0.0: Pass new version of QuickCheck


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


[Nix-commits] [NixOS/nixpkgs] 4e2ef7: grsecurity: 4.7.10-201611011946 -> 4.8.7-201611102...

2016-11-19 Thread Joachim Fasting
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4e2ef7caf45a62b0d0c166d531226e4dc6bfea04
  
https://github.com/NixOS/nixpkgs/commit/4e2ef7caf45a62b0d0c166d531226e4dc6bfea04
  Author: Joachim Fasting 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  grsecurity: 4.7.10-201611011946 -> 4.8.7-201611102210

(cherry picked from commit cad9212813603cf3339dc56be974177941a8b3a7)


  Commit: c9e7657a1af9111a40cbec5c115c82569de16940
  
https://github.com/NixOS/nixpkgs/commit/c9e7657a1af9111a40cbec5c115c82569de16940
  Author: Joachim Fasting 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  grsecurity: 4.8.7-201611102210 -> 201611142350

(cherry picked from commit afab1a948eef1b0f1579a8cd50b77b7f2761ae78)


  Commit: c71f556bfcf1c7cb115c85255c4406c6f88b82a2
  
https://github.com/NixOS/nixpkgs/commit/c71f556bfcf1c7cb115c85255c4406c6f88b82a2
  Author: Joachim Fasting 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  grsecurity: 4.8.7-201611142350 -> 4.8.8-201611150756

(cherry picked from commit 0d4e1b5eddb57ed428ac30bfb248ea60ccc2bd2c)


  Commit: f0699f7706b016d9ad37da4e062ac13ce7940393
  
https://github.com/NixOS/nixpkgs/commit/f0699f7706b016d9ad37da4e062ac13ce7940393
  Author: Joachim Fasting 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
A pkgs/os-specific/linux/kernel/grsecurity-modinst.patch
M pkgs/os-specific/linux/kernel/patches.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  grsecurity: work around for #20490

In `scripts/Makefile.modinst`, the code that generates the list of
modules to install passes file names via the command line.  When
installing a grsecurity kernel, this list appears to exceed the
shell's argument list limit, as in

make[2]: execvp: /nix/store/[...]-bash-4.3-p46/bin/bash: Argument list too 
long

The build does not fail, however, but the list of modules to be installed ends
up being empty.  Thus, the resulting kernel package output contains no modules,
rendering it useless.

We work around this by patching the makefile to use `find -exec` to
process files.  Why this would occur for grsecurity and not other
kernels is unknown, most likely there's something *else* that is
actually causing this behaviour, so this is a temporary fix until that
cause is found.

Fixes https://github.com/NixOS/nixpkgs/issues/20490

(cherry picked from commit e38b74ba89d3d03e01ee751131d2a6dc316ac33a)


  Commit: f629ee56678260d9f710b7df768f274b56777a2e
  
https://github.com/NixOS/nixpkgs/commit/f629ee56678260d9f710b7df768f274b56777a2e
  Author: Joachim Fasting 
  Date:   2016-11-20 (Sun, 20 Nov 2016)

  Changed paths:
M pkgs/tools/security/tor/torbrowser.nix

  Log Message:
  ---
  torbrowser: 6.0.5 -> 6.0.6

(cherry picked from commit f477bc98bec323cdb58735580f17701238a7bc68)


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


[Nix-commits] [NixOS/nixpkgs] 399565: Revert "Merge pull request #17145 from kalhauge/ha...

2016-11-19 Thread Vladimír Čunát
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3995655d2c2cc7d9804172cd393cf673a21c5832
  
https://github.com/NixOS/nixpkgs/commit/3995655d2c2cc7d9804172cd393cf673a21c5832
  Author: Shea Levy 
  Date:   2016-11-17 (Thu, 17 Nov 2016)

  Changed paths:
M pkgs/development/haskell-modules/generic-builder.nix

  Log Message:
  ---
  Revert "Merge pull request #17145 from kalhauge/haskell_darwin_dyld"

This fix doesn't actually fix the cabal bug (see #16357), but it does
cause other bugs (see #20476)

Fixes #20476

This reverts commit b89fa5fd5cc3e7d27fb87bc792fe0d6553aec28d, reversing
changes made to e4b146b0417762c461c7f90f587dc82e8524f796.


  Commit: 2aea31b52e42942b5991d480669e88e1e29205ef
  
https://github.com/NixOS/nixpkgs/commit/2aea31b52e42942b5991d480669e88e1e29205ef
  Author: Vladimír Čunát 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/development/haskell-modules/generic-builder.nix

  Log Message:
  ---
  Merge branch 'staging'


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


[Nix-commits] [NixOS/nixpkgs] 3db83d: checkstyle: 6.18 -> 6.19

2016-11-19 Thread Pascal Wittmann
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3db83dd19d6af9135ea1ef5b2020729aa04de345
  
https://github.com/NixOS/nixpkgs/commit/3db83dd19d6af9135ea1ef5b2020729aa04de345
  Author: Pascal Wittmann 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/development/tools/analysis/checkstyle/default.nix

  Log Message:
  ---
  checkstyle: 6.18 -> 6.19


  Commit: c49cd8ee96e9c2feeb143e2c2bc17fc265c7712c
  
https://github.com/NixOS/nixpkgs/commit/c49cd8ee96e9c2feeb143e2c2bc17fc265c7712c
  Author: Pascal Wittmann 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/development/interpreters/groovy/default.nix

  Log Message:
  ---
  groovy: 2.4.6 -> 2.4.7


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


[Nix-commits] [NixOS/nixpkgs] cf0339: beignet, julia: switch back to llvmPackages_37

2016-11-19 Thread Vladimír Čunát
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: cf0339e5ba13627b8b9c84e17262d216a9a75ed3
  
https://github.com/NixOS/nixpkgs/commit/cf0339e5ba13627b8b9c84e17262d216a9a75ed3
  Author: Vladimír Čunát 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  beignet, julia: switch back to llvmPackages_37

They fail both with 3.9 and 3.8.


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


[Nix-commits] [NixOS/nixpkgs] b0a4aa: thunderbird: maintenance 45.4.0 -> 45.5.0

2016-11-19 Thread Vladimír Čunát
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b0a4aad87be412c4b166f6a1ea8229b9c0ff80c3
  
https://github.com/NixOS/nixpkgs/commit/b0a4aad87be412c4b166f6a1ea8229b9c0ff80c3
  Author: Vladimír Čunát 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/applications/networking/mailreaders/thunderbird/default.nix

  Log Message:
  ---
  thunderbird: maintenance 45.4.0 -> 45.5.0

(cherry picked from commit d045f8b4860c0ea7311a05188ab6d472cefbfca7)


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


[Nix-commits] [NixOS/nixpkgs] d045f8: thunderbird: maintenance 45.4.0 -> 45.5.0

2016-11-19 Thread Vladimír Čunát
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d045f8b4860c0ea7311a05188ab6d472cefbfca7
  
https://github.com/NixOS/nixpkgs/commit/d045f8b4860c0ea7311a05188ab6d472cefbfca7
  Author: Vladimír Čunát 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/applications/networking/mailreaders/thunderbird/default.nix

  Log Message:
  ---
  thunderbird: maintenance 45.4.0 -> 45.5.0


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


[Nix-commits] [NixOS/nixpkgs] e672a9: dropbox: 13.4.21 -> 14.4.19

2016-11-19 Thread Thomas Tuegel
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e672a9d1d3b2725167b3c819dfaf2e23ee883fe3
  
https://github.com/NixOS/nixpkgs/commit/e672a9d1d3b2725167b3c819dfaf2e23ee883fe3
  Author: Thomas Tuegel 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/applications/networking/dropbox/default.nix

  Log Message:
  ---
  dropbox: 13.4.21 -> 14.4.19


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


Re: [Nix-dev] Distributing files between machines in a nixops deployment

2016-11-19 Thread Marius Bergmann
You did not attach a link to your mail, but I guess you mean
https://blog.wearewizards.io/how-to-use-nixops-in-a-team ?


On 2016-11-19 18:08, Maarten Hoogendoorn wrote:
> I'm not pretending to be a NixOps expert, but I think the approach of
> generating the secret in the "deployment" machine is good enough.
> You could store the private key encrypted in a git repository. Have you
> seen this [1] blog post? It describes how to do this in a team.
> 
> Best regards,
> Maarten
> 
> 
> 2016-11-19 12:50 GMT+01:00 Marius Bergmann  >:
> 
> On 2016-11-19 12:46, Arnold Krille wrote:
> > On Sat, 19 Nov 2016 12:10:59 +0100 Marius Bergmann  >
> > wrote:
> >> Is it possible to declare the distribution of a file (in my case
> a ssh
> >> server/client public key) to different machines in a nixops
> >> deployment?
> >>
> >> I want to create a client keypair on one machine and then authorize
> >> the public part on several other machines in the deployment. Those
> >> other machines' public server keys should also be added to the
> >> known_hosts of the machine logging into them.
> >>
> >> I know I could create all the keypairs on the machine running nixops
> >> and send both the public as well as the private keys over the
> >> network, but I would like to find out if there's a way around it.
> >
> > I think this is one of the things you don't do/want with Nix/NixOps as
> > this is essentially self-modifying deployment. Which makes the
> > deployment non-deterministic and unreproducible in the strict sense.
> > With deployment-/configuration-management systems that have a central
> > node and database, like chef and puppet can have, you can do such
> > things. For Nix this is counter-intuitive.
> >
> > - Arnold
> 
> Do you have a recommendation on how to handle my use case then? In
> practice, I need this to allow the backup user to log into the machines
> being backed up. Would you use a central location for all the key pairs?
> ___
> 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] eaf427: llvmPackages: still use 3.7.x on Darwin (#20461)

2016-11-19 Thread Vladimír Čunát
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: eaf42722981f51bcb33b442290fbb4ab24f3039e
  
https://github.com/NixOS/nixpkgs/commit/eaf42722981f51bcb33b442290fbb4ab24f3039e
  Author: Vladimír Čunát 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  llvmPackages: still use 3.7.x on Darwin (#20461)

I'm sorry, I forgot that.


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


Re: [Nix-dev] Distributing files between machines in a nixops deployment

2016-11-19 Thread Maarten Hoogendoorn
I'm not pretending to be a NixOps expert, but I think the approach of
generating the secret in the "deployment" machine is good enough.
You could store the private key encrypted in a git repository. Have you
seen this [1] blog post? It describes how to do this in a team.

Best regards,
Maarten


2016-11-19 12:50 GMT+01:00 Marius Bergmann :

> On 2016-11-19 12:46, Arnold Krille wrote:
> > On Sat, 19 Nov 2016 12:10:59 +0100 Marius Bergmann 
> > wrote:
> >> Is it possible to declare the distribution of a file (in my case a ssh
> >> server/client public key) to different machines in a nixops
> >> deployment?
> >>
> >> I want to create a client keypair on one machine and then authorize
> >> the public part on several other machines in the deployment. Those
> >> other machines' public server keys should also be added to the
> >> known_hosts of the machine logging into them.
> >>
> >> I know I could create all the keypairs on the machine running nixops
> >> and send both the public as well as the private keys over the
> >> network, but I would like to find out if there's a way around it.
> >
> > I think this is one of the things you don't do/want with Nix/NixOps as
> > this is essentially self-modifying deployment. Which makes the
> > deployment non-deterministic and unreproducible in the strict sense.
> > With deployment-/configuration-management systems that have a central
> > node and database, like chef and puppet can have, you can do such
> > things. For Nix this is counter-intuitive.
> >
> > - Arnold
>
> Do you have a recommendation on how to handle my use case then? In
> practice, I need this to allow the backup user to log into the machines
> being backed up. Would you use a central location for all the key pairs?
> ___
> 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] 0df630: llvmPackages: default to 3.9.x (#20461)

2016-11-19 Thread Vladimír Čunát
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0df6305a9840f90ed53f90d08388db11442df492
  
https://github.com/NixOS/nixpkgs/commit/0df6305a9840f90ed53f90d08388db11442df492
  Author: Vladimír Čunát 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  llvmPackages: default to 3.9.x (#20461)

It seems not to be any mass rebuild at all.


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


[Nix-commits] [NixOS/nixpkgs] 829864: python2.7-nevow: 0.11.1 -> 0.14.2

2016-11-19 Thread Corbin
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8298646baa13ee5694e3ba9ebae8ff599f108144
  
https://github.com/NixOS/nixpkgs/commit/8298646baa13ee5694e3ba9ebae8ff599f108144
  Author: Corbin 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  python2.7-nevow: 0.11.1 -> 0.14.2

Nevow has one user, Tahoe-LAFS, and that one user has broken functionality
with old Nevow, so I'm bumping.

(cherry picked from commit dec4ec07bdf453183902f59b6271291a0c15359c)


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


[Nix-commits] [NixOS/nixpkgs] e0e72a: Merge pull request #20524 from FPtje/patch-1

2016-11-19 Thread Thomas Tuegel
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e0e72aa8d97f1bab67a401510403fdb2d35da295
  
https://github.com/NixOS/nixpkgs/commit/e0e72aa8d97f1bab67a401510403fdb2d35da295
  Author: Thomas Tuegel 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/development/libraries/science/math/openblas/default.nix

  Log Message:
  ---
  Merge pull request #20524 from FPtje/patch-1

Support for ARM in openblas
(cherry picked from commit d1b4358453cf76900cc5b51c0221abdee0eb356e)


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


[Nix-commits] [NixOS/nixpkgs] 12cc39: ios-cross: Document known prefixes

2016-11-19 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 12cc39514eb10988058a0fefef14634e60f74516
  
https://github.com/NixOS/nixpkgs/commit/12cc39514eb10988058a0fefef14634e60f74516
  Author: Shea Levy 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/os-specific/darwin/ios-cross/default.nix

  Log Message:
  ---
  ios-cross: Document known prefixes


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


[Nix-dev] Put a cow in your iPhone with nix!

2016-11-19 Thread Shea Levy
Hi all,

Leveraging the recent haskell cross-compilation and iOS
cross-compilation I've added to nixpkgs, you can now get a cow to talk
to you from your iPhone with nix! Check out the repo [1] and run
./run-cow-in-sim.sh to get a simulation of this experience right from
your OS X box with the iPhoneSimulator 10.0 SDK (bundled with latest
xcode as of this writing)!

Thanks,
Shea

[1] https://github.com/shlevy/cowsay-haskell


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


[Nix-commits] [NixOS/nixpkgs] 606701: Merge pull request #20551 from NeQuissimus/linux_4...

2016-11-19 Thread Tim Steinbach
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 606701bda5023e8b6739738040ec8144f4dc3ba4
  
https://github.com/NixOS/nixpkgs/commit/606701bda5023e8b6739738040ec8144f4dc3ba4
  Author: Tim Steinbach 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  Merge pull request #20551 from NeQuissimus/linux_4_4_33

linux: 4.4.32 -> 4.4.33
(cherry picked from commit c86a15aa3b35aa5d54e178c0fa30986f8c97ccde)


  Commit: 934e314246633683d91c2425a769f6f47c4b2f5c
  
https://github.com/NixOS/nixpkgs/commit/934e314246633683d91c2425a769f6f47c4b2f5c
  Author: Tim Steinbach 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  Merge pull request #20552 from NeQuissimus/linux_4_8_9

linux: 4.8.8 -> 4.8.9
(cherry picked from commit 13491f9f485827568433b0f2a30dc1760e82ea31)


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


[Nix-commits] [NixOS/nixpkgs] 250224: linux: 4.8.8 -> 4.8.9

2016-11-19 Thread Tim Steinbach
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 250224bf019fd1a96dbe66b36b19f1e45bb662cd
  
https://github.com/NixOS/nixpkgs/commit/250224bf019fd1a96dbe66b36b19f1e45bb662cd
  Author: Tim Steinbach 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  linux: 4.8.8 -> 4.8.9


  Commit: 13491f9f485827568433b0f2a30dc1760e82ea31
  
https://github.com/NixOS/nixpkgs/commit/13491f9f485827568433b0f2a30dc1760e82ea31
  Author: Tim Steinbach 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  Merge pull request #20552 from NeQuissimus/linux_4_8_9

linux: 4.8.8 -> 4.8.9


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


[Nix-commits] [NixOS/nixpkgs] d3b8a7: linux: 4.4.32 -> 4.4.33

2016-11-19 Thread Tim Steinbach
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d3b8a77834e53d16bb11774a1aa3036a0d0f7555
  
https://github.com/NixOS/nixpkgs/commit/d3b8a77834e53d16bb11774a1aa3036a0d0f7555
  Author: Tim Steinbach 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  linux: 4.4.32 -> 4.4.33


  Commit: c86a15aa3b35aa5d54e178c0fa30986f8c97ccde
  
https://github.com/NixOS/nixpkgs/commit/c86a15aa3b35aa5d54e178c0fa30986f8c97ccde
  Author: Tim Steinbach 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  Merge pull request #20551 from NeQuissimus/linux_4_4_33

linux: 4.4.32 -> 4.4.33


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


[Nix-commits] [NixOS/nixpkgs] f32a8e: xidel: refactor & fix eval

2016-11-19 Thread Joachim Fasting
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f32a8eb6cca994118c673cfe0a5743bcbb3dfa42
  
https://github.com/NixOS/nixpkgs/commit/f32a8eb6cca994118c673cfe0a5743bcbb3dfa42
  Author: Joachim Fasting 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  xidel: refactor & fix eval

- Fix eval by removing reference to non-existent stdenv.glibc
- Simplify patchelf calls
- Set meta.platforms = linux


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


[Nix-commits] [NixOS/nixpkgs] a70438: haskell/ghcjs: patch Safe out of fast-logger

2016-11-19 Thread Profpatsch
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: a7043808dd63d3cbda42a273e60bc4a5244bd32f
  
https://github.com/NixOS/nixpkgs/commit/a7043808dd63d3cbda42a273e60bc4a5244bd32f
  Author: Profpatsch 
  Date:   2016-11-18 (Fri, 18 Nov 2016)

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

  Log Message:
  ---
  haskell/ghcjs: patch Safe out of fast-logger


  Commit: 06e0bac814596a57166c1e862f06f8908deeb4de
  
https://github.com/NixOS/nixpkgs/commit/06e0bac814596a57166c1e862f06f8908deeb4de
  Author: Profpatsch 
  Date:   2016-11-18 (Fri, 18 Nov 2016)

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

  Log Message:
  ---
  haskell/ghcjs: sort ghcjs packages alphabetically


  Commit: 786c13c8844ca07e100b9c7a0e6de65362ca0a83
  
https://github.com/NixOS/nixpkgs/commit/786c13c8844ca07e100b9c7a0e6de65362ca0a83
  Author: Profpatsch 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

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

  Log Message:
  ---
  Merge pull request #20534 from Profpatsch/ghcjs-sort-configuration

Ghcjs sort configuration


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


[Nix-commits] [NixOS/nixpkgs] 254060: thunderbird-bin: 45.4.0 -> 45.5.0

2016-11-19 Thread Graham Christensen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 2540608f439ab61585d6e22882acbff500b75098
  
https://github.com/NixOS/nixpkgs/commit/2540608f439ab61585d6e22882acbff500b75098
  Author: taku0 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/applications/networking/mailreaders/thunderbird-bin/sources.nix

  Log Message:
  ---
  thunderbird-bin: 45.4.0 -> 45.5.0


  Commit: df21b76a21b3af51743501407e9b40df795996e9
  
https://github.com/NixOS/nixpkgs/commit/df21b76a21b3af51743501407e9b40df795996e9
  Author: Graham Christensen 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/applications/networking/mailreaders/thunderbird-bin/sources.nix

  Log Message:
  ---
  Merge pull request #20541 from taku0/thunderbird-bin-45.5.0

thunderbird-bin: 45.4.0 -> 45.5.0


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


Re: [Nix-dev] getting dependencies

2016-11-19 Thread stewart mackenzie
okay this bit of code did it:

...
  propagatedBuildInputs = importedContracts;
  installPhase = ''
runHook preInstall
mkdir -p $out/src
mkdir -p $out/nix-support
for i in $importedContracts; do
  echo $i >> $out/nix-support/propagated-build-inputs
done
propagated=""
for i in $importedContracts; do
findInputs $i propagated propagated-build-inputs
done
echo $propagated
cp ${contractText} $out/src/contract.capnp
${capnproto}/bin/capnp compile
-o${capnpc-rust}/bin/capnpc-rust:$out/src/  $out/src/contract.capnp
--src-prefix $out/src/ -I "/"
  '';
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Distributing files between machines in a nixops deployment

2016-11-19 Thread Marius Bergmann
On 2016-11-19 12:46, Arnold Krille wrote:
> On Sat, 19 Nov 2016 12:10:59 +0100 Marius Bergmann 
> wrote:
>> Is it possible to declare the distribution of a file (in my case a ssh
>> server/client public key) to different machines in a nixops
>> deployment?
>>
>> I want to create a client keypair on one machine and then authorize
>> the public part on several other machines in the deployment. Those
>> other machines' public server keys should also be added to the
>> known_hosts of the machine logging into them.
>>
>> I know I could create all the keypairs on the machine running nixops
>> and send both the public as well as the private keys over the
>> network, but I would like to find out if there's a way around it.
> 
> I think this is one of the things you don't do/want with Nix/NixOps as
> this is essentially self-modifying deployment. Which makes the
> deployment non-deterministic and unreproducible in the strict sense.
> With deployment-/configuration-management systems that have a central
> node and database, like chef and puppet can have, you can do such
> things. For Nix this is counter-intuitive.
> 
> - Arnold

Do you have a recommendation on how to handle my use case then? In
practice, I need this to allow the backup user to log into the machines
being backed up. Would you use a central location for all the key pairs?
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Distributing files between machines in a nixops deployment

2016-11-19 Thread Arnold Krille
On Sat, 19 Nov 2016 12:10:59 +0100 Marius Bergmann 
wrote:
> Is it possible to declare the distribution of a file (in my case a ssh
> server/client public key) to different machines in a nixops
> deployment?
> 
> I want to create a client keypair on one machine and then authorize
> the public part on several other machines in the deployment. Those
> other machines' public server keys should also be added to the
> known_hosts of the machine logging into them.
> 
> I know I could create all the keypairs on the machine running nixops
> and send both the public as well as the private keys over the
> network, but I would like to find out if there's a way around it.

I think this is one of the things you don't do/want with Nix/NixOps as
this is essentially self-modifying deployment. Which makes the
deployment non-deterministic and unreproducible in the strict sense.
With deployment-/configuration-management systems that have a central
node and database, like chef and puppet can have, you can do such
things. For Nix this is counter-intuitive.

- Arnold


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


[Nix-dev] Distributing files between machines in a nixops deployment

2016-11-19 Thread Marius Bergmann
Hello!

Is it possible to declare the distribution of a file (in my case a ssh
server/client public key) to different machines in a nixops deployment?

I want to create a client keypair on one machine and then authorize the
public part on several other machines in the deployment. Those other
machines' public server keys should also be added to the known_hosts of
the machine logging into them.

I know I could create all the keypairs on the machine running nixops and
send both the public as well as the private keys over the network, but I
would like to find out if there's a way around it.

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


[Nix-commits] [NixOS/nixpkgs] 402c07: Expose guts of `cleanSource`

2016-11-19 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 402c07c5636c426d7a257e0f71e6794246ee24e0
  
https://github.com/NixOS/nixpkgs/commit/402c07c5636c426d7a257e0f71e6794246ee24e0
  Author: Elliot Cameron <3n...@users.noreply.github.com>
  Date:   2016-11-17 (Thu, 17 Nov 2016)

  Changed paths:
M lib/sources.nix

  Log Message:
  ---
  Expose guts of `cleanSource`

Ref #20511


  Commit: 18b8e4508ca9913ab5535bcc981d3671059de428
  
https://github.com/NixOS/nixpkgs/commit/18b8e4508ca9913ab5535bcc981d3671059de428
  Author: Domen Kožar 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M lib/sources.nix

  Log Message:
  ---
  Merge pull request #20512 from 3noch/patch-1

Expose guts of `cleanSource`


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


[Nix-commits] [NixOS/nixpkgs] 4cdfa0: axel: 2.7 -> 2.11

2016-11-19 Thread Pascal Wittmann
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4cdfa0b96a58907851866b210f8fc24d4d811fc0
  
https://github.com/NixOS/nixpkgs/commit/4cdfa0b96a58907851866b210f8fc24d4d811fc0
  Author: Pascal Wittmann 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/tools/networking/axel/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  axel: 2.7 -> 2.11


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


[Nix-commits] [NixOS/nixpkgs] d6c5b9: afl-qemu: use python2

2016-11-19 Thread Frederik Rietdijk
  Branch: refs/heads/python3
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d6c5b92ca0a992a78306e077104765e6fb8e1728
  
https://github.com/NixOS/nixpkgs/commit/d6c5b92ca0a992a78306e077104765e6fb8e1728
  Author: Frederik Rietdijk 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/tools/security/afl/qemu.nix

  Log Message:
  ---
  afl-qemu: use python2


  Commit: 3965647f968b4049bd9048cb8ccc285058758a83
  
https://github.com/NixOS/nixpkgs/commit/3965647f968b4049bd9048cb8ccc285058758a83
  Author: Frederik Rietdijk 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/applications/networking/browsers/chromium/common.nix

  Log Message:
  ---
  chromium: use python2


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


[Nix-dev] getting dependencies

2016-11-19 Thread stewart mackenzie
Greetings,

The actual code in question is here:
https://github.com/fractalide/fractalide/blob/master/contracts/list/command/default.nix
Notice all the duplication!

My problem: Achieve Contract Composition!

This is where Command should be - without the Tuple duplication!:
https://github.com/fractalide/fractalide/blob/master/contracts/command/default.nix

This is where Tuple should be:
https://github.com/fractalide/fractalide/blob/master/contracts/tuple/default.nix


Each derivation will generate a *.rs file from a *.capnp file.

This is the technique capnproto uses to import another capnproto file:

```

# /nix/store/...-bar/src/contract.capnp
@0x8744595ef8d1c0ed;

struct Bar {
  a @0 :Text;
}
```

and in a separate derivation

```
# /nix/store/...-qux/src/contract.capnp
@0x99055c3145684b93;

using Bar = import "${bar}/src/contract.capnp";
struct Qux {
  a @0 :List(Bar.Bar);
}
```
(that ${bar} is nix code! I'm omitting the { bar }: at the top of the file)

The compilation of Qux works but when a component imports the
generated Qux.rs code and compiles Qux it will fail because there is
no generated Bar.rs code present, and therefore there are unresolved
dependencies on Bar.

A possible way to work around this is:

What I need to do is have a list of all the dependencies of Qux and
then concatenate the results of all the dependency derivation's *.rs
together into one final Qux.rs file.

This would then satisfy any component that uses Qux.rs

My question: how do I get a *unique* list of all the dependencies of
Qux? If it's not unique I could run into name collisions when
compiling the concatenated list.

This has to be a common issue and there must be a simple solution in nix.

Now I need help with my incompetence please.

I looked at propagatedBuildInputs, but it doesn't seem to work. Why?

Z depends on Y
Y depends on X

When I compile Z, X does not appear in any of the env-vars fields!
Only Y appears in an environment variable called
propagatedNativeBuildInputs (whatever that is, there doesn't seem to
be any documentation on propagatedNativeBuildInputs) Despite the
documentation saying otherwise. Secondly I cannot find a
nix-support/propagated-build-inputs file anywhere.

here is the documentation:

"propagatedBuildInputs

Like buildInputs, but these dependencies are propagated: that is, the
dependencies listed here are added to the buildInputs of any package
that uses this package as a dependency. So if package Y has
propagatedBuildInputs = [X], and package Z has buildInputs = [Y], then
package X will appear in Z’s build environment automatically."

Using this logic, I would need to include any dependent contract in
both the buildInputs and propagatedBuildInputs, so that contracts
would propagate "upstream". This also doesn't seem to work.

What am I missing?

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


[Nix-commits] [NixOS/nixpkgs] 05e838: gn: use python2

2016-11-19 Thread Frederik Rietdijk
  Branch: refs/heads/python3
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 05e8380c505bd9f8187b0b18af568a1002527a0c
  
https://github.com/NixOS/nixpkgs/commit/05e8380c505bd9f8187b0b18af568a1002527a0c
  Author: Frederik Rietdijk 
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
M pkgs/development/tools/build-managers/gn/default.nix

  Log Message:
  ---
  gn: use python2


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