[Nix-commits] [NixOS/nixpkgs] 6a5b81: pycallgraph: init at 1.0.1

2016-08-12 Thread Frederik Rietdijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6a5b81ae5e509edb3a94193181190598c3b99eaf
  
https://github.com/NixOS/nixpkgs/commit/6a5b81ae5e509edb3a94193181190598c3b99eaf
  Author: Jonathan Glines 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  pycallgraph: init at 1.0.1


  Commit: 5f2b125fd1c26a9f98d4d5254cd5f931b099822c
  
https://github.com/NixOS/nixpkgs/commit/5f2b125fd1c26a9f98d4d5254cd5f931b099822c
  Author: Frederik Rietdijk 
  Date:   2016-08-13 (Sat, 13 Aug 2016)

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

  Log Message:
  ---
  Merge pull request #17567 from auntieNeo/pycallgraph

pythonPackages.pycallgraph: init at 1.0.1


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


[Nix-commits] [NixOS/nixpkgs] 1bc03a: libircclient: init at 1.9

2016-08-12 Thread obadz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1bc03a7b336b5b4bd1a33369b938fb004a26fd37
  
https://github.com/NixOS/nixpkgs/commit/1bc03a7b336b5b4bd1a33369b938fb004a26fd37
  Author: obadz 
  Date:   2016-08-13 (Sat, 13 Aug 2016)

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

  Log Message:
  ---
  libircclient: init at 1.9


  Commit: f279b253d5250c1001f2baf383a3c353ec66233a
  
https://github.com/NixOS/nixpkgs/commit/f279b253d5250c1001f2baf383a3c353ec66233a
  Author: obadz 
  Date:   2016-08-13 (Sat, 13 Aug 2016)

  Changed paths:
M pkgs/development/libraries/SDL_mixer/default.nix
A pkgs/games/pokerth/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  pokerth: init at 1.1.1


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


[Nix-commits] [NixOS/nixpkgs] b25089: datefudge: init at 1.2.1

2016-08-12 Thread Luca Bruno
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b25089885573944fc346f4bf5cc65bf6977ca1b3
  
https://github.com/NixOS/nixpkgs/commit/b25089885573944fc346f4bf5cc65bf6977ca1b3
  Author: Michiel Leenaars 
  Date:   2016-08-09 (Tue, 09 Aug 2016)

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

  Log Message:
  ---
  datefudge: init at 1.2.1


  Commit: 909b036b47883711601a843102975f052c3817e2
  
https://github.com/NixOS/nixpkgs/commit/909b036b47883711601a843102975f052c3817e2
  Author: Luca Bruno 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  Merge pull request #16610 from leenaars/datefudge

Datefudge


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


[Nix-commits] [NixOS/nixpkgs] 849414: yadm: init at 1.04

2016-08-12 Thread Luca Bruno
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 849414f276a873d5679083c028f13cfa707c8cf9
  
https://github.com/NixOS/nixpkgs/commit/849414f276a873d5679083c028f13cfa707c8cf9
  Author: lucas8 
  Date:   2016-07-30 (Sat, 30 Jul 2016)

  Changed paths:
A pkgs/applications/version-management/yadm/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  yadm: init at 1.04


  Commit: 3f6d3faf1e9b057fc37e2dc2a519ee725bf5bb38
  
https://github.com/NixOS/nixpkgs/commit/3f6d3faf1e9b057fc37e2dc2a519ee725bf5bb38
  Author: lucas8 
  Date:   2016-08-06 (Sat, 06 Aug 2016)

  Changed paths:
M pkgs/applications/version-management/yadm/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  yadm: using fetchFromGitHub


  Commit: c8ca30fe2a80ea6223fb2293e4980e0a1e157013
  
https://github.com/NixOS/nixpkgs/commit/c8ca30fe2a80ea6223fb2293e4980e0a1e157013
  Author: Luca Bruno 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
A pkgs/applications/version-management/yadm/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #17247 from lucas8/yadm

yadm: init at 1.04


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


Re: [Nix-dev] How to install specific version of a package?

2016-08-12 Thread Daniel Hlynskyi
Nix allows you to have multiple versions of one package, but each version
can require it's specific build recipe.

nixpkgs - is a place for latest versions of packages, and, pragmatically,
for most used non-latest versions. The place for all packages of all
versions is currently vacant.

Given this, I can think of several ways to get non-latest version of
package in Nix:

- already mentioned install from binary cache
- install from specific checkout of nixpkgs (
http://edwtjo.me/posts/2016-04-24-installing-older-pkgs-in-nixos/ and
https://www.reddit.com/r/NixOS/comments/4itnth/installing_older_pkgs_in_nixos/d328l1v
)
- install from overriden expression. This is the most unstable way, because
many packages do require changes to recipe. But for certain simple kinds of
packages it can be automated.

Given the following oldversion.nix:

{ pkg, version }:
let
  pkgs = import  {};
  inherit (builtins) trace;
  inherit (pkgs) lib;
  traceSeq = x: y: trace (builtins.deepSeq x x) y;
  oldversion = package: version:
let getVersion = name: lib.last (lib.splitString "-" name);
in package.overrideDerivation (super: {
  name = super.name + "-oldversion-" + version;
  inherit version;
  src =
let upstreamUrls = super.src.urls;
patchedUrls = map (x: builtins.replaceStrings [(getVersion
super.name)] [version] x) upstreamUrls;
in pkgs.fetchurl { urls = patchedUrls; sha256 = null; sha512 =
null; md5 = null; sha1 = null; };
});
in oldversion pkg version

you can install different versions of same package with the following
monstruous command:

danbst@iron ~/oldversion$
$ nix-env -f oldversion.nix --arg pkg "with import {}; siege"
--argstr version "3.0.3" --install
replacing old ‘siege-3.0.8-oldversion-3.0.3’
installing ‘siege-3.0.8-oldversion-3.0.3’

danbst@iron ~/oldversion$
$ nix-env -f oldversion.nix --arg pkg "with import {}; siege"
--argstr version "4.0.2" --install
replacing old ‘siege-3.0.8-oldversion-3.0.3’
installing ‘siege-3.0.8-oldversion-4.0.2’


2016-08-12 20:06 GMT+00:00 Nick Sabalausky :

> On 08/12/2016 02:58 AM, Roger Qiu wrote:
>
>> Nix is based on content addressing. To install a specific version of a
>> package, just pick a version, fix the content address, and install it!
>> [...]
>> or if a previous (or newer) revision of nixpkgs had the
>> package, then you load that package set and point to a package there to
>> install it.
>>
>>
> Can you point me to documentation for that? I only know of installing via
> "environment.systemPackages", enabling a service, or "nix-env -i ...".
>
> I did just now try following this:
>
> https://nixos.org/nixpkgs/manual/#sec-modify-via-packageOverrides
>
> And created a ~/.nixpkgs/config.nix containing (just to try things out)
> this:
>
> {
> packageOverrides = pkgs: rec {
> firefox = pkgs.firefox.override {
> common.version = "33.0";
> };
> };
> }
>
> But then I just get:
>
> $ nix-env -i firefox
> error: attribute ‘override’ missing, at /home/nick/.nixpkgs/config.nix
> :3:13
>
>
> ___
> 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] bc4948: packagekit: git -> 1.1.3

2016-08-12 Thread Luca Bruno
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: bc49483bab1921e642ba74a3720103bffbbcb028
  
https://github.com/NixOS/nixpkgs/commit/bc49483bab1921e642ba74a3720103bffbbcb028
  Author: Matthew Bauer 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/tools/package-management/packagekit/default.nix

  Log Message:
  ---
  packagekit: git -> 1.1.3

Update packagekit to a real release instead of just a random commit.


  Commit: a10886dfdc1969922c6a8307fcd4386a351e98bc
  
https://github.com/NixOS/nixpkgs/commit/a10886dfdc1969922c6a8307fcd4386a351e98bc
  Author: Luca Bruno 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/tools/package-management/packagekit/default.nix

  Log Message:
  ---
  Merge pull request #17514 from matthewbauer/packagekit-1.1.3

packagekit: git -> 1.1.3


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


[Nix-commits] [NixOS/nixpkgs] 0287bf: nemiver: init at 0.9.6

2016-08-12 Thread Luca Bruno
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0287bf38e09fef1386c110899a4e1932a679ff9a
  
