[Nix-commits] [NixOS/nixpkgs] 463238: ctpp2: use default gcc

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

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

  Log Message:
  ---
  ctpp2: use default gcc


  Commit: 7e81a4294d0a9bd11f44c6fa2d8e1a20f54f979b
  
https://github.com/NixOS/nixpkgs/commit/7e81a4294d0a9bd11f44c6fa2d8e1a20f54f979b
  Author: Robin Gloster 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/misc/emulators/dlx/default.nix

  Log Message:
  ---
  dlx: disable format hardening


  Commit: a748f315db7ef195ae29d868009791fbeef7458b
  
https://github.com/NixOS/nixpkgs/commit/a748f315db7ef195ae29d868009791fbeef7458b
  Author: Robin Gloster 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/misc/emulators/fakenes/default.nix

  Log Message:
  ---
  fakenes: disable format hardening


  Commit: a2ce15318bc8087903060a03b53639b8537d21d2
  
https://github.com/NixOS/nixpkgs/commit/a2ce15318bc8087903060a03b53639b8537d21d2
  Author: Robin Gloster 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  fondu: disable fortify hardening


  Commit: 56e69fcc0ee9412e80f8ce83a08ad5a8897d5fc4
  
https://github.com/NixOS/nixpkgs/commit/56e69fcc0ee9412e80f8ce83a08ad5a8897d5fc4
  Author: Robin Gloster 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  iptraf: disable fortify hardening


  Commit: e2844fcfc3d0c984a9356fb4cf82ebab8002841e
  
https://github.com/NixOS/nixpkgs/commit/e2844fcfc3d0c984a9356fb4cf82ebab8002841e
  Author: Robin Gloster 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  fontmatrix: disable fortify hardening


  Commit: 3bff87331422d8a9cbad920b91e60c2681b4dc8b
  
https://github.com/NixOS/nixpkgs/commit/3bff87331422d8a9cbad920b91e60c2681b4dc8b
  Author: Robin Gloster 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  libgksu: disable fortify hardening


  Commit: 78fc5dde2888279475bb5ccdfd2e9a065a870036
  
https://github.com/NixOS/nixpkgs/commit/78fc5dde2888279475bb5ccdfd2e9a065a870036
  Author: Robin Gloster 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  mmv: disable fortify hardening


  Commit: dd7e09114f155e4e142792e80a4195901c398251
  
https://github.com/NixOS/nixpkgs/commit/dd7e09114f155e4e142792e80a4195901c398251
  Author: Robin Gloster 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  bip: set -Wno-error=unused-result, remove --disable-pie


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


