[Nix-commits] [NixOS/nixpkgs] 72e6be: libvirt and pythonPackages.libvirt: 2.1.0 -> 2.2.0

2016-09-05 Thread Rickard Nilsson
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 72e6be399f76fd3a8efc9d9e7bdeb3fe8e100c07
  
https://github.com/NixOS/nixpkgs/commit/72e6be399f76fd3a8efc9d9e7bdeb3fe8e100c07
  Author: Rickard Nilsson 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
M pkgs/development/libraries/libvirt/default.nix
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  libvirt and pythonPackages.libvirt: 2.1.0 -> 2.2.0

(cherry picked from commit 3d03d3e6155983155109bb2a3b4cbce1080ff858)


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


[Nix-commits] [NixOS/nixpkgs] 3d03d3: libvirt and pythonPackages.libvirt: 2.1.0 -> 2.2.0

2016-09-05 Thread Rickard Nilsson
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3d03d3e6155983155109bb2a3b4cbce1080ff858
  
https://github.com/NixOS/nixpkgs/commit/3d03d3e6155983155109bb2a3b4cbce1080ff858
  Author: Rickard Nilsson 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
M pkgs/development/libraries/libvirt/default.nix
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  libvirt and pythonPackages.libvirt: 2.1.0 -> 2.2.0


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


Re: [Nix-dev] building ruby package utf-8 needed

