[Nix-commits] [NixOS/nixpkgs] 23e0d4: qt5.mlt: fix build with Qt 5.7

2016-09-07 Thread Thomas Tuegel
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 23e0d4ae670a00c2f320633c584fd6a86da78a4a
  
https://github.com/NixOS/nixpkgs/commit/23e0d4ae670a00c2f320633c584fd6a86da78a4a
  Author: Thomas Tuegel 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  qt5.mlt: fix build with Qt 5.7


  Commit: c6246e9c7259e3e925635e3ea70bec37a60cc359
  
https://github.com/NixOS/nixpkgs/commit/c6246e9c7259e3e925635e3ea70bec37a60cc359
  Author: Thomas Tuegel 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  qt5.poppler: fix build with Qt 5.7


  Commit: e25a07e92a64415810da092cafa211ea2f846258
  
https://github.com/NixOS/nixpkgs/commit/e25a07e92a64415810da092cafa211ea2f846258
  Author: Thomas Tuegel 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/applications/video/vlc/default.nix

  Log Message:
  ---
  qt5.vlc: mark broken with Qt 5.7


  Commit: 02bda5d2af455149e4614c3bf2a6f8cd4e93b8bf
  
https://github.com/NixOS/nixpkgs/commit/02bda5d2af455149e4614c3bf2a6f8cd4e93b8bf
  Author: Thomas Tuegel 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/applications/video/vlc/default.nix
M pkgs/development/libraries/mlt/qt-5.nix
M pkgs/development/libraries/poppler/default.nix

  Log Message:
  ---
  Merge branch 'qt-5.7-fixes'


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


[Nix-commits] [NixOS/nixpkgs] e063c6: mono44: 4.4.1.0 -> 4.4.2.11

2016-09-07 Thread Nikolay Amiantov
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e063c66353a4559a7747cb5e7263f7bb4fc1787b
  
https://github.com/NixOS/nixpkgs/commit/e063c66353a4559a7747cb5e7263f7bb4fc1787b
  Author: Nikolay Amiantov 
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
M pkgs/development/compilers/mono/4.4.nix

  Log Message:
  ---
  mono44: 4.4.1.0 -> 4.4.2.11


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


Re: [Nix-dev] Unable to handle `.zip` archive in unstable.

2016-09-07 Thread Tim Barbour
On Tue, 06 Sep 2016 21:03:45 +1000,
Aloïs Cochard wrote:
> I'm currently trying to upgrade my system to the latest unstable, but I keep 
> running into errors like:
> 
> unpacking source archive 
> /nix/store/calj3b4gz6vq99d6wxc1760q66w101k3o147jen_linuxufrII_0290.zip
> do not know how to unpack source archive 
> /nix/store/calj3b4gz6vq99d6wxc1760q66w101k3o147jen_linuxufrII_0290.zip
> builder for 
> ‘/nix/store/hdbk6k7b6v6799i6mfknd7cagmi8zazx-canon-cups-ufr2-2.90.drv’ failed 
> with exit code 1
> 
> If I remove cups, it then fail on the next package that require a `.zip` 
> retrieved by `fetchurl`, is there some
> sort of regression?
> 
> Cheers
> 
> PS: I was building `e8315cb1caac6343322b5bab822f3cd227ae287b` which is the 
> latest Hydra build with complete
> evaluation at the time I started the upgrade.

I just encountered a gzip problem while trying to build chromium-53.0.2785.34, 
from
'6ac7ffd9d7febdd51dc3a13ce3163115ade6696e', as below.

Tim
---

[2079/19283] ACTION Generating resources from resources/components_resources.grd
FAILED: cd ../../components; python ../tools/grit/grit.py -i 
resources/components_resources.grd build -f ../tools/gritsettings/resource_ids 
-o ../out/Release/gen/components "--write-only-new=1" -D _chromium -E 
"CHROMIUM_BUILD=chromium" -D desktop_linux -D toolkit_views -D use_aura -D 
use_nss_certs -D enable_extensions -D enable_plugins -D enable_printing -D 
enable_print_preview -D enable_themes -D use_concatenated_impulse_responses -D 
enable_media_router -D enable_webrtc -D enable_hangout_services_extension -D 
enable_task_manager -D enable_notifications -D enable_service_discovery -E 
"about_credits_file=../out/Release/gen/about_credits.bro"
Error processing node 

Traceback (most recent call last):
  File "../tools/grit/grit.py", line 15, in 
grit.grit_runner.Main(sys.argv[1:])
  File 
"/tmp/nix-build-chromium-53.0.2785.34.drv-0/chromium-53.0.2785.34/tools/grit/grit/grit_runner.py",
 line 268, in Main
toolobject.Run(options, args[1:])
  File 
"/tmp/nix-build-chromium-53.0.2785.34.drv-0/chromium-53.0.2785.34/tools/grit/grit/tool/build.py",
 line 230, in Run
self.Process()
  File 
"/tmp/nix-build-chromium-53.0.2785.34.drv-0/chromium-53.0.2785.34/tools/grit/grit/tool/build.py",
 line 360, in Process
self.ProcessNode(self.res, output, outfile)
  File 
"/tmp/nix-build-chromium-53.0.2785.34.drv-0/chromium-53.0.2785.34/tools/grit/grit/tool/build.py",
 line 297, in ProcessNode
formatted = formatter(node, output_node.GetLanguage(), output_dir=base_dir)
  File 
"/tmp/nix-build-chromium-53.0.2785.34.drv-0/chromium-53.0.2785.34/tools/grit/grit/format/data_pack.py",
 line 45, in Format
id, value = node.GetDataPackPair(lang, UTF8)
  File 
"/tmp/nix-build-chromium-53.0.2785.34.drv-0/chromium-53.0.2785.34/tools/grit/grit/node/include.py",
 line 104, in GetDataPackPair
data = grit.format.gzip_string.GzipStringRsyncable(data)
  File 
"/tmp/nix-build-chromium-53.0.2785.34.drv-0/chromium-53.0.2785.34/tools/grit/grit/format/gzip_string.py",
 line 26, in GzipStringRsyncable
stderr)
subprocess.CalledProcessError: Command 'gzip' returned non-zero exit status 1
ninja: build stopped: subcommand failed.
builder for 
‘/nix/store/pfgvqywsgvysm3aa95ymafr4j4rcjan3-chromium-53.0.2785.34.drv’ failed 
with exit code 1
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 0cc625: nomad: v0.4.0 -> v0.4.1

2016-09-07 Thread rushmorem
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0cc6254c10b278828c9f9e9a50c21dde5bdb6a89
  
https://github.com/NixOS/nixpkgs/commit/0cc6254c10b278828c9f9e9a50c21dde5bdb6a89
  Author: rushmorem 
  Date:   2016-09-08 (Thu, 08 Sep 2016)

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

  Log Message:
  ---
  nomad: v0.4.0 -> v0.4.1

(cherry picked from commit c6938be57c99c34860eda421a001cd6029b2d639)


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


[Nix-commits] [NixOS/nixpkgs] 0409b3: uboot: Fix build

2016-09-07 Thread Tuomas Tynkkynen
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0409b3cd2e7a8f6a3624cefe3bb1dfbe2c7da553
  
https://github.com/NixOS/nixpkgs/commit/0409b3cd2e7a8f6a3624cefe3bb1dfbe2c7da553
  Author: Tuomas Tynkkynen 
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
M pkgs/misc/uboot/default.nix

  Log Message:
  ---
  uboot: Fix build

(cherry picked from commit 1517c8046285d4e864000198259daecd1f028ac8)


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


[Nix-commits] [NixOS/nixpkgs] 1517c8: uboot: Fix build

2016-09-07 Thread Tuomas Tynkkynen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1517c8046285d4e864000198259daecd1f028ac8
  
https://github.com/NixOS/nixpkgs/commit/1517c8046285d4e864000198259daecd1f028ac8
  Author: Tuomas Tynkkynen 
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
M pkgs/misc/uboot/default.nix

  Log Message:
  ---
  uboot: 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] c6938b: nomad: v0.4.0 -> v0.4.1

2016-09-07 Thread Rushmore Mushambi
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: c6938be57c99c34860eda421a001cd6029b2d639
  
https://github.com/NixOS/nixpkgs/commit/c6938be57c99c34860eda421a001cd6029b2d639
  Author: rushmorem 
  Date:   2016-09-08 (Thu, 08 Sep 2016)

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

  Log Message:
  ---
  nomad: v0.4.0 -> v0.4.1


  Commit: 4af2d12ec25ff9785d3b4b9ea67dda3602a46c8a
  
https://github.com/NixOS/nixpkgs/commit/4af2d12ec25ff9785d3b4b9ea67dda3602a46c8a
  Author: Rushmore Mushambi 
  Date:   2016-09-08 (Thu, 08 Sep 2016)

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

  Log Message:
  ---
  Merge pull request #18412 from rushmorem/nomad-update

nomad: v0.4.0 -> v0.4.1


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


[Nix-commits] [NixOS/nixpkgs] 95b6e9: pwnat: 0.3-beta -> 2014-09-08

2016-09-07 Thread obadz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 95b6e93b634c9f9834b311ac754ace28baaf1d0c
  
https://github.com/NixOS/nixpkgs/commit/95b6e93b634c9f9834b311ac754ace28baaf1d0c
  Author: obadz 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  pwnat: 0.3-beta -> 2014-09-08


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


Re: [Nix-dev] zlib, iconv, bzip2, et. al.

2016-09-07 Thread Peter Simons
Hi Thomas,

 > Yes, ive done that (nix-env). But perhaps i dont have that extra bit about
 > allowing my linker to find them.

This resource might help:

  
http://nixos.org/nixpkgs/manual/#builds-using-stack-complain-about-missing-system-libraries

BR, Peter

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


[Nix-commits] [NixOS/nixpkgs] 5a55ec: ledger: fix libdir

2016-09-07 Thread Peter Simons
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5a55ec20e36557ad523556437b2378780762dc80
  