https://github.com/NixOS/nixpkgs/commit/0287bf38e09fef1386c110899a4e1932a679ff9a
  Author: Julien Dehos 
  Date:   2016-08-05 (Fri, 05 Aug 2016)

  Changed paths:
M pkgs/desktops/gnome-3/3.20/default.nix
A pkgs/desktops/gnome-3/3.20/devtools/nemiver/bool_slot.patch
A pkgs/desktops/gnome-3/3.20/devtools/nemiver/default.nix
A pkgs/desktops/gnome-3/3.20/devtools/nemiver/safe_ptr.patch
A pkgs/desktops/gnome-3/3.20/devtools/nemiver/src.nix

  Log Message:
  ---
  nemiver: init at 0.9.6


  Commit: 7d110f46c74c537b85a1abc0aec82e2484869910
  
https://github.com/NixOS/nixpkgs/commit/7d110f46c74c537b85a1abc0aec82e2484869910
  Author: Luca Bruno 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/desktops/gnome-3/3.20/default.nix
A pkgs/desktops/gnome-3/3.20/devtools/nemiver/bool_slot.patch
A pkgs/desktops/gnome-3/3.20/devtools/nemiver/default.nix
A pkgs/desktops/gnome-3/3.20/devtools/nemiver/safe_ptr.patch
A pkgs/desktops/gnome-3/3.20/devtools/nemiver/src.nix

  Log Message:
  ---
  Merge pull request #17546 from juliendehos/nemiver

nemiver: init at 0.9.6


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


[Nix-commits] [NixOS/nixpkgs] 37c83c: sage: update mirrors

2016-08-12 Thread Luca Bruno
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 37c83ca3a2fdc86d248a74fad739771f21727c9a
  
https://github.com/NixOS/nixpkgs/commit/37c83ca3a2fdc86d248a74fad739771f21727c9a
  Author: cmfwyp 
  Date:   2016-08-07 (Sun, 07 Aug 2016)

  Changed paths:
M pkgs/build-support/fetchurl/mirrors.nix

  Log Message:
  ---
  sage: update mirrors

The list of mirrors is at https://www.sagemath.org/mirrors.html.


  Commit: 179d99242773e7bf30958dbb6952ca02d7a5834b
  
https://github.com/NixOS/nixpkgs/commit/179d99242773e7bf30958dbb6952ca02d7a5834b
  Author: cmfwyp 
  Date:   2016-08-07 (Sun, 07 Aug 2016)

  Changed paths:
M pkgs/applications/science/math/sage/default.nix

  Log Message:
  ---
  sage: fix TeX Live input

The Sage derivation had texLive, the old TeX Live packaging which
is now marked as broken, as a build input. This replaces it by the
current TeX Live packaging.

However, the build remains broken. One of the problems can be
solved by patching the hashbangs at the beginning of build scripts,
but the build still gets stuck while building ncurses.


  Commit: 27f294f38d3c0859df4871fde557e9a99aba5c8b
  
https://github.com/NixOS/nixpkgs/commit/27f294f38d3c0859df4871fde557e9a99aba5c8b
  Author: Luca Bruno 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/applications/science/math/sage/default.nix
M pkgs/build-support/fetchurl/mirrors.nix

  Log Message:
  ---
  Merge pull request #17589 from cmfwyp/sagemath

sagemath: update mirrors, fix TeX Live dependency


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


[Nix-commits] [NixOS/nixpkgs] 17a910: shc: init at 3.9.3

2016-08-12 Thread Luca Bruno
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 17a9109b34dcb0d7d6e1dad7e57e7c001aeaa257
  
https://github.com/NixOS/nixpkgs/commit/17a9109b34dcb0d7d6e1dad7e57e7c001aeaa257
  Author: John Chee 
  Date:   2016-08-11 (Thu, 11 Aug 2016)

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

  Log Message:
  ---
  shc: init at 3.9.3


  Commit: e36c23989725c9caa694cd5dcced1e887e1aaf03
  
https://github.com/NixOS/nixpkgs/commit/e36c23989725c9caa694cd5dcced1e887e1aaf03
  Author: Luca Bruno 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  Merge pull request #17669 from cheecheeo/shc

shc: init at 3.9.3


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


[Nix-commits] [NixOS/nixpkgs] d09b79: uftp: init at 4.9.2

2016-08-12 Thread Luca Bruno
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d09b797fd719004efdedcec6316fd747d7650da5
  
https://github.com/NixOS/nixpkgs/commit/d09b797fd719004efdedcec6316fd747d7650da5
  Author: Tristan Helmich 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  uftp: init at 4.9.2


  Commit: f4d7a35481706311d31854ed23ef90c858c566ab
  
https://github.com/NixOS/nixpkgs/commit/f4d7a35481706311d31854ed23ef90c858c566ab
  Author: Luca Bruno 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  Merge pull request #17690 from mayflower/uftp_upstream

uftp: init at 4.9.2


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


[Nix-commits] [NixOS/nixpkgs] 300e83: filezilla: 3.20.0 -> 3.20.1

2016-08-12 Thread Luca Bruno
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 300e83ba3af98a3ba00a7eca5da59cd4155f893b
  
https://github.com/NixOS/nixpkgs/commit/300e83ba3af98a3ba00a7eca5da59cd4155f893b
  Author: mimadrid 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/applications/networking/ftp/filezilla/default.nix

  Log Message:
  ---
  filezilla: 3.20.0 -> 3.20.1


  Commit: 2d4afafc6467f2480aa66315f83585755707a031
  
https://github.com/NixOS/nixpkgs/commit/2d4afafc6467f2480aa66315f83585755707a031
  Author: Luca Bruno 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/applications/networking/ftp/filezilla/default.nix

  Log Message:
  ---
  Merge pull request #17692 from mimadrid/update/filezilla-3.20.1

filezilla: 3.20.0 -> 3.20.1


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


[Nix-commits] [NixOS/nixpkgs] 017e36: offlineimap: 7.0.4 -> 7.0.5

2016-08-12 Thread Luca Bruno
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 017e3680362c9f148af7255d336ee1d9e8e8b467
  
https://github.com/NixOS/nixpkgs/commit/017e3680362c9f148af7255d336ee1d9e8e8b467
  Author: Damien Cassou 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  offlineimap: 7.0.4 -> 7.0.5


  Commit: e54bda619844886aed789d7e7b9253d3e1d69bae
  
https://github.com/NixOS/nixpkgs/commit/e54bda619844886aed789d7e7b9253d3e1d69bae
  Author: Luca Bruno 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  Merge pull request #17698 from DamienCassou/offlineimap-7.0.5

offlineimap: 7.0.4 -> 7.0.5


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


[Nix-commits] [NixOS/nixpkgs] 050452: microcode-intel: 20150121 -> 20160714

2016-08-12 Thread Luca Bruno
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 050452dd7fb84ecb9d74eb0d69dae6ed92a45b38
  
https://github.com/NixOS/nixpkgs/commit/050452dd7fb84ecb9d74eb0d69dae6ed92a45b38
  Author: Kranium Gikos Mendoza 
  Date:   2016-08-13 (Sat, 13 Aug 2016)

  Changed paths:
M pkgs/os-specific/linux/microcode/intel.nix

  Log Message:
  ---
  microcode-intel: 20150121 -> 20160714


  Commit: fda17cfd0ef63f99bdd82e8d8ae8b4de730cf1cf
  
https://github.com/NixOS/nixpkgs/commit/fda17cfd0ef63f99bdd82e8d8ae8b4de730cf1cf
  Author: Luca Bruno 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/os-specific/linux/microcode/intel.nix

  Log Message:
  ---
  Merge pull request #17703 from womfoo/bump/microcode-intel-20160714

microcode-intel: 20150121 -> 20160714


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


Re: [Nix-dev] How to install specific version of a package?

2016-08-12 Thread Nick Sabalausky

On 08/12/2016 02:58 AM, Roger Qiu wrote:

Nix is based on content addressing. To install a specific version of a
package, just pick a version, fix the content address, and install it!
[...]
or if a previous (or newer) revision of nixpkgs had the
package, then you load that package set and point to a package there to
install it.



Can you point me to documentation for that? I only know of installing 
via "environment.systemPackages", enabling a service, or "nix-env -i ...".


I did just now try following this:

https://nixos.org/nixpkgs/manual/#sec-modify-via-packageOverrides

And created a ~/.nixpkgs/config.nix containing (just to try things out) 
this:


{
packageOverrides = pkgs: rec {
firefox = pkgs.firefox.override {
common.version = "33.0";
};
};
}

But then I just get:

$ nix-env -i firefox
error: attribute ‘override’ missing, at /home/nick/.nixpkgs/config.nix:3:13

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


[Nix-commits] [NixOS/nixpkgs] e082cf: gitlab module: restart services on failure

2016-08-12 Thread Franz Pletz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e082cfcaaac3e34e1a8a171f80f32cfd6440b521
  
https://github.com/NixOS/nixpkgs/commit/e082cfcaaac3e34e1a8a171f80f32cfd6440b521
  Author: Franz Pletz 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M nixos/modules/services/misc/gitlab.nix

  Log Message:
  ---
  gitlab module: restart services on failure

Sidqkiq regularly dies due to memory leaks.


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


[Nix-commits] [NixOS/nixpkgs] da3ddd: buildGoPackage: remove Go deps file `libs.json`

2016-08-12 Thread zimbatm
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf
  
https://github.com/NixOS/nixpkgs/commit/da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf
  Author: Kamil Chmielewski 
  Date:   2016-08-11 (Thu, 11 Aug 2016)

  Changed paths:
M doc/languages-frameworks/go.xml
M pkgs/applications/misc/hugo/deps.json
M pkgs/applications/misc/mop/deps.json
M pkgs/applications/misc/wego/deps.json
M pkgs/applications/networking/drive/deps.json
M pkgs/applications/networking/instant-messengers/pond/deps.json
M pkgs/applications/networking/instant-messengers/xmpp-client/deps.json
M pkgs/applications/networking/syncthing012/deps.json
M 
pkgs/applications/version-management/git-and-tools/git-annex-remote-b2/deps.json
M pkgs/development/go-modules/generic/default.nix
R pkgs/development/go-modules/libs.json
M pkgs/development/tools/deis/deps.json
M pkgs/development/tools/go2nix/deps.json
M pkgs/development/tools/golint/deps.json
M pkgs/development/tools/gotools/deps.json
M pkgs/development/tools/gox/deps.json
M pkgs/development/tools/remarshal/deps.json
M pkgs/development/tools/textql/deps.json
M pkgs/development/web/minify/deps.json
M pkgs/servers/caddy/deps.json
M pkgs/servers/etcd/deps.json
M pkgs/servers/gotty/deps.json
M pkgs/servers/interlock/deps.json
M pkgs/servers/mesos-dns/deps.json
M pkgs/servers/monitoring/prometheus/cli_deps.json
M pkgs/servers/monitoring/prometheus/collectd-exporter_deps.json
M pkgs/servers/monitoring/prometheus/haproxy-exporter_deps.json
M pkgs/servers/monitoring/prometheus/mesos-exporter_deps.json
M pkgs/servers/monitoring/prometheus/mysqld-exporter_deps.json
M pkgs/servers/monitoring/prometheus/nginx-exporter_deps.json
M pkgs/servers/monitoring/prometheus/prom2json_deps.json
M pkgs/servers/monitoring/prometheus/pushgateway_deps.json
M pkgs/servers/monitoring/prometheus/statsd-bridge_deps.json
M pkgs/servers/nsq/deps.json
M pkgs/servers/oauth2_proxy/deps.json
M pkgs/servers/serf/deps.json
M pkgs/servers/skydns/deps.json
M pkgs/shells/elvish/deps.json
M pkgs/shells/oh/deps.json
M pkgs/tools/X11/go-sct/deps.json
M pkgs/tools/admin/lxd/deps.json
M pkgs/tools/filesystems/go-mtpfs/deps.json
M pkgs/tools/misc/gawp/deps.json
M pkgs/tools/misc/i3cat/deps.json
M pkgs/tools/misc/mongodb-tools/deps.json
M pkgs/tools/misc/upower-notify/deps.json
M pkgs/tools/networking/ngrok/deps.json
M pkgs/tools/networking/s3gof3r/deps.json
M pkgs/tools/security/hologram/deps.json
M pkgs/tools/system/confd/deps.json
M pkgs/tools/text/platinum-searcher/deps.json
M pkgs/tools/text/sift/deps.json

  Log Message:
  ---
  buildGoPackage: remove Go deps file `libs.json`

After #16017 there were a lot
of comments saying that `nix` would be better than `JSON`
for Go packages dependency sets.
As said in https://github.com/NixOS/nixpkgs/pull/16017#issuecomment-229624046

> Because of the content-addressable store, if two programs have the
> same dependency it will already result in the same derivation in
> the
> store. Git also has compression in the pack files so it won't make
> much difference to duplicate the dependencies on disk. And finally
> most users will just use the binary builds so it won't make any
> differences to them.

This PR removes `libs.json` file and puts all package dependencies in
theirs `deps.json`.


  Commit: c2302f2f450d31c870d13f3e75e2a43bd8249966
  
https://github.com/NixOS/nixpkgs/commit/c2302f2f450d31c870d13f3e75e2a43bd8249966
  Author: zimbatm 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M doc/languages-frameworks/go.xml
M pkgs/applications/misc/hugo/deps.json
M pkgs/applications/misc/mop/deps.json
M pkgs/applications/misc/wego/deps.json
M pkgs/applications/networking/drive/deps.json
M pkgs/applications/networking/instant-messengers/pond/deps.json
M pkgs/applications/networking/instant-messengers/xmpp-client/deps.json
M pkgs/applications/networking/syncthing012/deps.json
M 
pkgs/applications/version-management/git-and-tools/git-annex-remote-b2/deps.json
M pkgs/development/go-modules/generic/default.nix
R pkgs/development/go-modules/libs.json
M pkgs/development/tools/deis/deps.json
M pkgs/development/tools/go2nix/deps.json
M pkgs/development/tools/golint/deps.json
M pkgs/development/tools/gotools/deps.json
M pkgs/development/tools/gox/deps.json
M pkgs/development/tools/remarshal/deps.json
M pkgs/development/tools/textql/deps.json
M pkgs/development/web/minify/deps.json
M pkgs/servers/caddy/deps.json
M pkgs/servers/etcd/deps.json
M pkgs/servers/gotty/deps.json
M pkgs/servers/interlock/deps.json
M pkgs/servers/mesos-dns/deps.json
M pkgs/servers/monitoring/prometheus/cli_deps.json
M

Re: [Nix-dev] Why nginx config isn't placed into /etc/nginx/nginx.conf?

2016-08-12 Thread Christian Kauhaus
Am 12.08.2016 um 10:09 schrieb Roger Qiu:
> Fascinating. Have you heard of CFEngine's "Convergent Fixedpoint" idea? 
> https://en.wikipedia.org/wiki/CFEngine#Convergence

Sure. Many mainstream system management tools like Cfengine, Puppet, Ansible, 
... are built around this concept of convergence. This is exactly what I mean 
with "convergent" in my blog post.

BR

Christian

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



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


Re: [Nix-dev] Two declarative ways to install a package?

2016-08-12 Thread Guillaume Maudoux (Layus)


Le 12 août 2016 18:02:49 UTC+02:00, Arnold Krille  a 
écrit :
>On Fri, 12 Aug 2016 16:15:46 +0200 "Guillaume Maudoux (Layus)"
> wrote:
>> I would rather see it as a convenience.
>> The package is in your store anyway, so better make it available in
>> user shells.
>
>No, only expose what is needed or wanted explicit (explicit is better
>then implicit;-)). Just because I want mpd to run on my machine,
>doesn't mean I want every user to run its own mpd (and wonder why the
>default-port is already in use). For example.
>

I guess m'y use cases are only single-user machines, where the difference 
between user and system is sometimes fuzzy.

>> With mysql for example, having the mysql command in your path is not
>> strictly necessary, but it would be really annoying not to have it.
>> Forcing users to install it in their own environments could even lead
>> to version mismatches.
>
>This largely depends on the package, doesn't it?
>
>For the mysql-service to expose the mysql-commandline tool is a nice
>convenience, at the same time exposing the mysqld binary is needless
>and allows other apps to use that binary without actually depending on
>it. It also allows foes to use it directly from your environment
>without dealing specially with nix.
>
>For the nginx-package to expose the nginx-daemon binary to your
>environment isa bit useless for the same reasons explained with mysqld
>exposed. But are there user-tools for nginx that should be exposed?
>
>Maybe it would be better if there was a mysql and a mysql-server
>package and the mysql-service would use the mysql-server itself and
>expose the mysql commandline to the environment without exposing the
>server binary?
>
>> If exposing a package from its service happens to be annoying (for
>> whatever reason),
>> may I suggest suggest to pull-request an opt-out option for it ?
>
>For security and sanity reason, it should be opt-in.