2016-09-05 Thread Matthew O'Gorman
I was able to get everything compiled and running by doing this to the
gem builder. I realize it's wrong way to do this as it effects all
pkgs. but something like this would work i think.
diff --git a/pkgs/development/ruby-modules/gem/default.nix 
b/pkgs/development/ruby-modules/gem/default.nix
index 347c4a7..a225a31 100644
--- a/pkgs/development/ruby-modules/gem/default.nix
+++ b/pkgs/development/ruby-modules/gem/default.nix
@@ -19,7 +19,7 @@
 # $out/bin.
 
 { lib, fetchurl, fetchgit, makeWrapper, git, darwin
-, ruby, bundler
+, ruby, bundler, glibcLocales
 } @ defs:
 
 lib.makeOverridable (
@@ -82,7 +82,7 @@ stdenv.mkDerivation (attrs // {
   inherit type;
 
   buildInputs = [
-ruby makeWrapper
+ruby makeWrapper glibcLocales
   ] ++ lib.optionals (type == "git") [ git bundler ]
 ++ lib.optional stdenv.isDarwin darwin.libobjc
 ++ buildInputs;
@@ -152,6 +152,9 @@ stdenv.mkDerivation (attrs // {
   installPhase = attrs.installPhase or ''
 runHook preInstall
 
+export LANG="en_US.UTF-8"
+export LC_ALL="en_US.UTF-8"
+
 export GEM_HOME=$out/${ruby.gemPath}
 mkdir -p $GEM_HOME
 


-- 
Matthew O'Gorman
BM-NBUmia4p88Jny5bZbRGcMt64SWWp5WVv
TorChat: 5w3dtk7nhkkijcpc
Site: https://b.rldn.net
Xim/Email: m...@rldn.net
mog@rldn:~$ fortune wisdom -s|cowsay -f /dev/null
 _ 
/ Well, you know, no matter where you go, \
| there you are.  |
| |
\ -- Buckaroo Banzai  /
 - 


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] 47e6d7: minizinc: init at 2.0.14 (#18308)

2016-09-05 Thread Sheena Artrip
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 47e6d7d88cd1dba06ce0fe8fbf810c9439c1c13f
  
https://github.com/NixOS/nixpkgs/commit/47e6d7d88cd1dba06ce0fe8fbf810c9439c1c13f
  Author: Sheena Artrip 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

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

  Log Message:
  ---
  minizinc: init at 2.0.14 (#18308)


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


[Nix-commits] [NixOS/nixpkgs] 17ff46: man-db: set troff command correctly (#18333)

2016-09-05 Thread Ram Kromberg
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 17ff46f8c0ae64caccdd7bddd860abe2262b9fa4
  
https://github.com/NixOS/nixpkgs/commit/17ff46f8c0ae64caccdd7bddd860abe2262b9fa4
  Author: Ram Kromberg 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
M pkgs/tools/misc/man-db/default.nix

  Log Message:
  ---
  man-db: set troff command correctly (#18333)

(cherry picked from commit 0b469a6725a932456bea616a42bc8fdd313db80c)


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


[Nix-commits] [NixOS/nixpkgs] 0b469a: man-db: set troff command correctly (#18333)

2016-09-05 Thread Ram Kromberg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0b469a6725a932456bea616a42bc8fdd313db80c
  
https://github.com/NixOS/nixpkgs/commit/0b469a6725a932456bea616a42bc8fdd313db80c
  Author: Ram Kromberg 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
M pkgs/tools/misc/man-db/default.nix

  Log Message:
  ---
  man-db: set troff command correctly (#18333)

Signed-off-by: Ram Kromberg 


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


[Nix-commits] [NixOS/nixpkgs] 6ac7ff: tomcat5: remove since it's end of life (#18341)

2016-09-05 Thread Alexander Ried
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6ac7ffd9d7febdd51dc3a13ce3163115ade6696e
  
https://github.com/NixOS/nixpkgs/commit/6ac7ffd9d7febdd51dc3a13ce3163115ade6696e
  Author: Alexander Ried 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
R pkgs/servers/http/tomcat/5.0.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  tomcat5: remove since it's end of life (#18341)

Source is not available anymore.
(cherry picked from commit 36e8df19e12363627a25c4dc6e96e99bb66233eb)


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


[Nix-commits] [NixOS/nixpkgs] 6f5f20: tomcat5: remove since it's end of life (#18341)

2016-09-05 Thread Franz Pletz
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6f5f20fca66cca07d1f3f72dfd3710bfcd975c84
  
https://github.com/NixOS/nixpkgs/commit/6f5f20fca66cca07d1f3f72dfd3710bfcd975c84
  Author: Alexander Ried 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
R pkgs/servers/http/tomcat/5.0.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  tomcat5: remove since it's end of life (#18341)

Source is not available anymore.
(cherry picked from commit 36e8df19e12363627a25c4dc6e96e99bb66233eb)


  Commit: 7c377f8fb92e33cb78f7180fd1abf1deb27afa3f
  
https://github.com/NixOS/nixpkgs/commit/7c377f8fb92e33cb78f7180fd1abf1deb27afa3f
  Author: Franz Pletz 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
M pkgs/os-specific/linux/batman-adv/alfred.nix
M pkgs/os-specific/linux/batman-adv/batctl.nix
M pkgs/os-specific/linux/batman-adv/default.nix

  Log Message:
  ---
  batman-adv: 2016.2 -> 2016.3

(cherry picked from commit 9a2065ff2a44791ebe0886a2dba3904bf4dc7a9d)


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


[Nix-commits] [NixOS/nixpkgs] 9a2065: batman-adv: 2016.2 -> 2016.3

2016-09-05 Thread Franz Pletz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 9a2065ff2a44791ebe0886a2dba3904bf4dc7a9d
  
https://github.com/NixOS/nixpkgs/commit/9a2065ff2a44791ebe0886a2dba3904bf4dc7a9d
  Author: Franz Pletz 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
M pkgs/os-specific/linux/batman-adv/alfred.nix
M pkgs/os-specific/linux/batman-adv/batctl.nix
M pkgs/os-specific/linux/batman-adv/default.nix

  Log Message:
  ---
  batman-adv: 2016.2 -> 2016.3


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


[Nix-commits] [NixOS/nixpkgs] 36e8df: tomcat5: remove since it's end of life (#18341)

2016-09-05 Thread Alexander Ried
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 36e8df19e12363627a25c4dc6e96e99bb66233eb
  
https://github.com/NixOS/nixpkgs/commit/36e8df19e12363627a25c4dc6e96e99bb66233eb
  Author: Alexander Ried 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
R pkgs/servers/http/tomcat/5.0.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  tomcat5: remove since it's end of life (#18341)

Source is not available anymore.


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


Re: [Nix-dev] Build a default.nix for a project with node.js and python dependencies

2016-09-05 Thread Rok Garbas
to generate nix expressions from pip's requirements.txt file i created
pypi2nix[1] which should get you very close.

[1] https://github.com/garbas/pypi2nix

On Mon, Sep 5, 2016 at 11:25 PM, Sander van der Burg
 wrote:
> A bit difficult to give a very concrete answer, since there are many ways to
> create hybrid packages.
>
> Anyway, a possible strategy is to create a derivation/package that runs pip
> and keeps the resulting output source tree. Then use node2nix to generate
> Nix expressions from package.json file that is in the same project.
>
> Then override the node2nix generated expression (see the README.md of
> node2nix how to do this) and point the src = parameter to the derivation
> that runs pip (and keeps the corresponding source tree).
>
> Quite a bit of hacking, but if the steps that you describe are correct, then
> I expect it to work.
>
>
> On Mon, Sep 5, 2016 at 5:22 PM, Dmitry Malikov 
> wrote:
>>
>> Hey guys,
>>
>> There is a project with node.js and python dependencies which is need to
>> be run inside an isolated environment.
>>
>> Right now the whole flow consists of 3 steps:
>>
>> pip install -r requirements.txt --upgrade
>> npm install
>> npm run build
>>
>> What I'm looking for is a single default.nix file built basing on
>> dependencies listed in 'requirements.txt' and 'package.json' files, allowing
>> to do these steps via 'nix-shell' command.
>>
>> Could you please point me at the right direction?
>>
>> Thanks.
>>
>> ___
>> 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
>



-- 
Rok Garbas
https://garbas.si
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] c7a5ed: honcho: md5->sha256

2016-09-05 Thread Graham Christensen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: c7a5edcb7c071d5f06f383ed241fcf750a776767
  
https://github.com/NixOS/nixpkgs/commit/c7a5edcb7c071d5f06f383ed241fcf750a776767
  Author: Chris Martin 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/tools/system/honcho/default.nix

  Log Message:
  ---
  honcho: md5->sha256


  Commit: 66f05a9b7236347101c13d96a1eb28ed5a086f52
  
https://github.com/NixOS/nixpkgs/commit/66f05a9b7236347101c13d96a1eb28ed5a086f52
  Author: Chris Martin 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/misc/drivers/dell-530cdn/default.nix

  Log Message:
  ---
  dell-530cdn: md5->sha256


  Commit: a2c0fdc50328fdc5f7a63e43bf20ffea81888f4b
  
https://github.com/NixOS/nixpkgs/commit/a2c0fdc50328fdc5f7a63e43bf20ffea81888f4b
  Author: Chris Martin 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

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

  Log Message:
  ---
  eclipse-sdk-35: md5->sha256


  Commit: e7477c64996cc4105f5c1b2b90e49704bb5486be
  
https://github.com/NixOS/nixpkgs/commit/e7477c64996cc4105f5c1b2b90e49704bb5486be
  Author: Chris Martin 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/graphics/gqview/default.nix

  Log Message:
  ---
  gqvieq: md5->sha256


  Commit: 23d605d4ce550d1a922fee069f3c7c743dc2985d
  
https://github.com/NixOS/nixpkgs/commit/23d605d4ce550d1a922fee069f3c7c743dc2985d
  Author: Chris Martin 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/graphics/ktikz/default.nix

  Log Message:
  ---
  ktikz: md5->sha256


  Commit: 77fe797525301968ff0d2afdb800a876f052283b
  
https://github.com/NixOS/nixpkgs/commit/77fe797525301968ff0d2afdb800a876f052283b
  Author: Chris Martin 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

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

  Log Message:
  ---
  icu 54.1: md5->sha256


  Commit: 7ae2f5817bbca0a815cbec546485345692360ab0
  
https://github.com/NixOS/nixpkgs/commit/7ae2f5817bbca0a815cbec546485345692360ab0
  Author: Chris Martin 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/libraries/java/javasvn/default.nix

  Log Message:
  ---
  javasvn: md5->sha256


  Commit: 06e8b84a3f817f2085787efd6311148e3655c0b6
  
https://github.com/NixOS/nixpkgs/commit/06e8b84a3f817f2085787efd6311148e3655c0b6
  Author: Chris Martin 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

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

  Log Message:
  ---
  libb64: md5->sha256


  Commit: 5c73b31a62b1dbb2726bced89a7ed735ebec316e
  
https://github.com/NixOS/nixpkgs/commit/5c73b31a62b1dbb2726bced89a7ed735ebec316e
  Author: Chris Martin 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

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

  Log Message:
  ---
  libcdaudio: md5->sha256


  Commit: 3127d1a0f4013bd50d7c6b239a61b81d381a4857
  
https://github.com/NixOS/nixpkgs/commit/3127d1a0f4013bd50d7c6b239a61b81d381a4857
  Author: Chris Martin 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/libraries/libjpeg/62.nix

  Log Message:
  ---
  libjpeg-6b: md5->sha256


  Commit: 198356c086659e77b3d0262309270547535317f9
  
https://github.com/NixOS/nixpkgs/commit/198356c086659e77b3d0262309270547535317f9
  Author: Graham Christensen 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/editors/eclipse/default.nix
M pkgs/applications/graphics/gqview/default.nix
M pkgs/applications/graphics/ktikz/default.nix
M pkgs/development/libraries/icu/54.1.nix
M pkgs/development/libraries/java/javasvn/default.nix
M pkgs/development/libraries/libb64/default.nix
M pkgs/development/libraries/libcdaudio/default.nix
M pkgs/development/libraries/libjpeg/62.nix
M pkgs/misc/drivers/dell-530cdn/default.nix
M pkgs/tools/system/honcho/default.nix

  Log Message:
  ---
  Merge pull request #18347 from chris-martin/md5

Miscellaneous packages: Use sha256 instead of md5


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


[Nix-commits] [NixOS/nixpkgs] 5fb7b4: broadcom_sta: 6.30.223.248 -> 6.30.223.271

2016-09-05 Thread Graham Christensen
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5fb7b4b2aa8c1d59e2fa8caedf4fe31916a10fcb
  
https://github.com/NixOS/nixpkgs/commit/5fb7b4b2aa8c1d59e2fa8caedf4fe31916a10fcb
  Author: aszlig 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/os-specific/linux/broadcom-sta/default.nix
A pkgs/os-specific/linux/broadcom-sta/i686-build-failure.patch
R pkgs/os-specific/linux/broadcom-sta/linux-recent.patch

  Log Message:
  ---
  broadcom_sta: 6.30.223.248 -> 6.30.223.271

The patch for kernel version 3.18 is already applied upstream, so we
don't need it any longer.

Without i686-build-failure.patch, the build for i686-linux fails because
it references rdtscl(), which is no longer available in Linux 4.3.0.

Patch for missing rdtscl() is from Arch Linux:

https://aur.archlinux.org/cgit/aur.git/tree/002-rdtscl.patch?h=broadcom-wl-ck

I've tested building against 32 and 64 bit Linux versions 3.18.36,
4.4.16 and 4.7.0.

The hashes were verified using the ones from the AUR (using the 16 bit
hashes of course):

$ nix-hash --type sha256 --to-base16 
1kaqa2dw3nb8k23ffvx46g8jj3wdhz8xa6jp1v3wb35cjfr712sg
4f8b70b293ac8cc5c70e571ad5d1878d0f29d133a46fe7869868d9c19b5058cd
$ nix-hash --type sha256 --to-base16 
1gj485qqr190idilacpxwgqyw21il03zph2rddizgj7fbd6pfyaz
5f79774d5beec8f7636b59c0fb07a03108eef1e3fd3245638b20858c714144be

AUR hashes can be found at:

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=broadcom-wl=9d6f10b1b7745fbf5d140ac749e2253caf70daa8#n26

Signed-off-by: aszlig 
Cc: @phreedom, @vcunat
(cherry picked from commit bd7ce1581daa2a43cad3a73556ed94fc2031b0eb)


  Commit: 531a73d4d0696874f4b11cae149c7eb559f223e6
  
https://github.com/NixOS/nixpkgs/commit/531a73d4d0696874f4b11cae149c7eb559f223e6
  Author: aszlig 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/os-specific/linux/broadcom-sta/default.nix
A pkgs/os-specific/linux/broadcom-sta/linux-4.7.patch

  Log Message:
  ---
  broadcom_sta: Add patch for supporting Linux 4.7

Patch is from Arch Linux at:

https://aur.archlinux.org/cgit/aur.git/tree/?h=broadcom-wl

I've tested building against 3.18.36, 4.4.16 and 4.7.0.

Signed-off-by: aszlig 
Cc: @phreedom, @vcunat
(cherry picked from commit 4d3545f2a579f9c68ac131794e97e22a312d9422)


  Commit: cbdd3719888d5d9c7322133b69aa8ce77d0f6d24
  
https://github.com/NixOS/nixpkgs/commit/cbdd3719888d5d9c7322133b69aa8ce77d0f6d24
  Author: aszlig 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/os-specific/linux/broadcom-sta/default.nix

  Log Message:
  ---
  broadcom_sta: Reindent file, no code changes

Let's make sure we indent using two spaces, because the unpackPhase was
indented using four spaces.

Signed-off-by: aszlig 
(cherry picked from commit 8f08399671911842174056b46aa1cc66c82f2a71)


  Commit: 8daf7e99af227ef871775cb596e2920d6e533ca4
  
https://github.com/NixOS/nixpkgs/commit/8daf7e99af227ef871775cb596e2920d6e533ca4
  Author: aszlig 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/os-specific/linux/broadcom-sta/default.nix
A pkgs/os-specific/linux/broadcom-sta/null-pointer-fix.patch

  Log Message:
  ---
  broadcom_sta: Add patch to fix NULL pointer deref

The patch is from the following Gentoo bug:

https://bugs.gentoo.org/show_bug.cgi?id=523326#c24

Built successfully against Linux 3.18.36, 4.4.16 and 4.7.0.

Signed-off-by: aszlig 
Cc: @phreedom, @vcunat
(cherry picked from commit fef4b62657903021f9b60fc6a6cf6fe4bac167ed)


  Commit: b6b0fcbccc0fed6f49f41c317c9adc8f68c6e70b
  
https://github.com/NixOS/nixpkgs/commit/b6b0fcbccc0fed6f49f41c317c9adc8f68c6e70b
  Author: Graham Christensen 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/os-specific/linux/broadcom-sta/default.nix
A pkgs/os-specific/linux/broadcom-sta/i686-build-failure.patch
A pkgs/os-specific/linux/broadcom-sta/linux-4.7.patch
R pkgs/os-specific/linux/broadcom-sta/linux-recent.patch
A pkgs/os-specific/linux/broadcom-sta/null-pointer-fix.patch

  Log Message:
  ---
  Merge pull request #18329 from grahamc/broadcom-sta

Backport broadcom-sta fixes from master to release-16.03


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


[Nix-commits] [NixOS/nixpkgs] 5a147f: nvidia-x11: advance to 365.35 and patch kernel 4.7...

2016-09-05 Thread Graham Christensen
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5a147f7d82d634c1ebffce14a6495e96d519ca4d
  
https://github.com/NixOS/nixpkgs/commit/5a147f7d82d634c1ebffce14a6495e96d519ca4d
  Author: Karn Kallio 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
A pkgs/os-specific/linux/nvidia-x11/365.35-kernel-4.7.patch
M pkgs/os-specific/linux/nvidia-x11/default.nix

  Log Message:
  ---
  nvidia-x11: advance to 365.35 and patch kernel 4.7.

(cherry picked from commit 5d11dac8bb8f10b797467e913d6ebb9ea1eccd29)


  Commit: fa9432161ef59b34c7fb811244bb2776f442501b
  
https://github.com/NixOS/nixpkgs/commit/fa9432161ef59b34c7fb811244bb2776f442501b
  Author: Frederik Rietdijk 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/os-specific/linux/nvidia-x11/default.nix

  Log Message:
  ---
  nvidia-x11: fix driSupport32Bit

(cherry picked from commit 8eb4b3af105c9501a8842df706b40bf9a688ea0c)


  Commit: d8bade946096aa92449c1c36238097788ab5cd9b
  
https://github.com/NixOS/nixpkgs/commit/d8bade946096aa92449c1c36238097788ab5cd9b
  Author: Graham Christensen 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
A pkgs/os-specific/linux/nvidia-x11/365.35-kernel-4.7.patch
M pkgs/os-specific/linux/nvidia-x11/default.nix

  Log Message:
  ---
  Merge pull request #18330 from grahamc/nvidia-x11

nvidia-x11 fixes from master to release-16.03


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


Re: [Nix-dev] NixOps usage survey.

2016-09-05 Thread stewart mackenzie
Yes, you're deliberately breaking purity, but if you're going to be using
it as part of the development infrastruction (he could mean many things,
does he mean *code deployment infrastructure* or implicitly implying CDI
and explicitly mentioning part of the development infrastructure.)

If he means he wishes to use nix as the main way to build the project,
(I.e. make replacement, so to say) then he'll very very quickly hit a wall
in that he'll be waiting long periods for the project to compile from
scratch each time. This is infuriating and incremenal compilation can have
a significant positive impact on your development flow.

So yes, I will recommend him to break purity in this case, I should have
mentioned, when you actually deploy, make sure you haven't enabled this
incremenal compilation feature. Keep it pure, but I was going to mention
that to him if/when he gets to that bridge so that he doesn't get
information overload now.

On 6 Sep 2016 06:31, "Shea Levy"  wrote:
> Please don't recommend turning off
> the sandbox unless you are very sure you know what you're doing and that
> the person you're recommending it to understands the relevant issues.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Fwd: Failed: Hydra job nixpkgs:trunk:adb-sync.x86_64-darwin

2016-09-05 Thread Sergiu Ivanov

Thus quoth  Vladimír Čunát  at 22:08 on Mo, Sep 05 2016:
> On 09/03/2016 10:47 PM, Sergiu Ivanov wrote:
>>
>>  - I set preferLocalBuild to true, which, in my understanding, should
>>have prevented Hydra from trying to build a binary version of my
>>package,
>
> That's a misunderstanding. `preferLocalBuild` is a hint to the
> nix-daemon that it shouldn't use remote build slaves for the derviation.
> To disable a build on Hydra specifically, you can use
> meta.hydraPlatforms (overriding meta.platforms).

Aah, okaay, I see!

Thanks a lot for the explanation!

>>  - when I look at the build log
>>https://hydra.nixos.org/build/39776835/nixlog/3 I only see a few
>>messages, which do not even seem related to my package.
>
> It really seems more like a dependency failed in an unusual way. (I
> assume the unusual kind of failure is why it wasn't marked as
> "dependency failed" but "failed".) It seems plausible that
> sysimg-armeabi-v7a-23 is a dependency of adb-sync.

Oh, I should congratulate myself on being particularly blind and not
noticing the package sysimg-armeabi-v7a-23 on the report page.  Indeed,
adb-sync depends on ADB (Android Debug Bridge) which indeed needs ARM
ABI.

My first instinct was to remove Darwin from the list of platforms
supported by adb-sync, but then I realised that androidsdk should
actually build fine on this platform.


Is there a way to debug such Hydra failures?

I don't have anything Darwin-like at hand, and I can't see which part of
my package (adb-sync) exactly may cause the issue.

-- 
Sergiu


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] 85e2b6: xpra: 0.17.4 -> 0.17.5

2016-09-05 Thread Jaka Hudoklin
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 85e2b60b771db9bef25ad94bd8ffc199088f9afe
  
https://github.com/NixOS/nixpkgs/commit/85e2b60b771db9bef25ad94bd8ffc199088f9afe
  Author: Jaka Hudoklin 
  Date:   2016-09-04 (Sun, 04 Sep 2016)

  Changed paths:
M pkgs/tools/X11/xpra/default.nix

  Log Message:
  ---
  xpra: 0.17.4 -> 0.17.5


  Commit: dcfc5fdbf3c8883f212eece3402897f3ff21acf5
  
https://github.com/NixOS/nixpkgs/commit/dcfc5fdbf3c8883f212eece3402897f3ff21acf5
  Author: Jaka Hudoklin 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
M pkgs/tools/X11/xpra/default.nix

  Log Message:
  ---
  Merge pull request #18291 from offlinehacker/pkgs/xpra/update/0.17.5

xpra: 0.17.4 -> 0.17.5


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


Re: [Nix-dev] NixOps usage survey.

2016-09-05 Thread Shea Levy
If you're on a system with a pure stdenv (linux or pure-darwin) and find
yourself needing to turn off the sandbox, most likely there is a bug in
nix or you are doing something wrong. Please don't recommend turning off
the sandbox unless you are very sure you know what you're doing and that
the person you're recommending it to understands the relevant issues.

stewart mackenzie  writes:

> On 6 Sep 2016 00:01, "Aloïs Cochard"  wrote:
>> We do plan to use it for our development infrastructure
>
> You'll need to implement incremental recompilation (IR) to reduce
> compilation times. It's not too difficult to implement if you know _not_ to
> set nix.useSandbox = true; .
>
> Ping me when/if you get to that bridge and I'll assist.
>
> Kr/sjm
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


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] 372a56: rage: 0.2.0 -> 0.2.1

2016-09-05 Thread Joachim F
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 372a56fadbf29b5b65b5754b289c328bbc063655
  
https://github.com/NixOS/nixpkgs/commit/372a56fadbf29b5b65b5754b289c328bbc063655
  Author: José Romildo Malaquias 
  Date:   2016-09-04 (Sun, 04 Sep 2016)

  Changed paths:
M pkgs/desktops/enlightenment/rage.nix

  Log Message:
  ---
  rage: 0.2.0 -> 0.2.1


  Commit: 52a185e4c32f131eaadd5def2d59b34fd60d5e46
  
https://github.com/NixOS/nixpkgs/commit/52a185e4c32f131eaadd5def2d59b34fd60d5e46
  Author: Joachim F 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
M pkgs/desktops/enlightenment/rage.nix

  Log Message:
  ---
  Merge pull request #18284 from romildo/upd.rage

rage: 0.2.0 -> 0.2.1


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


[Nix-commits] [NixOS/nixpkgs] 2540b4: kapacitor: init at 1.0.0

2016-09-05 Thread Jaka Hudoklin
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 2540b419f24e5ccae881e3d233220539ab82624c
  
https://github.com/NixOS/nixpkgs/commit/2540b419f24e5ccae881e3d233220539ab82624c
  Author: Jaka Hudoklin 
  Date:   2016-09-04 (Sun, 04 Sep 2016)

  Changed paths:
A pkgs/servers/monitoring/kapacitor/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  kapacitor: init at 1.0.0


  Commit: e9a1e7a6d5cdf64cb54974acd738e7a4fce9dca3
  
https://github.com/NixOS/nixpkgs/commit/e9a1e7a6d5cdf64cb54974acd738e7a4fce9dca3
  Author: Jaka Hudoklin 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
A pkgs/servers/monitoring/kapacitor/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #18289 from offlinehacker/pkgs/kapacitor/init

kapacitor: init at 1.0.0


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


Re: [Nix-dev] NixOps usage survey.

2016-09-05 Thread stewart mackenzie
On 6 Sep 2016 00:01, "Aloïs Cochard"  wrote:
> We do plan to use it for our development infrastructure

You'll need to implement incremental recompilation (IR) to reduce
compilation times. It's not too difficult to implement if you know _not_ to
set nix.useSandbox = true; .

Ping me when/if you get to that bridge and I'll assist.

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] f4c89b: strongswan: 5.4.0 -> 5.5.0

2016-09-05 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f4c89ba854eb8e2adca5586b135013062272f7b3
  
https://github.com/NixOS/nixpkgs/commit/f4c89ba854eb8e2adca5586b135013062272f7b3
  Author: Alexander Ried 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/tools/networking/strongswan/default.nix

  Log Message:
  ---
  strongswan: 5.4.0 -> 5.5.0


  Commit: e7da789920c470cfd4279be3078a52b652a37c62
  
https://github.com/NixOS/nixpkgs/commit/e7da789920c470cfd4279be3078a52b652a37c62
  Author: Shea Levy 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/tools/networking/strongswan/default.nix

  Log Message:
  ---
  Merge branch 'strongswan' of git://github.com/groxxda/nixpkgs


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


[Nix-commits] [NixOS/nixpkgs] 3beacc: fstar: remove workaround (#18331)

2016-09-05 Thread Alexander Ried
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3beacc4dbe24be54dd63258897d69545ffd52e6a
  
https://github.com/NixOS/nixpkgs/commit/3beacc4dbe24be54dd63258897d69545ffd52e6a
  Author: Alexander Ried 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
M pkgs/development/compilers/fstar/default.nix

  Log Message:
  ---
  fstar: remove workaround (#18331)

As the comment indicates this was a workaround that has since been fixed
upstream.


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


[Nix-commits] [NixOS/nixpkgs] 6fc760: fstar: remove workaround (#18331)

2016-09-05 Thread Alexander Ried
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6fc760270e656f7c062241f69762914a84349c42
  
https://github.com/NixOS/nixpkgs/commit/6fc760270e656f7c062241f69762914a84349c42
  Author: Alexander Ried 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
M pkgs/development/compilers/fstar/default.nix

  Log Message:
  ---
  fstar: remove workaround (#18331)

As the comment indicates this was a workaround that has since been fixed
upstream.
(cherry picked from commit 3beacc4dbe24be54dd63258897d69545ffd52e6a)

Signed-off-by: Domen Kožar 


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


[Nix-commits] [NixOS/nixpkgs] 3fd603: nixos/tests/pump.io: Fix systemd unit config

2016-09-05 Thread Graham Christensen
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3fd603c02f339778c8ea24c2fadacb91185eb1c7
  
https://github.com/NixOS/nixpkgs/commit/3fd603c02f339778c8ea24c2fadacb91185eb1c7
  Author: Rodney Lorrimar 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M nixos/tests/pump.io.nix

  Log Message:
  ---
  nixos/tests/pump.io: Fix systemd unit config

Ref #18209


  Commit: c76306433187683f7a944d2540a71487cf5498c0
  
https://github.com/NixOS/nixpkgs/commit/c76306433187683f7a944d2540a71487cf5498c0
  Author: Graham Christensen 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M nixos/tests/pump.io.nix

  Log Message:
  ---
  Merge pull request #18326 from rvl/nixos-tests-pump.io

nixos/tests/pump.io: Fix systemd unit config


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


[Nix-commits] [NixOS/nixpkgs] cb9b31: nixBufferBuilders.withPackages: Make more legible, ...

2016-09-05 Thread Shea Levy
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: cb9b3110253a65a00d3f5d35ae87e18e197f85ef
  
https://github.com/NixOS/nixpkgs/commit/cb9b3110253a65a00d3f5d35ae87e18e197f85ef
  Author: Shea Levy 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/build-support/emacs/buffer.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  nixBufferBuilders.withPackages: Make more legible, special-case proof-general.

There's some bigger changes coming, but thought I'd push this first...

(cherry picked from commit b04cdae902398aa76fb81a0470e18fd527c6ba3d)


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


[Nix-commits] [NixOS/nixpkgs] b04cda: nixBufferBuilders.withPackages: Make more legible, ...

2016-09-05 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b04cdae902398aa76fb81a0470e18fd527c6ba3d
  
https://github.com/NixOS/nixpkgs/commit/b04cdae902398aa76fb81a0470e18fd527c6ba3d
  Author: Shea Levy 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/build-support/emacs/buffer.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  nixBufferBuilders.withPackages: Make more legible, special-case proof-general.

There's some bigger changes coming, but thought I'd push this first...


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


[Nix-commits] [NixOS/nixpkgs] e8b155: yubico-piv-tool: add description fields (#18322)

2016-09-05 Thread Chris Martin
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e8b1247eff53d718ac7c13871e3ff4d3d8dc
  
https://github.com/NixOS/nixpkgs/commit/e8b1247eff53d718ac7c13871e3ff4d3d8dc
  Author: Chris Martin 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/tools/misc/yubico-piv-tool/default.nix

  Log Message:
  ---
  yubico-piv-tool: add description fields (#18322)


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


[Nix-commits] [NixOS/nixpkgs] ccd5c6: bsdbuild: init at 3.1 (#18069)

2016-09-05 Thread Ram Kromberg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ccd5c6e47cd5c29a2b7dccf36dafda7b769c2f32
  
https://github.com/NixOS/nixpkgs/commit/ccd5c6e47cd5c29a2b7dccf36dafda7b769c2f32
  Author: Ram Kromberg 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

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

  Log Message:
  ---
  bsdbuild: init at 3.1 (#18069)


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


Re: [Nix-dev] Build a default.nix for a project with node.js and python dependencies

2016-09-05 Thread Sander van der Burg
A bit difficult to give a very concrete answer, since there are many ways
to create hybrid packages.

Anyway, a possible strategy is to create a derivation/package that runs pip
and keeps the resulting output source tree. Then use node2nix to generate
Nix expressions from package.json file that is in the same project.

Then override the node2nix generated expression (see the README.md of
node2nix how to do this) and point the src = parameter to the derivation
that runs pip (and keeps the corresponding source tree).

Quite a bit of hacking, but if the steps that you describe are correct,
then I expect it to work.


On Mon, Sep 5, 2016 at 5:22 PM, Dmitry Malikov 
wrote:

> Hey guys,
>
> There is a project with node.js and python dependencies which is need to
> be run inside an isolated environment.
>
> Right now the whole flow consists of 3 steps:
>
>- pip install -r requirements.txt --upgrade
>- npm install
>- npm run build
>
> What I'm looking for is a single default.nix file built basing on
> dependencies listed in 'requirements.txt' and 'package.json' files,
> allowing to do these steps via 'nix-shell' command.
>
> Could you please point me at the right direction?
>
> Thanks.
>
> ___
> 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] NixOps usage survey.

2016-09-05 Thread Sander van der Burg
We're also using NixOps, as well as some other sub projects (Disnix, Hydra,
and "plain old" Nix) in our company.

- The following presentation briefly covers Disnix + NixOps deployment (for
the impatient: scroll to the last ~10 slides):
http://www.slideshare.net/sandervanderburg/deploying-microservices-with-disnix
- The following presentation covers mobile app development with Nix and
some basic Hydra notes:
http://www.slideshare.net/sandervanderburg/building-mobile-apps-with-the-nix-package-manager

On Mon, Sep 5, 2016 at 4:01 PM, Aloïs Cochard 
wrote:

> Hi all,
>
> We are experimenting with NixOps and we are having great success. We do
> plan to use it for our development infrastructure, and it seems to be very
> promising.
>
> In the light of applying the same technology on our production stack, I'm
> curious to know how NixOps is used "for real"? Do you use it in production?
>
> Do you have some success story to share?
>
> Would love to know more about how it is used, the size of clusters, ...
>
> Thanks in advance!
>
> --
> *Λ\oïs*
> http://twitter.com/aloiscochard
> http://github.com/aloiscochard
>
> ___
> 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] 21cf46: sakura: 3.2.0 -> 3.3.4

2016-09-05 Thread Franz Pletz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 21cf4641bfd628980fbd887fd067565f8717f2ad
  
https://github.com/NixOS/nixpkgs/commit/21cf4641bfd628980fbd887fd067565f8717f2ad
  Author: Franz Pletz 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/misc/sakura/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  sakura: 3.2.0 -> 3.3.4


  Commit: f28fd23d76b4475bbd9c9a79333498260709a507
  
https://github.com/NixOS/nixpkgs/commit/f28fd23d76b4475bbd9c9a79333498260709a507
  Author: Franz Pletz 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/libraries/java/swt/default.nix

  Log Message:
  ---
  swt: 3.7.2 -> 4.5


  Commit: c45bf3c43db26455052d822f7ab5984610d36fa7
  
https://github.com/NixOS/nixpkgs/commit/c45bf3c43db26455052d822f7ab5984610d36fa7
  Author: Franz Pletz 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/libraries/openssl/chacha.nix

  Log Message:
  ---
  openssl-chacha: 2016-01-27 -> 2016-08-22


  Commit: 875c286ba39a93b36274bb8ccecdd33a5af83b00
  
https://github.com/NixOS/nixpkgs/commit/875c286ba39a93b36274bb8ccecdd33a5af83b00
  Author: Franz Pletz 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/tools/security/cipherscan/default.nix
R pkgs/tools/security/cipherscan/path.patch

  Log Message:
  ---
  cipherscan: 2015-12-17 -> 2016-08-16


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


Re: [Nix-dev] NixOps usage survey.

2016-09-05 Thread Tomas Hlavaty
Hi Aloïs,

if you don't need any of the backends nixops offers except maybe "none",
it might be better to avoid the stateful nature of nixops and go with a
simple script based on nixos-rebuild, something like:

deploy1.sh:

HOST=$1
NIXPKGS=$2
nixos-rebuild switch \
  -I nixos-config=./$HOST/configuration.nix \
  -I nixpkgs=$NIXPKGS \
  --build-host localhost \
  --target-host root@$HOST

deploy.sh:

NIXPKGS=https://nixos.org/channels/nixos-16.03/nixexprs.tar.xz
sh deploy1.sh host1 $NIXPKGS
sh deploy1.sh host2 $NIXPKGS

You could have a private hydra for your software and configure it as a
binary cache for the nixos-rebuild above.

It is very simple, roughly equivalent to the "none" backend in nixops
and you avoid drawbacks of nixops described in the other emails.

You just need to get an initial NixOS installed on a new machine
somehow, and after that the script above will do the magic.

nixops helps with the part "get an initial NixOS installed on a new
machine somehow", but if that is not your concern, this approach might
be better.

Cheers,

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


Re: [Nix-dev] Fwd: Failed: Hydra job nixpkgs:trunk:adb-sync.x86_64-darwin

2016-09-05 Thread Vladimír Čunát
On 09/03/2016 10:47 PM, Sergiu Ivanov wrote:
>> The status of Hydra job ‘nixpkgs:trunk:adb-sync.x86_64-darwin’ is "Failed".  
>> For details, see
>>
>>   https://hydra.nixos.org/build/39776835
> 
> I feel somewhat puzzled because:
> 
>  - I set preferLocalBuild to true, which, in my understanding, should
>have prevented Hydra from trying to build a binary version of my
>package,

That's a misunderstanding. `preferLocalBuild` is a hint to the
nix-daemon that it shouldn't use remote build slaves for the derviation.
To disable a build on Hydra specifically, you can use
meta.hydraPlatforms (overriding meta.platforms).

>  - when I look at the build log
>https://hydra.nixos.org/build/39776835/nixlog/3 I only see a few
>messages, which do not even seem related to my package.

It really seems more like a dependency failed in an unusual way. (I
assume the unusual kind of failure is why it wasn't marked as
"dependency failed" but "failed".) It seems plausible that
sysimg-armeabi-v7a-23 is a dependency of adb-sync.

--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-commits] [NixOS/nixpkgs] 5aa587: opencascade: fix build

2016-09-05 Thread Robert Helgesson
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5aa587d1f51b212ff9cbf6416c4017f3d7e0c2f3
  
https://github.com/NixOS/nixpkgs/commit/5aa587d1f51b212ff9cbf6416c4017f3d7e0c2f3
  Author: Robert Helgesson 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

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

  Log Message:
  ---
  opencascade: fix build

(cherry picked from commit 3d0c9ba59932643778f1bfa3d6adce2db72703d2)


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


[Nix-commits] [NixOS/nixpkgs] 3d0c9b: opencascade: fix build

2016-09-05 Thread Robert Helgesson
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3d0c9ba59932643778f1bfa3d6adce2db72703d2
  
https://github.com/NixOS/nixpkgs/commit/3d0c9ba59932643778f1bfa3d6adce2db72703d2
  Author: Robert Helgesson 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

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

  Log Message:
  ---
  opencascade: fix build


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


[Nix-commits] [NixOS/nixpkgs] 5f8b6b: ecl: add gcc into wrapper PATH

2016-09-05 Thread Michael Raskin
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5f8b6b2e1d2eaff9bfdec53f5d9743dfee2e0224
  
https://github.com/NixOS/nixpkgs/commit/5f8b6b2e1d2eaff9bfdec53f5d9743dfee2e0224
  Author: Tomas Hlavaty 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/compilers/ecl/default.nix

  Log Message:
  ---
  ecl: add gcc into wrapper PATH

otherwise the native gcc based compiler does not work


  Commit: 06d55c7e27794a1826a3ff00a83c811c24b46d81
  
https://github.com/NixOS/nixpkgs/commit/06d55c7e27794a1826a3ff00a83c811c24b46d81
  Author: Michael Raskin <7c6f4...@mail.ru>
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/compilers/ecl/default.nix

  Log Message:
  ---
  Merge pull request #18324 from tohl/master

ecl: add gcc into wrapper PATH


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


Re: [Nix-dev] NixOps usage survey.

2016-09-05 Thread Daniel Hlynskyi
I am switching manual deployment to NixOps, and I'm getting lots of quirks
in hetzner, virtualbox, libvirtd and container backends.

Also, because of impurities in my systems, I can't switch easy from
production to, for example, virtualbox deployment.

So no success story here, but I like this tool and hope to improve it.

5 вер. 2016 7:01 пп "Aloïs Cochard"  пише:

> Hi all,
>
> We are experimenting with NixOps and we are having great success. We do
> plan to use it for our development infrastructure, and it seems to be very
> promising.
>
> In the light of applying the same technology on our production stack, I'm
> curious to know how NixOps is used "for real"? Do you use it in production?
>
> Do you have some success story to share?
>
> Would love to know more about how it is used, the size of clusters, ...
>
> Thanks in advance!
>
> --
> *Λ\oïs*
> http://twitter.com/aloiscochard
> http://github.com/aloiscochard
>
> ___
> 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] NixOps usage survey.

2016-09-05 Thread Bas van Dijk
Hi Aloïs,

We use nixops at LumiGuide to deploy to our network of image analysis
servers that power our bicycle detection and guidance systems[1]. I
recently gave a talk[2] at ZuriHac and MuniHac that contained a few slides
on our usage of nixops.

A few machines in our network are at Hetzner ('hetzner' backend) and the
rest are real physical machines managed by ourselves ('none' backend).

Some tips:

1) nixops stores state so if in order for my colleagues to share that state
I commit the state.nixops file to revision control and pass it to every
nixops invocation with the `-s state.nixops` option.

2) Do make sure that when you commit your state.nixops file to revision
control you encrypt it because it contains private SSH keys! I'm using
git-crypt for that.

3) If you create your network using something like:

  nixops create -s state.nixops -d my-net \
my-net.nix my-net-hardware.nix

it will have the problem that the path to the Nix expressions stored in the
state will be absolute:

  nixops info -s state.nixops | grep 'Nix expressions'
  Nix expressions: /home/bas.van.dijk/engineering/my-net/my-net.nix
/home/bas.van.dijk/engineering/my-net/my-net-hardware.nix

This will hurt when you share that state with your colleagues who will very
likely have their Nix expressions stored at a different path. To solve it
you want to make the paths relative to your NIX_PATH using something like:

  nixops create -s state.nixops -d my-net \
'' ''

4) Note that I separate the logical configuration from the physical
configuration. This allows me to take the logical configuration and combine
it with a virtual hardware configuration which is useful for testing.

5) I use a Makefile that has targets for all the common nixops invocations.
The Makefile also sets some useful environment variables like:

  export NIX_PATH:=nixpkgs=$(shell nix-build --no-out-link
./nixpkgs.nix):lumi=$(shell pwd)

  export HETZNER_ROBOT_PASS=$(shell cat secrets/HETZNER_ROBOT_PASS)
  export HETZNER_ROBOT_USER=

Note that 'lumi' points to the root of our LumiGuide repository. This
allows us to use  in Nix expressions where 'some-path' will
be relative to the repository.

I can recommend nixops very much!

Cheers,

Bas

[1]
https://bicycledutch.wordpress.com/2015/06/09/bicycle-parking-guidance-system-in-utrecht/
[2] https://www.youtube.com/watch?v=IKznN_TYjZk

On 5 September 2016 at 18:01, Aloïs Cochard  wrote:

> Hi all,
>
> We are experimenting with NixOps and we are having great success. We do
> plan to use it for our development infrastructure, and it seems to be very
> promising.
>
> In the light of applying the same technology on our production stack, I'm
> curious to know how NixOps is used "for real"? Do you use it in production?
>
> Do you have some success story to share?
>
> Would love to know more about how it is used, the size of clusters, ...
>
> Thanks in advance!
>
> --
> *Λ\oïs*
> http://twitter.com/aloiscochard
> http://github.com/aloiscochard
>
> ___
> 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] Announcing nix-buffer, nix-shell for emacs

2016-09-05 Thread Bas van Dijk
That seems useful. Thanks for sharing!

Bas

On 5 September 2016 at 18:10, Shea Levy  wrote:

> Sure! In my .emacs, I have:
>
> > (defun nix-buffer-find-file-hook ()
> >   (when (not (file-remote-p (buffer-file-name)))
> > (nix-buffer)))
> > (add-hook 'find-file-hook 'nix-buffer-find-file-hook)
>
> I have coq 8.5pl1 installed in my configuration.nix, but I have a coq
> project that requires 8.4pl6, so I have in that project's root directory
> dir-locals.nix:
>
> > let pkgs = import  {}; in
> >   pkgs.nixBufferBuilders.withPackages [ pkgs.coq ]
>
> (note that this relies on a recent nixpkgs commit[1]). Then whenever I
> open a .v file in the project, ProofGeneral uses coq 8.4 rather than
> 8.5.
>
> If I wanted, my dir-locals.nix could take a 'root' argument, which would
> point to the file I opened.
>
> ~Shea
>
> [1]: https://github.com/NixOS/nixpkgs/commit/
> 05c132486d8cfae600bbfe8c9ac5d799b298afed
>
> Bas van Dijk  writes:
>
> > Hi Shea,
> >
> > As a Nix and Emacs user this looks very interesting. I didn't know about
> > Buffer-Local Variables before.
> >
> > Can you share some applications of nix-buffer / how you are using it?
> >
> > Thanks!
> >
> > Bas
> >
> > On 5 September 2016 at 08:06, Shea Levy  wrote:
> >
> >> Hi all,
> >>
> >> I've just pushed the initial version of nix-buffer[1], and opened a PR
> >> for adding it to melpa[2]. The description of the 'nix-buffer-enter'
> >> command this library defines:
> >>
> >> > Set up the buffer according to the directory-local nix expression.
> >> >
> >> > Looks for dir-locals.nix upward from the current directory.  If found,
> >> > builds the derivation defined there with the 'root' arg set to the
> >> > current buffer file name or directory and evaluates the resulting
> >> > elisp if safe to do so.
> >> >
> >> > Because in practice dir-locals.nix will always want to do things that
> >> > are unsafe in dir-locals.el (e.g. append to 'exec-path'), we don't
> >> > reuse that mechanism and instead just load the file as elisp.  Because
> >> > this allows arbitrary code execution, the first time we're asked to
> >> > load a particular store path we query the user to verify if it's safe
> >> > to load beforehand.
> >> >
> >> > The Lisp code generated by dir-locals.nix should limit itself to
> >> > modifying buffer-local variables, but there is no actual enforcement
> >> > of this.  'setq-local' is your friend.
> >>
> >> It may be useful to advise the 'normal-mode' function to call
> >> 'nix-buffer-enter' beforehand for local files, so that all visited files
> >> have their environments set up before modes are loaded.
> >>
> >> Note that this is my first elisp package, so feedback definitely
> >> welcome!
> >>
> >> In addition to the elisp work mentioned in the TODO[3], it would be
> >> useful to add some functions to nixpkgs to build elisp files,
> >> especially:
> >>
> >> * A function taking a derivation and building an elisp file that sets up
> >>   the buffer environment analogous to the build environment specified by
> >>   that derivation
> >> * A function taking a list of packages and building an elisp file that
> >>   sets up the buffer environment with all of those packages available
> >>   (in PATH, in the emacs load path, etc.).
> >>
> >> Happy hacking!
> >>
> >> ~Shea
> >>
> >> [1]: https://github.com/shlevy/nix-buffer/tree/v1.0
> >> [2]: https://github.com/melpa/melpa/pull/4204
> >> [3]: https://github.com/shlevy/nix-buffer/blob/v1.0/TODO.md
> >>
> >> ___
> >> 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] 877429: hackage-packages.nix: update Haskell package set