https://github.com/NixOS/nixpkgs/commit/5a55ec20e36557ad523556437b2378780762dc80
  Author: Daiderd Jordan 
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
M pkgs/applications/office/ledger/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  ledger: fix libdir


  Commit: 51f81104f34ac6e96ab8dd46356d76d52922a0c1
  
https://github.com/NixOS/nixpkgs/commit/51f81104f34ac6e96ab8dd46356d76d52922a0c1
  Author: Peter Simons 
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
M pkgs/applications/office/ledger/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #18407 from LnL7/darwin-ledger

ledger: fix libdir


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


[Nix-commits] [NixOS/nixpkgs] 787875: r-stringi: fix build by including icu.dev output

2016-09-07 Thread Thomas Tuegel
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 787875c287ca716a7db87ce4df9218f1cfcc162d
  
https://github.com/NixOS/nixpkgs/commit/787875c287ca716a7db87ce4df9218f1cfcc162d
  Author: Thomas Tuegel 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  r-stringi: fix build by including icu.dev output


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


[Nix-commits] [NixOS/nixops] ab5256: installation: -A won't always work due to nixpkgs....

2016-09-07 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixops
  Commit: ab5256aec4d5cb06e3142ce011c95459736642b2
  
https://github.com/NixOS/nixops/commit/ab5256aec4d5cb06e3142ce011c95459736642b2
  Author: Domen Kožar 
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
M doc/manual/installation.xml

  Log Message:
  ---
  installation: -A won't always work due to nixpkgs.nixops


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


[Nix-commits] [NixOS/nixpkgs] 684ec5: sfml: install pkg-config files

2016-09-07 Thread Julien Dehos
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 684ec57cb5df64f926f2d319763446f5e0319d7d
  
https://github.com/NixOS/nixpkgs/commit/684ec57cb5df64f926f2d319763446f5e0319d7d
  Author: Julien Dehos 
  Date:   2016-09-08 (Thu, 08 Sep 2016)

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

  Log Message:
  ---
  sfml: install pkg-config files


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


[Nix-commits] [NixOS/nixpkgs] af45cc: pythonPackages.pyqt4: actually use dbus-python to ...

2016-09-07 Thread Michael Raskin
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: af45cc474b068865bed93e0b9b5d5ee8fa1e3400
  
https://github.com/NixOS/nixpkgs/commit/af45cc474b068865bed93e0b9b5d5ee8fa1e3400
  Author: Michael Raskin <7c6f4...@mail.ru>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/development/python-modules/pyqt/4.x.nix

  Log Message:
  ---
  pythonPackages.pyqt4: actually use dbus-python to build dbus.mainloop.qt; 
fixes ffadoFull build

(cherry picked from commit 16ce4fa511b8c2c23b886fad118f4f82d06f8c2f)
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] b8022c: atom: 1.9.9 -> 1.10.1

2016-09-07 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b8022cad3cb75aa55e45a111d5e53ce82be43818
  
https://github.com/NixOS/nixpkgs/commit/b8022cad3cb75aa55e45a111d5e53ce82be43818
  Author: Brandon Dimcheff 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  atom: 1.9.9 -> 1.10.1


  Commit: b73b731121c7ce61de2b0c59a304b7a63bdfbb8d
  
https://github.com/NixOS/nixpkgs/commit/b73b731121c7ce61de2b0c59a304b7a63bdfbb8d
  Author: Domen Kožar 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  Merge pull request #18395 from bdimcheff/update-atom-1.10.1

atom: 1.9.9 -> 1.10.1


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


Re: [Nix-dev] zlib, iconv, bzip2, et. al.

2016-09-07 Thread Vladimír Čunát
On 09/07/2016 09:11 PM, Thomas Bereknyei wrote:
> One that is normally set in bash_profile?

Such paths aren't added by default. That's on purpose. I think most of
the community prefers to use "purer ways", e.g. doing their development
within nix-shell.

Those ways are also more flexible, e.g. "I want to try with this library
replaced by latest git" or "with these extra build flags", etc.

--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


Re: [Nix-dev] zlib, iconv, bzip2, et. al.

2016-09-07 Thread Thomas Bereknyei
Yes, ive done that (nix-env). But perhaps i dont have that extra bit about
allowing my linker to find them. Thats why i suspected my zsh shell may be
to blame, some shell variable isnt being set? One that is normally set in
bash_profile?

Tom

On Wed, Sep 7, 2016, 09:01 Ryan Trinkle  wrote:

> Have you tried installing those libraries with `nix-env -i`?  You may need
> to add some stuff to your environment to make the linker find them, but
> that should put them in your ~/.nix-profile/lib.
>
> On Wed, Sep 7, 2016 at 7:18 AM, Thomas Bereknyei 
> wrote:
>
>> Ryan,
>>
>> Thia happens in my normal zsh shell. Cabal will complain about a missing
>> library, but I can fix that by going to 'nix-shell -p libiconv'. Stack
>> interacting with nix changes things so it sometimes works, I dont have a
>> clear example.  Stack setup or even try-reflex has given me this sort of
>> issue. I resorted to adding addBuildDepends to a bunch of packages in
>> try-reflex's defsault.nix, but somehow i don't think anyone else is doing
>> that. My normal shell just never seems to have the libraries in scope and
>> no amount of nix-env seems to work. It's as if I'm not getting the -dev
>> versions.
>>
>>  Tom
>>
>>> -
>>>
>>> Message: 1
>>> Date: Tue, 6 Sep 2016 16:50:58 -0400
>>> From: Ryan Trinkle 
>>> To: Thomas Bereknyei 
>>> Cc: nix-dev 
>>> Subject: Re: [Nix-dev] zlib, iconv, bzip2, et. al.
>>> Message-ID:
>>> <
>>> cahnepize-d638eyz4htjqey_nm2bjgvayt95jsovua89dr0...@mail.gmail.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Can you provide the command line you're using to get into the nix shell?
>>> My understanding was that this kind of thing should be handled
>>> automatically, but apparently that's not always the case.
>>>
>>> On Tue, Sep 6, 2016 at 8:23 AM, Thomas Bereknyei 
>>> wrote:
>>>
>>> > I often have a problem where a library is not available during
>>> > compilation, usually Haskell. The standard answer is to start
>>> 'nix-shell -p
>>> > zlib' and proceed. Is there a way to have them in my standard
>>> environment?
>>> > This occurs both on OSX and NixOS even when i have those packages
>>> installed
>>> > (either via nixos-rebuild or nix-env). I am also using zsh.
>>> >
>>> > Tom
>>> >
>>> >
>>>
>>
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Unable to handle `.zip` archive in unstable.

2016-09-07 Thread Vladimír Čunát
On 09/06/2016 01:03 PM, Aloïs Cochard wrote:
> I'm currently trying to upgrade my system to the latest unstable, but I
> keep running into errors like:
> 
> unpacking source archive
> /nix/store/calj3b4gz6vq99d6wxc1760q66w101k3o147jen_linuxufrII_0290.zip
> do not know how to unpack source archive
> /nix/store/calj3b4gz6vq99d6wxc1760q66w101k3o147jen_linuxufrII_0290.zip
> builder for
> ‘/nix/store/hdbk6k7b6v6799i6mfknd7cagmi8zazx-canon-cups-ufr2-2.90.drv’
> failed with exit code 1

I can't reproduce that. On e8315cb and x86_64-linux NixOS:
$ nix-build -A canon-cups-ufr2.src
# [... fetches ...]
/nix/store/calj3b4gz6vq99d6wxc1760q66w101k3-o147jen_linuxufrII_0290.zip
$ nix-build -A canon-cups-ufr2
# [... builds ...]
/nix/store/096plp39fhfn41yxqw6dydhzzmvwia2c-canon-cups-ufr2-2.90

--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] 4876c7: stun: 0.96 -> 0.97

2016-09-07 Thread obadz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4876c7362baa7fa0ed4afcbbdb9e5f8534cce239
  
https://github.com/NixOS/nixpkgs/commit/4876c7362baa7fa0ed4afcbbdb9e5f8534cce239
  Author: obadz 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  stun: 0.96 -> 0.97


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


[Nix-commits] [NixOS/nixpkgs] 985a26: haskellPackages.texmath: fix ghc710x build inputs

2016-09-07 Thread Peter Simons
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 985a260a1227114ed7bbe34668d57315887189c0
  
https://github.com/NixOS/nixpkgs/commit/985a260a1227114ed7bbe34668d57315887189c0
  Author: Daiderd Jordan 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix

  Log Message:
  ---
  haskellPackages.texmath: fix ghc710x build inputs


  Commit: cc3853584589910dbf08a34b09fffeeb6ef66ec1
  
https://github.com/NixOS/nixpkgs/commit/cc3853584589910dbf08a34b09fffeeb6ef66ec1
  Author: Daiderd Jordan 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix

  Log Message:
  ---
  haskellPackages: cleanup ghc710x


  Commit: 3520aab773f406b49058f9534f82ddf1897cfbea
  
https://github.com/NixOS/nixpkgs/commit/3520aab773f406b49058f9534f82ddf1897cfbea
  Author: Peter Simons 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix

  Log Message:
  ---
  Merge pull request #18397 from LnL7/haskell-ghc710x-texmath

haskellPackages.texmath: fix ghc710x build inputs


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


[Nix-commits] [NixOS/nixpkgs] 857a4f: configuration-hackage2nix.yaml: disable failing Ha...

2016-09-07 Thread Peter Simons
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 857a4f09c2534907acad46a73c789c6c7f289c08
  
https://github.com/NixOS/nixpkgs/commit/857a4f09c2534907acad46a73c789c6c7f289c08
  Author: Peter Simons 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  configuration-hackage2nix.yaml: disable failing Haskell builds

Pinging @psibi for persistent-mysql and persistent-zookeeper.


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


[Nix-commits] [NixOS/nixpkgs] b8b928: libchop: a hack to work around broken guile path d...

2016-09-07 Thread Michael Raskin
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b8b928b561237d8b766bc5cbd2e18fcb53b24cf0
  