I think your point ils valid. But an option is not so useful in this case. 
Adding the package to the environment directly may even be simpler than 
enabling the option.

Oh btw, What would you think of a global opt-in option ? Like noXLibs ?

>
>- Arnold
>
>
>
>
>___
>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] d1b2c3: qrcode: enable fortify hardening, disable warning

2016-08-12 Thread Franz Pletz
  Branch: refs/heads/hardened-stdenv
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d1b2c34750416d1e739cc6626342caf8d25c8b5d
  
https://github.com/NixOS/nixpkgs/commit/d1b2c34750416d1e739cc6626342caf8d25c8b5d
  Author: Franz Pletz 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/tools/graphics/qrcode/default.nix

  Log Message:
  ---
  qrcode: enable fortify hardening, disable warning


  Commit: 55966c2189e29de1d8c3b0294f739e41ab45bf0e
  
https://github.com/NixOS/nixpkgs/commit/55966c2189e29de1d8c3b0294f739e41ab45bf0e
  Author: Franz Pletz 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M doc/stdenv.xml

  Log Message:
  ---
  doc: complete the hardening documentation


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


Re: [Nix-dev] Two declarative ways to install a package?

2016-08-12 Thread Arnold Krille
On Fri, 12 Aug 2016 16:15:46 +0200 "Guillaume Maudoux (Layus)"
 wrote:
> I would rather see it as a convenience.
> The package is in your store anyway, so better make it available in
> user shells.

No, only expose what is needed or wanted explicit (explicit is better
then implicit;-)). Just because I want mpd to run on my machine,
doesn't mean I want every user to run its own mpd (and wonder why the
default-port is already in use). For example.

> With mysql for example, having the mysql command in your path is not
> strictly necessary, but it would be really annoying not to have it.
> Forcing users to install it in their own environments could even lead
> to version mismatches.

This largely depends on the package, doesn't it?

For the mysql-service to expose the mysql-commandline tool is a nice
convenience, at the same time exposing the mysqld binary is needless
and allows other apps to use that binary without actually depending on
it. It also allows foes to use it directly from your environment
without dealing specially with nix.

For the nginx-package to expose the nginx-daemon binary to your
environment isa bit useless for the same reasons explained with mysqld
exposed. But are there user-tools for nginx that should be exposed?

Maybe it would be better if there was a mysql and a mysql-server
package and the mysql-service would use the mysql-server itself and
expose the mysql commandline to the environment without exposing the
server binary?

> If exposing a package from its service happens to be annoying (for
> whatever reason),
> may I suggest suggest to pull-request an opt-out option for it ?

For security and sanity reason, it should be opt-in.

- Arnold


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


[Nix-commits] [NixOS/nixpkgs] 154263: Revert "linux kernel 4.4: fix race during build"

2016-08-12 Thread obadz
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 154263c07eb2649554ad4332259554c50b129e73
  
https://github.com/NixOS/nixpkgs/commit/154263c07eb2649554ad4332259554c50b129e73
  Author: obadz 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/os-specific/linux/kernel/patches.nix
R pkgs/os-specific/linux/kernel/qat_common_Makefile.patch
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Revert "linux kernel 4.4: fix race during build"

Removes patch. Was fixed upstream.

This reverts commit 4788ec13725f9bcab65212057e54215d10d4ee62.


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


[Nix-commits] [NixOS/nixpkgs] b2efe2: Revert "linux kernel 4.4: fix race during build"

2016-08-12 Thread obadz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b2efe2babd741e9fb07078f0ddf828e5af63cefa
  
https://github.com/NixOS/nixpkgs/commit/b2efe2babd741e9fb07078f0ddf828e5af63cefa
  Author: obadz 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/os-specific/linux/kernel/patches.nix
R pkgs/os-specific/linux/kernel/qat_common_Makefile.patch
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Revert "linux kernel 4.4: fix race during build"

Removes patch. Was fixed upstream.

This reverts commit 4788ec13725f9bcab65212057e54215d10d4ee62.


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


[Nix-commits] [NixOS/nixpkgs] 9a13e5: pythonPackages.vmprof: init at 0.3.3

2016-08-12 Thread Frederik Rietdijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 9a13e54cb3440239c931c0199a7665a6a7cfaf87
  
https://github.com/NixOS/nixpkgs/commit/9a13e54cb3440239c931c0199a7665a6a7cfaf87
  Author: Frederik Rietdijk 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  pythonPackages.vmprof: init at 0.3.3


  Commit: ec4d36e8e5e58593981fee984040698a3b8d8179
  
https://github.com/NixOS/nixpkgs/commit/ec4d36e8e5e58593981fee984040698a3b8d8179
  Author: Frederik Rietdijk 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  pythonPackages.Nuitka: init at 0.5.20


  Commit: a4a9c4fae3696f4001e2359e362112d04bac76ec
  
https://github.com/NixOS/nixpkgs/commit/a4a9c4fae3696f4001e2359e362112d04bac76ec
  Author: Frederik Rietdijk 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  Merge pull request #17695 from FRidh/nuitka

Python: Nuitka compiler


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


[Nix-commits] [NixOS/nixpkgs] 985f9f: linux: fix build, remove upstreamed patches

2016-08-12 Thread Franz Pletz
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 985f9ffa593507389225e318423acd99fddef0a0
  
https://github.com/NixOS/nixpkgs/commit/985f9ffa593507389225e318423acd99fddef0a0
  Author: Franz Pletz 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  linux: fix build, remove upstreamed patches

(cherry picked from commit 263fff0ab824db6e1c5b9350bab269554cd26d75)


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


[Nix-commits] [NixOS/nixpkgs] b9e009: add Fedora 24

2016-08-12 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b9e009b5b5727d82f513de74d65841a01e8849f0
  
https://github.com/NixOS/nixpkgs/commit/b9e009b5b5727d82f513de74d65841a01e8849f0
  Author: Domen Kožar 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/build-support/vm/default.nix

  Log Message:
  ---
  add Fedora 24


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


[Nix-commits] [NixOS/nixpkgs] dfa909: add Fedora 24

2016-08-12 Thread Domen Kožar
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: dfa909e74d643f15a89e06fd57a2083645e7ce04
  
https://github.com/NixOS/nixpkgs/commit/dfa909e74d643f15a89e06fd57a2083645e7ce04
  Author: Domen Kožar 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/build-support/vm/default.nix

  Log Message:
  ---
  add Fedora 24

(cherry picked from commit b9e009b5b5727d82f513de74d65841a01e8849f0)
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] 52f210: Remove the Cassandra module

2016-08-12 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 52f21069d0495b4ea216909f9624d12cffe55fdf
  
https://github.com/NixOS/nixpkgs/commit/52f21069d0495b4ea216909f9624d12cffe55fdf
  Author: Eelco Dolstra 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M nixos/modules/module-list.nix
M nixos/release.nix

  Log Message:
  ---
  Remove the Cassandra module

It uses import-from-derivation, which is a bad thing, because this
causes hydra-evaluator to build Cassandra at evaluation time.

  $ nix-instantiate nixos/release.nix -A tests.cassandra.i686-linux --dry-run
  error: cannot read 
‘/nix/store/c41blyjz6pfvk9fnvrn6miihq5w3j0l4-cassandra-2.0.16/conf/cassandra-env.sh’,
 since path ‘/nix/store/0j9ax4z8xhaz5lhrwl3bwj10waxs3hgy-cassandra-2.0.16.drv’ 
is not valid, at 
/home/eelco/Dev/nixpkgs/nixos/modules/services/databases/cassandra.nix:373:11

Also, the module is a mess (bad option descriptions, poor indentation,
a gazillion options where a generic "config" option would suffice, it
opens ports in the firewall, it sets vm.swappiness, ...).


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


Re: [Nix-dev] Two declarative ways to install a package?

2016-08-12 Thread Guillaume Maudoux (Layus)
I would rather see it as a convenience.
The package is in your store anyway, so better make it available in user
shells.

With mysql for example, having the mysql command in your path is not
strictly necessary, but it would be really annoying not to have it.
Forcing users to install it in their own environments could even lead to
version mismatches.