2016-09-05 Thread Peter Simons
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8774294e304836def3985492678016337d2595a8
  
https://github.com/NixOS/nixpkgs/commit/8774294e304836def3985492678016337d2595a8
  Author: Peter Simons 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/haskell-modules/configuration-lts.nix
M pkgs/development/haskell-modules/hackage-packages.nix

  Log Message:
  ---
  hackage-packages.nix: update Haskell package set

This update was generated by hackage2nix v2.0.1-3-g27b56fd using the following 
inputs:

  - Hackage: 
https://github.com/commercialhaskell/all-cabal-hashes/commit/535780cef61f8677c35bbb097955e05f7eef8cec
  - LTS Haskell: 
https://github.com/fpco/lts-haskell/commit/d7ece2dc93b010f8324b40fb36cee38eb29a2979
  - Stackage Nightly: 
https://github.com/fpco/stackage-nightly/commit/15c64f722ec2deb91661bcf060b4114d49c97142


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


[Nix-dev] Build a default.nix for a project with node.js and python dependencies

2016-09-05 Thread Dmitry Malikov
Hey guys,

There is a project with node.js and python dependencies which is need to be
run inside an isolated environment.

Right now the whole flow consists of 3 steps:

   - pip install -r requirements.txt --upgrade
   - npm install
   - npm run build