https://github.com/NixOS/nixpkgs/commit/b8b928b561237d8b766bc5cbd2e18fcb53b24cf0
  Author: Michael Raskin <7c6f4...@mail.ru>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  libchop: a hack to work around broken guile path detection

(cherry picked from commit 67959521490d7308084a9d8e9300125f16a5697a)
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] 1db685: nixos/stage2: Fix mounting special filesystems

2016-09-07 Thread aszlig
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1db685796f77a2163b7a1126702c1ed6a06f0aeb
  
https://github.com/NixOS/nixpkgs/commit/1db685796f77a2163b7a1126702c1ed6a06f0aeb
  Author: aszlig 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/system/boot/stage-2-init.sh

  Log Message:
  ---
  nixos/stage2: Fix mounting special filesystems

This partially reverts commit ab9537ca22ce3fd4efc1795c58105504022d0c48.

>From the manpage of systemd-nspawn(1):

  Note that systemd-nspawn will mount file systems private to the
  container to /dev, /run and similar.

Testing this in a shell turns out:

$ sudo systemd-nspawn --bind-ro=/nix/store "$(readlink "$(which ls)")" /proc
Spawning container aszlig on /home/aszlig.
Press ^] three times within 1s to kill container.
/etc/localtime does not point into /usr/share/zoneinfo/, not updating
container timezone.
1  execdomains  kpageflagsstat
acpi   fb   loadavg   swaps
asound filesystems  locks sys
buddyinfo  fs   meminfo   sysrq-trigger
businterrupts   misc  sysvipc
cgroupsiomemmodules   thread-self
cmdlineioports  mountstimer_list
config.gz  irq  mtrr  timer_stats
consoles   kallsyms net   tty
cpuinfokcorepagetypeinfo  uptime
crypto key-userspartitionsversion
deviceskeys scsi  vmallocinfo
diskstats  kmsg self  vmstat
dmakpagecgroup  slabinfo  zoneinfo
driver kpagecount   softirqs
Container aszlig exited successfully.

So the test on whether PID 1 exists in /proc is enough, because if we
use PID namespaces there actually _is_ a PID 1 (as shown above) and the
special file systems are already mounted. A test on the $containers
variable actually mounts them twice.

This unbreaks NixOS containers and I've tested this against the
containers-imperative NixOS test.

Signed-off-by: aszlig 
Cc: @rickynils, @shlevy, @edolstra
(cherry picked from commit dd98b6fb9f35544201ed66733af40ff822ba8c36)


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


[Nix-commits] [NixOS/nixpkgs] dd98b6: nixos/stage2: Fix mounting special filesystems

2016-09-07 Thread aszlig
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: dd98b6fb9f35544201ed66733af40ff822ba8c36
  
https://github.com/NixOS/nixpkgs/commit/dd98b6fb9f35544201ed66733af40ff822ba8c36
  Author: aszlig 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/system/boot/stage-2-init.sh

  Log Message:
  ---
  nixos/stage2: Fix mounting special filesystems

This partially reverts commit ab9537ca22ce3fd4efc1795c58105504022d0c48.

>From the manpage of systemd-nspawn(1):

  Note that systemd-nspawn will mount file systems private to the
  container to /dev, /run and similar.

Testing this in a shell turns out:

$ sudo systemd-nspawn --bind-ro=/nix/store "$(readlink "$(which ls)")" /proc
Spawning container aszlig on /home/aszlig.
Press ^] three times within 1s to kill container.
/etc/localtime does not point into /usr/share/zoneinfo/, not updating
container timezone.
1  execdomains  kpageflagsstat
acpi   fb   loadavg   swaps
asound filesystems  locks sys
buddyinfo  fs   meminfo   sysrq-trigger
businterrupts   misc  sysvipc
cgroupsiomemmodules   thread-self
cmdlineioports  mountstimer_list
config.gz  irq  mtrr  timer_stats
consoles   kallsyms net   tty
cpuinfokcorepagetypeinfo  uptime
crypto key-userspartitionsversion
deviceskeys scsi  vmallocinfo
diskstats  kmsg self  vmstat
dmakpagecgroup  slabinfo  zoneinfo
driver kpagecount   softirqs
Container aszlig exited successfully.

So the test on whether PID 1 exists in /proc is enough, because if we
use PID namespaces there actually _is_ a PID 1 (as shown above) and the
special file systems are already mounted. A test on the $containers
variable actually mounts them twice.

This unbreaks NixOS containers and I've tested this against the
containers-imperative NixOS test.

Signed-off-by: aszlig 
Cc: @rickynils, @shlevy, @edolstra


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


[Nix-commits] [NixOS/nixpkgs] 679595: libchop: a hack to work around broken guile path d...

2016-09-07 Thread Michael Raskin
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 67959521490d7308084a9d8e9300125f16a5697a
  
https://github.com/NixOS/nixpkgs/commit/67959521490d7308084a9d8e9300125f16a5697a
  Author: Michael Raskin <7c6f4...@mail.ru>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  libchop: a hack to work around broken guile path detection


___
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-07 Thread Domen Kožar
I'm using NixOps to boot strap servers and then they auto upgrade based on
channels from Hydra:

https://github.com/snabblab/snabblab-nixos#automatic-deployments

On Wed, Sep 7, 2016 at 4:47 PM, zimbatm  wrote:

> I've been using NixOPS for my personal servers (on Vultr) and I couldn't
> be happier. I'm deploying a rails app and I never had a better experience
> than that, even on Heroku. The initial setup take a bit longer but it
> already paid back in terms of no-brainer deploys. I love it that I can
> share configuration between my own machine and servers and not have to
> worry about state.
>
> In a work context I think I would need a couple of more things.
>
> Because of how the nixos activation scripts are working it's quite hard to
> do zero-downtime deploys unless you have a load-balancer in front. Right
> now it takes down the old version and then boots the new version. It's
> simple but it also leaves a gap where users get 503 status codes.
>
> I would probably also setup a "deploy" gateway machine to keep the
> deployment centralized.
>
> One issue is that because NixOps is using a push model it doesn't work
> very well with auto-scaling. Usually in that setup the machine is pulling
> the configuration on boot. I think with a proper API interface on the
> deploy gateway it should be possible to handle that case but it's not
> supported out of the box.
>
>
> On Wed, 7 Sep 2016 at 11:37 Игорь Пашев  wrote:
>
>> 2016-09-07 13:22 GMT+03:00 4levels <4lev...@gmail.com>:
>> > We've been pleasantly surprised that every single deploy has given
>> identical
>> > results on all (currently 12) servers in the various datacenter
>> locations of
>> > Vultr.
>>
>>
>> Yeah, develop in VBox, deploy to everywhere. The other day I moved one
>> of the machines from EC2 to Hetzner... in the blink of an eye :-)
>> ___
>> 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] 587348: go: Remove unused version

2016-09-07 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 587348743cb01892e210e63425aff15524911521
  
https://github.com/NixOS/nixpkgs/commit/587348743cb01892e210e63425aff15524911521
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
R pkgs/development/compilers/go/default.nix

  Log Message:
  ---
  go: Remove unused version


  Commit: 2597562d42fe7143330804e767a325119d1bd3c9
  
https://github.com/NixOS/nixpkgs/commit/2597562d42fe7143330804e767a325119d1bd3c9
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  minio: Init at 20160821


  Commit: 039ac38d1e38c0a7c0d1c44667c2d9d56a2ec561
  
https://github.com/NixOS/nixpkgs/commit/039ac38d1e38c0a7c0d1c44667c2d9d56a2ec561
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  minio-client: Init at 20160821


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


[Nix-commits] Success: Hydra job nixpkgs:trunk:tarball on x86_64-linux

2016-09-07 Thread Hydra Build Daemon
Hi,

The status of Hydra job ‘nixpkgs:trunk:tarball’ (on x86_64-linux) has changed 
from "Failed" to "Success".  For details, see

  https://hydra.nixos.org/build/40038254

This may be due to 19 commits by Aaron Bull Schaefer , 
Alexander Ried , Bjørn Forsman , Brian 
McKenna , Dan Peebles , Edward 
Tjörnhammar , Franz Pletz , Joachim F 
, Michael Raskin <7c6f4...@mail.ru>, Peter 
Hoeg , Rickard Nilsson , Stefan 
Junker , Thomas Tuegel  or 
Tuomas Tynkkynen .

Yay!

Regards,

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


[Nix-commits] [NixOS/nixpkgs] 16ce4f: pythonPackages.pyqt4: actually use dbus-python to ...

2016-09-07 Thread Michael Raskin
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 16ce4fa511b8c2c23b886fad118f4f82d06f8c2f
  
https://github.com/NixOS/nixpkgs/commit/16ce4fa511b8c2c23b886fad118f4f82d06f8c2f
  Author: Michael Raskin <7c6f4...@mail.ru>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/development/python-modules/pyqt/4.x.nix

  Log Message:
  ---
  pythonPackages.pyqt4: actually use dbus-python to build dbus.mainloop.qt; 
fixes ffadoFull build


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


[Nix-commits] [NixOS/nixpkgs] e986cb: Revert "travis: only fetch top commit"

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

  Changed paths:
M .travis.yml

  Log Message:
  ---
  Revert "travis: only fetch top commit"

This reverts commit 3c0fdefd8470878242d8c119952918e171be590c.

We have to keep more history because travis build could be
triggered after new commit is made, meaning it won't be able
to checkout the repository.


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


[Nix-commits] [NixOS/nixpkgs] ef9e21: xulrunner: set to firefox-unwrapped

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

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

  Log Message:
  ---
  xulrunner: set to firefox-unwrapped


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


[Nix-commits] [NixOS/nixpkgs] 444509: Revert "travis: only fetch top commit"

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

  Changed paths:
M .travis.yml

  Log Message:
  ---
  Revert "travis: only fetch top commit"

This reverts commit 3c0fdefd8470878242d8c119952918e171be590c.

We have to keep more history because travis build could be
triggered after new commit is made, meaning it won't be able
to checkout the repository.