[Nix-commits] [NixOS/nixpkgs] 37aff9: ripser: init at 1.0 (#17481)

2016-08-04 Thread Erik Rybakken
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 37aff96daf96ff84af9ab3a5a1b4a7f6f0144933
  
https://github.com/NixOS/nixpkgs/commit/37aff96daf96ff84af9ab3a5a1b4a7f6f0144933
  Author: Erik Rybakken 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
A pkgs/applications/science/math/ripser/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  ripser: init at 1.0 (#17481)


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


[Nix-dev] duplicate packages?

2016-08-04 Thread Roland Koebler
Hi,

I have Nix running on Debian with the default channel [*], and I noticed,
that -- although I only have a few packages installed -- many dependencies
are installed several times. I would like to understand, why.

[*] https://nixos.org/channels/nixpkgs-unstable nixpkgs


1. Many packages are installed several times with the same version
   number, e.g.:

   2pa9z1h2m0pyik4hr1ikfl6jvdg8j4pb-acl-2.2.52
   8c5s33f5mzfn9z3yhjprxnxzl19dg7p2-acl-2.2.52
   sk0b1r840b686zc2m8mzyw8yyq1aymqh-acl-2.2.52

   4vgjwvgf24jl3czzksai6mwsklvhgs4k-attr-2.4.47
   8z667vv1agvpd3iknmk94j0ix6bv413i-attr-2.4.47
   m8qi9jrz51lqn7x0mifa9kpwpsp3b7dq-attr-2.4.47

   fxkm8r0vpv88ld82jz0a00sjvh342wfl-avahi-0.6.31
   p817p19niamk0f06r5wvqvdqnym96r7w-avahi-0.6.31
   5wi7ja71s4wdjkzfghc4lkwrwc45fnf9-avahi-0.6.32

   d20f169ryps7ds2qak0r5n1f4hhxr80h-bash-4.3-p42
   d44582rghk696yw704sh5nbvbpnm69iv-bash-4.3-p42
   xag5ayq906w9zhlxs8wayv4kvpiyqphq-bash-4.3-p42

   0y480sh5b4hny3iq8fy3ppha0zllxxaw-boehm-gc-7.2f
   bw1p8rairfwv2yif2g1cc0yg8hv25mnl-boehm-gc-7.2f
   f24zx1r39kalz01q9kw7zcg1ngj7w2db-boehm-gc-7.2f

   98s2znxww6x7h2ch7cj1w5givahxmdna-glibc-2.23
   phffgv3pwihmpdyk8xsz3wv8ydysch8w-glibc-2.23

   ...

   I know that different build-inputs result in different hashes, but I
   would have expected a more homogeneous structure in nixpkgs (e.g.
   only one acl-2.2.52 in nixpkgs and not several ones), so that
   I don't need e.g. 3 times acl-2.2.52 or bash-4.3-p42.

   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?

2. Is there a way to clean this up?
   Either in the repository or locally?
   Or is there a reason why this should not be cleaned up?

3. Is there a simple way to find the nix-expression (e.g.
   default.nix-file) of an installed package / a path in
   the nix-store?
   And is there a way to know which directory in the nix-store
   belongs to which .drv-file?


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


[Nix-commits] [NixOS/nixpkgs] 25e68f: Update spotify

2016-08-04 Thread Rob Vermaas
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 25e68f79e6f30823ac413289b80754a95917b421
  
https://github.com/NixOS/nixpkgs/commit/25e68f79e6f30823ac413289b80754a95917b421
  Author: Rob Vermaas 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  Update spotify


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


[Nix-commits] [NixOS/nixpkgs] ea9d39: Update spotify

2016-08-04 Thread Rob Vermaas
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ea9d390c1af028dcb8dfc630095ae7caafeba135
  
https://github.com/NixOS/nixpkgs/commit/ea9d390c1af028dcb8dfc630095ae7caafeba135
  Author: Rob Vermaas 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  Update spotify

(cherry picked from commit 25e68f79e6f30823ac413289b80754a95917b421)


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


[Nix-commits] [NixOS/nixpkgs] 05dbba: vlan: disable format hardening

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

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

  Log Message:
  ---
  vlan: disable format hardening


  Commit: 1f06067b0102f5d194f2a0f0b6554536e7a28d2c
  
https://github.com/NixOS/nixpkgs/commit/1f06067b0102f5d194f2a0f0b6554536e7a28d2c
  Author: Franz Pletz 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  x2x: disable format hardening


  Commit: b898fdaceb7288cc74f5166d2ee84a9723b64a17
  
https://github.com/NixOS/nixpkgs/commit/b898fdaceb7288cc74f5166d2ee84a9723b64a17
  Author: Franz Pletz 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/tools/typesetting/xmlroff/default.nix

  Log Message:
  ---
  xmlroff: disable format hardening


  Commit: f993dff52b22e5ddc7c5d1aeeb0b29f5f469044a
  
https://github.com/NixOS/nixpkgs/commit/f993dff52b22e5ddc7c5d1aeeb0b29f5f469044a
  Author: Franz Pletz 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/games/trackballs/default.nix

  Log Message:
  ---
  trackballs: disable format hardening


  Commit: 56f03166e1d4ee027b9f313c53c5e86d16c2d357
  
https://github.com/NixOS/nixpkgs/commit/56f03166e1d4ee027b9f313c53c5e86d16c2d357
  Author: Franz Pletz 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/tools/filesystems/reiser4progs/default.nix

  Log Message:
  ---
  reiser4progs: disable format hardening


  Commit: 8b7dc1a3d6facdbfd264288aa7ba675aefc81c49
  
https://github.com/NixOS/nixpkgs/commit/8b7dc1a3d6facdbfd264288aa7ba675aefc81c49
  Author: Franz Pletz 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  ploticus: disable format hardening


  Commit: 0c7f045a7a265cc7a6f6ff2c298d22b522c71bd3
  
https://github.com/NixOS/nixpkgs/commit/0c7f045a7a265cc7a6f6ff2c298d22b522c71bd3
  Author: Franz Pletz 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/tools/typesetting/tex/tex4ht/default.nix

  Log Message:
  ---
  tex4ht: disable format hardening


  Commit: 1f1637f6a04c9a899f88a6e0e526ddfcf9f49bd1
  
https://github.com/NixOS/nixpkgs/commit/1f1637f6a04c9a899f88a6e0e526ddfcf9f49bd1
  Author: Franz Pletz 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  lprof: disable format hardening


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


[Nix-commits] [NixOS/nix] c8608c: Dockerfile: Add alpine dependencies (#1011)

2016-08-04 Thread Aneesh Agrawal
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: c8608c488c10789d381b784cf69bb81e2e2b088d
  
https://github.com/NixOS/nix/commit/c8608c488c10789d381b784cf69bb81e2e2b088d
  Author: Aneesh Agrawal 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M misc/docker/Dockerfile

  Log Message:
  ---
  Dockerfile: Add alpine dependencies (#1011)

* Dockerfile: add GNU tar native dependency

`builtins.fetchTarball` requires GNU tar to be available in the $PATH in
order to unpack the fetched tarball (there is a FIXME comment for this),
which Alpine does not ship by default (it ships BusyBox tar).

* Dockerfile: add GNU bash native dependency

`nix-shell` defaults to invoking `bash` from the $PATH for the subshell.
In theory this can be overriden with the NIX_BUILD_SHELL environment
variable, but this does not work properly. `nix-shell` generates and
passes a script (`$rcFile`) to be executed by the subshell which uses
bashisms (`source` and `shopt`). Additionally, in interactive mode,
`nix-shell` passes the `--rcfile` argument to the shell, which is
another bashism.

Because `bash` is thus de-facto required, add `bash` as a native package
dependency to make it available for `nix-shell`.


___
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-04 Thread Daniel Hlynskyi
Have you run sudo nix-collect-garbage -d ? Even If yes, you still have to
check all gc roots to belong to system, and not to side nix-builds

4 серп. 2016 11:58 дп "Roland Koebler"  пише:

> Hi,
>
> I have Nix running on Debian with the default channel [*], and I noticed,
> that -- although I only have a few packages installed -- many dependencies
> are installed several times. I would like to understand, why.
>
> [*] https://nixos.org/channels/nixpkgs-unstable nixpkgs
>
>
> 1. Many packages are installed several times with the same version
>number, e.g.:
>
>2pa9z1h2m0pyik4hr1ikfl6jvdg8j4pb-acl-2.2.52
>8c5s33f5mzfn9z3yhjprxnxzl19dg7p2-acl-2.2.52
>sk0b1r840b686zc2m8mzyw8yyq1aymqh-acl-2.2.52
>
>4vgjwvgf24jl3czzksai6mwsklvhgs4k-attr-2.4.47
>8z667vv1agvpd3iknmk94j0ix6bv413i-attr-2.4.47
>m8qi9jrz51lqn7x0mifa9kpwpsp3b7dq-attr-2.4.47
>
>fxkm8r0vpv88ld82jz0a00sjvh342wfl-avahi-0.6.31
>p817p19niamk0f06r5wvqvdqnym96r7w-avahi-0.6.31
>5wi7ja71s4wdjkzfghc4lkwrwc45fnf9-avahi-0.6.32
>
>d20f169ryps7ds2qak0r5n1f4hhxr80h-bash-4.3-p42
>d44582rghk696yw704sh5nbvbpnm69iv-bash-4.3-p42
>xag5ayq906w9zhlxs8wayv4kvpiyqphq-bash-4.3-p42
>
>0y480sh5b4hny3iq8fy3ppha0zllxxaw-boehm-gc-7.2f
>bw1p8rairfwv2yif2g1cc0yg8hv25mnl-boehm-gc-7.2f
>f24zx1r39kalz01q9kw7zcg1ngj7w2db-boehm-gc-7.2f
>
>98s2znxww6x7h2ch7cj1w5givahxmdna-glibc-2.23
>phffgv3pwihmpdyk8xsz3wv8ydysch8w-glibc-2.23
>
>...
>
>I know that different build-inputs result in different hashes, but I
>would have expected a more homogeneous structure in nixpkgs (e.g.
>only one acl-2.2.52 in nixpkgs and not several ones), so that
>I don't need e.g. 3 times acl-2.2.52 or bash-4.3-p42.
>
>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?
>
> 2. Is there a way to clean this up?
>Either in the repository or locally?
>Or is there a reason why this should not be cleaned up?
>
> 3. Is there a simple way to find the nix-expression (e.g.
>default.nix-file) of an installed package / a path in
>the nix-store?
>And is there a way to know which directory in the nix-store
>belongs to which .drv-file?
>
>
> thanks,
> Roland
> ___
> 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] duplicate packages?

2016-08-04 Thread Damien Cassou
Hi,

Roland Koebler  writes:
>I know that different build-inputs result in different hashes, but
>I would have expected a more homogeneous structure in nixpkgs (e.g.
>only one acl-2.2.52 in nixpkgs and not several ones), so that I
>don't need e.g. 3 times acl-2.2.52 or bash-4.3-p42.
>
>Is this because I use nixpkgs-unstable, and everything is moving
>there

I think so. Each time a dependency of acl changes, you get a new acl.
And packages change a lot in nixpkgs-unstable.

> and is this reduced in the NixOS-release-channels?

I guess so

> 2. Is there a way to clean this up?


you can run garbage collection for everything you don't need anymore.
Here are 2 bash functions I use:

function nixos-cleanup-unsafe () {
sudo nix-collect-garbage --delete-older-than "$@"
nixos-cleanup-safe
}

function nixos-cleanup-safe () {
df -h /
nix-collect-garbage
df -h /
sudo nix-store --optimise
df -h /


To remove everything you don't need at all and reclaim hard disk space:
$ nixos-cleanup-safe

To remove everything older than 2 days you don't need anymore (you won't
be able to go back in time):
$ nixos-cleanup-unsafe 2d

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] duplicate packages?

2016-08-04 Thread Daniel Hlynskyi
Ah, you are not on NixOS, so collect garbage without sudo

4 серп. 2016 2:35 пп "Daniel Hlynskyi"  пише:

> Have you run sudo nix-collect-garbage -d ? Even If yes, you still have to
> check all gc roots to belong to system, and not to side nix-builds
>
> 4 серп. 2016 11:58 дп "Roland Koebler" 
> пише:
>
>> Hi,
>>
>> I have Nix running on Debian with the default channel [*], and I noticed,
>> that -- although I only have a few packages installed -- many dependencies
>> are installed several times. I would like to understand, why.
>>
>> [*] https://nixos.org/channels/nixpkgs-unstable nixpkgs
>>
>>
>> 1. Many packages are installed several times with the same version
>>number, e.g.:
>>
>>2pa9z1h2m0pyik4hr1ikfl6jvdg8j4pb-acl-2.2.52
>>8c5s33f5mzfn9z3yhjprxnxzl19dg7p2-acl-2.2.52
>>sk0b1r840b686zc2m8mzyw8yyq1aymqh-acl-2.2.52
>>
>>4vgjwvgf24jl3czzksai6mwsklvhgs4k-attr-2.4.47
>>8z667vv1agvpd3iknmk94j0ix6bv413i-attr-2.4.47
>>m8qi9jrz51lqn7x0mifa9kpwpsp3b7dq-attr-2.4.47
>>
>>fxkm8r0vpv88ld82jz0a00sjvh342wfl-avahi-0.6.31
>>p817p19niamk0f06r5wvqvdqnym96r7w-avahi-0.6.31
>>5wi7ja71s4wdjkzfghc4lkwrwc45fnf9-avahi-0.6.32
>>
>>d20f169ryps7ds2qak0r5n1f4hhxr80h-bash-4.3-p42
>>d44582rghk696yw704sh5nbvbpnm69iv-bash-4.3-p42
>>xag5ayq906w9zhlxs8wayv4kvpiyqphq-bash-4.3-p42
>>
>>0y480sh5b4hny3iq8fy3ppha0zllxxaw-boehm-gc-7.2f
>>bw1p8rairfwv2yif2g1cc0yg8hv25mnl-boehm-gc-7.2f
>>f24zx1r39kalz01q9kw7zcg1ngj7w2db-boehm-gc-7.2f
>>
>>98s2znxww6x7h2ch7cj1w5givahxmdna-glibc-2.23
>>phffgv3pwihmpdyk8xsz3wv8ydysch8w-glibc-2.23
>>
>>...
>>
>>I know that different build-inputs result in different hashes, but I
>>would have expected a more homogeneous structure in nixpkgs (e.g.
>>only one acl-2.2.52 in nixpkgs and not several ones), so that
>>I don't need e.g. 3 times acl-2.2.52 or bash-4.3-p42.
>>
>>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?
>>
>> 2. Is there a way to clean this up?
>>Either in the repository or locally?
>>Or is there a reason why this should not be cleaned up?
>>
>> 3. Is there a simple way to find the nix-expression (e.g.
>>default.nix-file) of an installed package / a path in
>>the nix-store?
>>And is there a way to know which directory in the nix-store
>>belongs to which .drv-file?
>>
>>
>> thanks,
>> Roland
>> ___
>> 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] multiple versions of the same software? / collisions

2016-08-04 Thread Daniel Hlynskyi
I can be mistaken, but nix-env dash-splits name to get name without
version, and uses it to upgrade or sideinstall into environment. This works
bad for python, because python34 and python35 are separate expressions,
treated as one in nix-env.

You can override the name of package in .nixpkgs/config.nix for a
workaround, but i guess you want nix-shell in this case.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] duplicate packages?