What I'm looking for is a single default.nix file built basing on
dependencies listed in 'requirements.txt' and 'package.json' files,
allowing to do these steps via 'nix-shell' command.

Could you please point me at the right direction?

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


[Nix-commits] [NixOS/nixpkgs] c3df34: gemconfig: rbnacl needs libsodium

2016-09-05 Thread Eelco Dolstra
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: c3df347f7baab0b8e94519950d9dd5085712be28
  
https://github.com/NixOS/nixpkgs/commit/c3df347f7baab0b8e94519950d9dd5085712be28
  Author: Michael Fellinger 
  Date:   2016-06-16 (Thu, 16 Jun 2016)

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

  Log Message:
  ---
  gemconfig: rbnacl needs libsodium


  Commit: f6ac9fd246c99107807bac7e8db46cd24bcf3dc9
  
https://github.com/NixOS/nixpkgs/commit/f6ac9fd246c99107807bac7e8db46cd24bcf3dc9
  Author: Michal Rus 
  Date:   2016-08-15 (Mon, 15 Aug 2016)

  Changed paths:
A pkgs/applications/audio/transcribe/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  transcribe: init at 8.40


  Commit: 95aa1eaa98e6bd2083d781295f194dcc91fd79bb
  
https://github.com/NixOS/nixpkgs/commit/95aa1eaa98e6bd2083d781295f194dcc91fd79bb
  Author: Markus Hauck 
  Date:   2016-08-22 (Mon, 22 Aug 2016)

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

  Log Message:
  ---
  cassandra-driver: 2.6.0c2 -> 3.6.0


  Commit: 54d3556e7aaa36f68cbeb9c9ea40edafda42c823
  
https://github.com/NixOS/nixpkgs/commit/54d3556e7aaa36f68cbeb9c9ea40edafda42c823
  Author: Jaka Hudoklin 
  Date:   2016-08-24 (Wed, 24 Aug 2016)

  Changed paths:
M pkgs/servers/etcd/default.nix
M pkgs/servers/etcd/deps.json

  Log Message:
  ---
  etcd: 2.3.7 -> 3.0.6


  Commit: 8256c07fc03625ea37ff2ebb29217c50e2ed6163
  
https://github.com/NixOS/nixpkgs/commit/8256c07fc03625ea37ff2ebb29217c50e2ed6163
  Author: Jaka Hudoklin 
  Date:   2016-08-24 (Wed, 24 Aug 2016)

  Changed paths:
M nixos/modules/services/misc/etcd.nix
M nixos/tests/etcd.nix

  Log Message:
  ---
  etcd module: add support for ssl, better defaults, fix tests


  Commit: 0630233afa6440473f0c04825f252c508e8c534b
  
https://github.com/NixOS/nixpkgs/commit/0630233afa6440473f0c04825f252c508e8c534b
  Author: Jaka Hudoklin 
  Date:   2016-08-25 (Thu, 25 Aug 2016)

  Changed paths:
M nixos/modules/services/misc/etcd.nix
A nixos/tests/etcd-cluster.nix
M nixos/tests/etcd.nix

  Log Message:
  ---
  etcd module: add test for simple one node etcd service


  Commit: 200fa329118facdabb7e753f2f87613db8acd649
  
https://github.com/NixOS/nixpkgs/commit/200fa329118facdabb7e753f2f87613db8acd649
  Author: Daniel Brockman 
  Date:   2016-08-27 (Sat, 27 Aug 2016)

  Changed paths:
M pkgs/applications/altcoins/default.nix
A pkgs/applications/altcoins/ethabi.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  ethabi: init at 0.2.1


  Commit: e734326c7ce817c0302df75746dadf3684a9c773
  
https://github.com/NixOS/nixpkgs/commit/e734326c7ce817c0302df75746dadf3684a9c773
  Author: Michal Rus 
  Date:   2016-08-28 (Sun, 28 Aug 2016)

  Changed paths:
A pkgs/applications/audio/airwave/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  airwave: init at 1.3.2


  Commit: 6eaad23263b68c26b393dca77f364ac36f54a55c
  
https://github.com/NixOS/nixpkgs/commit/6eaad23263b68c26b393dca77f364ac36f54a55c
  Author: Eric Sagnes 
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
M pkgs/servers/search/groonga/default.nix

  Log Message:
  ---
  groonga: 6.0.7 -> 6.0.8


  Commit: 2ed6529444c6048f5a6d70399046842e0112d75b
  
https://github.com/NixOS/nixpkgs/commit/2ed6529444c6048f5a6d70399046842e0112d75b
  Author: Jörg Thalheim 
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
M nixos/release.nix
A nixos/tests/ferm.nix

  Log Message:
  ---
  ferm: add integration test


  Commit: 32ee88e2d1eadfd7d9b5a5fa76517fd9008ed174
  
https://github.com/NixOS/nixpkgs/commit/32ee88e2d1eadfd7d9b5a5fa76517fd9008ed174
  Author: Balletie 
  Date:   2016-08-29 (Mon, 29 Aug 2016)

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

  Log Message:
  ---
  twmn: fix by running pre- and post-install hooks

This package had the same issue as described in issue #15744. The custom
installPhase doesn't call pre- and post-install hooks like it should.

The solution is also similar (see commit a1facf3).


  Commit: e170f3a4f796ad79f607c024b1ccafa9e486b262
  
https://github.com/NixOS/nixpkgs/commit/e170f3a4f796ad79f607c024b1ccafa9e486b262
  Author: Stefan Siegl 
  Date:   2016-08-29 (Mon, 29 Aug 2016)

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

  Log Message:
  ---
  idea.phpstorm: 10.0.4 -> 2016.2.1


  Commit: 5af8e4b0017a297d5c34c2f305e7b8023cc7ce90
  