If exposing a package from its service happens to be annoying (for
whatever reason),
may I suggest suggest to pull-request an opt-out option for it ?


Le 12/08/16 à 15:44, Moritz Ulrich a écrit :
> If the service doesn't provide any necessary command line tools that
> would justify putting it into the global environment, I would say it's a
> bug, yes.
>
>
> Anders Lundstedt  writes:
>
>> On Thu, Aug 11, 2016 at 9:35 PM, Kevin Cox  wrote:
>>> It's also important to not that services generally (never?) actually
>>> "install" the package.
>> I did a quick check among my enabled services. Two services that add
>> their packages to environment.systemPackages are the transmission and
>> shairport-sync services. The shairport-sync.nix service file provides
>> no motivation for this. Should this be considered a bug?
>> ___
>> 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] Two declarative ways to install a package?

2016-08-12 Thread Moritz Ulrich

If the service doesn't provide any necessary command line tools that
would justify putting it into the global environment, I would say it's a
bug, yes.


Anders Lundstedt  writes:

> On Thu, Aug 11, 2016 at 9:35 PM, Kevin Cox  wrote:
>> It's also important to not that services generally (never?) actually
>> "install" the package.
>
> I did a quick check among my enabled services. Two services that add
> their packages to environment.systemPackages are the transmission and
> shairport-sync services. The shairport-sync.nix service file provides
> no motivation for this. Should this be considered a bug?
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev

-- 


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


[Nix-commits] [NixOS/nixpkgs] 2effe4: Adding kdenlive for kde5

2016-08-12 Thread Lluís Batlle i Rossell
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 2effe4609dfe7edf7e45474c692461688337342a
  
https://github.com/NixOS/nixpkgs/commit/2effe4609dfe7edf7e45474c692461688337342a
  Author: Lluís Batlle i Rossell 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
A pkgs/desktops/kde-5/applications-15.12/kdenlive.nix
M pkgs/desktops/kde-5/applications/default.nix
A pkgs/desktops/kde-5/applications/kdenlive.nix

  Log Message:
  ---
  Adding kdenlive for kde5

(cherry picked from commit e17bc0b871db241434c05d3079bd2790359cd720)


  Commit: ca6dedf0eeb64b80bca27c2ad5f04da1d75d5c2a
  
https://github.com/NixOS/nixpkgs/commit/ca6dedf0eeb64b80bca27c2ad5f04da1d75d5c2a
  Author: Lluís Batlle i Rossell 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
R pkgs/desktops/kde-5/applications-15.12/kdenlive.nix

  Log Message:
  ---
  Remove spurious kdenlive file


  Commit: 2d933d9d986b39b2752b89561b67754c37edd8d1
  
https://github.com/NixOS/nixpkgs/commit/2d933d9d986b39b2752b89561b67754c37edd8d1
  Author: Lluís Batlle i Rossell 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/desktops/kde-5/applications/kdenlive.nix

  Log Message:
  ---
  Making kdenlive find kinit in PATH


  Commit: 17f0cce4452e7c836160a15c157a7609efd4160a
  
https://github.com/NixOS/nixpkgs/commit/17f0cce4452e7c836160a15c157a7609efd4160a
  Author: Lluís Batlle i Rossell 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  Adding the mlt version that matches kdenlive 15.12.

(cherry picked from commit 008f88ae6f0aa43cf0dc4e36f059ee03e1a0b99b)


  Commit: 2045b40b1061f24e9a51e1f312c9d9e131b8b43b
  
https://github.com/NixOS/nixpkgs/commit/2045b40b1061f24e9a51e1f312c9d9e131b8b43b
  Author: Lluís Batlle i Rossell 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/desktops/kde-5/applications/kdenlive.nix

  Log Message:
  ---
  Trying to fix the latest kdenlive


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