2016-08-04 Thread Guillaume Maudoux (Layus)


Le 04/08/16 à 10:57, Roland Koebler a écrit :
> Hi,
>
> I have Nix running on Debian with the default channel [*], and I noticed,
> that -- although I only have a few packages installed -- many dependencies
> are installed several times. I would like to understand, why.
>
> [*] https://nixos.org/channels/nixpkgs-unstable nixpkgs
First of all, there may be old derivations in the store.
You should look for duplicates in the output of
nix-store -qR ~/.nix-profile, not in the store directly.

Because there can exist many generation of you profile in the store.
>
>
> 1. Many packages are installed several times with the same version
>number, e.g.:
>
>2pa9z1h2m0pyik4hr1ikfl6jvdg8j4pb-acl-2.2.52
>8c5s33f5mzfn9z3yhjprxnxzl19dg7p2-acl-2.2.52
>sk0b1r840b686zc2m8mzyw8yyq1aymqh-acl-2.2.52
>
>4vgjwvgf24jl3czzksai6mwsklvhgs4k-attr-2.4.47
>8z667vv1agvpd3iknmk94j0ix6bv413i-attr-2.4.47
>m8qi9jrz51lqn7x0mifa9kpwpsp3b7dq-attr-2.4.47
>
>fxkm8r0vpv88ld82jz0a00sjvh342wfl-avahi-0.6.31
>p817p19niamk0f06r5wvqvdqnym96r7w-avahi-0.6.31
>5wi7ja71s4wdjkzfghc4lkwrwc45fnf9-avahi-0.6.32
>
>d20f169ryps7ds2qak0r5n1f4hhxr80h-bash-4.3-p42
>d44582rghk696yw704sh5nbvbpnm69iv-bash-4.3-p42
>xag5ayq906w9zhlxs8wayv4kvpiyqphq-bash-4.3-p42
>
>0y480sh5b4hny3iq8fy3ppha0zllxxaw-boehm-gc-7.2f
>bw1p8rairfwv2yif2g1cc0yg8hv25mnl-boehm-gc-7.2f
>f24zx1r39kalz01q9kw7zcg1ngj7w2db-boehm-gc-7.2f
>
>98s2znxww6x7h2ch7cj1w5givahxmdna-glibc-2.23
>phffgv3pwihmpdyk8xsz3wv8ydysch8w-glibc-2.23
>
>...
>
>I know that different build-inputs result in different hashes, but I
>would have expected a more homogeneous structure in nixpkgs (e.g.
>only one acl-2.2.52 in nixpkgs and not several ones), so that
>I don't need e.g. 3 times acl-2.2.52 or bash-4.3-p42.
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."