https://github.com/NixOS/nixpkgs/commit/5af8e4b0017a297d5c34c2f305e7b8023cc7ce90
  

[Nix-commits] [NixOS/nixpkgs] 25da41: swt: Add libXt

2016-09-05 Thread Tuomas Tynkkynen
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 25da414a90584e2da69cb1f9f2f124d5f2c4c379
  
https://github.com/NixOS/nixpkgs/commit/25da414a90584e2da69cb1f9f2f124d5f2c4c379
  Author: Tuomas Tynkkynen 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/libraries/java/swt/default.nix

  Log Message:
  ---
  swt: Add libXt

Not sure what change made this to be required. It was probably
propagated by something previously.

(cherry picked from commit 6ee4fd834fd45eed252de0f43033ffa0bfa19b9e)


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


[Nix-commits] [NixOS/nixpkgs] 6ee4fd: swt: Add libXt

2016-09-05 Thread Tuomas Tynkkynen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6ee4fd834fd45eed252de0f43033ffa0bfa19b9e
  
https://github.com/NixOS/nixpkgs/commit/6ee4fd834fd45eed252de0f43033ffa0bfa19b9e
  Author: Tuomas Tynkkynen 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/libraries/java/swt/default.nix

  Log Message:
  ---
  swt: Add libXt

Not sure what change made this to be required. It was probably
propagated by something previously.


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


Re: [Nix-dev] Announcing nix-buffer, nix-shell for emacs

2016-09-05 Thread Moritz Ulrich
zimbatm  writes:

> In emacs the plugin would need to call `direnv export json` on enter/leave
> of a context. This gives you a diff of environment variables to apply.
> There is a bit more complexity when implementing the security framework but
> that's about it.

That's actually quite easy to do - you just have to modify
`process-environment` and all processes spawned from Emacs (most
notably M-x compile) will inherit that environment.


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


Re: [Nix-dev] Announcing nix-buffer, nix-shell for emacs

2016-09-05 Thread zimbatm
Hi Shea,

did you look at direnv[1] yet? I have a feeling that it would mix with
emacs pretty well and implement all that you need in a more generic way
(which is a pro and con).

Essentially what I do in my projects is use the following .envrc:
```bash
use nix
```
The `use nix` directive calls nix-shell under the hood so then the usual
default.nix and shell.nix are loaded.

In emacs the plugin would need to call `direnv export json` on enter/leave
of a context. This gives you a diff of environment variables to apply.
There is a bit more complexity when implementing the security framework but
that's about it.

I'm just curious if you thought of that approach, keep up the good work!

Cheers,
z

[1]: http://direnv.net/

On Mon, 5 Sep 2016 at 17:11 Shea Levy  wrote:

> Sure! In my .emacs, I have:
>
> > (defun nix-buffer-find-file-hook ()
> >   (when (not (file-remote-p (buffer-file-name)))
> > (nix-buffer)))
> > (add-hook 'find-file-hook 'nix-buffer-find-file-hook)
>
> I have coq 8.5pl1 installed in my configuration.nix, but I have a coq
> project that requires 8.4pl6, so I have in that project's root directory
> dir-locals.nix:
>
> > let pkgs = import  {}; in
> >   pkgs.nixBufferBuilders.withPackages [ pkgs.coq ]
>
> (note that this relies on a recent nixpkgs commit[1]). Then whenever I
> open a .v file in the project, ProofGeneral uses coq 8.4 rather than
> 8.5.
>
> If I wanted, my dir-locals.nix could take a 'root' argument, which would
> point to the file I opened.
>
> ~Shea
>
> [1]:
> https://github.com/NixOS/nixpkgs/commit/05c132486d8cfae600bbfe8c9ac5d799b298afed
>
> Bas van Dijk  writes:
>
> > Hi Shea,
> >
> > As a Nix and Emacs user this looks very interesting. I didn't know about
> > Buffer-Local Variables before.
> >
> > Can you share some applications of nix-buffer / how you are using it?
> >
> > Thanks!
> >
> > Bas
> >
> > On 5 September 2016 at 08:06, Shea Levy  wrote:
> >
> >> Hi all,
> >>
> >> I've just pushed the initial version of nix-buffer[1], and opened a PR
> >> for adding it to melpa[2]. The description of the 'nix-buffer-enter'
> >> command this library defines:
> >>
> >> > Set up the buffer according to the directory-local nix expression.
> >> >
> >> > Looks for dir-locals.nix upward from the current directory.  If found,
> >> > builds the derivation defined there with the 'root' arg set to the
> >> > current buffer file name or directory and evaluates the resulting
> >> > elisp if safe to do so.
> >> >
> >> > Because in practice dir-locals.nix will always want to do things that
> >> > are unsafe in dir-locals.el (e.g. append to 'exec-path'), we don't
> >> > reuse that mechanism and instead just load the file as elisp.  Because
> >> > this allows arbitrary code execution, the first time we're asked to
> >> > load a particular store path we query the user to verify if it's safe
> >> > to load beforehand.
> >> >
> >> > The Lisp code generated by dir-locals.nix should limit itself to
> >> > modifying buffer-local variables, but there is no actual enforcement
> >> > of this.  'setq-local' is your friend.
> >>
> >> It may be useful to advise the 'normal-mode' function to call
> >> 'nix-buffer-enter' beforehand for local files, so that all visited files
> >> have their environments set up before modes are loaded.
> >>
> >> Note that this is my first elisp package, so feedback definitely
> >> welcome!
> >>
> >> In addition to the elisp work mentioned in the TODO[3], it would be
> >> useful to add some functions to nixpkgs to build elisp files,
> >> especially:
> >>
> >> * A function taking a derivation and building an elisp file that sets up
> >>   the buffer environment analogous to the build environment specified by
> >>   that derivation
> >> * A function taking a list of packages and building an elisp file that
> >>   sets up the buffer environment with all of those packages available
> >>   (in PATH, in the emacs load path, etc.).
> >>
> >> Happy hacking!
> >>
> >> ~Shea
> >>
> >> [1]: https://github.com/shlevy/nix-buffer/tree/v1.0
> >> [2]: https://github.com/melpa/melpa/pull/4204
> >> [3]: https://github.com/shlevy/nix-buffer/blob/v1.0/TODO.md
> >>
> >> ___
> >> 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] 0659e2: minc_tools: don't run tests which have been failin...

2016-09-05 Thread obadz
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0659e20fbdff9ca23e54d4b3f55650af8c4d78b1
  
https://github.com/NixOS/nixpkgs/commit/0659e20fbdff9ca23e54d4b3f55650af8c4d78b1
  Author: obadz 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/science/biology/minc-tools/default.nix

  Log Message:
  ---
  minc_tools: don't run tests which have been failing since first pkged

(cherry picked from commit 2919375c91387d8acc8084e66e48e882ffc0b930)


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


[Nix-commits] [NixOS/nixpkgs] 291937: minc_tools: don't run tests which have been failin...

2016-09-05 Thread obadz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 2919375c91387d8acc8084e66e48e882ffc0b930
  
https://github.com/NixOS/nixpkgs/commit/2919375c91387d8acc8084e66e48e882ffc0b930
  Author: obadz 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/science/biology/minc-tools/default.nix

  Log Message:
  ---
  minc_tools: don't run tests which have been failing since first pkged


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


[Nix-commits] [NixOS/nixpkgs] 520cb1: Fix infinite recursion introduced by f3c32cb2c1344...

2016-09-05 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 520cb14f16a13b4e70ead6618fa4e081a5a8059f
  
https://github.com/NixOS/nixpkgs/commit/520cb14f16a13b4e70ead6618fa4e081a5a8059f
  Author: Eelco Dolstra 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M nixos/modules/services/networking/ssh/sshd.nix

  Log Message:
  ---
  Fix infinite recursion introduced by f3c32cb2c1344c9a831bb9e4f47c1b20527dbe0b


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


Re: [Nix-dev] Announcing nix-buffer, nix-shell for emacs

2016-09-05 Thread Shea Levy
Sure! In my .emacs, I have:

> (defun nix-buffer-find-file-hook ()
>   (when (not (file-remote-p (buffer-file-name)))
> (nix-buffer)))
> (add-hook 'find-file-hook 'nix-buffer-find-file-hook)

I have coq 8.5pl1 installed in my configuration.nix, but I have a coq
project that requires 8.4pl6, so I have in that project's root directory
dir-locals.nix:

> let pkgs = import  {}; in
>   pkgs.nixBufferBuilders.withPackages [ pkgs.coq ]

(note that this relies on a recent nixpkgs commit[1]). Then whenever I
open a .v file in the project, ProofGeneral uses coq 8.4 rather than
8.5.

If I wanted, my dir-locals.nix could take a 'root' argument, which would
point to the file I opened.

~Shea

[1]: 
https://github.com/NixOS/nixpkgs/commit/05c132486d8cfae600bbfe8c9ac5d799b298afed

Bas van Dijk  writes:

> Hi Shea,
>
> As a Nix and Emacs user this looks very interesting. I didn't know about
> Buffer-Local Variables before.
>
> Can you share some applications of nix-buffer / how you are using it?
>
> Thanks!
>
> Bas
>
> On 5 September 2016 at 08:06, Shea Levy  wrote:
>
>> Hi all,
>>
>> I've just pushed the initial version of nix-buffer[1], and opened a PR
>> for adding it to melpa[2]. The description of the 'nix-buffer-enter'
>> command this library defines:
>>
>> > Set up the buffer according to the directory-local nix expression.
>> >
>> > Looks for dir-locals.nix upward from the current directory.  If found,
>> > builds the derivation defined there with the 'root' arg set to the
>> > current buffer file name or directory and evaluates the resulting
>> > elisp if safe to do so.
>> >
>> > Because in practice dir-locals.nix will always want to do things that
>> > are unsafe in dir-locals.el (e.g. append to 'exec-path'), we don't
>> > reuse that mechanism and instead just load the file as elisp.  Because
>> > this allows arbitrary code execution, the first time we're asked to
>> > load a particular store path we query the user to verify if it's safe
>> > to load beforehand.
>> >
>> > The Lisp code generated by dir-locals.nix should limit itself to
>> > modifying buffer-local variables, but there is no actual enforcement
>> > of this.  'setq-local' is your friend.
>>
>> It may be useful to advise the 'normal-mode' function to call
>> 'nix-buffer-enter' beforehand for local files, so that all visited files
>> have their environments set up before modes are loaded.
>>
>> Note that this is my first elisp package, so feedback definitely
>> welcome!
>>
>> In addition to the elisp work mentioned in the TODO[3], it would be
>> useful to add some functions to nixpkgs to build elisp files,
>> especially:
>>
>> * A function taking a derivation and building an elisp file that sets up
>>   the buffer environment analogous to the build environment specified by
>>   that derivation
>> * A function taking a list of packages and building an elisp file that
>>   sets up the buffer environment with all of those packages available
>>   (in PATH, in the emacs load path, etc.).
>>
>> Happy hacking!
>>
>> ~Shea
>>
>> [1]: https://github.com/shlevy/nix-buffer/tree/v1.0
>> [2]: https://github.com/melpa/melpa/pull/4204
>> [3]: https://github.com/shlevy/nix-buffer/blob/v1.0/TODO.md
>>
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>>


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] d2275f: webkitgtk24: build in parallel until #18312

2016-09-05 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d2275f4b0404ebaa501a1f84d533a37a8a1d9d7b
  
https://github.com/NixOS/nixpkgs/commit/d2275f4b0404ebaa501a1f84d533a37a8a1d9d7b
  Author: Domen Kožar 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/libraries/webkitgtk/2.4.nix

  Log Message:
  ---
  webkitgtk24: build in parallel until #18312

(cherry picked from commit 2ef4e9e9d5c754fe091ec5087b885f2be98fb3a7)
Signed-off-by: Domen Kožar 


  Commit: 8c504fbce186e2afe501b95b5188adf65d916380
  
https://github.com/NixOS/nixpkgs/commit/8c504fbce186e2afe501b95b5188adf65d916380
  Author: Domen Kožar 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/desktops/gnome-3/3.20/apps/evolution/default.nix

  Log Message:
  ---
  gnome3.evolution: set big-parallel

(cherry picked from commit 5248178c20c472a98169916651545d9c77005f27)
Signed-off-by: Domen Kožar 


  Commit: 9e363a752fbd5ca4447cd1f82526e2a166eedfa5
  
https://github.com/NixOS/nixpkgs/commit/9e363a752fbd5ca4447cd1f82526e2a166eedfa5
  Author: Domen Kožar 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/science/misc/openmodelica/default.nix

  Log Message:
  ---
  openmodelica: enable parallel building

(cherry picked from commit 261d51971a352cbcdc8d70dc74f8971ac202a43d)
Signed-off-by: Domen Kožar 


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


[Nix-commits] [NixOS/nixpkgs] 2ef4e9: webkitgtk24: build in parallel until #18312

2016-09-05 Thread Domen Kožar
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 2ef4e9e9d5c754fe091ec5087b885f2be98fb3a7
  
https://github.com/NixOS/nixpkgs/commit/2ef4e9e9d5c754fe091ec5087b885f2be98fb3a7
  Author: Domen Kožar 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/libraries/webkitgtk/2.4.nix

  Log Message:
  ---
  webkitgtk24: build in parallel until #18312


  Commit: 5248178c20c472a98169916651545d9c77005f27
  
https://github.com/NixOS/nixpkgs/commit/5248178c20c472a98169916651545d9c77005f27
  Author: Domen Kožar 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/desktops/gnome-3/3.20/apps/evolution/default.nix

  Log Message:
  ---
  gnome3.evolution: set big-parallel


  Commit: 261d51971a352cbcdc8d70dc74f8971ac202a43d
  
https://github.com/NixOS/nixpkgs/commit/261d51971a352cbcdc8d70dc74f8971ac202a43d
  Author: Domen Kožar 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/science/misc/openmodelica/default.nix

  Log Message:
  ---
  openmodelica: enable parallel building


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


[Nix-commits] [NixOS/nixpkgs] 50e373: Initial version of nixBufferBuilders.withPackages.

2016-09-05 Thread Shea Levy
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 50e3737c1af2f28fad9e0a246abcba5f83724a2a
  
https://github.com/NixOS/nixpkgs/commit/50e3737c1af2f28fad9e0a246abcba5f83724a2a
  Author: Shea Levy 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
A pkgs/build-support/emacs/buffer.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Initial version of nixBufferBuilders.withPackages.

This builds elisp to setup an emacs buffer with the packages given
available. See shlevy/nix-buffer for more information.

Currently only modifies $PATH.

(cherry picked from commit 05c132486d8cfae600bbfe8c9ac5d799b298afed)


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


[Nix-commits] [NixOS/nixpkgs] 05c132: Initial version of nixBufferBuilders.withPackages.

2016-09-05 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 05c132486d8cfae600bbfe8c9ac5d799b298afed
  
https://github.com/NixOS/nixpkgs/commit/05c132486d8cfae600bbfe8c9ac5d799b298afed
  Author: Shea Levy 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
A pkgs/build-support/emacs/buffer.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Initial version of nixBufferBuilders.withPackages.

This builds elisp to setup an emacs buffer with the packages given
available. See shlevy/nix-buffer for more information.

Currently only modifies $PATH.


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


[Nix-dev] NixOps usage survey.

2016-09-05 Thread Aloïs Cochard
Hi all,

We are experimenting with NixOps and we are having great success. We do
plan to use it for our development infrastructure, and it seems to be very
promising.

In the light of applying the same technology on our production stack, I'm
curious to know how NixOps is used "for real"? Do you use it in production?

Do you have some success story to share?

Would love to know more about how it is used, the size of clusters, ...

Thanks in advance!

-- 
*Λ\oïs*
http://twitter.com/aloiscochard
http://github.com/aloiscochard
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 3c878f: gnome2.gnome_panel: Fix build

2016-09-05 Thread Tuomas Tynkkynen
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3c878fb9caeb03b59d3e4ad0f30708eff2196074
  
https://github.com/NixOS/nixpkgs/commit/3c878fb9caeb03b59d3e4ad0f30708eff2196074
  Author: Tuomas Tynkkynen 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/desktops/gnome-2/desktop/gnome-panel/default.nix

  Log Message:
  ---
  gnome2.gnome_panel: Fix build

(cherry picked from commit 8f023eb129f16a35970e8536df99188c43ca6d6d)


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


[Nix-commits] [NixOS/nixpkgs] 8f023e: gnome2.gnome_panel: Fix build

2016-09-05 Thread Tuomas Tynkkynen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8f023eb129f16a35970e8536df99188c43ca6d6d
  
https://github.com/NixOS/nixpkgs/commit/8f023eb129f16a35970e8536df99188c43ca6d6d
  Author: Tuomas Tynkkynen 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/desktops/gnome-2/desktop/gnome-panel/default.nix

  Log Message:
  ---
  gnome2.gnome_panel: Fix build


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


[Nix-commits] [NixOS/nixpkgs] cbb177: Backport proofgeneral_HEAD

2016-09-05 Thread Shea Levy
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: cbb1774631f7d6a49e9e684cc1e5f3911bedf056
  
https://github.com/NixOS/nixpkgs/commit/cbb1774631f7d6a49e9e684cc1e5f3911bedf056
  Author: Shea Levy 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
A pkgs/applications/editors/emacs-modes/proofgeneral/HEAD.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Backport proofgeneral_HEAD


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


[Nix-commits] [NixOS/nixpkgs] 97da03: proofgeneral_HEAD: bump

2016-09-05 Thread Shea Levy
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 97da0327112be686cbc3f91089d86f494bf2100c
  
https://github.com/NixOS/nixpkgs/commit/97da0327112be686cbc3f91089d86f494bf2100c
  Author: Shea Levy 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/editors/emacs-modes/proofgeneral/HEAD.nix

  Log Message:
  ---
  proofgeneral_HEAD: bump

(cherry picked from commit d1154edf441411bae1363ddb1eb5c7ddd379642d)


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


[Nix-commits] [NixOS/nixpkgs] d1154e: proofgeneral_HEAD: bump

2016-09-05 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d1154edf441411bae1363ddb1eb5c7ddd379642d
  
https://github.com/NixOS/nixpkgs/commit/d1154edf441411bae1363ddb1eb5c7ddd379642d
  Author: Shea Levy 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/editors/emacs-modes/proofgeneral/HEAD.nix

  Log Message:
  ---
  proofgeneral_HEAD: bump


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


[Nix-commits] [NixOS/nixpkgs] 5d643e: gtk-sharp-*: remove references to gnomepanel

2016-09-05 Thread obadz
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5d643e08293983e1eb2b5c664e32615b7c1341c6
  
https://github.com/NixOS/nixpkgs/commit/5d643e08293983e1eb2b5c664e32615b7c1341c6
  Author: obadz 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/libraries/gtk-sharp/2.0.nix
M pkgs/development/libraries/gtk-sharp/3.0.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  gtk-sharp-*: remove references to gnomepanel

gnomepanel was part of Gnome 2 and is currently broken.

There seemed to be no runtime dependency to gnomepanel and building also
seems to work fine without it.

(cherry picked from commit 1a5bb68696c2bfb3a2661d9f2096030b0da0bccc)


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


[Nix-commits] [NixOS/nixpkgs] 1a5bb6: gtk-sharp-*: remove references to gnomepanel

2016-09-05 Thread obadz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1a5bb68696c2bfb3a2661d9f2096030b0da0bccc
  
https://github.com/NixOS/nixpkgs/commit/1a5bb68696c2bfb3a2661d9f2096030b0da0bccc
  Author: obadz 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/libraries/gtk-sharp/2.0.nix
M pkgs/development/libraries/gtk-sharp/3.0.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  gtk-sharp-*: remove references to gnomepanel

gnomepanel was part of Gnome 2 and is currently broken.

There seemed to be no runtime dependency to gnomepanel and building also
seems to work fine without it.


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


[Nix-commits] [NixOS/nixpkgs] 860411: dbus: remove unused imports

2016-09-05 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8604117b48f297a8891eeabb16dc5e3a6e4ae915
  
https://github.com/NixOS/nixpkgs/commit/8604117b48f297a8891eeabb16dc5e3a6e4ae915
  Author: Alexander Ried 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

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

  Log Message:
  ---
  dbus: remove unused imports


  Commit: 992c514a20cf2da897db68169d7dcab721e8c7b7
  
https://github.com/NixOS/nixpkgs/commit/992c514a20cf2da897db68169d7dcab721e8c7b7
  Author: Alexander Ried 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M nixos/modules/system/boot/systemd.nix

  Log Message:
  ---
  (network,remote-fs)-pre: remove duplicate wantedBy and before

this is part of (network,remote-fs).target, repectively


  Commit: 2fd6b36c51babbf72cd459cef3a5b76914065eec
  
https://github.com/NixOS/nixpkgs/commit/2fd6b36c51babbf72cd459cef3a5b76914065eec
  Author: Alexander Ried 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M nixos/modules/system/boot/networkd.nix

  Log Message:
  ---
  networkd.module: remove before network-online

this is already upstream default


  Commit: 322c8231931a3158b4abc836090bdfa1ce92f5f2
  
https://github.com/NixOS/nixpkgs/commit/322c8231931a3158b4abc836090bdfa1ce92f5f2
  Author: Alexander Ried 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M nixos/modules/services/ttys/agetty.nix

  Log Message:
  ---
  agetty: remove override for container-getty@.service since it's upstream

Added in systemd/systemd@68ac53e


  Commit: 53f3c2a2783b8c910b98b1a6a25e75d7a1f04ec8
  
https://github.com/NixOS/nixpkgs/commit/53f3c2a2783b8c910b98b1a6a25e75d7a1f04ec8
  Author: Alexander Ried 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M nixos/modules/system/boot/systemd.nix

  Log Message:
  ---
  systemd: add some missing upstream units


  Commit: 1a1a31c9d80237a3a8264d98fb14e0e24cdbd7b7
  
https://github.com/NixOS/nixpkgs/commit/1a1a31c9d80237a3a8264d98fb14e0e24cdbd7b7
  Author: Eelco Dolstra 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M nixos/modules/services/ttys/agetty.nix
M nixos/modules/system/boot/networkd.nix
M nixos/modules/system/boot/systemd.nix
M pkgs/development/libraries/dbus/default.nix

  Log Message:
  ---
  Merge pull request #18321 from groxxda/cleanup

various: minor cleanup


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


Re: [Nix-dev] Announcing nix-buffer, nix-shell for emacs

2016-09-05 Thread Bas van Dijk
Hi Shea,

As a Nix and Emacs user this looks very interesting. I didn't know about
Buffer-Local Variables before.

Can you share some applications of nix-buffer / how you are using it?

Thanks!

Bas

On 5 September 2016 at 08:06, Shea Levy  wrote:

> Hi all,
>
> I've just pushed the initial version of nix-buffer[1], and opened a PR
> for adding it to melpa[2]. The description of the 'nix-buffer-enter'
> command this library defines:
>
> > Set up the buffer according to the directory-local nix expression.
> >
> > Looks for dir-locals.nix upward from the current directory.  If found,
> > builds the derivation defined there with the 'root' arg set to the
> > current buffer file name or directory and evaluates the resulting
> > elisp if safe to do so.
> >
> > Because in practice dir-locals.nix will always want to do things that
> > are unsafe in dir-locals.el (e.g. append to 'exec-path'), we don't
> > reuse that mechanism and instead just load the file as elisp.  Because
> > this allows arbitrary code execution, the first time we're asked to
> > load a particular store path we query the user to verify if it's safe
> > to load beforehand.
> >
> > The Lisp code generated by dir-locals.nix should limit itself to
> > modifying buffer-local variables, but there is no actual enforcement
> > of this.  'setq-local' is your friend.
>
> It may be useful to advise the 'normal-mode' function to call
> 'nix-buffer-enter' beforehand for local files, so that all visited files
> have their environments set up before modes are loaded.
>
> Note that this is my first elisp package, so feedback definitely
> welcome!
>
> In addition to the elisp work mentioned in the TODO[3], it would be
> useful to add some functions to nixpkgs to build elisp files,
> especially:
>
> * A function taking a derivation and building an elisp file that sets up
>   the buffer environment analogous to the build environment specified by
>   that derivation
> * A function taking a list of packages and building an elisp file that
>   sets up the buffer environment with all of those packages available
>   (in PATH, in the emacs load path, etc.).
>
> Happy hacking!
>
> ~Shea
>
> [1]: https://github.com/shlevy/nix-buffer/tree/v1.0
> [2]: https://github.com/melpa/melpa/pull/4204
> [3]: https://github.com/shlevy/nix-buffer/blob/v1.0/TODO.md
>
> ___
> 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] libvirt/nixops (Joachim Schiele)

2016-09-05 Thread Thomas Bereknyei
I got this working a few weeks ago and had the same issue. Did you modify
your network using `virsh net-edit default'? I think you need to. Mine is:

  default
  some--uuid
  
  
  
  

  

  


>
> Message: 1
> Date: Mon, 5 Sep 2016 10:51:06 +0200
> From: Joachim Schiele 
> To: nix-dev@lists.science.uu.nl
> Cc: nix-dev 
> Subject: Re: [Nix-dev] libvirt/nixops
> Message-ID: 
> Content-Type: text/plain; charset=UTF-8
>
> https://github.com/NixOS/nixops/issues/500
>
> On 05.09.2016 10:24, Domen Ko?ar wrote:
> > That hints the qemu didn't come up, can you paste the contents of files
> > in /var/log/libvirt/qemu/ somewhere?
> >
> > Maybe best to open an issue on nixops github and let's continue there!
> >
> > On Sun, Sep 4, 2016 at 11:22 PM, Joachim Schiele  > > wrote:
> >
> > it is empty, see
> >
> > virsh -c qemu:///system net-dhcp-leases --network default
> >  Expiry Time  MAC addressProtocol  IP
> > addressHostnameClient ID or DUID
> >
>  
> ---
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] f3c32c: Let services.openssh.forwardX11 imply programs.ssh...

2016-09-05 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f3c32cb2c1344c9a831bb9e4f47c1b20527dbe0b
  
https://github.com/NixOS/nixpkgs/commit/f3c32cb2c1344c9a831bb9e4f47c1b20527dbe0b
  Author: Eelco Dolstra 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M nixos/modules/programs/ssh.nix
M nixos/modules/services/networking/ssh/sshd.nix

  Log Message:
  ---
  Let services.openssh.forwardX11 imply programs.ssh.setXAuthLocation


  Commit: 5b5c2fb9c08e3e9ee4ed27fce7863055d3c896d1
  
https://github.com/NixOS/nixpkgs/commit/5b5c2fb9c08e3e9ee4ed27fce7863055d3c896d1
  Author: Eelco Dolstra 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M nixos/modules/config/fonts/fonts.nix
M nixos/modules/services/x11/xserver.nix

  Log Message:
  ---
  Make the default fonts conditional on services.xserver.enable

We were pulling in 44 MiB of fonts in the default configuration, which
is a bit excessive for headless configurations like EC2
instances. Note that dejavu_minimal ensures that remote X11-forwarded
applications still have a basic font regardless.


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


[Nix-commits] [NixOS/nixpkgs] 5e5df8: modules/profiles/minimal.nix: Disable "man"

2016-09-05 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5e5df88457d6a44da9e2856b82a51573aaa0d1da
  
https://github.com/NixOS/nixpkgs/commit/5e5df88457d6a44da9e2856b82a51573aaa0d1da
  Author: Eelco Dolstra 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M nixos/modules/profiles/minimal.nix

  Log Message:
  ---
  modules/profiles/minimal.nix: Disable "man"


  Commit: ab49ebe6fa2f502844cc6f655f02b00c052c6dd0
  
https://github.com/NixOS/nixpkgs/commit/ab49ebe6fa2f502844cc6f655f02b00c052c6dd0
  Author: Eelco Dolstra 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M nixos/modules/config/system-path.nix
M nixos/modules/module-list.nix
M nixos/modules/profiles/minimal.nix
A nixos/modules/programs/info.nix

  Log Message:
  ---
  Make it possible to disable "info"


  Commit: ff7368e944a904c0389f58f770576a230ab73c08
  
https://github.com/NixOS/nixpkgs/commit/ff7368e944a904c0389f58f770576a230ab73c08
  Author: Eelco Dolstra 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/os-specific/linux/audit/default.nix

  Log Message:
  ---
  audit: Move z/OS plugin to a separate output

This prevents the NixOS base system from pulling in openldap,
cyris-sasl, and libkrb5.


  Commit: e8315cb1caac6343322b5bab822f3cd227ae287b
  
https://github.com/NixOS/nixpkgs/commit/e8315cb1caac6343322b5bab822f3cd227ae287b
  Author: Eelco Dolstra 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/os-specific/linux/shadow/default.nix

  Log Message:
  ---
  shadow: Separate man output

This removes ~2 MiB from the minimal config.


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


[Nix-commits] [NixOS/nixpkgs] d6e2aa: vagrant: 1.8.4 -> 1.8.5 (#18283)

2016-09-05 Thread Peter Hoeg
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d6e2aad8802d32a4088f5b325384907e1fa256b3
  
https://github.com/NixOS/nixpkgs/commit/d6e2aad8802d32a4088f5b325384907e1fa256b3
  Author: Peter Hoeg 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/tools/vagrant/default.nix

  Log Message:
  ---
  vagrant: 1.8.4 -> 1.8.5 (#18283)

Includes https://github.com/mitchellh/vagrant/pull/7611 to fix issue with 
permissions on ~/.ssh/authorized_keys.
(cherry picked from commit a359d330dc10701f9f6aa318d17c9dffcaa25ca7)


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


Re: [Nix-dev] building ruby package utf-8 needed

2016-09-05 Thread Matthew O'Gorman
Peter Hoeg  writes:

>>I am currently trying to run it via nix-shell . on the checkot of my
>>fork.
>>
>>https://github.com/mogorman/huginn/blob/master/default.nix is the
>>default.nix.  I am currently trying before I tried it with the barebones
>>example provided by https://github.com/manveru/bundix
>
> Try checking this out:
>
> https://github.com/peterhoeg/dj
>
> Does it install the dj gem correctly for you?

i was able to nix-shell dj and run bin/woot.  I am not sure what the
purpose was?

-- 
Matthew O'Gorman
BM-NBUmia4p88Jny5bZbRGcMt64SWWp5WVv
TorChat: 5w3dtk7nhkkijcpc
Site: https://b.rldn.net
Xim/Email: m...@rldn.net
mog@rldn:~$ fortune wisdom -s|cowsay -f /dev/null
  
/ It's very inconvenient to be mortal -- \
| you never know when everything may |
\ suddenly stop happening.   /
  


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] a359d3: vagrant: 1.8.4 -> 1.8.5 (#18283)

2016-09-05 Thread Peter Hoeg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: a359d330dc10701f9f6aa318d17c9dffcaa25ca7
  
https://github.com/NixOS/nixpkgs/commit/a359d330dc10701f9f6aa318d17c9dffcaa25ca7
  Author: Peter Hoeg 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/tools/vagrant/default.nix

  Log Message:
  ---
  vagrant: 1.8.4 -> 1.8.5 (#18283)

Includes https://github.com/mitchellh/vagrant/pull/7611 to fix issue with 
permissions on ~/.ssh/authorized_keys.


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


Re: [Nix-dev] Announcing nix-buffer, nix-shell for emacs

2016-09-05 Thread Shea Levy
Doubt anyone has managed to start using this yet, but FYI I've changed
the name of the command to just 'nix-buffer'. Will add to nixpkgs once
it's merged into melpa.

Shea Levy  writes:

> [ Unknown signature status ]
> Hi all,
>
> I've just pushed the initial version of nix-buffer[1], and opened a PR
> for adding it to melpa[2]. The description of the 'nix-buffer-enter'
> command this library defines:
>
>> Set up the buffer according to the directory-local nix expression.
>>
>> Looks for dir-locals.nix upward from the current directory.  If found,
>> builds the derivation defined there with the 'root' arg set to the
>> current buffer file name or directory and evaluates the resulting
>> elisp if safe to do so.
>>
>> Because in practice dir-locals.nix will always want to do things that
>> are unsafe in dir-locals.el (e.g. append to 'exec-path'), we don't
>> reuse that mechanism and instead just load the file as elisp.  Because
>> this allows arbitrary code execution, the first time we're asked to
>> load a particular store path we query the user to verify if it's safe
>> to load beforehand.
>>
>> The Lisp code generated by dir-locals.nix should limit itself to
>> modifying buffer-local variables, but there is no actual enforcement
>> of this.  'setq-local' is your friend.
>
> It may be useful to advise the 'normal-mode' function to call
> 'nix-buffer-enter' beforehand for local files, so that all visited files
> have their environments set up before modes are loaded.
>
> Note that this is my first elisp package, so feedback definitely
> welcome!
>
> In addition to the elisp work mentioned in the TODO[3], it would be
> useful to add some functions to nixpkgs to build elisp files,
> especially:
>
> * A function taking a derivation and building an elisp file that sets up
>   the buffer environment analogous to the build environment specified by
>   that derivation
> * A function taking a list of packages and building an elisp file that
>   sets up the buffer environment with all of those packages available
>   (in PATH, in the emacs load path, etc.).
>
> Happy hacking!
>
> ~Shea
>
> [1]: https://github.com/shlevy/nix-buffer/tree/v1.0
> [2]: https://github.com/melpa/melpa/pull/4204
> [3]: https://github.com/shlevy/nix-buffer/blob/v1.0/TODO.md


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] 46ef9d: mention-bot: notify me of Python changes

2016-09-05 Thread Frederik Rietdijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 46ef9dfcde6603f50592a538aa9193ecffb4a9e3
  
https://github.com/NixOS/nixpkgs/commit/46ef9dfcde6603f50592a538aa9193ecffb4a9e3
  Author: Frederik Rietdijk 
  Date:   2016-09-03 (Sat, 03 Sep 2016)

  Changed paths:
M .mention-bot

  Log Message:
  ---
  mention-bot: notify me of Python changes


  Commit: a39bc6e44213929f08d6f734862e135a4110ca3a
  
https://github.com/NixOS/nixpkgs/commit/a39bc6e44213929f08d6f734862e135a4110ca3a
  Author: Frederik Rietdijk 
  Date:   2016-09-03 (Sat, 03 Sep 2016)

  Changed paths:
M .mention-bot

  Log Message:
  ---
  mention-bot: blacklist all-packages.nix


  Commit: 03e70ebcc6d97dc085fb19e3909a3298c58ec3e0
  
https://github.com/NixOS/nixpkgs/commit/03e70ebcc6d97dc085fb19e3909a3298c58ec3e0
  Author: Frederik Rietdijk 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M .mention-bot

  Log Message:
  ---
  Merge pull request #18249 from FRidh/bot

Mention-bot: blacklist all-packages.nix, inform me of Python changes


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


[Nix-commits] [NixOS/nixpkgs] d60538: nose-parameterized: re-enable for python2 by disab...

2016-09-05 Thread Tom Hunger
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d6053809ec4df6affdb03b3d40e94d11152b6bf6
  
https://github.com/NixOS/nixpkgs/commit/d6053809ec4df6affdb03b3d40e94d11152b6bf6
  Author: Tom Hunger 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

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

  Log Message:
  ---
  nose-parameterized: re-enable for python2 by disabling tests.

(cherry picked from commit 70b6be3e3602808ccbd50025dfe1b3df5546a446)


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


[Nix-commits] [NixOS/nixpkgs] 70b6be: nose-parameterized: re-enable for python2 by disab...

2016-09-05 Thread Frederik Rietdijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 70b6be3e3602808ccbd50025dfe1b3df5546a446
  
https://github.com/NixOS/nixpkgs/commit/70b6be3e3602808ccbd50025dfe1b3df5546a446
  Author: Tom Hunger 
  Date:   2016-09-04 (Sun, 04 Sep 2016)

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

  Log Message:
  ---
  nose-parameterized: re-enable for python2 by disabling tests.


  Commit: 9dfc41c74a880006677201d0777c4acf6bccdb36
  
https://github.com/NixOS/nixpkgs/commit/9dfc41c74a880006677201d0777c4acf6bccdb36
  Author: Frederik Rietdijk 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

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

  Log Message:
  ---
  Merge pull request #18285 from teh/nose-parameterized

nose-parameterized: re-enable for python2 by disabling tests.


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


[Nix-commits] [NixOS/nixpkgs] 2583c7: libedit: 20150325-3.1 -> 20160903-3.1

2016-09-05 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 2583c70e9158c982e141e8b3a92861091b80dd14
  
https://github.com/NixOS/nixpkgs/commit/2583c70e9158c982e141e8b3a92861091b80dd14
  Author: Eelco Dolstra 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/libraries/libedit/default.nix
R pkgs/development/libraries/libedit/freebsd-wchar.patch
R pkgs/development/libraries/libedit/freebsd.patch

  Log Message:
  ---
  libedit: 20150325-3.1 -> 20160903-3.1

Also, use a separate "dev" output. This is mostly to remove
ncurses.dev from openssh's runtime closure.


  Commit: 8295089e6a08798f9cd733ee76e82d939d09faab
  
https://github.com/NixOS/nixpkgs/commit/8295089e6a08798f9cd733ee76e82d939d09faab
  Author: Eelco Dolstra 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/os-specific/linux/util-linux/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  utillinuxMinimal: Make more minimal

This removes locales, bash completion and crap like that. This cuts
6.5 MiB from the NixOS system closure (which unfortunately contains
two copies of util-linux, because of the need to break a dependency
cycle with systemd).


  Commit: 0aa75206705afc71b991cceeede644c87088d583
  
https://github.com/NixOS/nixpkgs/commit/0aa75206705afc71b991cceeede644c87088d583
  Author: Eelco Dolstra 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M nixos/modules/config/system-path.nix
M nixos/modules/installer/tools/nixos-install.sh
M nixos/modules/installer/tools/tools.nix

  Log Message:
  ---
  Revert "nixos: remove rsync from base install and add explicit path in 
nixos-install"

This reverts commit 582313bafef4c81cb6df2dcf2ece4757eb5c8082.

Removing rsync is actually pointless because nixos-install depends on
it. So if it's part of the system closure, we may as well provide it
to users.

Probably with the next Nix release we can drop the use of rsync and
use "nix copy" instead.


  Commit: d94c072f8ed20045015fd80cc10ad8ac64a35dc7
  
https://github.com/NixOS/nixpkgs/commit/d94c072f8ed20045015fd80cc10ad8ac64a35dc7
  Author: Eelco Dolstra 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/development/perl-modules/DBD-SQLite/default.nix
M pkgs/top-level/perl-packages.nix

  Log Message:
  ---
  DBD::SQLite: 1.48 -> 1.50


  Commit: ba70ce28ae4032a4674634c2a00615f7a0908357
  
https://github.com/NixOS/nixpkgs/commit/ba70ce28ae4032a4674634c2a00615f7a0908357
  Author: Eelco Dolstra 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M nixos/modules/services/system/dbus.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  no-x-libs.nix: Ensure that dbus doesn't use X11

It appears that packageOverrides no longer overrides aliases, so
aliases like

  dbus_tools = self.dbus.out;
  dbus_daemon = self.dbus.daemon;

now use the old, non-overriden version of dbus. That seems like a
pretty serious regression in general, but for this particular problem,
I've fixed it by replacing dbus_daemon by dbus.daemon and dbus_tools
by dbus.


  Commit: 8c27103d32cbfff71d8b9b8fb16af6fa23e52fa5
  
https://github.com/NixOS/nixpkgs/commit/8c27103d32cbfff71d8b9b8fb16af6fa23e52fa5
  Author: Eelco Dolstra 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

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

  Log Message:
  ---
  libmicrohttpd: Move out info docs

Putting the micro back in libmicrohttpd.


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


[Nix-commits] [NixOS/nixpkgs] 2b86cc: git: 2.9.3 -> 2.10.0

2016-09-05 Thread Peter Simons
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 2b86ccbf321bc75100c86446aa6706b335445270
  
https://github.com/NixOS/nixpkgs/commit/2b86ccbf321bc75100c86446aa6706b335445270
  Author: J Phani Mahesh 
  Date:   2016-09-03 (Sat, 03 Sep 2016)

  Changed paths:
M pkgs/applications/version-management/git-and-tools/git/default.nix
M pkgs/applications/version-management/git-and-tools/git/git-sh-i18n.patch

  Log Message:
  ---
  git: 2.9.3 -> 2.10.0


  Commit: 13fced071eb34a5b5156394e3cd3acf48736
  
https://github.com/NixOS/nixpkgs/commit/13fced071eb34a5b5156394e3cd3acf48736
  Author: Peter Simons 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/version-management/git-and-tools/git/default.nix
M pkgs/applications/version-management/git-and-tools/git/git-sh-i18n.patch

  Log Message:
  ---
  Merge pull request #18248 from phanimahesh/update-git-2.10.0

git: 2.9.3 -> 2.10.0


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


Re: [Nix-dev] Limiting access to only maintained packages and ensuring core packages are maintained

2016-09-05 Thread Peter Simons
laverne writes:

 > A "maintainer" that does not have commit access cannot maintain and
 > is thus not actually a maintainer.

Due to the wonders of Github, it's entirely feasible to maintain
packages without having commit access. A "maintainer" is not necessarily
the person who commits patches but rather the person who writes them
and/or helps other people write them. Once patches exist that improve
the package in some way, they are submitted for review in a Pull Request
via Github and -- assuming the patch is uncontroversial -- subsequently
merged to the distribution.


 > I don't really understand how NixOS's model works and am not
 > confident that anyone does.

If you have any specific question about the process used to develop Nix,
NixOS, and Nixpkgs then please don't hesitate to ask on this mailing
list or -- if you prefer -- on the #NixOS IRC channel. There are quite a
few people who understand how these processes work who will usually be
quite happy to help and share information.

Best regards,
Peter

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


[Nix-commits] [NixOS/nixpkgs] db481d: doc/language-frameworks/haskell.md: typo in code e...

2016-09-05 Thread Mathieu Boespflug
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: db481dca316fded5d538e325023146815e3932cb
  
https://github.com/NixOS/nixpkgs/commit/db481dca316fded5d538e325023146815e3932cb
  Author: Mathieu Boespflug 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M doc/languages-frameworks/haskell.md

  Log Message:
  ---
  doc/language-frameworks/haskell.md: typo in code example. (#18313)


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


[Nix-commits] [NixOS/nixpkgs] 33229f: libreoffice: set big-parallel hydra feature to bui...

2016-09-05 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 33229f0d876bfce08ae5b0a34dd014b7e406077e
  
https://github.com/NixOS/nixpkgs/commit/33229f0d876bfce08ae5b0a34dd014b7e406077e
  Author: Domen Kožar 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/office/libreoffice/default.nix
M pkgs/applications/office/libreoffice/still.nix

  Log Message:
  ---
  libreoffice: set big-parallel hydra feature to build it quicker

For example http://hydra.nixos.org/build/39781012 took 6h

(cherry picked from commit a29f6a5e8e1c2d6ec4adc78143c5479121d550bc)
Signed-off-by: Domen Kožar 


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


[Nix-commits] [NixOS/nixpkgs] a29f6a: libreoffice: set big-parallel hydra feature to bui...

2016-09-05 Thread Domen Kožar
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: a29f6a5e8e1c2d6ec4adc78143c5479121d550bc
  
https://github.com/NixOS/nixpkgs/commit/a29f6a5e8e1c2d6ec4adc78143c5479121d550bc
  Author: Domen Kožar 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/office/libreoffice/default.nix
M pkgs/applications/office/libreoffice/still.nix

  Log Message:
  ---
  libreoffice: set big-parallel hydra feature to build it quicker

For example http://hydra.nixos.org/build/39781012 took 6h


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


[Nix-commits] [NixOS/nixpkgs] ee501f: networkmanager: add information from wiki to docs ...

2016-09-05 Thread Langston Barrett
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ee501fd49aabc179e1ccbe08f625f49ab2066173
  
https://github.com/NixOS/nixpkgs/commit/ee501fd49aabc179e1ccbe08f625f49ab2066173
  Author: Langston Barrett 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M nixos/doc/manual/configuration/network-manager.xml

  Log Message:
  ---
  networkmanager: add information from wiki to docs (#18245)

* networkmanager: add information from wiki to docs

Specifically:
 * mention nmcli, nmtui
 * mention gtk and kde applets

fixes #13273


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


Re: [Nix-dev] libvirt/nixops

2016-09-05 Thread Joachim Schiele
https://github.com/NixOS/nixops/issues/500

On 05.09.2016 10:24, Domen Kožar wrote:
> That hints the qemu didn't come up, can you paste the contents of files
> in /var/log/libvirt/qemu/ somewhere?
> 
> Maybe best to open an issue on nixops github and let's continue there!
> 
> On Sun, Sep 4, 2016 at 11:22 PM, Joachim Schiele  > wrote:
> 
> it is empty, see
> 
> virsh -c qemu:///system net-dhcp-leases --network default
>  Expiry Time  MAC addressProtocol  IP
> addressHostnameClient ID or DUID
> 
> ---
> 
> 
> On 04.09.2016 22:51, Domen Kožar wrote:
>> What's the output of:
>>
>> $ virsh -c qemu:///system net-dhcp-leases --network default
>>
>> On Sun, Sep 4, 2016 at 10:13 PM, Vladimír Čunát > > wrote:
>>
>> On 09/04/2016 10:07 PM, Joachim Schiele wrote:
>> > i'm using nixos 16.03.1271.546618c (Emu) with nixops 1.4 and
>> i wanted to
>> > deploy to libvirtd.
>>
>> Do you know about
>> https://github.com/NixOS/nixops/issues/499
>> 
>>
>> --Vladimir
>>
>>
>>
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl 
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>> 
>>
>>
> 
> -- 
> Joachim Schiele
> 
> blog: http://lastlog.de/blog
> wiki: http://lastlog.de/wiki
> signal: 0160 7576 242
> GPG: 6D8F75EE (key here: https://lastlog.de/blog/about.html 
> )
> 
> 
> 
> 
> ___
> 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] libvirt/nixops

2016-09-05 Thread Joachim Schiele
it is empty, see

virsh -c qemu:///system net-dhcp-leases --network default
 Expiry Time  MAC addressProtocol  IP
addressHostnameClient ID or DUID
---


On 04.09.2016 22:51, Domen Kožar wrote:
> What's the output of:
>
> $ virsh -c qemu:///system net-dhcp-leases --network default
>
> On Sun, Sep 4, 2016 at 10:13 PM, Vladimír Čunát  > wrote:
>
> On 09/04/2016 10:07 PM, Joachim Schiele wrote:
> > i'm using nixos 16.03.1271.546618c (Emu) with nixops 1.4 and i
> wanted to
> > deploy to libvirtd.
>
> Do you know about
> https://github.com/NixOS/nixops/issues/499
> 
>
> --Vladimir
>
>
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl 
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 
>
>

-- 
Joachim Schiele

blog: http://lastlog.de/blog
wiki: http://lastlog.de/wiki
signal: 0160 7576 242
GPG: 6D8F75EE (key here: https://lastlog.de/blog/about.html)



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] libvirt/nixops

2016-09-05 Thread Domen Kožar
That hints the qemu didn't come up, can you paste the contents of files in
/var/log/libvirt/qemu/ somewhere?

Maybe best to open an issue on nixops github and let's continue there!

On Sun, Sep 4, 2016 at 11:22 PM, Joachim Schiele  wrote:

> it is empty, see
>
> virsh -c qemu:///system net-dhcp-leases --network default
>  Expiry Time  MAC addressProtocol  IP
> addressHostnameClient ID or DUID
> 
> ---
>
>
> On 04.09.2016 22:51, Domen Kožar wrote:
>
> What's the output of:
>
> $ virsh -c qemu:///system net-dhcp-leases --network default
>
> On Sun, Sep 4, 2016 at 10:13 PM, Vladimír Čunát  wrote:
>
>> On 09/04/2016 10:07 PM, Joachim Schiele wrote:
>> > i'm using nixos 16.03.1271.546618c (Emu) with nixops 1.4 and i wanted to
>> > deploy to libvirtd.
>>
>> Do you know about
>> https://github.com/NixOS/nixops/issues/499
>>
>> --Vladimir
>>
>>
>>
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>>
>
> --
> Joachim Schiele
>
> blog: http://lastlog.de/blog
> wiki: http://lastlog.de/wiki
> signal: 0160 7576 242
> GPG: 6D8F75EE (key here: https://lastlog.de/blog/about.html)
>
>
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 30da3d: pythonPackages.pillow: add lcms2 support

2016-09-05 Thread Frederik Rietdijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 30da3de95d045c14a9b320e2696d108ca432eaaa
  
https://github.com/NixOS/nixpkgs/commit/30da3de95d045c14a9b320e2696d108ca432eaaa
  Author: Jaka Hudoklin 
  Date:   2016-09-04 (Sun, 04 Sep 2016)

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

  Log Message:
  ---
  pythonPackages.pillow: add lcms2 support


  Commit: 07e76b0738d3250bd90daadafd924f1eb1d85d57
  
https://github.com/NixOS/nixpkgs/commit/07e76b0738d3250bd90daadafd924f1eb1d85d57
  Author: Frederik Rietdijk 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

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

  Log Message:
  ---
  Merge pull request #18292 from 
offlinehacker/pkgs/pythonPackages/pillow/lcms2_support

pythonPackages.pillow: add lcms2 support


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


Re: [Nix-dev] Troubleshooting boot failures & rollbacks

2016-09-05 Thread Philip Potter
On Monday, 15 August 2016, Stephen Whitmore 
wrote:

> At long last though the inevitable occurred: I rebooted, and my system
> only partially boots. This wasn't quite as obvious to solve as booting
> to the previous configuration: I had made a dozen system rebuilds since
> I last rebooted, so I had to spend a bit of time figuring out which
> snapshot introduced the failure.
>
> Now I'm in the position of trying to deduce what configuration change
> corresponds to that failure. I pinged some folks on #nixos, and an
> obvious solution wasn't made apparent. One user noted that they keep
> their .nix configuration files in a git repo and put the commit hash in
> their system name to correlate snapshots. Smart! But alas, it did not
> help me in the moment.
>
> Are there any tips or strategies for dealing with this situation?
> Failing that, how do y'all deal with debugging your system when this
> happens? Any relevant nix config repos you could point me at would be
> appreciated.
>

You can get the actual configuration files for each previous snapshot by
looking in /nix/var/nix/profiles/system* - there will be a symlink to each
generation in there, with the full filesystem at that stage.

You could start looking for differences between generations there. In
theory, you could use Nix's merkle tree structure to quickly prune
identical subdirectories but I don't know what tooling, if any, is smart
enough to do this for you.

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


[Nix-commits] [NixOS/nixpkgs] 4967be: owncloud-client: Fix "libocsync.so.0 not found" er...

2016-09-05 Thread Bjørn Forsman
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4967be3d22581c5f4191cef17e228800e33e6784
  
https://github.com/NixOS/nixpkgs/commit/4967be3d22581c5f4191cef17e228800e33e6784
  Author: Mayeu - Cast 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/networking/owncloud-client/default.nix

  Log Message:
  ---
  owncloud-client: Fix "libocsync.so.0 not found" error

Close #15130

(cherry picked from commit 61b4f1463ca74536cad898f3d352f70402231697)


  Commit: d13aad6d534b3518a97aa1358195a78d3056ee40
  
https://github.com/NixOS/nixpkgs/commit/d13aad6d534b3518a97aa1358195a78d3056ee40
  Author: Cast 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/networking/owncloud-client/default.nix

  Log Message:
  ---
  owncloud: 2.1.1 -> 2.2.1

(cherry picked from commit 0efb130d508392626f55fc1485fcf7631da022de)


  Commit: c84026f7a9a728b1481af0f29de757cf595cf870
  
https://github.com/NixOS/nixpkgs/commit/c84026f7a9a728b1481af0f29de757cf595cf870
  Author: Bjørn Forsman 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/networking/owncloud-client/default.nix

  Log Message:
  ---
  owncloud-client: 2.2.1 -> 2.2.3

Changelog: https://owncloud.org/changelog/desktop/
(cherry picked from commit 5120af001f2bb163b58c41c84b11a0c136a207fe)


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


[Nix-commits] [NixOS/nixpkgs] 6a4afc: owncloudclient: 1.7.1 -> 2.1.1

2016-09-05 Thread Micxjo Funkcio
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6a4afcded09bb1a0431d1e4568d12abc187ab64e
  
https://github.com/NixOS/nixpkgs/commit/6a4afcded09bb1a0431d1e4568d12abc187ab64e
  Author: Micxjo Funkcio 
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
M pkgs/applications/networking/owncloud-client/default.nix

  Log Message:
  ---
  owncloudclient: 1.7.1 -> 2.1.1

(cherry picked from commit 23fad46b76f305250ef451a97519fe026a4d5f59)

[Bjørn: unbreaks build (fixes #17016).]


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


[Nix-dev] Announcing nix-buffer, nix-shell for emacs

2016-09-05 Thread Shea Levy
Hi all,

I've just pushed the initial version of nix-buffer[1], and opened a PR
for adding it to melpa[2]. The description of the 'nix-buffer-enter'
command this library defines:

> Set up the buffer according to the directory-local nix expression.
>
> Looks for dir-locals.nix upward from the current directory.  If found,
> builds the derivation defined there with the 'root' arg set to the
> current buffer file name or directory and evaluates the resulting
> elisp if safe to do so.
>
> Because in practice dir-locals.nix will always want to do things that
> are unsafe in dir-locals.el (e.g. append to 'exec-path'), we don't
> reuse that mechanism and instead just load the file as elisp.  Because
> this allows arbitrary code execution, the first time we're asked to
> load a particular store path we query the user to verify if it's safe
> to load beforehand.
>
> The Lisp code generated by dir-locals.nix should limit itself to
> modifying buffer-local variables, but there is no actual enforcement
> of this.  'setq-local' is your friend.

It may be useful to advise the 'normal-mode' function to call
'nix-buffer-enter' beforehand for local files, so that all visited files
have their environments set up before modes are loaded.

Note that this is my first elisp package, so feedback definitely
welcome!

In addition to the elisp work mentioned in the TODO[3], it would be
useful to add some functions to nixpkgs to build elisp files,
especially:

* A function taking a derivation and building an elisp file that sets up
  the buffer environment analogous to the build environment specified by
  that derivation
* A function taking a list of packages and building an elisp file that
  sets up the buffer environment with all of those packages available
  (in PATH, in the emacs load path, etc.).

Happy hacking!

~Shea

[1]: https://github.com/shlevy/nix-buffer/tree/v1.0
[2]: https://github.com/melpa/melpa/pull/4204
[3]: https://github.com/shlevy/nix-buffer/blob/v1.0/TODO.md


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