(cherry picked from commit e986cb3425547cb85fee48b88727609919cde827)
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] 241060: NixOS 17.03 will be called Gorilla

2016-09-07 Thread Rob Vermaas
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 241060881414cb5af364876fe340f2f6237d496e
  
https://github.com/NixOS/nixpkgs/commit/241060881414cb5af364876fe340f2f6237d496e
  Author: Rob Vermaas 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/misc/version.nix

  Log Message:
  ---
  NixOS 17.03 will be called Gorilla


___
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-07 Thread zimbatm
I've been using NixOPS for my personal servers (on Vultr) and I couldn't be
happier. I'm deploying a rails app and I never had a better experience than
that, even on Heroku. The initial setup take a bit longer but it already
paid back in terms of no-brainer deploys. I love it that I can share
configuration between my own machine and servers and not have to worry
about state.

In a work context I think I would need a couple of more things.

Because of how the nixos activation scripts are working it's quite hard to
do zero-downtime deploys unless you have a load-balancer in front. Right
now it takes down the old version and then boots the new version. It's
simple but it also leaves a gap where users get 503 status codes.

I would probably also setup a "deploy" gateway machine to keep the
deployment centralized.

One issue is that because NixOps is using a push model it doesn't work very
well with auto-scaling. Usually in that setup the machine is pulling the
configuration on boot. I think with a proper API interface on the deploy
gateway it should be possible to handle that case but it's not supported
out of the box.


On Wed, 7 Sep 2016 at 11:37 Игорь Пашев  wrote:

> 2016-09-07 13:22 GMT+03:00 4levels <4lev...@gmail.com>:
> > We've been pleasantly surprised that every single deploy has given
> identical
> > results on all (currently 12) servers in the various datacenter
> locations of
> > Vultr.
>
>
> Yeah, develop in VBox, deploy to everywhere. The other day I moved one
> of the machines from EC2 to Hetzner... in the blink of an eye :-)
> ___
> 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] 4c22a0: Revert "Revert "xulrunner: Remove""

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

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

  Log Message:
  ---
  Revert "Revert "xulrunner: Remove""

This reverts commit 5041cae5b767573faf286abfe6b1c76db2873626.

This is fixed in follow up commit.


  Commit: 1697f9c130037f62a4aee4cac2c1907b75acc069
  
https://github.com/NixOS/nixpkgs/commit/1697f9c130037f62a4aee4cac2c1907b75acc069
  Author: Domen Kožar 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  xulrunner: set to firefox-unwrapped

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


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


[Nix-commits] [NixOS/nixpkgs] d664de: nixos/tests/blivet: Fix btrfs-related tests

2016-09-07 Thread aszlig
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d664de018cff77df43286e1f15f7ff4aa1750451
  
https://github.com/NixOS/nixpkgs/commit/d664de018cff77df43286e1f15f7ff4aa1750451
  Author: aszlig 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/tests/blivet.nix

  Log Message:
  ---
  nixos/tests/blivet: Fix btrfs-related tests

The loopback-based tests use a storage size of 102400 blocks (one block
is 1024 bytes), which doesn't seem to fit for btrfs volumes in recent
btrfs versions. I'm setting this to 409600 (400 MB) now so that it
should be enough for later versions in case they need even more space
for subvolumes.

Signed-off-by: aszlig 
(cherry picked from commit 75efdc65022f71b9a61f9347d353022d46055f4d)
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


Re: [Nix-dev] NixOps usage survey.

2016-09-07 Thread Tomasz Czyż
obadz: nixops has backend to deploy to hetzner.

2016-09-07 15:39 GMT+01:00 obadz :

> On Wed, Sep 7, 2016 at 11:36 AM, Игорь Пашев 
> wrote:
>
>> The other day I moved one of the machines from EC2 to Hetzner... in the
>> blink of an eye :-)
>>
>
> Out of curiosity, how do you install NixOS on the Hetzner machines?
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>


-- 
Tomasz Czyż
___
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-07 Thread obadz
On Wed, Sep 7, 2016 at 11:36 AM, Игорь Пашев  wrote:

> The other day I moved one of the machines from EC2 to Hetzner... in the
> blink of an eye :-)
>

Out of curiosity, how do you install NixOS on the Hetzner machines?
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 75efdc: nixos/tests/blivet: Fix btrfs-related tests

2016-09-07 Thread aszlig
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 75efdc65022f71b9a61f9347d353022d46055f4d
  
https://github.com/NixOS/nixpkgs/commit/75efdc65022f71b9a61f9347d353022d46055f4d
  Author: aszlig 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/tests/blivet.nix

  Log Message:
  ---
  nixos/tests/blivet: Fix btrfs-related tests

The loopback-based tests use a storage size of 102400 blocks (one block
is 1024 bytes), which doesn't seem to fit for btrfs volumes in recent
btrfs versions. I'm setting this to 409600 (400 MB) now so that it
should be enough for later versions in case they need even more space
for subvolumes.

Signed-off-by: aszlig 


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


[Nix-commits] [NixOS/nix] 312bab: upload-release.pl: Update Nixpkgs

2016-09-07 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 312bab008d835dd9c8939b803d2bc7af4f82a811
  
https://github.com/NixOS/nix/commit/312bab008d835dd9c8939b803d2bc7af4f82a811
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M maintainers/upload-release.pl

  Log Message:
  ---
  upload-release.pl: Update Nixpkgs


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


[Nix-commits] [NixOS/nixpkgs] 5041ca: Revert "xulrunner: Remove"

2016-09-07 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5041cae5b767573faf286abfe6b1c76db2873626
  
https://github.com/NixOS/nixpkgs/commit/5041cae5b767573faf286abfe6b1c76db2873626
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  Revert "xulrunner: Remove"

This reverts commit 8c3e9ea53e40e9bc5033d9e81b9b6ef98a066e3e.


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


[Nix-commits] [NixOS/nixpkgs] fb46df: nixos: Fix ordering of firewall.service

2016-09-07 Thread aszlig
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: fb46df8a9a4102e265f4b14af48a5df90d5b06c3
  
https://github.com/NixOS/nixpkgs/commit/fb46df8a9a4102e265f4b14af48a5df90d5b06c3
  Author: aszlig 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/services/networking/firewall.nix
M nixos/tests/firewall.nix

  Log Message:
  ---
  nixos: Fix ordering of firewall.service

Follow-up to the following commits:

  abdc5961c3cdf9f5893ea1e91ba08ff5089f53a4: Fix starting the firewall
  e090701e2d09aec3e8866ab9a8e53c37973ffeb4: Order before sysinit

Solely use sysinit.target here instead of multi-user.target because we
want to make sure that the iptables rules are applied *before* any
socket units are started.

The reason I've dropped the wantedBy on multi-user.target is that
sysinit.target is already a part of the dependency chain of
multi-user.target.

To make sure that this holds true, I've added a small test case to
ensure that during switch of the configuration the firewall.service is
considered as well.

Tested using the firewall NixOS test.

Signed-off-by: aszlig 
Cc: @edolstra


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


[Nix-commits] [NixOS/nixpkgs] ddc54b: Fix eval (due to xulrunner removal)

2016-09-07 Thread Bjørn Forsman
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ddc54b313765ee131e44dcb41b7a10fa61d73b69
  
https://github.com/NixOS/nixpkgs/commit/ddc54b313765ee131e44dcb41b7a10fa61d73b69
  Author: Bjørn Forsman 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  Fix eval (due to xulrunner removal)

(cherry picked from commit 10b335992e3757a06f483248582c4f81ecbcb8d4)


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


[Nix-commits] [NixOS/nixpkgs] 10b335: Fix eval (due to xulrunner removal)

2016-09-07 Thread Bjørn Forsman
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 10b335992e3757a06f483248582c4f81ecbcb8d4
  
https://github.com/NixOS/nixpkgs/commit/10b335992e3757a06f483248582c4f81ecbcb8d4
  Author: Bjørn Forsman 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  Fix eval (due to xulrunner removal)


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


[Nix-commits] [NixOS/nixpkgs] f353c6: mcelog: add utillinux as dependency

2016-09-07 Thread Alexey Shmalko
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f353c67cb8e5b6f0528dcb60cd8dc95895034f67
  
https://github.com/NixOS/nixpkgs/commit/f353c67cb8e5b6f0528dcb60cd8dc95895034f67
  Author: Bjørn Forsman 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  mcelog: add utillinux as dependency

Fixes this:

  $ sudo mcelog
  ...
  unknown-error-trigger: line 21: logger: command not found
  unknown-error-trigger: line 22: logger: command not found

(cherry picked from commit 2bf421d197564ce728f9636e237976f5590c71d8)


  Commit: 4721a689cd6adfeb75ef51581fbb66d9378507f2
  
https://github.com/NixOS/nixpkgs/commit/4721a689cd6adfeb75ef51581fbb66d9378507f2
  Author: Alexey Shmalko 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/services/networking/avahi-daemon.nix

  Log Message:
  ---
  avahi-daemon: remove default browse-domains

These domains are not actually default but examples. See
https://github.com/lathiat/avahi/blob/master/avahi-daemon/avahi-daemon.conf#L24
for default config.

(cherry picked from commit b7237abc08f10586fc4d87d65b10ad881e856b39)


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


Re: [Nix-dev] zlib, iconv, bzip2, et. al.

2016-09-07 Thread Ryan Trinkle
Have you tried installing those libraries with `nix-env -i`?  You may need
to add some stuff to your environment to make the linker find them, but
that should put them in your ~/.nix-profile/lib.

On Wed, Sep 7, 2016 at 7:18 AM, Thomas Bereknyei  wrote:

> Ryan,
>
> Thia happens in my normal zsh shell. Cabal will complain about a missing
> library, but I can fix that by going to 'nix-shell -p libiconv'. Stack
> interacting with nix changes things so it sometimes works, I dont have a
> clear example.  Stack setup or even try-reflex has given me this sort of
> issue. I resorted to adding addBuildDepends to a bunch of packages in
> try-reflex's defsault.nix, but somehow i don't think anyone else is doing
> that. My normal shell just never seems to have the libraries in scope and
> no amount of nix-env seems to work. It's as if I'm not getting the -dev
> versions.
>
>  Tom
>
>> -
>>
>> Message: 1
>> Date: Tue, 6 Sep 2016 16:50:58 -0400
>> From: Ryan Trinkle 
>> To: Thomas Bereknyei 
>> Cc: nix-dev 
>> Subject: Re: [Nix-dev] zlib, iconv, bzip2, et. al.
>> Message-ID:
>> > mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Can you provide the command line you're using to get into the nix shell?
>> My understanding was that this kind of thing should be handled
>> automatically, but apparently that's not always the case.
>>
>> On Tue, Sep 6, 2016 at 8:23 AM, Thomas Bereknyei 
>> wrote:
>>
>> > I often have a problem where a library is not available during
>> > compilation, usually Haskell. The standard answer is to start
>> 'nix-shell -p
>> > zlib' and proceed. Is there a way to have them in my standard
>> environment?
>> > This occurs both on OSX and NixOS even when i have those packages
>> installed
>> > (either via nixos-rebuild or nix-env). I am also using zsh.
>> >
>> > Tom
>> >
>> >
>>
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] b6be65: gazebo.sdformat: fix cmake file

2016-09-07 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b6be650608084455c64111718de235efccec030c
  
https://github.com/NixOS/nixpkgs/commit/b6be650608084455c64111718de235efccec030c
  Author: Alexander Ried 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  gazebo.sdformat: fix cmake file


  Commit: 7a623aec4700edb1fa410607aadf6ce238f6d5dd
  
https://github.com/NixOS/nixpkgs/commit/7a623aec4700edb1fa410607aadf6ce238f6d5dd
  Author: Alexander Ried 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/development/libraries/ignition-transport/generic.nix

  Log Message:
  ---
  ignition-transport: fix cmake file


  Commit: 72f4bc9cf962d149a188d0b9fb7955ec2d3b1904
  
https://github.com/NixOS/nixpkgs/commit/72f4bc9cf962d149a188d0b9fb7955ec2d3b1904
  Author: Domen Kožar 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/development/libraries/ignition-transport/generic.nix
M pkgs/development/libraries/sdformat/default.nix

  Log Message:
  ---
  Merge pull request #18394 from groxxda/gazebo

gazeboSimulator: fix builds


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


[Nix-commits] [NixOS/nixpkgs] 4aa91b: gazebo.sdformat: fix cmake file

2016-09-07 Thread Alexander Ried
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4aa91b7e6f527f9b5933888f6387fb9e86b28634
  
https://github.com/NixOS/nixpkgs/commit/4aa91b7e6f527f9b5933888f6387fb9e86b28634
  Author: Alexander Ried 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  gazebo.sdformat: fix cmake file

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


  Commit: 441fe73d56efbd729dfad55e337f0f6a831c33f7
  
https://github.com/NixOS/nixpkgs/commit/441fe73d56efbd729dfad55e337f0f6a831c33f7
  Author: Alexander Ried 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/development/libraries/ignition-transport/generic.nix

  Log Message:
  ---
  ignition-transport: fix cmake file

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


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


[Nix-commits] [NixOS/nixpkgs] ba7d82: chatzilla: 0.9.91 -> 0.9.92

2016-09-07 Thread Eelco Dolstra
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ba7d8230e4774c68d252eb33f38adc140d335d52
  
https://github.com/NixOS/nixpkgs/commit/ba7d8230e4774c68d252eb33f38adc140d335d52
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/applications/networking/irc/chatzilla/default.nix

  Log Message:
  ---
  chatzilla: 0.9.91 -> 0.9.92

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


  Commit: 879d4a3439628035496f9f52820540221d8f7b20
  
https://github.com/NixOS/nixpkgs/commit/879d4a3439628035496f9f52820540221d8f7b20
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  xulrunner: Remove

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


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


[Nix-commits] [NixOS/nixpkgs] 445a39: chatzilla: 0.9.91 -> 0.9.92

2016-09-07 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 445a39a23b189e03607bd0445be5b0cb44ab1014
  
https://github.com/NixOS/nixpkgs/commit/445a39a23b189e03607bd0445be5b0cb44ab1014
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/applications/networking/irc/chatzilla/default.nix

  Log Message:
  ---
  chatzilla: 0.9.91 -> 0.9.92


  Commit: 8c3e9ea53e40e9bc5033d9e81b9b6ef98a066e3e
  
https://github.com/NixOS/nixpkgs/commit/8c3e9ea53e40e9bc5033d9e81b9b6ef98a066e3e
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  xulrunner: Remove


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


[Nix-commits] [NixOS/nixpkgs] e09070: firewall: Order before sysinit

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

  Changed paths:
M nixos/modules/services/networking/firewall.nix

  Log Message:
  ---
  firewall: Order before sysinit

Suggested by @aszlig.


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


[Nix-commits] [NixOS/nixpkgs] 77ae4d: linphone: 3.8.5 -> 3.9.1

2016-09-07 Thread Alexander Ried
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 77ae4d1c71c62a011618c30296bb88a0f0ca0ca1
  
https://github.com/NixOS/nixpkgs/commit/77ae4d1c71c62a011618c30296bb88a0f0ca0ca1
  Author: Alexander Ried 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  linphone: 3.8.5 -> 3.9.1

3.10.2 is available from github but there is no autoconfigured tarball
and they added a dependency that's not packaged for nix (bctoolbox)

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


  Commit: d93ee7d45706dc3f966f9f9e40ba3b11806b7534
  
https://github.com/NixOS/nixpkgs/commit/d93ee7d45706dc3f966f9f9e40ba3b11806b7534
  Author: Alexander Ried 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  linphone: remove lime support

linphone stil uses polarssl, which was replaced by mbedTLS and is no
more available on NixOS.
Until this is fixed upstream we disable LIME (IM encryption).

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


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


[Nix-commits] [NixOS/nixpkgs] abdc59: Fix starting the firewall

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

  Changed paths:
M nixos/modules/services/networking/firewall.nix

  Log Message:
  ---
  Fix starting the firewall

Probably as a result of 992c514a20cf2da897db68169d7dcab721e8c7b7, it
was not being started anymore.

My understanding of systemd.special(7) (section "Special passive
system units") is that the firewall should want network-pre.target,
rather than the other way around (not very intuitive...). This in
itself does not cause the firewall to be wanted, which is why the
wanted-by relationship with multi-user.target is necessary.

http://hydra.nixos.org/build/39965589


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


[Nix-commits] [NixOS/nixpkgs] 30da9a: octave: forbid 32-bit builds of the octaveFull ver...

2016-09-07 Thread Michael Raskin
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 30da9a16a8f141dc1f1f796f742c5f57420c83c3
  
https://github.com/NixOS/nixpkgs/commit/30da9a16a8f141dc1f1f796f742c5f57420c83c3
  Author: Michael Raskin <7c6f4...@mail.ru>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  octave: forbid 32-bit builds of the octaveFull version, looks like too much 
memory needed

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


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

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

  Log Message:
  ---
  octave: fix overridePlatforms (was just platforms) name collision, thanks to 
@bjornfor for catching

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


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


[Nix-commits] [NixOS/nixpkgs] d0857b: openresolv: 3.7.0 -> 3.8.1

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

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

  Log Message:
  ---
  openresolv: 3.7.0 -> 3.8.1


  Commit: 015c984537990d0f8d89b8f5a2e53f516caa5b94
  
https://github.com/NixOS/nixpkgs/commit/015c984537990d0f8d89b8f5a2e53f516caa5b94
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/tasks/filesystems/nfs.nix

  Log Message:
  ---
  nfs module: Improve descriptions


  Commit: 58b028f9ee24dc403ee83ee744bfa1cf859960a8
  
https://github.com/NixOS/nixpkgs/commit/58b028f9ee24dc403ee83ee744bfa1cf859960a8
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/tasks/filesystems/nfs.nix

  Log Message:
  ---
  nfs module: Fix dependency on statd and idmapd

http://hydra.nixos.org/build/40038016


  Commit: d8625f6d25a6d510b588dfb28538155973806055
  
https://github.com/NixOS/nixpkgs/commit/d8625f6d25a6d510b588dfb28538155973806055
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/release-combined.nix

  Log Message:
  ---
  Make the NFSv4 tests release-critical

We can probably drop NFSv3...


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


[Nix-commits] [NixOS/nixpkgs] b7237a: avahi-daemon: remove default browse-domains

2016-09-07 Thread Alexey Shmalko
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b7237abc08f10586fc4d87d65b10ad881e856b39
  
https://github.com/NixOS/nixpkgs/commit/b7237abc08f10586fc4d87d65b10ad881e856b39
  Author: Alexey Shmalko 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/services/networking/avahi-daemon.nix

  Log Message:
  ---
  avahi-daemon: remove default browse-domains

These domains are not actually default but examples. See
https://github.com/lathiat/avahi/blob/master/avahi-daemon/avahi-daemon.conf#L24
for default config.


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


[Nix-commits] [NixOS/nixpkgs]

2016-09-07 Thread peti
  Branch: refs/heads/fix-sshd-failure
  Home:   https://github.com/NixOS/nixpkgs
___
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-07 Thread Sergiu Ivanov

Thus quoth  zimbatm  at 11:32 on Mi, Sep 07 2016:
>
> And I think there are some for Perl/CPAN, Ocaml/??? and .NET/Nuget too.

OCaml's package manager is OPAM [0].

> It would be nice if we could come up with a universal XXX2nix that has a
> unified interface, but then it's probably a lot of work to find the lowest
> common denominator. All of those tools also generate different nix outputs,
> some just generate the repository metadata, some also generate an
> accompanying default.nix.

Well I suppose having all these tools generate the same Nix output will
be good enough.

Universal solutions tend to be difficult to write and maintain.

-- 
Sergiu

[0] https://opam.ocaml.org/


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] zlib, iconv, bzip2, et. al.

2016-09-07 Thread Thomas Bereknyei
Ryan,