>From a tree with

+--- package a v1
|`--- 2pa9z1h2m0pyik4hr1ikfl6jvdg8j4pb-acl-2.2.52
`--- package b v1
 `--- 2pa9z1h2m0pyik4hr1ikfl6jvdg8j4pb-acl-2.2.52

Running nix-env -u may update package a and not package b.
As the new package a is built in the new nixpkgs, it comes with a new
acl (same version, but different as probably one dependency changed).

You get two different acl in your system.

+--- package a *v2*
|`--- *8c5s33f5mzfn9z3yhjprxnxzl19dg7p2*-acl-2.2.52
`+--- package b v1
 `--- 2pa9z1h2m0pyik4hr1ikfl6jvdg8j4pb-acl-2.2.52

To avoid this, you can upgrade packages with other flags like --eq.
Look an nix-env --upgrade manual section :

   --lt
   Only upgrade a derivation to newer versions. This is the default.

   --leq
   In addition to upgrading to newer versions, also “upgrade” to
derivations that have the same version. Version are not a unique
   identification of a derivation, so there may be many
derivations that have the same version. This flag may be useful to force
   “synchronisation” between the installed and available
derivations.

   --eq
   Only “upgrade” to derivations that have the same version.
This may not seem very useful, but it actually is, e.g., when there is a new
   release of Nixpkgs and you want to replace installed
applications with the same versions built against newer dependencies (to
reduce
   the number of dependencies floating around on your system).

   --always
   In addition to upgrading to newer versions, also “upgrade” to
derivations that have the same or a lower version. I.e., derivations may
   actually be downgraded depending on what is available in the
active Nix expression.

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

>
> 2. Is there a way to clean this up?
>Either in the repository or locally?
>Or is there a reason why this should not be cleaned up?
See above flags.
>
> 3. Is there a simple way to find the nix-expression (e.g.
>default.nix-file) of an installed package / a path in
>the nix-store?
>And is there a way to know which directory in the nix-store
>belongs to which .drv-file?
Not that I know of. There was a discussion at NixCon about that, but no
implementation yet.
Your best bet is to `grep` for the name in nixpkgs tree.

To find the .drv of a derivation, provided it has not yet been
garbage-collected, you can call `nix-store --query --deriver
/nix/store/derivation`
>
>
> thanks,
> Roland
> ___
> 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.n

Re: [Nix-dev] duplicate packages?

2016-08-04 Thread Roland Koebler
Hi,

> Have you run sudo nix-collect-garbage -d ? Even If yes, you still have to
> check all gc roots to belong to system, and not to side nix-builds
yes.
I'm using Nix in single-user-mode on Debian, with only 1 profile and
only 1 generation (after nix-collect-garbage -d).

thanks,
Roland

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


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

2016-08-04 Thread Guillaume Maudoux (Layus)
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
> uninstalling ‘python3-3.4.5’
> uninstalling ‘python3-3.4.5’
> uninstalling ‘python3-3.4.5’
> uninstalling ‘python3-3.4.5’
> $ nix-env -P -i python3-3.4.5
> installing ‘python3-3.4.5’
>
> But it still looks strange.
> Is this intentional?
>
> Roland
>
> ___
> 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] multiple versions of the same software? / collisions

2016-08-04 Thread Roger Qiu
That's a problem though, there shouldn't be much of a problem of having 
both versions of the package available in a single environment, as long 
as the second package is namespaced appropriately, in this case it's 
just a shell alias. This should be possible with Nix. There are 
situations where it makes sense to have multiple versions if say you're 
doing some CI work involving different versions of  a runtime.



On 4/08/2016 10:07 PM, Guillaume Maudoux (Layus) 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
 uninstalling ‘python3-3.4.5’
 uninstalling ‘python3-3.4.5’
 uninstalling ‘python3-3.4.5’
 uninstalling ‘python3-3.4.5’
 $ nix-env -P -i python3-3.4.5
 installing ‘python3-3.4.5’

But it still looks strange.
Is this intentional?

Roland

___
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


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


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

2016-08-04 Thread Rok Garbas
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)
 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
>> uninstalling ‘python3-3.4.5’
>> uninstalling ‘python3-3.4.5’
>> uninstalling ‘python3-3.4.5’
>> uninstalling ‘python3-3.4.5’
>> $ nix-env -P -i python3-3.4.5
>> installing ‘python3-3.4.5’
>>
>> But it still looks strange.
>> Is this intentional?
>>
>> Roland
>>
>> ___
>> 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] Nix GUI? / make Nix more beginner-friendly

2016-08-04 Thread Roland Koebler
Hi,

I really like the concept of Nix, but I think the commandline-tools
are not very beginner-friendly and not very intuitive for non-Nix-users.

Most distributions offer a GUI for package management, but I haven't
found one for Nix, although nox looks like a step in the right direction.
But the simplest way to search for a package is still
https://nixos.org/nixos/packages.html

So, I'm thinking of writing a GUI for Nix for managing packages in
Python3 + GTK+3. But to prevent duplicate work: Is there already
such a GUI, or is someone already working on it?


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


[Nix-commits] [NixOS/nixpkgs] 8f52a0: hackage-packages.nix: update Haskell package set

2016-08-04 Thread Peter Simons
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8f52a0f926cd8c3f8f6e24173b6c66eae5bcb5dc
  
https://github.com/NixOS/nixpkgs/commit/8f52a0f926cd8c3f8f6e24173b6c66eae5bcb5dc
  Author: Peter Simons 
  Date:   2016-08-04 (Thu, 04 Aug 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-22-ga83e456 using the following 
inputs:

  - Hackage: 
https://github.com/commercialhaskell/all-cabal-hashes/commit/07ee4666b6ade40264c74c2faf28a3f72a8ac1a0
  - LTS Haskell: 
https://github.com/fpco/lts-haskell/commit/dfe21a3b8dec6f607d5e58a4877b47931a018f58
  - Stackage Nightly: 
https://github.com/fpco/stackage-nightly/commit/7c2bfd83dbda8289e98087cda10a5e27efb8e979


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


[Nix-commits] [NixOS/nixpkgs] ea7e70: varnish: fix localstatedir for varnish* tools (#17...

2016-08-04 Thread Christian Kauhaus
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ea7e705cd905e01bc65f2a7ccc6e700bd1bcd4e0
  
https://github.com/NixOS/nixpkgs/commit/ea7e705cd905e01bc65f2a7ccc6e700bd1bcd4e0
  Author: Christian Kauhaus 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  varnish: fix localstatedir for varnish* tools (#17508)

The varnish tools (varnishstat, varnishlog, ...) tried to load the VSM
file from a spurious var directory in the Nix store. Fix the default so
the tools "just work" when also keeping services.varnish.stateDir at the
default.

Notes:
- The tools use $localstatedir/$HOSTNAME so I've adapted the default for
  stateDir as well to contain hostName.
- Added postStop action to remove the localstatedir. There is no point
  in keeping it around when varnish does not run, as it regenerates it
  on startup anyway.

Fixes #7495


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


Re: [Nix-dev] Nix GUI? / make Nix more beginner-friendly

2016-08-04 Thread Tomasz Czyż
Roland,

check: nix-env -iA nixos.nixui

2016-08-04 14:21 GMT+01:00 Roland Koebler :

> Hi,
>
> I really like the concept of Nix, but I think the commandline-tools
> are not very beginner-friendly and not very intuitive for non-Nix-users.
>
> Most distributions offer a GUI for package management, but I haven't
> found one for Nix, although nox looks like a step in the right direction.
> But the simplest way to search for a package is still
> https://nixos.org/nixos/packages.html
>
> So, I'm thinking of writing a GUI for Nix for managing packages in
> Python3 + GTK+3. But to prevent duplicate work: Is there already
> such a GUI, or is someone already working on it?
>
>
> regards,
> Roland
> ___
> 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


[Nix-commits] [NixOS/nixpkgs] 1e534e: fix nixos-version --hash when building from git

2016-08-04 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1e534e234b0a92bf06361fa41b7ac8691fdbc769
  
https://github.com/NixOS/nixpkgs/commit/1e534e234b0a92bf06361fa41b7ac8691fdbc769
  Author: Benno Fünfstück 
  Date:   2016-07-23 (Sat, 23 Jul 2016)

  Changed paths:
A nixos/modules/installer/tools/get-git-revision
R nixos/modules/installer/tools/get-version-suffix
M nixos/modules/installer/tools/nixos-rebuild.sh

  Log Message:
  ---
  fix nixos-version --hash when building from git


  Commit: 3f3d18c0174786baff0d9e378b2f014c4663ef27
  
https://github.com/NixOS/nixpkgs/commit/3f3d18c0174786baff0d9e378b2f014c4663ef27
  Author: Benno Fünfstück 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
A nixos/modules/installer/tools/get-git-revision
R nixos/modules/installer/tools/get-version-suffix
M nixos/modules/installer/tools/nixos-rebuild.sh

  Log Message:
  ---
  Merge pull request #17218 from bennofs/fix-nixos-version

fix nixos-version --hash when building from git


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


[Nix-commits] [NixOS/nixpkgs] fe8f0d: nixos-container: fix allow alternative nixos paths

2016-08-04 Thread Joachim F
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: fe8f0dbd53fb2497a44be21a177188d5c52e36e7
  
https://github.com/NixOS/nixpkgs/commit/fe8f0dbd53fb2497a44be21a177188d5c52e36e7
  Author: Eric Merritt 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/tools/virtualization/nixos-container/nixos-container.pl

  Log Message:
  ---
  nixos-container: fix allow alternative nixos paths

This should be completely backwards compatible. It allows the '-f' part
of the nix-env command to be configured. This greatly eases using
nixos-container as part of development where several nixpkgs
repositories might be tested at the same time.


  Commit: a2feaf6d79ad286925f51c08772f2d6f4d3db71b
  
https://github.com/NixOS/nixpkgs/commit/a2feaf6d79ad286925f51c08772f2d6f4d3db71b
  Author: Eric Merritt 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/tools/virtualization/nixos-container/nixos-container.pl

  Log Message:
  ---
  nixos-container: feature add 'config-file' option

This adds a config file option to nixos-container.pl that makes it quite
a bit easier to use.


  Commit: 5754eec8f6bd557824744d3311f842fbbc51dbe4
  
https://github.com/NixOS/nixpkgs/commit/5754eec8f6bd557824744d3311f842fbbc51dbe4
  Author: Joachim F 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/tools/virtualization/nixos-container/nixos-container.pl

  Log Message:
  ---
  Merge pull request #15967 from ericbmerritt/fix/nixos-container

nixos-container: fix allow alternative nixos paths


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


[Nix-commits] [NixOS/nixpkgs] 1d1b87: flat-plat: made the theme discoverable

2016-08-04 Thread Joachim F
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1d1b875a9dc7b3912a8b05e22728eb384cd8ddd8
  
https://github.com/NixOS/nixpkgs/commit/1d1b875a9dc7b3912a8b05e22728eb384cd8ddd8
  Author: Mounium 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/misc/themes/flat-plat/default.nix

  Log Message:
  ---
  flat-plat: made the theme discoverable


  Commit: 6664471d51be577d6c2dba01628324e2f4b97f4b
  
https://github.com/NixOS/nixpkgs/commit/6664471d51be577d6c2dba01628324e2f4b97f4b
  Author: Joachim F 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/misc/themes/flat-plat/default.nix

  Log Message:
  ---
  Merge pull request #17505 from Mounium/patch-1

flat-plat: Made the theme actually discoverable


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


[Nix-commits] [NixOS/nixpkgs] 1f7871: mate-themes: 3.20.8 -> 3.20.10

2016-08-04 Thread Joachim F
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1f7871fa937a48b3c906602df1fcae2368ffa945
  
https://github.com/NixOS/nixpkgs/commit/1f7871fa937a48b3c906602df1fcae2368ffa945
  Author: José Romildo Malaquias 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/desktops/mate/mate-themes/default.nix

  Log Message:
  ---
  mate-themes: 3.20.8 -> 3.20.10


  Commit: 18333473bdb3c3393e61ddcd17cc003905b6512f
  
https://github.com/NixOS/nixpkgs/commit/18333473bdb3c3393e61ddcd17cc003905b6512f
  Author: Joachim F 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/desktops/mate/mate-themes/default.nix

  Log Message:
  ---
  Merge pull request #17507 from romildo/upd.mate

mate-themes: 3.20.8 -> 3.20.10


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


[Nix-commits] [NixOS/nixpkgs] 20e4e2: tint2: 0.12.11 -> 0.12.12

2016-08-04 Thread Joachim F
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 20e4e2f9eb46bd13f0da34f8a680d30e1266217d
  
https://github.com/NixOS/nixpkgs/commit/20e4e2f9eb46bd13f0da34f8a680d30e1266217d
  Author: José Romildo Malaquias 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  tint2: 0.12.11 -> 0.12.12


  Commit: 4eef7a4ecf28859c93b647d032e5ee5fe0731256
  
https://github.com/NixOS/nixpkgs/commit/4eef7a4ecf28859c93b647d032e5ee5fe0731256
  Author: Joachim F 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  Merge pull request #17506 from romildo/upd.tint2

tint2: 0.12.11 -> 0.12.12


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


[Nix-commits] [NixOS/nixpkgs] 037d9c: nixos-install: add options --closure, --no-channel...

2016-08-04 Thread obadz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 037d9c6cab17a5dc28ed01c6b96c74e55cee57bc
  
https://github.com/NixOS/nixpkgs/commit/037d9c6cab17a5dc28ed01c6b96c74e55cee57bc
  Author: obadz 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M nixos/doc/manual/man-nixos-install.xml
M nixos/modules/installer/tools/nixos-install.sh

  Log Message:
  ---
  nixos-install: add options --closure, --no-channel-copy, --no-root-passwd, 
and --no-bootloader

Closes #17236

nix-build -A tests.installer.simple '' succeeds ✓


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


[Nix-commits] [NixOS/nixpkgs] 2627b0: haskell-applicative-quoters: fix build with GHC 8....

2016-08-04 Thread Peter Simons
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 2627b09b827388538885fe402c60f19062901a91
  
https://github.com/NixOS/nixpkgs/commit/2627b09b827388538885fe402c60f19062901a91
  Author: Peter Simons 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  haskell-applicative-quoters: fix build with GHC 8.x


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


[Nix-commits] [NixOS/nixpkgs] 4ee36f: kde5.plasma: 5.7.2 -> 5.7.3

2016-08-04 Thread Thomas Tuegel
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4ee36f3112119b3a1fb63b52ca07c5ce99ca3f90
  
https://github.com/NixOS/nixpkgs/commit/4ee36f3112119b3a1fb63b52ca07c5ce99ca3f90
  Author: Thomas Tuegel 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M maintainers/scripts/generate-kde-plasma.sh
M pkgs/desktops/kde-5/plasma/srcs.nix

  Log Message:
  ---
  kde5.plasma: 5.7.2 -> 5.7.3


  Commit: 44f3ad9ebb8d237ef14126e7eac81697cc87d954
  
https://github.com/NixOS/nixpkgs/commit/44f3ad9ebb8d237ef14126e7eac81697cc87d954
  Author: Thomas Tuegel 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/desktops/kde-5/plasma/kinfocenter.nix

  Log Message:
  ---
  kde5.kinfocenter: display Wayland and OpenGL info


  Commit: 81179317523a50b924ee1aed77e4ad189336b2e2
  
https://github.com/NixOS/nixpkgs/commit/81179317523a50b924ee1aed77e4ad189336b2e2
  Author: Thomas Tuegel 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/desktops/kde-5/plasma/kscreenlocker.nix

  Log Message:
  ---
  kde5.kscreenlocker: reformat


  Commit: 29c3fea7b0c05cdc12d845799c4dae203471c7f4
  
https://github.com/NixOS/nixpkgs/commit/29c3fea7b0c05cdc12d845799c4dae203471c7f4
  Author: Thomas Tuegel 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/desktops/kde-5/plasma/breeze-qt5.nix

  Log Message:
  ---
  kde5.breeze-qt5: add kwayland input


  Commit: 0184f0e47cf765bb1990ed98f5d9044f1089c1a0
  
https://github.com/NixOS/nixpkgs/commit/0184f0e47cf765bb1990ed98f5d9044f1089c1a0
  Author: Thomas Tuegel 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
R pkgs/desktops/kde-5/plasma/kwin/0001-qdiriterator-follow-symlinks.patch
M pkgs/desktops/kde-5/plasma/kwin/default.nix
A pkgs/desktops/kde-5/plasma/kwin/follow-symlinks.patch
A pkgs/desktops/kde-5/plasma/kwin/series
A pkgs/desktops/kde-5/plasma/kwin/xwayland.patch

  Log Message:
  ---
  kwin: add xwayland input


  Commit: bed8eb86c611207c877d9ed7e42788e502da81d2
  
https://github.com/NixOS/nixpkgs/commit/bed8eb86c611207c877d9ed7e42788e502da81d2
  Author: Thomas Tuegel 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
A pkgs/desktops/kde-5/plasma/breeze-plymouth/default.nix
A pkgs/desktops/kde-5/plasma/breeze-plymouth/install-paths.patch
A pkgs/desktops/kde-5/plasma/breeze-plymouth/series
M pkgs/desktops/kde-5/plasma/default.nix

  Log Message:
  ---
  kde5.breeze-plymouth: init at 5.7.3


  Commit: c291485b7485db0882bdfbf2cdcb3118102b28c3
  
https://github.com/NixOS/nixpkgs/commit/c291485b7485db0882bdfbf2cdcb3118102b28c3
  Author: Thomas Tuegel 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
A pkgs/desktops/kde-5/plasma/breeze-grub.nix
M pkgs/desktops/kde-5/plasma/default.nix

  Log Message:
  ---
  kde5.breeze-grub: init at 5.7.3


  Commit: 5b008e30b44923e8eff5dbe470b000de58f07021
  
https://github.com/NixOS/nixpkgs/commit/5b008e30b44923e8eff5dbe470b000de58f07021
  Author: Thomas Tuegel 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/development/libraries/kde-frameworks/kde-env.nix
M pkgs/development/libraries/kde-frameworks/kde-wrapper.nix

  Log Message:
  ---
  kdeWrapper: avoid excessive file collisions


  Commit: aded8e40c1f10b69616f2567eb4b2682bb7948b2
  
https://github.com/NixOS/nixpkgs/commit/aded8e40c1f10b69616f2567eb4b2682bb7948b2
  Author: Peter Hoeg 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/desktops/kde-5/plasma/startkde/startkde.sh

  Log Message:
  ---
  startkde: default to breeze instead of plastik on a fresh login


  Commit: 9a295516367eab1505e758ada2f9b1d080c44533
  
https://github.com/NixOS/nixpkgs/commit/9a295516367eab1505e758ada2f9b1d080c44533
  Author: Thomas Tuegel 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M maintainers/scripts/generate-kde-plasma.sh
A pkgs/desktops/kde-5/plasma/breeze-grub.nix
A pkgs/desktops/kde-5/plasma/breeze-plymouth/default.nix
A pkgs/desktops/kde-5/plasma/breeze-plymouth/install-paths.patch
A pkgs/desktops/kde-5/plasma/breeze-plymouth/series
M pkgs/desktops/kde-5/plasma/breeze-qt5.nix
M pkgs/desktops/kde-5/plasma/default.nix
M pkgs/desktops/kde-5/plasma/kinfocenter.nix
M pkgs/desktops/kde-5/plasma/kscreenlocker.nix
R pkgs/desktops/kde-5/plasma/kwin/0001-qdiriterator-follow-symlinks.patch
M pkgs/desktops/kde-5/plasma/kwin/default.nix
A pkgs/desktops/kde-5/plasma/kwin/follow-symlinks.patch
A pkgs/desktops/kde-5/plasma/kwin/series
A pkgs/desktops/kde-5/plasma/kwin/xwayland.patch
M pkgs/desktops/kde-5/plasma/srcs.nix
M pkgs/desktops/kde-5/plasma/startkde/startkde.sh
M pkgs/development/libraries/kde-frameworks/kde-env.nix
M pkgs/development/libraries/kde-frameworks/kde-wrapper.nix

  Log Message:
  ---
  Merge branch 'plas

[Nix-commits] [NixOS/nixpkgs] f0f917: elm: Constrain aeson-pretty to <0.8 (#17511)

2016-08-04 Thread Brad Ediger
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f0f917201778148db279681b3eec42b70355e0a4
  
https://github.com/NixOS/nixpkgs/commit/f0f917201778148db279681b3eec42b70355e0a4
  Author: Brad Ediger 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M pkgs/development/compilers/elm/packages/elm-compiler.nix
M pkgs/development/compilers/elm/packages/elm-package.nix

  Log Message:
  ---
  elm: Constrain aeson-pretty to <0.8 (#17511)

https://github.com/elm-lang/elm-compiler/pull/1431


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


[Nix-commits] [NixOS/nixpkgs] fbea27: haskellPackages.ghc-mod: remove override as 5.6.0....

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

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

  Log Message:
  ---
  haskellPackages.ghc-mod: remove override as 5.6.0.0 is ghc8 compatible

cc @peti


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


[Nix-commits] [NixOS/nixpkgs] fe8aef: Update google-chrome versions

2016-08-04 Thread Benjamin Staffin
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: fe8aefa5edb8e14e274e0ea97b62e1bc63ae07eb
  
https://github.com/NixOS/nixpkgs/commit/fe8aefa5edb8e14e274e0ea97b62e1bc63ae07eb
  Author: Benjamin Staffin 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  Update google-chrome versions

The previous download links were all broken.

Stable: 51.0.2704.103 -> 52.0.2743.116
Beta:   52.0.2743.41  -> 53.0.2785.34
Dev:53.0.2767.4   -> 54.0.2816.0
(cherry picked from commit 78e5e61bbecf79cf85469b3fbbf381b6cc0b6a53)
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] b78a70: eclipse-sdk: 4.5.1 -> 4.5.2

2016-08-04 Thread Dinnanid
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b78a70ccc8e0eb697cf1d87f808db19ae60646c1
  
https://github.com/NixOS/nixpkgs/commit/b78a70ccc8e0eb697cf1d87f808db19ae60646c1
  Author: Dinnanid 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  eclipse-sdk: 4.5.1 -> 4.5.2


  Commit: 672447f1ada85a38f1b1f7d909d72977658abcb4
  
https://github.com/NixOS/nixpkgs/commit/672447f1ada85a38f1b1f7d909d72977658abcb4
  Author: Dinnanid 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  eclipse-sdk: 4.5.2 -> 4.6


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


[Nix-dev] infinite recursion on newer nixpkgs

2016-08-04 Thread Sergey Mironov
Hi.
I've updated my nixpkgs up to 8983df7 and faced an infinite recursion
on the following peace of config:

  services = pkgs.lib.mkIf config.services.postgresql.enable {
postgresql.initialScript = pkgs.writeText "postgreinit.sql" ''
  create role grwlf superuser login createdb createrole replication;
  '';
  };

It worked with previous versions, what would you recommend me to do?

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


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

2016-08-04 Thread Freddy Rietdijk
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)
>  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
> >> uninstalling ‘python3-3.4.5’
> >> uninstalling ‘python3-3.4.5’
> >> uninstalling ‘python3-3.4.5’
> >> uninstalling ‘python3-3.4.5’
> >> $ nix-env -P -i python3-3.4.5
> >> installing ‘python3-3.4.5’
> >>
> >> But it still looks strange.
> >> Is this intentional?
> >>
> >> Roland
> >>
> >> ___
> >> 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


Re: [Nix-dev] Nix GUI? / make Nix more beginner-friendly

2016-08-04 Thread Taeer Bar-Yam
Roland, We should talk. I would be interested in helping set this up. 

  --Taeer

> On Aug 4, 2016, at 09:52, Tomasz Czyż  wrote:
> 
> Roland, 
> 
> check: nix-env -iA nixos.nixui
> 
> 2016-08-04 14:21 GMT+01:00 Roland Koebler :
>> Hi,
>> 
>> I really like the concept of Nix, but I think the commandline-tools
>> are not very beginner-friendly and not very intuitive for non-Nix-users.
>> 
>> Most distributions offer a GUI for package management, but I haven't
>> found one for Nix, although nox looks like a step in the right direction.
>> But the simplest way to search for a package is still
>> https://nixos.org/nixos/packages.html
>> 
>> So, I'm thinking of writing a GUI for Nix for managing packages in
>> Python3 + GTK+3. But to prevent duplicate work: Is there already
>> such a GUI, or is someone already working on it?
>> 
>> 
>> regards,
>> Roland
>> ___
>> 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
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 33557a: chromium: add ability to control which sandbox is ...

2016-08-04 Thread obadz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 33557acb36ffb60317775ab7fdb3451a47b69d62
  
https://github.com/NixOS/nixpkgs/commit/33557acb36ffb60317775ab7fdb3451a47b69d62
  Author: obadz 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  chromium: add ability to control which sandbox is used

First step towards addressing #17460

In order to be able to run the SUID sandbox, which is good for security
and required to run Chromium with any kind of reasonable sandboxing when
using grsecurity kernels, we want to be able to control where the
sandbox comes from in the Chromium wrapper. This commit patches the
appropriate bit of source and adds the same old sandbox to the wrapper
(so it should be a no-op)


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


Re: [Nix-dev] Nix GUI? / make Nix more beginner-friendly

2016-08-04 Thread Martijn Vermaat
Both are not exactly what you describe, but:

Here are some ideas on a redesigned Nix UI (not GUI):
https://gist.github.com/edolstra/efcadfd240c2d8906348

I think Shea Levy is working on (some of) this as part of the removing-Perl
effort.

Here is a GUI for installing Nix (work in progress):
https://github.com/cleverca22/nixos-installer




2016-08-04 15:31 GMT-04:00 Taeer Bar-Yam :

> Roland, We should talk. I would be interested in helping set this up.
>
>   --Taeer
>
> On Aug 4, 2016, at 09:52, Tomasz Czyż  wrote:
>
> Roland,
>
> check: nix-env -iA nixos.nixui
>
> 2016-08-04 14:21 GMT+01:00 Roland Koebler :
>
>> Hi,
>>
>> I really like the concept of Nix, but I think the commandline-tools
>> are not very beginner-friendly and not very intuitive for non-Nix-users.
>>
>> Most distributions offer a GUI for package management, but I haven't
>> found one for Nix, although nox looks like a step in the right direction.
>> But the simplest way to search for a package is still
>> https://nixos.org/nixos/packages.html
>>
>> So, I'm thinking of writing a GUI for Nix for managing packages in
>> Python3 + GTK+3. But to prevent duplicate work: Is there already
>> such a GUI, or is someone already working on it?
>>
>>
>> regards,
>> Roland
>> ___
>> 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
>
>
> ___
> 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] 0eb827: xorg.libpciaccess: Not supported on Darwin

2016-08-04 Thread Tuomas Tynkkynen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0eb827918de5676ea18ef5598cade15232728fc8
  
https://github.com/NixOS/nixpkgs/commit/0eb827918de5676ea18ef5598cade15232728fc8
  Author: Tuomas Tynkkynen 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  xorg.libpciaccess: Not supported on Darwin

http://hydra.nixos.org/build/38160825/nixlog/1/raw


  Commit: 2ea72fa9c811622bdbf93e866cd68db756d45986
  
https://github.com/NixOS/nixpkgs/commit/2ea72fa9c811622bdbf93e866cd68db756d45986
  Author: Tuomas Tynkkynen 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  nixos/luksroot: Reference correct output of openssl


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


[Nix-commits] [NixOS/nixpkgs] c39b60: gitlab: 8.5.12 -> 8.10.3, update module

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

  Changed paths:
M nixos/modules/services/misc/gitlab.nix
M pkgs/applications/version-management/gitlab-shell/default.nix
M pkgs/applications/version-management/gitlab-workhorse/default.nix
M pkgs/applications/version-management/gitlab/Gemfile
M pkgs/applications/version-management/gitlab/Gemfile.lock
M pkgs/applications/version-management/gitlab/default.nix
R 
pkgs/applications/version-management/gitlab/disable-dump-schema-after-migration.patch
M pkgs/applications/version-management/gitlab/gemset.nix
M pkgs/applications/version-management/gitlab/nulladapter.patch
M 
pkgs/applications/version-management/gitlab/remove-hardcoded-locations.patch

  Log Message:
  ---
  gitlab: 8.5.12 -> 8.10.3, update module

Fixes #14795.


  Commit: d8fd06641ac9b7ce131afd5eaa626d60c8645b21
  
https://github.com/NixOS/nixpkgs/commit/d8fd06641ac9b7ce131afd5eaa626d60c8645b21
  Author: Franz Pletz 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M nixos/doc/manual/release-notes/rl-1609.xml
M nixos/modules/services/misc/gitlab.nix
M nixos/modules/services/misc/gitlab.xml

  Log Message:
  ---
  gitlab module: split up gitlab-runner script

The name gitlab-runner clashes with a component of Gitlab CI with the
same name and only confuses people. It's now called gitlab-bundle and
a convenience-script gitlab-rake for easier invocation of rake tasks
was added. This was the primary use case of gitlab-runner.


  Commit: 8a8971788c47f4b2f5173cd5b71082fdfd79bf49
  
https://github.com/NixOS/nixpkgs/commit/8a8971788c47f4b2f5173cd5b71082fdfd79bf49
  Author: Franz Pletz 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

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

  Log Message:
  ---
  gitlab module: update documentation


  Commit: 792f96fbc7d792157d14f34694774270420f6265
  
https://github.com/NixOS/nixpkgs/commit/792f96fbc7d792157d14f34694774270420f6265
  Author: Franz Pletz 
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
M nixos/doc/manual/release-notes/rl-1609.xml
M nixos/modules/services/misc/gitlab.nix
M nixos/modules/services/misc/gitlab.xml
M pkgs/applications/version-management/gitlab-shell/default.nix
M pkgs/applications/version-management/gitlab-workhorse/default.nix
M pkgs/applications/version-management/gitlab/Gemfile
M pkgs/applications/version-management/gitlab/Gemfile.lock
M pkgs/applications/version-management/gitlab/default.nix
R 
pkgs/applications/version-management/gitlab/disable-dump-schema-after-migration.patch
M pkgs/applications/version-management/gitlab/gemset.nix
M pkgs/applications/version-management/gitlab/nulladapter.patch
M 
pkgs/applications/version-management/gitlab/remove-hardcoded-locations.patch

  Log Message:
  ---
  Merge pull request #17489 from mayflower/pkg/gitlab-8-10

gitlab: 8.5.12 -> 8.10.3, update module


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


[Nix-commits] [NixOS/nixpkgs] 6cf7e8: libreswan: 3.17 -> 3.18 (security)

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

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

  Log Message:
  ---
  libreswan: 3.17 -> 3.18 (security)

Fixes CVE-2016-5391, see

  https://libreswan.org/security/CVE-2016-5391/CVE-2016-5391.txt


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

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

  Log Message:
  ---
  collectd: 5.5.1 -> 5.5.2 (security)

Fixes CVE-2016-6254.


  Commit: 2d6b7aa54548c6b655a6d81e37ed7b0e4efc67ce
  
https://github.com/NixOS/nixpkgs/commit/2d6b7aa54548c6b655a6d81e37ed7b0e4efc67ce
  Author: Franz Pletz 
  Date:   2016-08-05 (Fri, 05 Aug 2016)

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

  Log Message:
  ---
  linux: enable some useful networking options

All options are enabled by default on Debian and some other
distributions, so these should be safe.


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


[Nix-commits] [NixOS/nixpkgs] 9cb194: collectd: 5.5.1 -> 5.5.2 (security)

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

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

  Log Message:
  ---
  collectd: 5.5.1 -> 5.5.2 (security)

Fixes CVE-2016-6254.

(cherry picked from commit a3f6ca6d17f3e87ebd1f4510d1aee8325e6361ab)


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


[Nix-commits] [NixOS/nixpkgs] 4b6205: curl: 7.50.0 -> 7.50.1 (#17486)

2016-08-04 Thread Kranium Gikos Mendoza
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4b62054f4c2e4ee09f141305bd09940ad78b1d34
  
https://github.com/NixOS/nixpkgs/commit/4b62054f4c2e4ee09f141305bd09940ad78b1d34
  Author: Kranium Gikos Mendoza 
  Date:   2016-08-05 (Fri, 05 Aug 2016)

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

  Log Message:
  ---
  curl: 7.50.0 -> 7.50.1 (#17486)


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