[Nix-commits] [NixOS/nixpkgs] b1817f: linux_mptcp: 0.90.1 (kernel 3.18) -> 0.91 (kernel ...

2016-08-12 Thread Guillaume Maudoux
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b1817fa8a3e8379fb35bff0a55b417ceb5acafab
  
https://github.com/NixOS/nixpkgs/commit/b1817fa8a3e8379fb35bff0a55b417ceb5acafab
  Author: Guillaume Maudoux 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  linux_mptcp: 0.90.1 (kernel 3.18) -> 0.91 (kernel 4.1) (#17675)


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


[Nix-commits] [NixOS/nixpkgs] bd20aa: diff-so-fancy: 0.10.1 -> 0.11.1 (#17691)

2016-08-12 Thread Miguel Madrid
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: bd20aaa767d746dacffee55a962ba113bffe3293
  
https://github.com/NixOS/nixpkgs/commit/bd20aaa767d746dacffee55a962ba113bffe3293
  Author: Miguel Madrid 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M 
pkgs/applications/version-management/git-and-tools/diff-so-fancy/default.nix

  Log Message:
  ---
  diff-so-fancy: 0.10.1 -> 0.11.1 (#17691)


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


[Nix-commits] [NixOS/nix] eff804: launchd: Set $SSL_CERT_FILE

2016-08-12 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: eff80419c76eb7d77d3b434a45fb9e18d53d1d19
  
https://github.com/NixOS/nix/commit/eff80419c76eb7d77d3b434a45fb9e18d53d1d19
  Author: Eelco Dolstra 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M misc/launchd/org.nixos.nix-daemon.plist.in

  Log Message:
  ---
  launchd: Set $SSL_CERT_FILE

Otherwise in particular https://cache.nixos.org won't work in the
daemon.


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


[Nix-commits] [NixOS/nixpkgs] 8669d6: fcitx-unikey: init at 0.2.5

2016-08-12 Thread Robin Gloster
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8669d688c7cd3ca446623f479895659fda2a135a
  
https://github.com/NixOS/nixpkgs/commit/8669d688c7cd3ca446623f479895659fda2a135a
  Author: Hoàng Minh Thắng 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
A pkgs/tools/inputmethods/fcitx-engines/fcitx-unikey/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  fcitx-unikey: init at 0.2.5


  Commit: fed0c0f5bf7e24c1ad03df683ff4699d5f7180d1
  
https://github.com/NixOS/nixpkgs/commit/fed0c0f5bf7e24c1ad03df683ff4699d5f7180d1
  Author: Hoàng Minh Thắng 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M nixos/modules/i18n/input-method/default.xml

  Log Message:
  ---
  fcitx-unikey: mention in dockbook


  Commit: 42a71d022bfe2c09483200e7c2dfa30fec469710
  
https://github.com/NixOS/nixpkgs/commit/42a71d022bfe2c09483200e7c2dfa30fec469710
  Author: Robin Gloster 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M nixos/modules/i18n/input-method/default.xml
A pkgs/tools/inputmethods/fcitx-engines/fcitx-unikey/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #17664 from myguidingstar/master

fcitx-unikey: init at 0.2.5


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


[Nix-commits] [NixOS/nixpkgs] 2c81c2: libsidplayfp: init at 1.8.6

2016-08-12 Thread Ram Kromberg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 2c81c24fa63852c828c780cb4833463006e92201
  
https://github.com/NixOS/nixpkgs/commit/2c81c24fa63852c828c780cb4833463006e92201
  Author: Ram Kromberg 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  libsidplayfp: init at 1.8.6

Fixes #17542.

@fpletz: Removed unnecessary autotools dependencies.


  Commit: 4412bcc135aa3b8cda570b807953780d39e076f2
  
https://github.com/NixOS/nixpkgs/commit/4412bcc135aa3b8cda570b807953780d39e076f2
  Author: Ram Kromberg 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/applications/audio/audacious/default.nix

  Log Message:
  ---
  audacious: 3.5.2 -> 3.7.2

Fixes #17543.

@fpletz: Removed unnecessary autotools dependencies & use wrapGAppsHook
instead of makeWrapper.


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


[Nix-commits] [NixOS/hydra] c10316: Sort inputs table

2016-08-12 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: c103163825340e7e8af2ecbc50489384a2346a01
  
https://github.com/NixOS/hydra/commit/c103163825340e7e8af2ecbc50489384a2346a01
  Author: Domen Kožar 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M src/root/edit-jobset.tt
M src/root/jobset.tt

  Log Message:
  ---
  Sort inputs table


  Commit: 71440e7bd70d0debf3e8ea4ecdcd24c29aec9c23
  
https://github.com/NixOS/hydra/commit/71440e7bd70d0debf3e8ea4ecdcd24c29aec9c23
  Author: Eelco Dolstra 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M src/root/edit-jobset.tt
M src/root/jobset.tt

  Log Message:
  ---
  Merge pull request #379 from domenkozar/sort-inputs-tables

Sort inputs table


Compare: https://github.com/NixOS/hydra/compare/7b3dfe836320...71440e7bd70d___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] f7da99: xorg.xorgserver: disable relro hardening

2016-08-12 Thread Robin Gloster
  Branch: refs/heads/hardened-stdenv
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f7da99c7ff49e149a3f3bae57b80f52df53d63b3
  
https://github.com/NixOS/nixpkgs/commit/f7da99c7ff49e149a3f3bae57b80f52df53d63b3
  Author: Robin Gloster 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/servers/x11/xorg/overrides.nix

  Log Message:
  ---
  xorg.xorgserver: disable relro hardening

Fixes modesetting module loading.


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


[Nix-commits] [NixOS/nixpkgs] 645e71: kbfs: add to all-packages.nix

2016-08-12 Thread Graham Christensen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 645e71c863470ac2b8869fdc39e15de0c1590b80
  
https://github.com/NixOS/nixpkgs/commit/645e71c863470ac2b8869fdc39e15de0c1590b80
  Author: Daniel Brockman 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  kbfs: add to all-packages.nix

Any reason not to include this?


  Commit: 93fb53908dedf04bd4f8c01907330e29a291486b
  
https://github.com/NixOS/nixpkgs/commit/93fb53908dedf04bd4f8c01907330e29a291486b
  Author: Graham Christensen 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  Merge pull request #17689 from nexusdev/kbfs

kbfs: add to all-packages.nix


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


Re: [Nix-dev] Building with default.nix

2016-08-12 Thread Bas van Dijk
Indeed, I use the following function in my projects:

  # Copy everything under src into the Nix store except
  # those paths that don't have one of the specified
  # allowedPrefixes.
  whitelistSource = src: allowedPrefixes:
builtins.filterSource
  (path: type:
lib.any (allowedPrefix: lib.hasPrefix
   (toString (src + "/${allowedPrefix}"))
   path
) allowedPrefixes
  ) src;

In my Haskell projects I use it like:

 src = whitelistSource ./. [
  "my-project.cabal"
  "src"
];

All other non-essential files like "dist", ".ghci", etc. are automatically
filtered out.

Bas

On 11 August 2016 at 18:50, Daniel Barlow  wrote:

> Have you considered using builtins.filterSource ?  I usually do something
> like this:
>
> let sourceFilesOnly = path: type:
> (lib.hasPrefix "var" (toString path)) ||
> (lib.hasPrefix "target" (toString path)) ;
> in stdenv.mkDerivation {
> src = builtins.filterSource sourceFilesOnly ./.;
> # ...
>
> It's not as tight as "git tracked files only" but works well enough for
> e.g. Clojure projects where I can reasonably get build artefacts to go into
> target/ so at least I'm not copying huge jar files into the store.
> Likewise in a Ruby project I'd exclude vendor/bundle the same way
>
> Any use?
>
> -dan
>
> --
> d...@telent.net
> http://ww.telent.net
>
> ___
> 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/hydra] 23bf99: Use pixz instead of bzip2 for compressing nars

2016-08-12 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 23bf99b8e2eb842da63527797d3c3ae36b622dd1
  
https://github.com/NixOS/hydra/commit/23bf99b8e2eb842da63527797d3c3ae36b622dd1
  Author: Domen Kožar 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M hydra-module.nix
M release.nix
M src/lib/Hydra/View/NARInfo.pm
M src/lib/Hydra/View/NixNAR.pm

  Log Message:
  ---
  Use pixz instead of bzip2 for compressing nars

According to following two benchmarks:

- https://www.rootusers.com/gzip-vs-bzip2-vs-xz-performance-comparison/
- 
http://catchchallenger.first-world.info/wiki/Quick_Benchmark:_Gzip_vs_Bzip2_vs_LZMA_vs_XZ_vs_LZ4_vs_LZO

xz has better compression ratio than bzip2 at lowest compression rate.

https://github.com/vasi/pixz has been chosen as it can scale compressing
over multiple cores linearly.

We're using this in snabblab for a month now and it has improved CPU
wise the main Hydra server.


  Commit: 7b3dfe836320c011af72c9636a286737d47d470a
  
https://github.com/NixOS/hydra/commit/7b3dfe836320c011af72c9636a286737d47d470a
  Author: Eelco Dolstra 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M hydra-module.nix
M release.nix
M src/lib/Hydra/View/NARInfo.pm
M src/lib/Hydra/View/NixNAR.pm

  Log Message:
  ---
  Merge pull request #377 from domenkozar/pixz

Use pixz instead of bzip2 for compressing nars


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


Re: [Nix-dev] multiple versions of the same software? / collisions

2016-08-12 Thread Guillaume Maudoux (Layus)
Hi,

Here is a working example with nix-env :

nix-env -i $(nix-build --expr 'with import  {}; pkgs.buildEnv {
name = "pythons"; ignoreCollisions = true; paths = [ pkgs.python34
pkgs.python35 ]; }')

or, to pick the prioritized python version (change the priority value if
needed; prioritizing avoids colisions) :

nix-env -i $(nix-build --expr 'with import  {}; pkgs.buildEnv {
name = "pythons"; paths = [ (lib.recursiveUpdate pkgs.python34 {
meta.priority = 0; }) pkgs.python35 ]; }')

oh, and uninstall other pythons before :-).

Result (in your shell):
$ python3
/external command/
python3python3.4-config   python3.4m-config 
python3.5-config   python3.5m-config   
python3.4  python3.4m python3.5 
python3.5m python3-config

-- Layus.

PS: This is probably not the best method to use python, but it may be
helpful to have both in your shell.

Le 04/08/16 à 20:59, Freddy Rietdijk a écrit :
> A method to have access to all interpreters is to create a derivation
> that has symbolic links to each of the interpreters and install that
> one. But as has been said before nix-shell is the recommended method.
>
>  
>
> On Thu, Aug 4, 2016 at 2:13 PM, Rok Garbas  > wrote:
>
> for the python development don't use nix-env but create per project
> default.nix scripts and use nix-shell.
>
> make sure you read the python section in nixpkgs manual ->
> http://nixos.org/nixpkgs/manual/ 
>
> if you're looking to generate nix expressions from requirements.txt
> checkout pypi2nix -> https://github.com/garbas/pypi2nix
> . also know
> that pypi2nix is in early stage - still it is giving good results for
> some - and i'm looking for feedback of packages that break since this
> is the only way i can fix it.
>
>
> On Thu, Aug 4, 2016 at 2:07 PM, Guillaume Maudoux (Layus)
> mailto:layus...@gmail.com>> wrote:
> > Hi,
> >
> > I think you are putting your efforts in the wrong direction.
> > Nix is not designed to install both python 3.4 and 3.5 in the same
> > environment.
> >
> > What it can do however is cache both in the store, so you can get an
> > environment with python 3.4 with
> > nix-shell -p python34
> > and an environment with python 3.5 with
> > nix-shell -p python35
> >
> > Nix can provide you with as many different environments at the
> same time.
> > You can have a shell with python 3.4 running besides a shell
> with python
> > 3.5.
> > You should however not install both in your default environment
> (nix-env
> > -i) as it won't work.
> >
> > May I refer you to
> https://nixos.org/wiki/Development_Environments
>  ?
> >
> > Regards,
> > -- Layus.
> >
> >
> > Le 03/08/16 à 16:43, Roland Koebler a écrit :
> >> Hi,
> >>
> >> I think I've now found out (at least partially), although this
> could
> >> result in a package being installed multiple times.
> >>
> >>> It appears that the flag setting only works on already
> installed packages.
> >> Yes, and if I use
> >>
> >> $ nix-env -i python3-3.5.2
> >> ...
> >> $ nix-env --set-flag priority 10 python3-3.5.2
> >> ...
> >> $ nix-env -i python3-3.4.5 python3-3.5.2
> >> replacing old ‘python3-3.5.2’
> >> installing ‘python3-3.4.5’
> >> installing ‘python3-3.5.2’
> >>
> >> it does not work, since the last command first removes
> python3-3.5.2,
> >> then probably the flag is lost, and then installs it again.
> >>
> >>> Also I'm not sure, but even if there are name collisions in
> the user
> >>> environment, it should still be possible to install both
> packages but only
> >>> use one of the names, and then create your name alias to the
> non-named
> >>> package. However I do not know how this can be done.
> >> I think I've found out. The following works:
> >>
> >> $ nix-env -i python3-3.5.2
> >> $ nix-env --set-flag priority 10 python3-3.5.2
> >> $ nix-env -i -P python3-3.4.5
> >>
> >> --preserve-installed / -P was the relevant switch.
> >> However, this can have some strange side-effects, since -P can
> >> cause a package to be installed "multiple times":
> >>
> >> $ nix-env -i -P python3-3.4.5
> >> ...
> >> $ nix-env -i -P python3-3.4.5
> >> ...
> >> $ nix-env -i -P python3-3.4.5
> >> ...
> >> $ nix-env -q
> >> ...
> >> python3-3.4.5
> >> python3-3.4.5
> >> python3-3.4.5
> >> python3-3.4.5
> >> ...
> >>
> >> This could then be "resolved" by:
> >>
> >> $ nix-env -e python3-3.4.5
> >

[Nix-commits] [NixOS/nixpkgs] 96924b: Revert "ecryptfs: fix kernel bug introduced in 4.4...

2016-08-12 Thread obadz
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 96924b9f2894d5c3ced0a5389474ab3b2b0942d1
  
https://github.com/NixOS/nixpkgs/commit/96924b9f2894d5c3ced0a5389474ab3b2b0942d1
  Author: obadz 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
R pkgs/os-specific/linux/kernel/ecryptfs-fix-mmap-bug.patch
M pkgs/os-specific/linux/kernel/patches.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Revert "ecryptfs: fix kernel bug introduced in 4.4.14"

The Linux 4.4.17 release fixes the underlying issue

This reverts commit fad9a8841b67ee9e09dd352785e24d9b9d22e11c.

(cherry picked from commit 18947c9e36a1b869183e2027f2061a07584e42dd)


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


[Nix-commits] [NixOS/nixpkgs] 56c102: linux: 4.4.16 -> 4.4.16

2016-08-12 Thread Eelco Dolstra
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 56c10200ae79e4b3813c6de81ae7ff594cd736a3
  
https://github.com/NixOS/nixpkgs/commit/56c10200ae79e4b3813c6de81ae7ff594cd736a3
  Author: Eelco Dolstra 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  linux: 4.4.16 -> 4.4.16

(cherry picked from commit 42f8df10a2b984b1c76a05c0877ce4ef193457cd)


  Commit: 7d5a5e146e124c9079aeab681a182359078f0ea4
  
https://github.com/NixOS/nixpkgs/commit/7d5a5e146e124c9079aeab681a182359078f0ea4
  Author: Eelco Dolstra 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  linux: 4.4.16 -> 4.4.17

(cherry picked from commit e26ac7afd49daefc6d0dd560e3c2ccda56233149)


  Commit: d2bcccfaf062625accbf4e991a8849e0a132fd7a
  
https://github.com/NixOS/nixpkgs/commit/d2bcccfaf062625accbf4e991a8849e0a132fd7a
  Author: rnhmjoj 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  nss: 3.23 -> 3.24

(cherry picked from commit f2842da8b2a60ac1cad34b9416eb0706dce01283)


  Commit: 65b384d9bd397341b2b3a22f5815b2327ec563a7
  
https://github.com/NixOS/nixpkgs/commit/65b384d9bd397341b2b3a22f5815b2327ec563a7
  Author: Eelco Dolstra 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  nss: 3.24 -> 3.26

(cherry picked from commit 6aabe2e4bbef93ddc58fc5286e0a75bd32ac56fd)


  Commit: 189781a5ad82f15bd1efb4c6c7a8929f430904b3
  
https://github.com/NixOS/nixpkgs/commit/189781a5ad82f15bd1efb4c6c7a8929f430904b3
  Author: Eelco Dolstra 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/applications/networking/browsers/firefox/default.nix

  Log Message:
  ---
  firefox: 47.0.1 -> 48.0

(cherry picked from commit 8877b9364997d7134ac5e2bb3e3aa62add2575c9)


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


Re: [Nix-dev] duplicate packages?

2016-08-12 Thread Roland Koebler
Hi,

thanks for your explainations.

> You should look for duplicates in the output of
> nix-store -qR ~/.nix-profile, not in the store directly.
The output is identical in my case, since I use Nix on Debian with only
a single user.

> You only get an homogeneous structure if you update all your packages at
> the same time.
> Doing nix-env -u will "[o]nly upgrade a derivation to newer versions [as
> t]his is the default."
> [...]
> To avoid this, you can upgrade packages with other flags like --eq.
Ok, "nix-env -u --eq" /  "nix-env -u --leq":
- did remove some "duplicates" (e.g. I now only have two acl-2.2.52-entries
  instead of three) and some old versions
- but it also added some (e.g. two xcb-util-0.4.0 instead of one)

> >Is this because I use nixpkgs-unstable, and everything is moving
> >there, and is this reduced in the NixOS-release-channels?
> >Or is there some other reason?
> The problem comes from how nix-env updates packages, but is less visible
> if you follow a stable branch.
Ok.

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


[Nix-commits] [NixOS/hydra]

2016-08-12 Thread domenkozar
  Branch: refs/heads/pixz
  Home:   https://github.com/NixOS/hydra
___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 23bf99: Use pixz instead of bzip2 for compressing nars

2016-08-12 Thread Domen Kožar
  Branch: refs/heads/pixz
  Home:   https://github.com/NixOS/hydra
  Commit: 23bf99b8e2eb842da63527797d3c3ae36b622dd1
  
https://github.com/NixOS/hydra/commit/23bf99b8e2eb842da63527797d3c3ae36b622dd1
  Author: Domen Kožar 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M hydra-module.nix
M release.nix
M src/lib/Hydra/View/NARInfo.pm
M src/lib/Hydra/View/NixNAR.pm

  Log Message:
  ---
  Use pixz instead of bzip2 for compressing nars

According to following two benchmarks:

- https://www.rootusers.com/gzip-vs-bzip2-vs-xz-performance-comparison/
- 
http://catchchallenger.first-world.info/wiki/Quick_Benchmark:_Gzip_vs_Bzip2_vs_LZMA_vs_XZ_vs_LZ4_vs_LZO

xz has better compression ratio than bzip2 at lowest compression rate.

https://github.com/vasi/pixz has been chosen as it can scale compressing
over multiple cores linearly.

We're using this in snabblab for a month now and it has improved CPU
wise the main Hydra server.


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


[Nix-commits] [NixOS/nixpkgs] 532b22: vagrant: cleanup FIX plugin install from #17614 (#...

2016-08-12 Thread Kamil Chmielewski
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 532b965377e77ed884c463ee2751fb51dba3
  
https://github.com/NixOS/nixpkgs/commit/532b965377e77ed884c463ee2751fb51dba3
  Author: Kamil Chmielewski 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  vagrant: cleanup FIX plugin install from #17614 (#17663)


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


[Nix-commits] [NixOS/nixpkgs] 3e6c2a: dico: 2.2 -> 2.3 (#17672)

2016-08-12 Thread Lancelot SIX
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3e6c2a55a7e85b1a5117327924cc3d847610ab1a
  
https://github.com/NixOS/nixpkgs/commit/3e6c2a55a7e85b1a5117327924cc3d847610ab1a
  Author: Lancelot SIX 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/servers/dico/default.nix

  Log Message:
  ---
  dico: 2.2 -> 2.3 (#17672)

See http://lists.gnu.org/archive/html/info-gnu/2016-08/msg5.html for
announcement.


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


[Nix-commits] [NixOS/nixpkgs] e7d60c: pythonPackages.dill: 0.2.4 -> 0.2.5

2016-08-12 Thread Frederik Rietdijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e7d60c66f3c415ae09047ec08291370d93dff8f4
  
https://github.com/NixOS/nixpkgs/commit/e7d60c66f3c415ae09047ec08291370d93dff8f4
  Author: Frederik Rietdijk 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  pythonPackages.dill: 0.2.4 -> 0.2.5


  Commit: 14f3cc170db9681dc3f1f005cba99c95fdb99ceb
  
https://github.com/NixOS/nixpkgs/commit/14f3cc170db9681dc3f1f005cba99c95fdb99ceb
  Author: Frederik Rietdijk 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  pythonPackages.multiprocess: 0.70.4


  Commit: 01dca7e731805af1437bc0612531e8996ee4e975
  
https://github.com/NixOS/nixpkgs/commit/01dca7e731805af1437bc0612531e8996ee4e975
  Author: Frederik Rietdijk 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  pythonPackages.pathos: init at 0.2.0


  Commit: d46a596e05d3e479b3b1edbd7fbee462c6850a65
  
https://github.com/NixOS/nixpkgs/commit/d46a596e05d3e479b3b1edbd7fbee462c6850a65
  Author: Frederik Rietdijk 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  pythonPackages.pox: init at 0.2.2


  Commit: 0bec5faa92655bc761076ec7ed80148f717061e6
  
https://github.com/NixOS/nixpkgs/commit/0bec5faa92655bc761076ec7ed80148f717061e6
  Author: Frederik Rietdijk 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  pythonPackages.ppft: init at 1.6.4.6


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


[Nix-commits] [NixOS/nixpkgs] 0a0b7e: fix documentation typo in lib/strings.nix (#17684)

2016-08-12 Thread Данило Глинський
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0a0b7eb5f255d55c5822d4f52e4d6f491452c793
  
https://github.com/NixOS/nixpkgs/commit/0a0b7eb5f255d55c5822d4f52e4d6f491452c793
  Author: Данило Глинський (Danylo Hlynskyi) 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M lib/strings.nix

  Log Message:
  ---
  fix documentation typo in lib/strings.nix (#17684)


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


Re: [Nix-dev] Why nginx config isn't placed into /etc/nginx/nginx.conf?

2016-08-12 Thread Roger Qiu
Fascinating. Have you heard of CFEngine's "Convergent Fixedpoint" idea? 
https://en.wikipedia.org/wiki/CFEngine#Convergence



On 11/08/2016 7:21 PM, Christian Kauhaus wrote:

Am 10.08.2016 um 00:29 schrieb Arnold Krille:

On Tue, 9 Aug 2016 19:54:10 +0100 Luca Bruno 
wrote:

Except that the existing world and software is not reproducible and
revertable.

[...]
Thanks to Nixos I can set my server back to the system configuration
from four months back. Apart from the user data of course.



Systems management always decomposes into congruent, convergent and divergent
realms. The aim of Nix (as I understand it) is to grow the congruent realm. Of
course, the other realms won't go away.

For those interested, I've written a blog post some months ago which explains
these realms and how they relate to NixOS:

https://blog.flyingcircus.io/2016/05/06/thoughts-on-systems-management-methods/



HTH

Christian



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


--
Founder of Matrix AI
https://matrix.ai/
+61420925975

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


[Nix-commits] [NixOS/nixpkgs] d8e0ce: vtk: 5.10.1 -> 7.0.0

2016-08-12 Thread Damien Cassou
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d8e0ce402ea8238e47e10642ea3ce8b6a47ec058
  
https://github.com/NixOS/nixpkgs/commit/d8e0ce402ea8238e47e10642ea3ce8b6a47ec058
  Author: Damien Cassou 
  Date:   2016-08-02 (Tue, 02 Aug 2016)

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

  Log Message:
  ---
  vtk: 5.10.1 -> 7.0.0


  Commit: acc07df7362db95cefed72b4b73021f5608468a5
  
https://github.com/NixOS/nixpkgs/commit/acc07df7362db95cefed72b4b73021f5608468a5
  Author: Damien Cassou 
  Date:   2016-08-02 (Tue, 02 Aug 2016)

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

  Log Message:
  ---
  pcl: 1.7.2 -> 1.8.0


  Commit: 8e3120bb7e95b03455d9aa0f0ed55e77c027acf6
  
https://github.com/NixOS/nixpkgs/commit/8e3120bb7e95b03455d9aa0f0ed55e77c027acf6
  Author: Damien Cassou 
  Date:   2016-08-02 (Tue, 02 Aug 2016)

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

  Log Message:
  ---
  gdcm: 2.4.6 -> 2.6.4


  Commit: a00a2466b6a6bc3b05e7c830c00b7ec28a0e0064
  
https://github.com/NixOS/nixpkgs/commit/a00a2466b6a6bc3b05e7c830c00b7ec28a0e0064
  Author: Damien Cassou 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M pkgs/development/libraries/gdcm/default.nix
M pkgs/development/libraries/pcl/default.nix
M pkgs/development/libraries/vtk/default.nix

  Log Message:
  ---
  Merge pull request #17246 from DamienCassou/vtk-7.0.0

vtk: 5.10.1 -> 7.0.0


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


[Nix-commits] [NixOS/nixpkgs] 59e139: haskellPackages.hoauth2: fix test dependencies for...

2016-08-12 Thread Daiderd Jordan
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 59e1397f0173c7d5d12a60d2e547c0276f770b40
  
https://github.com/NixOS/nixpkgs/commit/59e1397f0173c7d5d12a60d2e547c0276f770b40
  Author: Daiderd Jordan 
  Date:   2016-08-11 (Thu, 11 Aug 2016)

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

  Log Message:
  ---
  haskellPackages.hoauth2: fix test dependencies for ghc7.10.x


  Commit: 4b20c5367de0385be0fe3b06bd91873f74966931
  
https://github.com/NixOS/nixpkgs/commit/4b20c5367de0385be0fe3b06bd91873f74966931
  Author: Daiderd Jordan 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

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

  Log Message:
  ---
  Merge pull request #17676 from LnL7/haskell-hoauth2

haskellPackages.hoauth2: fix test dependencies for ghc7.10.x


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


Re: [Nix-dev] Building with default.nix

2016-08-12 Thread Roger Qiu
I'd recommend to fix the content address of your nixpkgs in order to make
your default.nix reproducible. Right now you're relying on an environment
variable that determines the revision of nixpkgs.
On 09/08/2016 8:53 PM, "Rodney Lorrimar"  wrote:

> Hello nix-dev,
>
> I was wondering, what is the best way to develop a project outside of
> nixpkgs? My current method is something like this:
>
> # default.nix
> { sampleproject ? { outPath = ./.; name = "sampleproject"; }
> , pkgs ? import  {}
> }:
> with pkgs.python35Packages;
> buildPythonPackage rec {
>   name = "sampleproject-${version}";
>   version = "1.2.0";
>   src = [ sampleproject ];
>   propagatedBuildInputs = [ peppercorn ];
> };
>
> (Full project example here: https://github.com/rvl/sampleproject)
>
> In many ways it works well, but I'm not entirely happy.
>
> The problem is that my entire work tree (and all the accumulated project
> cruft) gets copied into the nix store every time I run nix-build or
> nix-shell. This is slow and also prints the scary "may run out of
> memory" warning.
>
> Is there a function to load only the tracked files from a git work tree?
> Ideally this function would result in same store path if the files are
> the same, so nothing need be rebuilt if no sources changed.
>
>
> Cheers,
>
> Rodney
> ___
> 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] Two declarative ways to install a package?

2016-08-12 Thread Roger Qiu
For example: There are both nginx package and nginx service. The package
part is just the package management aspect of Nix, while the nginx service
is the service management (configuration management) aspect of Nix. However
if you use the service, then as a dependency, package is usually installed.
On 12/08/2016 5:11 AM, "Nick Sabalausky" 
wrote:

> I'm noticing that when installing packages declaratively via
> configuration.nix and nixos-rebuild, some packages are install one way, but
> others are installed another way. For example:
>
> # Some packages are installed via environment.systemPackages
> environment.systemPackages = with pkgs; [
>   wget firefox thunderbird git
> ];
>
> # Others are installed via *.enabled = true;
> services.openssh.enable = true;
> services.printing.enable = true;
> services.xserver.enable = true;
> services.xserver.displayManager.kdm.enable = true;
> services.xserver.desktopManager.kde4.enable = true;
> services.vmwareGuest.enable = true;
>
> What exactly is the difference? Is there any more nuance to it than
> "Services are installed one way, non-services are installed the other way"?
>
> How do I know which way to install a given package? Especially if I'm not
> sure offhand whether a given package involves a service component.
>
> Can all packages be installed wither way? Are all packages ONLY one way or
> the other?
>
> How can I find what packages are available via one method or the other?
> ___
> 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