Thia happens in my normal zsh shell. Cabal will complain about a missing
library, but I can fix that by going to 'nix-shell -p libiconv'. Stack
interacting with nix changes things so it sometimes works, I dont have a
clear example.  Stack setup or even try-reflex has given me this sort of
issue. I resorted to adding addBuildDepends to a bunch of packages in
try-reflex's defsault.nix, but somehow i don't think anyone else is doing
that. My normal shell just never seems to have the libraries in scope and
no amount of nix-env seems to work. It's as if I'm not getting the -dev
versions.

 Tom

> -
>
> Message: 1
> Date: Tue, 6 Sep 2016 16:50:58 -0400
> From: Ryan Trinkle 
> To: Thomas Bereknyei 
> Cc: nix-dev 
> Subject: Re: [Nix-dev] zlib, iconv, bzip2, et. al.
> Message-ID:
> <
> cahnepize-d638eyz4htjqey_nm2bjgvayt95jsovua89dr0...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Can you provide the command line you're using to get into the nix shell?
> My understanding was that this kind of thing should be handled
> automatically, but apparently that's not always the case.
>
> On Tue, Sep 6, 2016 at 8:23 AM, Thomas Bereknyei 
> wrote:
>
> > I often have a problem where a library is not available during
> > compilation, usually Haskell. The standard answer is to start 'nix-shell
> -p
> > zlib' and proceed. Is there a way to have them in my standard
> environment?
> > This occurs both on OSX and NixOS even when i have those packages
> installed
> > (either via nixos-rebuild or nix-env). I am also using zsh.
> >
> > Tom
> >
> >
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 3ddf76: mono: init at 4.6

2016-09-07 Thread Rahul Gopinath
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3ddf76c00aaae64bb6fd384bd41763636618524f
  
https://github.com/NixOS/nixpkgs/commit/3ddf76c00aaae64bb6fd384bd41763636618524f
  Author: Rahul Gopinath 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
A pkgs/development/compilers/mono/4.6.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  mono: init at 4.6


___
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-07 Thread Игорь Пашев
2016-09-07 13:22 GMT+03:00 4levels <4lev...@gmail.com>:
> We've been pleasantly surprised that every single deploy has given identical
> results on all (currently 12) servers in the various datacenter locations of
> Vultr.


Yeah, develop in VBox, deploy to everywhere. The other day I moved one
of the machines from EC2 to Hetzner... in the blink of an eye :-)
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nix modules: Unsetting attrsOf options?

2016-09-07 Thread Tomasz Czyż
filterAttrs is going through all of them I think, but try removeAttrs (or
something similar).

I'm not sure, but probably you want to remove those before importing (or
rather before evaluation), right?

so probably you need to do something like

module = import ./my-module;
module` = removeAttrs.

imports = [ module` ];

but I've not tried this, just my guess.

2016-09-07 11:12 GMT+01:00 Rickard Nilsson :

> On 09/07/2016 11:54 AM, 4levels wrote:
>
>> Hi Rickard,
>>
>> All I can think of currently is that you could create a new config
>> variable using filterAttrs to keep only the information you need.
>> Not sure if this solves your question though as I'm not aware if you can
>> use another variable in your scenario.
>>
>
> Using filterAttrs like this would introduce an infinite recursion, I think:
>
> config = {
>   myattrs = filterAttrs (k: _: k != "a") config.myattrs;
> }
>
> But maybe that wasn't what you had in mind.
>
> For the issue that spurred this question I have now added an "enable"
> option for the attributes, see: https://github.com/NixOS/nixpk
> gs/pull/18391
>
> However, that is not a general solution to this problem, so any further
> hints are welcome.
>
>   / Rickard
>
>
> Kind regards,
>>
>> Erik
>>
>> On Wed, Sep 7, 2016 at 12:35 AM Rickard Nilsson
>> mailto:rickard.nils...@telia.com>> wrote:
>>
>> Is it possible to unset an attrsOf option? Say I import a module that
>> looks like this:
>>
>> options = {
>>myattrs = mkOption {
>>  type = types.attrsOf ...
>>  default = {};
>>};
>> }
>>
>> config = {
>>myattrs = {
>>  a = ...
>>  b = ...
>>};
>> };
>>
>> And then I want to remove the "a" attribute in the importing config:
>>
>> config = {
>>myattrs.a = mkForce ...
>> }
>>
>> Is that possible in any way?
>>
>>
>>/ Rickard
>> ___
>> 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
>



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


Re: [Nix-dev] nix modules: Unsetting attrsOf options?

2016-09-07 Thread Guillaume Maudoux (Layus)
I remember having som luck with

config = {
  myattrs.a = mkForce null;
}

Depending on how the module handles null values, it could work.

-- Layus.

Le 07/09/16 à 00:35, Rickard Nilsson a écrit :
> Is it possible to unset an attrsOf option? Say I import a module that
> looks like this:
>
> options = {
>   myattrs = mkOption {
> type = types.attrsOf ...
> default = {};
>   };
> }
>
> config = {
>   myattrs = {
> a = ...
> b = ...
>   };
> };
>
> And then I want to remove the "a" attribute in the importing config:
>
> config = {
>   myattrs.a = mkForce ...
> }
>
> Is that possible in any way?
>
>
>   / Rickard
> ___
> 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-07 Thread 4levels
Hi Aloïs,

we're using NixOps to deploy a "typical" php web application using Nginx /
Redis / MariaDB and the Symfony and Laravel/Lumen frameworks.  We're also
making use of the python package wkhtml2pdf to generate PDF documents from
HTML content.

All our credentials are deployed through the deployment.keys method,
preventing them from being stored anywhere on disk.  And git-crypt is used
to hide their contents in the repositories.

We've been pleasantly surprised that every single deploy has given
identical results on all (currently 12) servers in the various datacenter
locations of Vultr.

I'm having one NixOps VM running locally to deploy and test my other local
VM's (using kvm/qemu with libvirt on a debian host) and to update the
online NixOps orchestrating server (minimal Vultr machine) which in turn
deploys the 12 other Vultr machines.

We don't use the automated tools to initialize new machines (neither on
Vultr, or locally): every machine is manually installed with the
nixos-minimal iso image.  All we need to do is adding the proper ssh-keys
and the next deploy installs and configures everything else.  This usually
takes less than 10 minutes and is only needed once per server.

TL;DR;
NixOps has made our deploys ridiculously stable and performant!  And with
the extra tools nixops provide (eg. ssh-for-each) this makes it the best
decision we've ever made.  I can only recommend the Nixos / NixOps combo,
definitely worth investigating!


Kind regards,

Erik


On Tue, Sep 6, 2016 at 3:06 PM Игорь Пашев  wrote:

> I'm using NixOps in production, EC2, Hetzner, VBox with no issues.
>
> Of course, commit NixOps state (JSON) in git with git-crypt. And this
> wrapper for NixOps:
>
> #!/usr/bin/env bash
>
> set -euo pipefail
>
> NIXPKGS=
> https://github.com/NixOS/nixpkgs-channels/archive/nixos-15.09.tar.gz
> NIXOPS=${NIXOPS:-nixops}
> export NIX_PATH=nixpkgs="$NIXPKGS":.
>
> usage () {
> cat < Usage: $0   [nixops options]
> Examples:
>   $0 deploy realms/vbox.nix
>   $0 info realms/vbox.nix
>   $0 deploy realms/dumpoo.nix --build-only
>   $0 destroy realms/cats.nix --include slothcat
> USAGE
> }
>
> fatal () {
>   echo '** ERROR:' "$@" >&2
>   usage >&2
>   exit 1
> }
>
> if [ $# -lt 2 ]; then
>   fatal "missing agruments."
> fi
>
> CMD="$1"; shift
> REALM_NIX="$1"; shift
>
> case "$REALM_NIX" in
>   *realms/*.nix) REALM=$(basename "$REALM_NIX" .nix);;
>   *) fatal "invalid realm spec: $REALM_NIX";;
> esac
>
> cd "$(dirname "$0")"
>
> state="secrets/nixops-${REALM}.json"
> db=$(mktemp -u "secrets/tmp.${REALM}.XX.nixops")
>
> trap 'save' EXIT
>
> save() {
>   if [ -f "$db" ]; then
> "$NIXOPS" export -s "${db}" > "${state}.tmp"
> mv "${state}.tmp" "${state}"
> rm -f "$db"*
>   fi
> }
>
> create() {
>   "$NIXOPS" create -s "$db" -d "$REALM" ""
> }
>
> case "$CMD" in
>   create)
> [ ! -f "$state" ] || fatal "\`$state' already exists."
> create
> ;;
>   *)
> [ -f "$state" ] || fatal "\`$state' does not exists."
> "$NIXOPS" import -s "${db}" < "$state"
> "$NIXOPS" "$CMD" -s "$db" -d "$REALM" "$@"
> ;;
> esac
>
>
>
> And makefile for development with vbox;
>
> REALM = cats
> override STATE = secrets/nixops-vbox-$(REALM).json
>
> build: $(STATE)
> ./let deploy realms/vbox-$(REALM).nix --build-only
>
> destroy:
> ./let $@ realms/vbox-$(REALM).nix --confirm
>
> info deploy check send-keys start stop reboot: $(STATE)
> ./let $@ realms/vbox-$(REALM).nix
>
> $(STATE):
> ./let create realms/vbox-$(REALM).nix
>
> 2016-09-05 19:01 GMT+03:00 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
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nix modules: Unsetting attrsOf options?

2016-09-07 Thread Rickard Nilsson

On 09/07/2016 11:54 AM, 4levels wrote:

Hi Rickard,

All I can think of currently is that you could create a new config
variable using filterAttrs to keep only the information you need.
Not sure if this solves your question though as I'm not aware if you can
use another variable in your scenario.


Using filterAttrs like this would introduce an infinite recursion, I think:

config = {
  myattrs = filterAttrs (k: _: k != "a") config.myattrs;
}

But maybe that wasn't what you had in mind.

For the issue that spurred this question I have now added an "enable" 
option for the attributes, see: https://github.com/NixOS/nixpkgs/pull/18391


However, that is not a general solution to this problem, so any further 
hints are welcome.


  / Rickard



Kind regards,

Erik

On Wed, Sep 7, 2016 at 12:35 AM Rickard Nilsson
mailto:rickard.nils...@telia.com>> wrote:

Is it possible to unset an attrsOf option? Say I import a module that
looks like this:

options = {
   myattrs = mkOption {
 type = types.attrsOf ...
 default = {};
   };
}

config = {
   myattrs = {
 a = ...
 b = ...
   };
};

And then I want to remove the "a" attribute in the importing config:

config = {
   myattrs.a = mkForce ...
}

Is that possible in any way?


   / Rickard
___
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] f3278b: nixos: Generalise the container tests in stage-2 b...

2016-09-07 Thread Rickard Nilsson
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f3278b3c7551867c628dff5593f1a015b3008e84
  
https://github.com/NixOS/nixpkgs/commit/f3278b3c7551867c628dff5593f1a015b3008e84
  Author: Rickard Nilsson 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/system/boot/stage-2-init.sh

  Log Message:
  ---
  nixos: Generalise the container tests in stage-2 boot

This way, stage-2 behaves correctly also for libvirt-lxc containers.

Some more discussion on this:
https://github.com/NixOS/nixpkgs/commit/a7a08188bf650ababa36300a9a6f34169e2a73bf
https://github.com/NixOS/nixpkgs/commit/bfe46a653ba2f8ff9902128f485cbd87c49cbca7

(cherry picked from commit ab9537ca22ce3fd4efc1795c58105504022d0c48)


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


[Nix-commits] [NixOS/nixpkgs] 65a4ae: configuration-hackage2nix.yaml: enable all builds ...

2016-09-07 Thread Peter Simons
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 65a4aee8e2a9a02218901c1c6ddf2dcf0e063d59
  
https://github.com/NixOS/nixpkgs/commit/65a4aee8e2a9a02218901c1c6ddf2dcf0e063d59
  Author: Peter Simons 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/development/haskell-modules/configuration-hackage2nix.yaml

  Log Message:
  ---
  configuration-hackage2nix.yaml: enable all builds to see which ones work and 
which ones don't


  Commit: c355c9f12100f16a13a73074a43823e8c1ad4192
  
https://github.com/NixOS/nixpkgs/commit/c355c9f12100f16a13a73074a43823e8c1ad4192
  Author: Peter Simons 
  Date:   2016-09-07 (Wed, 07 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-6-geb712e9 using the following 
inputs:

  - Hackage: 
https://github.com/commercialhaskell/all-cabal-hashes/commit/306f478c30205a70a769869d058f21c4e93b1f23
  - LTS Haskell: 
https://github.com/fpco/lts-haskell/commit/d7ece2dc93b010f8324b40fb36cee38eb29a2979
  - Stackage Nightly: 
https://github.com/fpco/stackage-nightly/commit/e911d6ed3362cfeb3e755b47dc12388336509479


Compare: https://github.com/NixOS/nixpkgs/compare/f3278b3c7551...c355c9f12100___
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-07 Thread Shea Levy
That part might, but you need to regenerate the library path
regardless.

zimbatm  writes:

> Interesting. Would it also work if you set "coq-prog-name" to "coqtop" and
> let emacs resolve the program name from the PATH?
>
> On Tue, 6 Sep 2016 at 10:39 Shea Levy  wrote:
>
>> Hmm, I think we need more than just environment variables. See for
>> example my recent commit[1] to nixpkgs, where in addition to setting up
>> process-environment and exec-path I also set, when appropriate, several
>> proofgeneral variables like coq-prog-name and even call some
>> proofgeneral functions.
>>
>> ~Shea
>>
>> [1]:
>> https://github.com/NixOS/nixpkgs/commit/b04cdae902398aa76fb81a0470e18fd527c6ba3d
>> zimbatm  writes:
>>
>> > 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
>>

[Nix-commits] [NixOS/nixpkgs] ef2304: perlPackages.MozillaLdap: Reference correct output...

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

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

  Log Message:
  ---
  perlPackages.MozillaLdap: Reference correct output of openldap

(cherry picked from commit c57d6821aa0bd43e950c4172e91c0d55db983bcf)


___
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-07 Thread zimbatm
Interesting. Would it also work if you set "coq-prog-name" to "coqtop" and
let emacs resolve the program name from the PATH?

On Tue, 6 Sep 2016 at 10:39 Shea Levy  wrote:

> Hmm, I think we need more than just environment variables. See for
> example my recent commit[1] to nixpkgs, where in addition to setting up
> process-environment and exec-path I also set, when appropriate, several
> proofgeneral variables like coq-prog-name and even call some
> proofgeneral functions.
>
> ~Shea
>
> [1]:
> https://github.com/NixOS/nixpkgs/commit/b04cdae902398aa76fb81a0470e18fd527c6ba3d
> zimbatm  writes:
>
> > 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/shlev

[Nix-commits] [NixOS/nixpkgs] c57d68: perlPackages.MozillaLdap: Reference correct output...

2016-09-07 Thread Tuomas Tynkkynen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: c57d6821aa0bd43e950c4172e91c0d55db983bcf
  
https://github.com/NixOS/nixpkgs/commit/c57d6821aa0bd43e950c4172e91c0d55db983bcf
  Author: Tuomas Tynkkynen 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  perlPackages.MozillaLdap: Reference correct output of openldap


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


[Nix-commits] [NixOS/nixpkgs] 775379: qtkeychain: Fix install of translations

2016-09-07 Thread aszlig
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 775379188fb068d1ac1d71b4bf0b7df885bd63c2
  
https://github.com/NixOS/nixpkgs/commit/775379188fb068d1ac1d71b4bf0b7df885bd63c2
  Author: aszlig 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  qtkeychain: Fix install of translations

The following doesn't seem to be quite right and I have missed this when
I was introducing qtkeychain in the first place:

-- Installing: 
/nix/store/...-qtkeychain-0.4.0/$out/share/qt/translations/qtkeychain_de.qm
-- Installing: 
/nix/store/...-qtkeychain-0.4.0/$out/share/qt/translations/qtkeychain_ro.qm

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


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


Re: [Nix-dev] nix modules: Unsetting attrsOf options?

2016-09-07 Thread 4levels
Hi Rickard,

All I can think of currently is that you could create a new config variable
using filterAttrs to keep only the information you need.
Not sure if this solves your question though as I'm not aware if you can
use another variable in your scenario.

Kind regards,

Erik

On Wed, Sep 7, 2016 at 12:35 AM Rickard Nilsson 
wrote:

> Is it possible to unset an attrsOf option? Say I import a module that
> looks like this:
>
> options = {
>myattrs = mkOption {
>  type = types.attrsOf ...
>  default = {};
>};
> }
>
> config = {
>myattrs = {
>  a = ...
>  b = ...
>};
> };
>
> And then I want to remove the "a" attribute in the importing config:
>
> config = {
>myattrs.a = mkForce ...
> }
>
> Is that possible in any way?
>
>
>/ Rickard
> ___
> 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] hydra.cryp.to will go offline by the end of this year

2016-09-07 Thread Peter Simons
Fellow Haskell hackers,

some of you rely on hydra.cryp.to as a source of binary packages for the
Haskell subset of Nixpkgs. Unfortunately, this service will go offline
in December 2016. I've run that machine mostly for my own private
purposes, but I realize now that I no longer need it and that I'd rather
invest the time and money it consumes to other purposes instead. I am
sorry about any inconvenience this decision might cause. The good news
is, however, that hydra.nixos.org provides those binaries much more
reliably than it used to and chances are that you won't notice any
difference at all after my server goes down.

Anyway, please make sure to adapt your setting of the "binary-caches"
config option for Nix accordingly.

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] da24fb: qtkeychain: Fix install of translations

2016-09-07 Thread aszlig
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: da24fbd0ec9380ee323bd43d1d8468e1bb229bf1
  
https://github.com/NixOS/nixpkgs/commit/da24fbd0ec9380ee323bd43d1d8468e1bb229bf1
  Author: aszlig 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  qtkeychain: Fix install of translations

The following doesn't seem to be quite right and I have missed this when
I was introducing qtkeychain in the first place:

-- Installing: 
/nix/store/...-qtkeychain-0.4.0/$out/share/qt/translations/qtkeychain_de.qm
-- Installing: 
/nix/store/...-qtkeychain-0.4.0/$out/share/qt/translations/qtkeychain_ro.qm

Signed-off-by: aszlig 


  Commit: eeebc13e033800bbbe394d358550a4989a2167c6
  
https://github.com/NixOS/nixpkgs/commit/eeebc13e033800bbbe394d358550a4989a2167c6
  Author: aszlig 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  qtkeychain: 0.4.0 -> 0.7.0

Upstream changes since version 0.4.0:

  * version 0.5.0 (release 2015-05-04):
- Added support for KWallet5 (KDE5/KF)
  * version 0.6.0 (release 2016-03-18)
- Added support for the Windows Credential Store
  * version 0.6.1 (release 2016-03-31)
- Fix KWallet not working (regressions in 0.6.0)
  * version 0.6.2 (release 2016-04-04)
- KWallet: Fixes a crash when storing passwords, seen on Debian/KDE4
  * version 0.7.0 (release 2016-05-23)
- Bump SO version due to 0.6 being binary-incompatible to previous
  releases

Tomahawk and owncloud-client depend on this library, both are still
building fine after this update.

Signed-off-by: aszlig 


  Commit: 1187b00e5872c8b65919158f2f908efb29117649
  
https://github.com/NixOS/nixpkgs/commit/1187b00e5872c8b65919158f2f908efb29117649
  Author: aszlig 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/development/libraries/qtkeychain/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  qtkeychain: Allow building with Qt 5

So far we don't yet need the Qt 5 build for qtkeychain because the two
packages that depend on it are still using Qt 4. However, the next
upstream version of Tomahawk for example already uses Qt 5, so let's
prepare for that.

Tested building against Tomahawk Git master with qt5.qtkeychain.

Signed-off-by: aszlig 


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


[Nix-commits] [NixOS/nixpkgs] ab9537: nixos: Generalise the container tests in stage-2 b...

2016-09-07 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ab9537ca22ce3fd4efc1795c58105504022d0c48
  
https://github.com/NixOS/nixpkgs/commit/ab9537ca22ce3fd4efc1795c58105504022d0c48
  Author: Rickard Nilsson 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/system/boot/stage-2-init.sh

  Log Message:
  ---
  nixos: Generalise the container tests in stage-2 boot

This way, stage-2 behaves correctly also for libvirt-lxc containers.

Some more discussion on this:
https://github.com/NixOS/nixpkgs/commit/a7a08188bf650ababa36300a9a6f34169e2a73bf
https://github.com/NixOS/nixpkgs/commit/bfe46a653ba2f8ff9902128f485cbd87c49cbca7


  Commit: 03b888e205e030b2272582d7f4ff037daacc2ab0
  
https://github.com/NixOS/nixpkgs/commit/03b888e205e030b2272582d7f4ff037daacc2ab0
  Author: Shea Levy 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/system/boot/stage-2-init.sh

  Log Message:
  ---
  Merge branch 'stage2-generalise-containers' of 
https://github.com/rickynils/nixpkgs


Compare: https://github.com/NixOS/nixpkgs/compare/70be99c6459b...03b888e205e0___
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-07 Thread zimbatm
I don't think there is an official list. Here is the ones I know of:

Go/GOPATH: go2nix
Ruby/Rubygems: bundix
Java/Maven: mvn2nix-maven-plugin
Node/npm: npm2nix (multiple implementations)
Haskell/Cabal: cabal2nix

And I think there are some for Perl/CPAN, Ocaml/??? and .NET/Nuget too. The
manual is supposed to cover each developer environment for each language.

It would be nice if we could come up with a universal XXX2nix that has a
unified interface, but then it's probably a lot of work to find the lowest
common denominator. All of those tools also generate different nix outputs,
some just generate the repository metadata, some also generate an
accompanying default.nix.



On Wed, 7 Sep 2016 at 09:04 Roger Qiu  wrote:

> Is there a list of projects that go from other package managers to nix?
> On 06/09/2016 11:57 AM, "Rok Garbas"  wrote:
>
>> 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-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] e7adde: Make /var/empty immutable

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

  Changed paths:
M nixos/modules/system/activation/activation-script.nix

  Log Message:
  ---
  Make /var/empty immutable

Fixes #14910 and #18358

Deployed to an existing server, restarted sshd and polkit to verify
they don't fail.'

(cherry picked from commit 8f95e6f6aa8ac62e809a5d1cba6af2b6707d90dd)
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] 3877ec: Make /var/empty immutable

2016-09-07 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3877ec5b2ff7436f4962ac0fe3200833cf78cb8b
  
https://github.com/NixOS/nixpkgs/commit/3877ec5b2ff7436f4962ac0fe3200833cf78cb8b
  Author: Domen Kožar 
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
M nixos/modules/system/activation/activation-script.nix

  Log Message:
  ---
  Make /var/empty immutable

Fixes #14910 and #18358

Deployed to an existing server, restarted sshd and polkit to verify
they don't fail.


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

  Changed paths:
M nixos/modules/system/activation/activation-script.nix

  Log Message:
  ---
  hardcode e2fsprogs, idempotent chmod, remove care condition


  Commit: 70be99c6459b236bf4cc12eb11182f9a72438085
  
https://github.com/NixOS/nixpkgs/commit/70be99c6459b236bf4cc12eb11182f9a72438085
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/system/activation/activation-script.nix

  Log Message:
  ---
  Merge pull request #18365 from NixOS/fix-sshd-failure

Make /var/empty immutable (with chattr +i)


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


[Nix-commits] [NixOS/nixpkgs] 8f95e6: hardcode e2fsprogs, idempotent chmod, remove care ...

2016-09-07 Thread Domen Kožar
  Branch: refs/heads/fix-sshd-failure
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8f95e6f6aa8ac62e809a5d1cba6af2b6707d90dd
  
https://github.com/NixOS/nixpkgs/commit/8f95e6f6aa8ac62e809a5d1cba6af2b6707d90dd
  Author: Domen Kožar 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/system/activation/activation-script.nix

  Log Message:
  ---
  hardcode e2fsprogs, idempotent chmod, remove care condition


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


[Nix-commits] [NixOS/nixpkgs] ebe7f3: neural-style: restrict to 64-bit Linux because it ...

2016-09-07 Thread Michael Raskin
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ebe7f35e6f20df7eac571767255c108e7241ded6
  
https://github.com/NixOS/nixpkgs/commit/ebe7f35e6f20df7eac571767255c108e7241ded6
  Author: Michael Raskin <7c6f4...@mail.ru>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/tools/graphics/neural-style/default.nix

  Log Message:
  ---
  neural-style: restrict to 64-bit Linux because it wants too much RAM

(cherry picked from commit 9d1d0dd546e37b1b71ad83138fe6e8d58270344f)


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


[Nix-commits] [NixOS/nixpkgs] 00b9a1: hardcode e2fsprogs, idempotent chmod, remove care ...

2016-09-07 Thread Domen Kožar
  Branch: refs/heads/fix-sshd-failure
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 00b9a12eeaf930ada7ec1352308d6e137193b01a
  
https://github.com/NixOS/nixpkgs/commit/00b9a12eeaf930ada7ec1352308d6e137193b01a
  Author: Domen Kožar 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/system/activation/activation-script.nix

  Log Message:
  ---
  hardcode e2fsprogs, idempotent chmod, remove care condition


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


[Nix-commits] [NixOS/nixpkgs] 9db5d1: hardcode e2fsprogs, idempotent chmod, remove care ...

2016-09-07 Thread Domen Kožar
  Branch: refs/heads/fix-sshd-failure
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 9db5d1d6b0262207c81ab9c7ecf98e19d7a894cd
  
https://github.com/NixOS/nixpkgs/commit/9db5d1d6b0262207c81ab9c7ecf98e19d7a894cd
  Author: Domen Kožar 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/system/activation/activation-script.nix

  Log Message:
  ---
  hardcode e2fsprogs, idempotent chmod, remove care condition


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


[Nix-commits] [NixOS/nixpkgs] efe2d6: charybdis: Fix eval

2016-09-07 Thread Eelco Dolstra
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: efe2d64b33c16921de30e247a8cf49ef2a04ef88
  
https://github.com/NixOS/nixpkgs/commit/efe2d64b33c16921de30e247a8cf49ef2a04ef88
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/servers/irc/charybdis/default.nix

  Log Message:
  ---
  charybdis: Fix eval

http://hydra.nixos.org/build/40042712


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


[Nix-commits] [NixOS/nixpkgs] 3b65b8: baresip: fix build by manually forcing feature fla...

2016-09-07 Thread obadz
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3b65b84c4c6e4b34b77f3a843990f4d168f220ef
  
https://github.com/NixOS/nixpkgs/commit/3b65b84c4c6e4b34b77f3a843990f4d168f220ef
  Author: Michael Raskin <7c6f4...@mail.ru>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

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

  Log Message:
  ---
  baresip: fix build by manually forcing feature flags for fresh glibc time.h

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


  Commit: 0f79004d5588d88390c7269c7f48a5b8b375caa5
  
https://github.com/NixOS/nixpkgs/commit/0f79004d5588d88390c7269c7f48a5b8b375caa5
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
A nixos/modules/installer/tools/nix-fallback-paths.nix
M nixos/modules/installer/tools/nixos-rebuild.sh
M nixos/modules/installer/tools/tools.nix

  Log Message:
  ---
  nixos-rebuild: Move the Nix fallback store paths into a separate file

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


  Commit: f0aa5d4dfa2779252e5d2d416d3c0cfb4481d62c
  
https://github.com/NixOS/nixpkgs/commit/f0aa5d4dfa2779252e5d2d416d3c0cfb4481d62c
  Author: Eelco Dolstra 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/installer/tools/nix-fallback-paths.nix
M pkgs/tools/package-management/nix/default.nix

  Log Message:
  ---
  nix: 1.11.3 -> 1.11.4

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


  Commit: a84885982944c8e8fda5b251da4e29ccb66db4f8
  
https://github.com/NixOS/nixpkgs/commit/a84885982944c8e8fda5b251da4e29ccb66db4f8
  Author: obadz 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M pkgs/servers/uhub/default.nix
M pkgs/servers/uhub/plugin-dir.patch
R pkgs/servers/uhub/systemd.patch

  Log Message:
  ---
  uhub: 0.4.1 -> 0.5.0 (fixes build)

@ehmry: please have a look so that we can cherry-pick in release-16.09
and move forward on #18209

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


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


[Nix-commits] [NixOS/nixpkgs] 492a90: dovecot service: require mail{User, Group} with sie...

2016-09-07 Thread Peter Simons
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 492a90f1c94fca326e60ac1e722eb8bb3cf62bb4
  
https://github.com/NixOS/nixpkgs/commit/492a90f1c94fca326e60ac1e722eb8bb3cf62bb4
  Author: Langston Barrett 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/services/mail/dovecot.nix

  Log Message:
  ---
  dovecot service: require mail{User,Group} with sieveScripts

fixes #17702.


  Commit: 4a265a68bd44c7c98389f06f70236e13c674c28f
  
https://github.com/NixOS/nixpkgs/commit/4a265a68bd44c7c98389f06f70236e13c674c28f
  Author: Peter Simons 
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
M nixos/modules/services/mail/dovecot.nix

  Log Message:
  ---
  Merge pull request #18381 from siddharthist/dovecot/mailUser

dovecot service: require mail{User,Group} with sieveScripts


Compare: https://github.com/NixOS/nixpkgs/compare/5f6557d43769...4a265a68bd44___
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-07 Thread Roger Qiu
Is there a list of projects that go from other package managers to nix?
On 06/09/2016 11:57 AM, "Rok Garbas"  wrote:

> 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-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev