Re: [Nix-dev] Nix-dev mailing list is moving

2017-07-12 Thread Eelco Dolstra via nix-dev
Hi,

On 07/12/2017 04:45 PM, Roni Choudhury wrote:

> When do we plan to stop using this list? I want to make sure I am receiving
> messages on the new list, so some type of test message in the near future 
> would
> be appreciated :)

I think it's going to be deleted/disabled tomorrow.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Nix-dev mailing list is moving

2017-07-12 Thread Eelco Dolstra via nix-dev
Hi all,

This mailing list is shutting down soon. Thanks to the Faculty of Science at
Utrecht University for hosting it for many years. However, the large number of
subscribers was causing issues, so it's time to move it.

I've created a replacement mailing list:

  nix-de...@googlegroups.com

Note: that's *nix-devel*, not nix-dev. That name was already taken by another
project.

You can subscribe and browse the archive by visiting

  https://groups.google.com/forum/#!forum/nix-devel

If you don't have a Google account, you can subscribe by visiting

  https://groups.google.com/group/nix-devel/subscribe

or by sending an empty mail to nix-devel+subscr...@googlegroups.com.

Please let me know if you encounter any issues!

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] git in nix is broken...

2017-07-10 Thread Eelco Dolstra via nix-dev
Hi,

On 07/10/2017 07:25 PM, Alexander Schmolck via nix-dev wrote:

> ... because it appears to be missing dependencies like sed for
> commands such as git-filter-branch which are implemented as bash
> scripts.

Broken how? What doesn't work?

I guess you mean that some things fail if you execute with a $PATH that doesn't
contain the basic Unix utilities. This is likely the case for most shell code in
Nixpkgs.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nix] a3dc1e: Add X32 to the seccomp filter

2017-07-04 Thread Eelco Dolstra via nix-commits
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: a3dc1e65abe29f9d0528d3b5ea45812f4dcd63ed
  
https://github.com/NixOS/nix/commit/a3dc1e65abe29f9d0528d3b5ea45812f4dcd63ed
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Add X32 to the seccomp filter

Fixes #1432.


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


[Nix-commits] [NixOS/nixpkgs] 07176e: gcc: 6.3.0 -> 6.4.0

2017-07-04 Thread Eelco Dolstra via nix-commits
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 07176ed6f14c606b1f724dd05157fa187c7fdf50
  
https://github.com/NixOS/nixpkgs/commit/07176ed6f14c606b1f724dd05157fa187c7fdf50
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
R pkgs/development/compilers/gcc/6/darwin-const-correct.patch
M pkgs/development/compilers/gcc/6/default.nix

  Log Message:
  ---
  gcc: 6.3.0 -> 6.4.0


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


[Nix-commits] [NixOS/nix] b7203e: getDefaultSubstituters(): Simplify initialisation

2017-07-04 Thread Eelco Dolstra via nix-commits
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: b7203e853e3b928e1a7fb081fce379f023e935bb
  
https://github.com/NixOS/nix/commit/b7203e853e3b928e1a7fb081fce379f023e935bb
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
M src/libstore/store-api.cc

  Log Message:
  ---
  getDefaultSubstituters(): Simplify initialisation

As shlevy pointed out, static variables in C++11 have thread-safe
initialisation.


  Commit: 42c5774e78a9f1422dee9c35adb9c056aa994d3b
  
https://github.com/NixOS/nix/commit/42c5774e78a9f1422dee9c35adb9c056aa994d3b
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
M src/libstore/binary-cache-store.hh
M src/libstore/store-api.cc
M src/libstore/store-api.hh

  Log Message:
  ---
  Sort substituters by priority

Fixes #1438.


Compare: https://github.com/NixOS/nix/compare/6cf23c3e8fa1...42c5774e78a9___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] ad8b96: Fix handling of expression installables with a / i...

2017-07-04 Thread Eelco Dolstra via nix-commits
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: ad8b96f1f2c80bf3f91ceab4d955aa368b7c85d4
  
https://github.com/NixOS/nix/commit/ad8b96f1f2c80bf3f91ceab4d955aa368b7c85d4
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
M src/nix/installables.cc

  Log Message:
  ---
  Fix handling of expression installables with a / in them


  Commit: 6cf23c3e8fa12e6bf297ca87d1b47889bf115d52
  
https://github.com/NixOS/nix/commit/6cf23c3e8fa12e6bf297ca87d1b47889bf115d52
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
M doc/manual/command-ref/conf-file.xml
M src/libstore/build.cc
M src/libstore/globals.hh

  Log Message:
  ---
  Add allow-new-privileges option

This allows builds to call setuid binaries. This was previously
possible until we started using seccomp. Turns out that seccomp by
default disallows processes from acquiring new privileges. Generally,
any use of setuid binaries (except those created by the builder
itself) is by definition impure, but some people were relying on this
ability for certain tests.

Example:

  $ nix build '(with import  {}; runCommand "foo" {} 
"/run/wrappers/bin/ping -c 1 8.8.8.8; exit 1")' --no-allow-new-privileges
  builder for ‘/nix/store/j0nd8kv85hd6r4kxgnwzvr0k65ykf6fv-foo.drv’ failed with 
exit code 1; last 2 log lines:
cannot raise the capability into the Ambient set
: Operation not permitted

  $ nix build '(with import  {}; runCommand "foo" {} 
"/run/wrappers/bin/ping -c 1 8.8.8.8; exit 1")' --allow-new-privileges
  builder for ‘/nix/store/j0nd8kv85hd6r4kxgnwzvr0k65ykf6fv-foo.drv’ failed with 
exit code 1; last 6 log lines:
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=46 time=15.2 ms

Fixes #1429.


Compare: https://github.com/NixOS/nix/compare/c0015e87af70...6cf23c3e8fa1___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] fe97c6: : Support sha512 argument

2017-07-04 Thread Eelco Dolstra via nix-commits
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: fe97c6989841460efca37f0f3b9b470c98229283
  
https://github.com/NixOS/nix/commit/fe97c6989841460efca37f0f3b9b470c98229283
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
M corepkgs/fetchurl.nix

  Log Message:
  ---
  : Support sha512 argument


  Commit: c0015e87af70f539f24d2aa2bc224a9d8b84276b
  
https://github.com/NixOS/nix/commit/c0015e87af70f539f24d2aa2bc224a9d8b84276b
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
M perl/lib/Nix/Store.xs
M src/libexpr/primops.cc
M src/libstore/binary-cache-store.cc
M src/libstore/build.cc
M src/libstore/derivations.cc
M src/libstore/download.cc
M src/libstore/export-import.cc
M src/libstore/gc.cc
M src/libstore/local-store.cc
M src/libstore/nar-info-disk-cache.cc
M src/libstore/nar-info.cc
M src/libstore/optimise-store.cc
M src/libstore/remote-store.cc
M src/libstore/store-api.cc
M src/libutil/hash.cc
M src/libutil/hash.hh
M src/nix-daemon/nix-daemon.cc
M src/nix-prefetch-url/nix-prefetch-url.cc
M src/nix-store/nix-store.cc
M src/nix/hash.cc
M src/nix/verify.cc
M tests/fetchurl.sh
M tests/hash.sh

  Log Message:
  ---
  Support base-64 hashes

Also simplify the Hash API.

Fixes #1437.


Compare: https://github.com/NixOS/nix/compare/0a5a86775828...c0015e87af70___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 90da34: processGraph(): Call getEdges in parallel

2017-07-03 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 90da34e421607ad6c40f3dea08709ae89db7a7e1
  
https://github.com/NixOS/nix/commit/90da34e421607ad6c40f3dea08709ae89db7a7e1
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
M src/libutil/thread-pool.hh

  Log Message:
  ---
  processGraph(): Call getEdges in parallel


  Commit: fcca702a96a8ca0e73f6d035052c30121776aeba
  
https://github.com/NixOS/nix/commit/fcca702a96a8ca0e73f6d035052c30121776aeba
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
M src/build-remote/build-remote.cc
M src/libexpr/eval.cc
M src/libexpr/eval.hh
M src/libstore/binary-cache-store.cc
M src/libstore/binary-cache-store.hh
M src/libstore/build.cc
M src/libstore/derivations.cc
M src/libstore/derivations.hh
M src/libstore/download.cc
M src/libstore/export-import.cc
M src/libstore/legacy-ssh-store.cc
M src/libstore/local-store.cc
M src/libstore/local-store.hh
M src/libstore/remote-store.cc
M src/libstore/remote-store.hh
M src/libstore/store-api.cc
M src/libstore/store-api.hh
M src/nix-copy-closure/nix-copy-closure.cc
M src/nix-daemon/nix-daemon.cc
M src/nix-env/nix-env.cc
M src/nix-instantiate/nix-instantiate.cc
M src/nix-store/nix-store.cc

  Log Message:
  ---
  Replace a few bool flags with enums

Functions like copyClosure() had 3 bool arguments, which creates a
severe risk of mixing up arguments.

Also, implement copyClosure() using copyPaths().


  Commit: 0a5a867758285ee07334a44ede336ae75fd51c50
  
https://github.com/NixOS/nix/commit/0a5a867758285ee07334a44ede336ae75fd51c50
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

  Changed paths:
M src/nix-build/nix-build.cc

  Log Message:
  ---
  nix-shell: Respect --dry-run

Fixes #824.


Compare: https://github.com/NixOS/nix/compare/63d6e0ad3f0a...0a5a86775828___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 596b0e: Call SetDllDirectory("") after sqlite3 init on cyg...

2017-06-30 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 596b0e0a045eb953b5ed3328d5ae8eb636e31373
  
https://github.com/NixOS/nix/commit/596b0e0a045eb953b5ed3328d5ae8eb636e31373
  Author: David McFarland <corng...@gmail.com>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
M src/libstore/local-store.cc

  Log Message:
  ---
  Call SetDllDirectory("") after sqlite3 init on cygwin

Cygwin sqlite3 is patched to call SetDllDirectory("/usr/bin") on init, which
affects the current process and is inherited by child processes.  It causes
DLLs to be loaded from /usr/bin/ before $PATH, which breaks all sorts of
things.  A typical failures would be header/lib version mismatches (e.g.
openssl when running checkPhase on openssh).  We'll just set it back to the
default value.

Note that this is a problem with the cygwin version of sqlite3 (currently
3.18.0).  nixpkgs doesn't have the problematic patch.


  Commit: 63d6e0ad3f0a93305cebc870dbb3639506727b27
  
https://github.com/NixOS/nix/commit/63d6e0ad3f0a93305cebc870dbb3639506727b27
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-06-30 (Fri, 30 Jun 2017)

  Changed paths:
M src/libstore/local-store.cc

  Log Message:
  ---
  Merge pull request #1417 from corngood/cygwin-fix

Call SetDllDirectory("") after sqlite3 init on cygwin


Compare: https://github.com/NixOS/nix/compare/c7346a275c4c...63d6e0ad3f0a___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] fc3f38: Forks::Super: Build on Hydra

2017-06-29 Thread Eelco Dolstra
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: fc3f38d67f428633390fbe0a9a14c74c7b13
  
https://github.com/NixOS/nixpkgs/commit/fc3f38d67f428633390fbe0a9a14c74c7b13
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

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

  Log Message:
  ---
  Forks::Super: Build on Hydra

(cherry picked from commit 6feedb44925b4fbcf5508c4fc8678a7549140ef0)


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


[Nix-commits] [NixOS/nixpkgs] 6feedb: Forks::Super: Build on Hydra

2017-06-29 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6feedb44925b4fbcf5508c4fc8678a7549140ef0
  
https://github.com/NixOS/nixpkgs/commit/6feedb44925b4fbcf5508c4fc8678a7549140ef0
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

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

  Log Message:
  ---
  Forks::Super: Build on Hydra


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


[Nix-commits] [NixOS/nixpkgs] 32e492: systemd: Apply fix for CVE-2017-9445

2017-06-28 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 32e492251b2e4358a459d20ac4e8fdbc5841f112
  
https://github.com/NixOS/nixpkgs/commit/32e492251b2e4358a459d20ac4e8fdbc5841f112
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-28 (Wed, 28 Jun 2017)

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

  Log Message:
  ---
  systemd: Apply fix for CVE-2017-9445


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


[Nix-commits] [NixOS/nixpkgs] a2c748: systemd: Apply fix for CVE-2017-9445

2017-06-28 Thread Eelco Dolstra
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: a2c7482319cb5384f518f318c2ecd5d64adba7d0
  
https://github.com/NixOS/nixpkgs/commit/a2c7482319cb5384f518f318c2ecd5d64adba7d0
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-28 (Wed, 28 Jun 2017)

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

  Log Message:
  ---
  systemd: Apply fix for CVE-2017-9445


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


[Nix-commits] [NixOS/hydra] f220f4: hydra-module.nix: restart daemons on config change

2017-06-27 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: f220f45d29494a9da5609991ab2609ba4095f107
  
https://github.com/NixOS/hydra/commit/f220f45d29494a9da5609991ab2609ba4095f107
  Author: Domen Kožar <do...@dev.si>
  Date:   2017-06-27 (Tue, 27 Jun 2017)

  Changed paths:
M hydra-module.nix

  Log Message:
  ---
  hydra-module.nix: restart daemons on config change


  Commit: 9cc25b0c9679941163e3feecc95325c48f798382
  
https://github.com/NixOS/hydra/commit/9cc25b0c9679941163e3feecc95325c48f798382
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-06-27 (Tue, 27 Jun 2017)

  Changed paths:
M hydra-module.nix

  Log Message:
  ---
  Merge pull request #491 from NixOS/restart-daemons-on-config-change

hydra-module.nix: restart daemons on config change


Compare: https://github.com/NixOS/hydra/compare/803833aba77e...9cc25b0c9679___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] nixos-unstable-small channel is not updating anymore

2017-06-26 Thread Eelco Dolstra
Hi,

On 06/26/2017 04:37 PM, Vladimír Čunát wrote:

> That channel hasn't updated for over a week now and it's unclear why, as
> all the jobs succeeded on most evaluations during the past week.

The mirroring script fails in generate-programs-index:

> Jun 26 17:12:09 webserver update-nixos-unstable-small-start[13607]: 34 
> top-level paths, 619 paths in closure
> Jun 26 17:12:49 webserver update-nixos-unstable-small-start[13607]: error: in 
> package ‘libsForQt5.qtinstaller’: this derivation has bad 
> ‘meta.outputsToInstall’
> Jun 26 17:12:49 webserver update-nixos-unstable-small-start[13607]: Died at 
> /nix/store/r23zn67lg3b55pw990smqsh51g19rax0-nixos-channel-scripts/bin/.mirror-nixos-branch-wrapped
>  line 157.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/hydra] 803833: Disable the build-queued hook

2017-06-22 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 803833aba77e1082c14857aa26933fc7fe5ae190
  
https://github.com/NixOS/hydra/commit/803833aba77e1082c14857aa26933fc7fe5ae190
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-22 (Thu, 22 Jun 2017)

  Changed paths:
M src/script/hydra-eval-jobset

  Log Message:
  ---
  Disable the build-queued hook

This can take an excessive amount of time. For example, on
hydra.nixos.org, a call to hydra-notify takes 0.7s even if there are
no plugins. So for an eval with ~45K new builds, the calls to
hydra-notify add up to about 9 hours.

The proper fix would be to pass a list of build IDs, or an eval ID.


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


[Nix-commits] [NixOS/nixpkgs] 1ab7ac: aws-sdk-cpp: 1.0.60 -> 1.0.127

2017-06-20 Thread Eelco Dolstra
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1ab7ac7368209e2b1c9a901caf0699660e085b6d
  
https://github.com/NixOS/nixpkgs/commit/1ab7ac7368209e2b1c9a901caf0699660e085b6d
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
M pkgs/development/libraries/aws-sdk-cpp/default.nix

  Log Message:
  ---
  aws-sdk-cpp: 1.0.60 -> 1.0.127

(cherry picked from commit 3b44cd731c81420810659cc3b254389562cbe505)


  Commit: b506b9437b7af7129ed353aecd94749d79543137
  
https://github.com/NixOS/nixpkgs/commit/b506b9437b7af7129ed353aecd94749d79543137
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
M pkgs/development/libraries/aws-sdk-cpp/default.nix

  Log Message:
  ---
  aws-sdk-cpp: 1.0.127 -> 1.0.153

(cherry picked from commit ac8451508b7dc04a045a6825f5e1c0cad449e7a4)


Compare: https://github.com/NixOS/nixpkgs/compare/76d649b59484...b506b9437b7a___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] c7346a: Restore thunks on any exception

2017-06-20 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: c7346a275c4cdcb59b3961241ddc52b79452d716
  
https://github.com/NixOS/nix/commit/c7346a275c4cdcb59b3961241ddc52b79452d716
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
M src/libexpr/eval-inline.hh

  Log Message:
  ---
  Restore thunks on any exception

There's no reason to restrict this to Error exceptions. This shouldn't
matter to #1407 since the repl doesn't catch non-Error exceptions
anyway, but you never know...


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


[Nix-commits] [NixOS/nixpkgs] 544693: nix: 1.11.10 -> 1.11.11

2017-06-19 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5446934b41cf180aa50c2fb69e12593720522036
  
https://github.com/NixOS/nixpkgs/commit/5446934b41cf180aa50c2fb69e12593720522036
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

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

  Log Message:
  ---
  nix: 1.11.10 -> 1.11.11

(cherry picked from commit 7b1e936b24ca60810cdb6d46b68300cd179836f1)


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


[Nix-commits] [NixOS/nixpkgs] 7b1e93: nix: 1.11.10 -> 1.11.11

2017-06-19 Thread Eelco Dolstra
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7b1e936b24ca60810cdb6d46b68300cd179836f1
  
https://github.com/NixOS/nixpkgs/commit/7b1e936b24ca60810cdb6d46b68300cd179836f1
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

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

  Log Message:
  ---
  nix: 1.11.10 -> 1.11.11


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


[Nix-commits] [NixOS/nix] 00aa7c: Show aws-sdk-cpp log messages

2017-06-19 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 00aa7c6705c073aab8b24ae945ea9a09d5d256aa
  
https://github.com/NixOS/nix/commit/00aa7c6705c073aab8b24ae945ea9a09d5d256aa
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
M src/libstore/s3-binary-cache-store.cc

  Log Message:
  ---
  Show aws-sdk-cpp log messages


  Commit: 1c969611ba962a860744b2718fa6f989e7be5165
  
https://github.com/NixOS/nix/commit/1c969611ba962a860744b2718fa6f989e7be5165
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
M src/libstore/s3-binary-cache-store.cc

  Log Message:
  ---
  Suppress "will retry in N ms" for non-retriable errors

Newer versions of aws-sdk-cpp call CalculateDelayBeforeNextRetry()
even for non-retriable errors (like NoSuchKey) whih causes log spam in
hydra-queue-runner.


  Commit: b33621d4253addc4a0cdf1fb7a4082109aaafa78
  
https://github.com/NixOS/nix/commit/b33621d4253addc4a0cdf1fb7a4082109aaafa78
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
M src/libstore/s3-binary-cache-store.cc

  Log Message:
  ---
  Handle S3Errors::RESOURCE_NOT_FOUND from aws-sdk-cpp

This is returned by recent versions. Also handle NO_SUCH_KEY even
though the library doesn't actually return that at the moment.


  Commit: 82a0d614cf17b2997ba5f895c1db4c2cde41e88d
  
https://github.com/NixOS/nix/commit/82a0d614cf17b2997ba5f895c1db4c2cde41e88d
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
M src/libstore/s3-binary-cache-store.cc

  Log Message:
  ---
  Support creating S3 caches in other regions than us-east-1


  Commit: a1355917ecf75e1f1f37101505a351743d590121
  
https://github.com/NixOS/nix/commit/a1355917ecf75e1f1f37101505a351743d590121
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
M src/libstore/s3-binary-cache-store.cc

  Log Message:
  ---
  Disable use of virtual hosting in aws-sdk-cpp

Recently aws-sdk-cpp quietly switched to using S3 virtual host URIs
(https://github.com/aws/aws-sdk-cpp/commit/69d9c53882), i.e. it sends
requests to http://..s3.amazonaws.com rather than
http://.s3.amazonaws.com/. However this interacts
badly with curl connection reuse. For example, if we do the following:

1) Check whether a bucket exists using GetBucketLocation.
2) If it doesn't, create it using CreateBucket.
3) Do operations on the bucket.

then 3) will fail for a minute or so with a NoSuchBucket exception,
presumably because the server being hit is a fallback for cases when
buckets don't exist.

Disabling the use of virtual hosts ensures that 3) succeeds
immediately. (I don't know what S3's consistency guarantees are for
bucket creation, but in practice buckets appear to be available
immediately.)


Compare: https://github.com/NixOS/nix/compare/1888f7889b10...a1355917ecf7___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 11dd08: macOS: Ugly hack to make the tests succeed

2017-06-19 Thread Eelco Dolstra
  Branch: refs/heads/1.11-maintenance
  Home:   https://github.com/NixOS/nix
  Commit: 11dd08f02e842722fb391bef1ce72e2df0f7b3ba
  
https://github.com/NixOS/nix/commit/11dd08f02e842722fb391bef1ce72e2df0f7b3ba
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
M src/libstore/build.cc
M tests/common.sh.in

  Log Message:
  ---
  macOS: Ugly hack to make the tests succeed

Sandboxes cannot be nested, so if Nix's build runs inside a sandbox,
it cannot use a sandbox itself. I don't see a clean way to detect
whether we're in a sandbox, so use a test-specific hack.

https://github.com/NixOS/nix/issues/1413
(cherry picked from commit 1888f7889b107ecbca7ad47f3a1132c32a17d227)


  Commit: 026f4f9ae881d9196422981f1f85fa3137525014
  
https://github.com/NixOS/nix/commit/026f4f9ae881d9196422981f1f85fa3137525014
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
M src/libstore/local-store.cc

  Log Message:
  ---
  macOS: Remove flags

In particular, UF_IMMUTABLE (uchg) needs to be cleared to allow the
path to be garbage-collected or optimised.

See https://github.com/NixOS/nixpkgs/issues/25819.
+   the file from being garbage-collected.

(cherry picked from commit b5bdfdef7320d74a98af1e53d64371e0cef2dbbe)


Compare: https://github.com/NixOS/nix/compare/3e574c3691fb...026f4f9ae881___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] b5bdfd: macOS: Remove flags

2017-06-19 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: b5bdfdef7320d74a98af1e53d64371e0cef2dbbe
  
https://github.com/NixOS/nix/commit/b5bdfdef7320d74a98af1e53d64371e0cef2dbbe
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
M src/libstore/local-store.cc

  Log Message:
  ---
  macOS: Remove flags

In particular, UF_IMMUTABLE (uchg) needs to be cleared to allow the
path to be garbage-collected or optimised.

See https://github.com/NixOS/nixpkgs/issues/25819.
+   the file from being garbage-collected.


  Commit: 1888f7889b107ecbca7ad47f3a1132c32a17d227
  
https://github.com/NixOS/nix/commit/1888f7889b107ecbca7ad47f3a1132c32a17d227
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
M src/libstore/build.cc
M tests/common.sh.in

  Log Message:
  ---
  macOS: Ugly hack to make the tests succeed

Sandboxes cannot be nested, so if Nix's build runs inside a sandbox,
it cannot use a sandbox itself. I don't see a clean way to detect
whether we're in a sandbox, so use a test-specific hack.

https://github.com/NixOS/nix/issues/1413


Compare: https://github.com/NixOS/nix/compare/a10951de0811...1888f7889b10___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 1e2cca: aws-sdk-cpp: Better fix for the failing credential...

2017-06-19 Thread Eelco Dolstra
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1e2cca428f97660e9d5f80df0edbadf3bed6a654
  
https://github.com/NixOS/nixpkgs/commit/1e2cca428f97660e9d5f80df0edbadf3bed6a654
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
M pkgs/development/libraries/aws-sdk-cpp/default.nix

  Log Message:
  ---
  aws-sdk-cpp: Better fix for the failing credentials test

(cherry picked from commit c1e5ca92b774325f6779bda203e3c04e60ed087d)


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


[Nix-commits] [NixOS/nixpkgs] c1e5ca: aws-sdk-cpp: Better fix for the failing credential...

2017-06-19 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: c1e5ca92b774325f6779bda203e3c04e60ed087d
  
https://github.com/NixOS/nixpkgs/commit/c1e5ca92b774325f6779bda203e3c04e60ed087d
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
M pkgs/development/libraries/aws-sdk-cpp/default.nix

  Log Message:
  ---
  aws-sdk-cpp: Better fix for the failing credentials test


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


[Nix-commits] [NixOS/nixops] 440532: automatically resolve channel uris

2017-06-16 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixops
  Commit: 4405325f70d5293fb07257584ae217ee2cc41809
  
https://github.com/NixOS/nixops/commit/4405325f70d5293fb07257584ae217ee2cc41809
  Author: Amine Chikhaoui <am...@chikhaoui.tn>
  Date:   2017-06-16 (Fri, 16 Jun 2017)

  Changed paths:
M nixops/util.py

  Log Message:
  ---
  automatically resolve channel uris


  Commit: ad6ef219accc82c9ba1d7bb3c442d61d57422174
  
https://github.com/NixOS/nixops/commit/ad6ef219accc82c9ba1d7bb3c442d61d57422174
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-06-16 (Fri, 16 Jun 2017)

  Changed paths:
M nixops/util.py

  Log Message:
  ---
  Merge pull request #682 from AmineChikhaoui/channel-resolve

automatically resolve channel uris


Compare: https://github.com/NixOS/nixops/compare/f601d915b053...ad6ef219accc___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 6d5c14: aws-sdk-cpp: Fix credentials test

2017-06-16 Thread Eelco Dolstra
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6d5c142886f565c3ca1014e7e6b7d2682ecef589
  
https://github.com/NixOS/nixpkgs/commit/6d5c142886f565c3ca1014e7e6b7d2682ecef589
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-16 (Fri, 16 Jun 2017)

  Changed paths:
M pkgs/development/libraries/aws-sdk-cpp/default.nix

  Log Message:
  ---
  aws-sdk-cpp: Fix credentials test

These require a home directory.

http://hydra.nixos.org/build/54519006
(cherry picked from commit 672d2dfbb83890200224a90c6155f3c1d6019190)


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


[Nix-commits] [NixOS/nixpkgs] 672d2d: aws-sdk-cpp: Fix credentials test

2017-06-16 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 672d2dfbb83890200224a90c6155f3c1d6019190
  
https://github.com/NixOS/nixpkgs/commit/672d2dfbb83890200224a90c6155f3c1d6019190
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-16 (Fri, 16 Jun 2017)

  Changed paths:
M pkgs/development/libraries/aws-sdk-cpp/default.nix

  Log Message:
  ---
  aws-sdk-cpp: Fix credentials test

These require a home directory.

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


  Commit: ac8451508b7dc04a045a6825f5e1c0cad449e7a4
  
https://github.com/NixOS/nixpkgs/commit/ac8451508b7dc04a045a6825f5e1c0cad449e7a4
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-16 (Fri, 16 Jun 2017)

  Changed paths:
M pkgs/development/libraries/aws-sdk-cpp/default.nix

  Log Message:
  ---
  aws-sdk-cpp: 1.0.127 -> 1.0.153


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


[Nix-commits] [NixOS/nix] 38b7d5: Remove redundant debug line

2017-06-14 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 38b7d55af1402e2323ed22a03d6d97b16dec52ad
  
https://github.com/NixOS/nix/commit/38b7d55af1402e2323ed22a03d6d97b16dec52ad
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-14 (Wed, 14 Jun 2017)

  Changed paths:
M src/libstore/s3-binary-cache-store.cc

  Log Message:
  ---
  Remove redundant debug line


  Commit: 1dcadadf745442e96db29eb652ed4e535b6352d6
  
https://github.com/NixOS/nix/commit/1dcadadf745442e96db29eb652ed4e535b6352d6
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-14 (Wed, 14 Jun 2017)

  Changed paths:
M doc/manual/release-notes/release-notes.xml
A doc/manual/release-notes/rl-1.11.10.xml

  Log Message:
  ---
  Add 1.11.10 release notes

(cherry picked from commit 0fb60e4e0f66cc42c7c274acfcf00b51f6c829c4)


  Commit: a10951de08117dd2f9e7117fdd6fa61a7b4e2b72
  
https://github.com/NixOS/nix/commit/a10951de08117dd2f9e7117fdd6fa61a7b4e2b72
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-14 (Wed, 14 Jun 2017)

  Changed paths:
M doc/manual/release-notes/rl-1.11.10.xml

  Log Message:
  ---
  OS X -> macOS

(cherry picked from commit c20641ce569dc1fdeaeaa147b0292f258667f53b)


Compare: https://github.com/NixOS/nix/compare/88b291ffc4ae...a10951de0811___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 35ea3d: canonicalisePathMetaData(): Ignore security.selinu...

2017-06-14 Thread Eelco Dolstra
  Branch: refs/heads/1.11-maintenance
  Home:   https://github.com/NixOS/nix
  Commit: 35ea3d62dcea71f7e65553d8f6441e708552d675
  
https://github.com/NixOS/nix/commit/35ea3d62dcea71f7e65553d8f6441e708552d675
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-14 (Wed, 14 Jun 2017)

  Changed paths:
M src/libstore/local-store.cc

  Log Message:
  ---
  canonicalisePathMetaData(): Ignore security.selinux attribute

Untested, hopefully fixes #1406.

(cherry picked from commit 88b291ffc4aed550d3136a44580ba5f5d66dd922)


  Commit: 5ac7088726c556868a50fb0c8a04840309a6aa1d
  
https://github.com/NixOS/nix/commit/5ac7088726c556868a50fb0c8a04840309a6aa1d
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-14 (Wed, 14 Jun 2017)

  Changed paths:
M version

  Log Message:
  ---
  Bump version


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


[Nix-commits] [NixOS/nix] 88b291: canonicalisePathMetaData(): Ignore security.selinu...

2017-06-14 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 88b291ffc4aed550d3136a44580ba5f5d66dd922
  
https://github.com/NixOS/nix/commit/88b291ffc4aed550d3136a44580ba5f5d66dd922
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-14 (Wed, 14 Jun 2017)

  Changed paths:
M src/libstore/local-store.cc

  Log Message:
  ---
  canonicalisePathMetaData(): Ignore security.selinux attribute

Untested, hopefully fixes #1406.


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


[Nix-commits] [NixOS/nixpkgs] 7071d1: nixUnstable: 1.12pre5350_7689181e -> 1.12pre5413_b...

2017-06-12 Thread Eelco Dolstra
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7071d1eaf478ec4221b6607360bba8594066b53f
  
https://github.com/NixOS/nixpkgs/commit/7071d1eaf478ec4221b6607360bba8594066b53f
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

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

  Log Message:
  ---
  nixUnstable: 1.12pre5350_7689181e -> 1.12pre5413_b4b1f452

(cherry picked from commit 3d4a8e1f84b4ad654b1bd8a6577cd786e18a3f6b)


  Commit: 7a76e259c88ad5ea6807ed70af51d9196195c690
  
https://github.com/NixOS/nixpkgs/commit/7a76e259c88ad5ea6807ed70af51d9196195c690
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

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

  Log Message:
  ---
  nix: 1.11.9 -> 1.11.10

(cherry picked from commit 0bffe0382863e317b392996685bb1eedccd9fc90)


  Commit: 74a1ea1f89c99307a0cbc0a5d3d5eaf4cd3d9781
  
https://github.com/NixOS/nixpkgs/commit/74a1ea1f89c99307a0cbc0a5d3d5eaf4cd3d9781
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
A pkgs/os-specific/linux/kernel/perf-binutils-path.patch
M pkgs/os-specific/linux/kernel/perf.nix

  Log Message:
  ---
  perf: Fix perf annotate

This command requires objdump, so make sure it can find it.

(cherry picked from commit 63e9d1c51ec0ad41c3ef729851442f199ce06a25)


Compare: https://github.com/NixOS/nixpkgs/compare/49e8512100ce...74a1ea1f89c9___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 0bffe0: nix: 1.11.9 -> 1.11.10

2017-06-12 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0bffe0382863e317b392996685bb1eedccd9fc90
  
https://github.com/NixOS/nixpkgs/commit/0bffe0382863e317b392996685bb1eedccd9fc90
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

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

  Log Message:
  ---
  nix: 1.11.9 -> 1.11.10


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


[Nix-commits] [NixOS/nix] 1e4885: Grmbl

2017-06-12 Thread Eelco Dolstra
  Branch: refs/heads/1.11-maintenance
  Home:   https://github.com/NixOS/nix
  Commit: 1e4885e31614ff2652acd36f7665c2bb41f04b59
  
https://github.com/NixOS/nix/commit/1e4885e31614ff2652acd36f7665c2bb41f04b59
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
M src/libutil/util.cc
M src/libutil/util.hh

  Log Message:
  ---
  Grmbl


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


[Nix-commits] [NixOS/nix] 36f363: On macOS, don't use /var/folders for TMPDIR

2017-06-12 Thread Eelco Dolstra
  Branch: refs/heads/1.11-maintenance
  Home:   https://github.com/NixOS/nix
  Commit: 36f363b8f0adac2b8339770297ff209539a2f7aa
  
https://github.com/NixOS/nix/commit/36f363b8f0adac2b8339770297ff209539a2f7aa
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
M src/libmain/shared.cc

  Log Message:
  ---
  On macOS, don't use /var/folders for TMPDIR

This broke "nix-store --serve".

(cherry picked from commit 25230a17a9d0c22f97ed80b1a8f50566a4ff548d)


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


[Nix-commits] [NixOS/nix] 25230a: On macOS, don't use /var/folders for TMPDIR

2017-06-12 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 25230a17a9d0c22f97ed80b1a8f50566a4ff548d
  
https://github.com/NixOS/nix/commit/25230a17a9d0c22f97ed80b1a8f50566a4ff548d
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
M src/libmain/shared.cc

  Log Message:
  ---
  On macOS, don't use /var/folders for TMPDIR

This broke "nix-store --serve".


  Commit: 177f3996e28967368791ba0e4ec036f3dbbb88d0
  
https://github.com/NixOS/nix/commit/177f3996e28967368791ba0e4ec036f3dbbb88d0
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
M src/libutil/util.cc

  Log Message:
  ---
  Suppress spurious "killing process N: Operation not permitted" on macOS


Compare: https://github.com/NixOS/nix/compare/847f19a5f7a5...177f3996e289___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] c20641: OS X -> macOS

2017-06-12 Thread Eelco Dolstra
  Branch: refs/heads/1.11-maintenance
  Home:   https://github.com/NixOS/nix
  Commit: c20641ce569dc1fdeaeaa147b0292f258667f53b
  
https://github.com/NixOS/nix/commit/c20641ce569dc1fdeaeaa147b0292f258667f53b
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
M doc/manual/release-notes/rl-1.11.10.xml

  Log Message:
  ---
  OS X -> macOS


  Commit: 0be5b949d3b3dd2e14f1e356e7a64f5906fe66dc
  
https://github.com/NixOS/nix/commit/0be5b949d3b3dd2e14f1e356e7a64f5906fe66dc
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Don't run pre-build-hook if we don't have a derivation

This fixes a build failure on OS X when using Hydra or Nix 1.12's
build-remote (since they don't copy the derivation to the build
machine).

(cherry picked from commit 7f5b750b401e98e9e2a346552aba5bd2e0a9203f)


Compare: https://github.com/NixOS/nix/compare/0fb60e4e0f66...0be5b949d3b3___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] c33854: Remove Ubuntu 13.10 build

2017-06-12 Thread Eelco Dolstra
  Branch: refs/heads/1.11-maintenance
  Home:   https://github.com/NixOS/nix
  Commit: c33854513ae81714253d09937828fcd561d97b33
  
https://github.com/NixOS/nix/commit/c33854513ae81714253d09937828fcd561d97b33
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
M release.nix

  Log Message:
  ---
  Remove Ubuntu 13.10 build

Seccomp is too old there.


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


[Nix-commits] [NixOS/nix] 847f19: Provide a builtin default for $NIX_SSL_CERT_FILE

2017-06-12 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 847f19a5f7a558252bbde9b4c70efa5f7fac1f4f
  
https://github.com/NixOS/nix/commit/847f19a5f7a558252bbde9b4c70efa5f7fac1f4f
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
M misc/launchd/org.nixos.nix-daemon.plist.in
M src/libstore/download.cc
M src/libstore/globals.cc

  Log Message:
  ---
  Provide a builtin default for $NIX_SSL_CERT_FILE

This is mostly to ensure that when Nix is started on macOS via a
launchd service or sshd (for a remote build), it gets a certificate
bundle.


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


[Nix-commits] [NixOS/nix] 7f5b75: Don't run pre-build-hook if we don't have a deriva...

2017-06-12 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 7f5b750b401e98e9e2a346552aba5bd2e0a9203f
  
https://github.com/NixOS/nix/commit/7f5b750b401e98e9e2a346552aba5bd2e0a9203f
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Don't run pre-build-hook if we don't have a derivation

This fixes a build failure on OS X when using Hydra or Nix 1.12's
build-remote (since they don't copy the derivation to the build
machine).


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


[Nix-commits] [NixOS/hydra] f0d24a: Fix "Evaluation pending since..." message even tho...

2017-06-12 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: f0d24af9404ef20cec6d946d1a9c82bf7f5a9063
  
https://github.com/NixOS/hydra/commit/f0d24af9404ef20cec6d946d1a9c82bf7f5a9063
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
M src/hydra-evaluator/hydra-evaluator.cc

  Log Message:
  ---
  Fix "Evaluation pending since..." message even though the jobset has been 
evaluated


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


Re: [Nix-dev] Hydra queue is in a weird state

2017-06-12 Thread Eelco Dolstra
Hi,

On 06/12/2017 01:51 PM, Vladimír Čunát wrote:

> Just to be sure, the binaries from staging are cached at least for a few
> days, right?  

Right now, there is no garbage collection of the cache.nixos.org S3 bucket *at
all*, so binaries are kept indefinitely.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nix] 3414f3: Fix build

2017-06-12 Thread Eelco Dolstra
  Branch: refs/heads/1.11-maintenance
  Home:   https://github.com/NixOS/nix
  Commit: 3414f3804c9ef42f6206756f9216ed19fedaecf0
  
https://github.com/NixOS/nix/commit/3414f3804c9ef42f6206756f9216ed19fedaecf0
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
M src/libstore/local-store.cc

  Log Message:
  ---
  Fix build


  Commit: 0fb60e4e0f66cc42c7c274acfcf00b51f6c829c4
  
https://github.com/NixOS/nix/commit/0fb60e4e0f66cc42c7c274acfcf00b51f6c829c4
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
M doc/manual/release-notes/release-notes.xml
A doc/manual/release-notes/rl-1.11.10.xml

  Log Message:
  ---
  Add 1.11.10 release notes


Compare: https://github.com/NixOS/nix/compare/8e298e8ad9f0...0fb60e4e0f66___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 63e9d1: perf: Fix perf annotate

2017-06-12 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 63e9d1c51ec0ad41c3ef729851442f199ce06a25
  
https://github.com/NixOS/nixpkgs/commit/63e9d1c51ec0ad41c3ef729851442f199ce06a25
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
A pkgs/os-specific/linux/kernel/perf-binutils-path.patch
M pkgs/os-specific/linux/kernel/perf.nix

  Log Message:
  ---
  perf: Fix perf annotate

This command requires objdump, so make sure it can find it.


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


[Nix-commits] [NixOS/nixpkgs] ca490a: gdb: disable format warnings

2017-06-12 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ca490a62906fa566e1f30504cd0f29d04ee48c4a
  
https://github.com/NixOS/nixpkgs/commit/ca490a62906fa566e1f30504cd0f29d04ee48c4a
  Author: Daiderd Jordan <daid...@gmail.com>
  Date:   2017-06-11 (Sun, 11 Jun 2017)

  Changed paths:
M pkgs/development/tools/misc/gdb/default.nix

  Log Message:
  ---
  gdb: disable format warnings

Fixes #26145


  Commit: cdf05a7592f29788e3196939a5cf6b257070a0b1
  
https://github.com/NixOS/nixpkgs/commit/cdf05a7592f29788e3196939a5cf6b257070a0b1
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
M pkgs/development/tools/misc/gdb/default.nix

  Log Message:
  ---
  Merge pull request #26514 from LnL7/clang-gdb

gdb: disable format warnings


Compare: https://github.com/NixOS/nixpkgs/compare/798e256dcd19...cdf05a7592f2___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] Hydra queue is in a weird state

2017-06-12 Thread Eelco Dolstra
Hi,

On 06/12/2017 08:17 AM, Vladimír Čunát wrote:

> around 24h ago I merged some older staging commit, and Hydra somehow
> hasn't recovered since.
> 
> Most of jobs should've been cached from staging - mainly except for
> Haskell stuff because that got updated on master in the meantime - but
> apparently those jobs are stuck in the queue, not being processed in any
> way.  The machines were reportedly idling a lot yesterday after that
> (now they picked some subsequent jobs on staging).

Can you be more specific (e.g. build IDs)? I don't see anything wrong at the 
moment.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nix] b82837: nix: Make all options available as flags

2017-06-07 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: b8283773bd64d7da6859ed520ee19867742a03ba
  
https://github.com/NixOS/nix/commit/b8283773bd64d7da6859ed520ee19867742a03ba
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-07 (Wed, 07 Jun 2017)

  Changed paths:
M src/libstore/globals.cc
M src/libutil/config.cc
M src/libutil/config.hh
M src/nix/main.cc

  Log Message:
  ---
  nix: Make all options available as flags

Thus, instead of ‘--option  ’, you can write ‘--
’. So

  --option http-connections 100

becomes

  --http-connections 100

Apart from brevity, the difference is that it's not an error to set a
non-existent option via --option, but unrecognized arguments are
fatal.

Boolean options have special treatment: they're mapped to the
argument-less flags ‘--’ and ‘--no-’. E.g.

  --option auto-optimise-store false

becomes

  --no-auto-optimise-store


  Commit: aa952d5f0bc623a1584f2d589209f586e594c75f
  
https://github.com/NixOS/nix/commit/aa952d5f0bc623a1584f2d589209f586e594c75f
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-07 (Wed, 07 Jun 2017)

  Changed paths:
M src/libutil/args.hh
M src/libutil/config.hh
M src/nix/main.cc

  Log Message:
  ---
  nix: Add --help-config flag


  Commit: 186571965dccf57d15b9f37c1cca92a57187b7b3
  
https://github.com/NixOS/nix/commit/186571965dccf57d15b9f37c1cca92a57187b7b3
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-07 (Wed, 07 Jun 2017)

  Changed paths:
M src/libmain/common-args.cc
M src/libstore/globals.cc
M src/libutil/args.cc
M src/libutil/args.hh
M src/libutil/config.cc
M src/libutil/config.hh
M src/nix/main.cc
M src/nix/sigs.cc
M src/nix/verify.cc

  Log Message:
  ---
  Don't show flags from config settings in "nix --help"


Compare: https://github.com/NixOS/nix/compare/c8cc50d46e78...186571965dcc___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 7648f5: NixOS VM tests: Don't create a setgid group in vde...

2017-06-07 Thread Eelco Dolstra
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7648f528de9917933bc104359c9a507c6622925c
  
https://github.com/NixOS/nixpkgs/commit/7648f528de9917933bc104359c9a507c6622925c
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-07 (Wed, 07 Jun 2017)

  Changed paths:
M nixos/lib/test-driver/test-driver.pl
M pkgs/build-support/vm/windows/controller/default.nix

  Log Message:
  ---
  NixOS VM tests: Don't create a setgid group in vde_switch

Nix no longer allows this for security reasons.

http://hydra.nixos.org/build/53993125
(cherry picked from commit 0996ea8a68096b596b27678dfdd0f4acde7b92de)


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


[Nix-commits] [NixOS/nixpkgs] a996fe: fstrim: Add service

2017-06-07 Thread Eelco Dolstra
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: a996fe849f669e5d1cafed18f299ed6ed4abec84
  
https://github.com/NixOS/nixpkgs/commit/a996fe849f669e5d1cafed18f299ed6ed4abec84
  Author: gnidorah <gnido...@users.noreply.github.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
M nixos/modules/module-list.nix
A nixos/modules/services/misc/fstrim.nix
M pkgs/os-specific/linux/util-linux/default.nix

  Log Message:
  ---
  fstrim: Add service


  Commit: fad6fc3dae16b5161895165bf275e329e20860d6
  
https://github.com/NixOS/nixpkgs/commit/fad6fc3dae16b5161895165bf275e329e20860d6
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-07 (Wed, 07 Jun 2017)

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

  Log Message:
  ---
  icu: Trivial improvement


  Commit: 338cdea33244cca624793150102461827c01e8d2
  
https://github.com/NixOS/nixpkgs/commit/338cdea33244cca624793150102461827c01e8d2
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-07 (Wed, 07 Jun 2017)

  Changed paths:
M nixos/modules/module-list.nix
A nixos/modules/services/misc/fstrim.nix
M pkgs/os-specific/linux/util-linux/default.nix

  Log Message:
  ---
  Merge branch 'master2' of https://github.com/gnidorah/nixpkgs into staging


Compare: https://github.com/NixOS/nixpkgs/compare/445b107d9399...338cdea33244___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 0ca950: Disable the build user mechanism on all platforms ...

2017-06-06 Thread Eelco Dolstra
  Branch: refs/heads/1.11-maintenance
  Home:   https://github.com/NixOS/nix
  Commit: 0ca95022648b6843b2125cafe5ef5ff68cba2cf7
  
https://github.com/NixOS/nix/commit/0ca95022648b6843b2125cafe5ef5ff68cba2cf7
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Disable the build user mechanism on all platforms except Linux and OS X

(cherry picked from commit c8cc50d46e78de7ae02c2cb7a5159e995c993f61)


  Commit: f534627929a79ac916fa194526877300702d08c1
  
https://github.com/NixOS/nix/commit/f534627929a79ac916fa194526877300702d08c1
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Fix bad cherrypick


  Commit: 8e298e8ad9f0807ac5674574dfac4008dd7c9e2c
  
https://github.com/NixOS/nix/commit/8e298e8ad9f0807ac5674574dfac4008dd7c9e2c
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Always use the Darwin sandbox

Even with "build-use-sandbox = false", we now use sandboxing with a
permissive profile that allows everything except the creation of
setuid/setgid binaries.

Based on 85e93d7b874f99730387714394bb60407cf138d5.


Compare: https://github.com/NixOS/nix/compare/bcc21744dff2...8e298e8ad9f0___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 85e93d: Always use the Darwin sandbox

2017-06-06 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 85e93d7b874f99730387714394bb60407cf138d5
  
https://github.com/NixOS/nix/commit/85e93d7b874f99730387714394bb60407cf138d5
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
M .gitignore
M src/libstore/build.cc
M src/libstore/local.mk
M src/libstore/sandbox-defaults.sb
A src/libstore/sandbox-minimal.sb

  Log Message:
  ---
  Always use the Darwin sandbox

Even with "build-use-sandbox = false", we now use sandboxing with a
permissive profile that allows everything except the creation of
setuid/setgid binaries.


  Commit: c8cc50d46e78de7ae02c2cb7a5159e995c993f61
  
https://github.com/NixOS/nix/commit/c8cc50d46e78de7ae02c2cb7a5159e995c993f61
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Disable the build user mechanism on all platforms except Linux and OS X


Compare: https://github.com/NixOS/nix/compare/d3f780996c05...c8cc50d46e78___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 3d4a8e: nixUnstable: 1.12pre5350_7689181e -> 1.12pre5413_b...

2017-06-06 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3d4a8e1f84b4ad654b1bd8a6577cd786e18a3f6b
  
https://github.com/NixOS/nixpkgs/commit/3d4a8e1f84b4ad654b1bd8a6577cd786e18a3f6b
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

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

  Log Message:
  ---
  nixUnstable: 1.12pre5350_7689181e -> 1.12pre5413_b4b1f452


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


[Nix-commits] [NixOS/nixpkgs] 300fa4: nix: 1.11.8 -> 1.11.9

2017-06-06 Thread Eelco Dolstra
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 300fa462b31ad2106d37fcdb4b504ec60dfd62aa
  
https://github.com/NixOS/nixpkgs/commit/300fa462b31ad2106d37fcdb4b504ec60dfd62aa
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

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

  Log Message:
  ---
  nix: 1.11.8 -> 1.11.9

(cherry picked from commit e4190943c8df207b0ef8a873a016e036eb18037f)


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


[Nix-commits] [NixOS/nix] 88acb6: Add .editorconfig

2017-06-06 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 88acb6461045e4e565c7eef884ea7ab69c2e6de9
  
https://github.com/NixOS/nix/commit/88acb6461045e4e565c7eef884ea7ab69c2e6de9
  Author: Jörg Thalheim <jo...@thalheim.io>
  Date:   2017-06-05 (Mon, 05 Jun 2017)

  Changed paths:
A .editorconfig

  Log Message:
  ---
  Add .editorconfig

- Automatically adjust editor to nix coding style
-> less nitpiks/styling issues in pull requests
-> profit(!)

see also nixpkgs' editorconfig: 
https://github.com/NixOS/nixpkgs/blob/master/.editorconfig


  Commit: d3f780996c05d348bd44fe846520153d5c1ae31c
  
https://github.com/NixOS/nix/commit/d3f780996c05d348bd44fe846520153d5c1ae31c
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
A .editorconfig

  Log Message:
  ---
  Merge pull request #1399 from Mic92/master

Add .editorconfig


Compare: https://github.com/NixOS/nix/compare/b4b1f4525f8d...d3f780996c05___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] bcc217: Bump version

2017-06-01 Thread Eelco Dolstra
  Branch: refs/heads/1.11-maintenance
  Home:   https://github.com/NixOS/nix
  Commit: bcc21744dff21f7145878a47ad81f6a9b5dcad40
  
https://github.com/NixOS/nix/commit/bcc21744dff21f7145878a47ad81f6a9b5dcad40
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
M version

  Log Message:
  ---
  Bump version


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


[Nix-commits] [NixOS/nix] e296b8: Add a seccomp filter to prevent creating setuid/se...

2017-06-01 Thread Eelco Dolstra
  Branch: refs/heads/1.11-maintenance
  Home:   https://github.com/NixOS/nix
  Commit: e296b8884eee6d9ab8c89adb4190e1183529f977
  
https://github.com/NixOS/nix/commit/e296b8884eee6d9ab8c89adb4190e1183529f977
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
M configure.ac
M release.nix
M src/libstore/build.cc
M src/libstore/local.mk
A src/libutil/finally.hh

  Log Message:
  ---
  Add a seccomp filter to prevent creating setuid/setgid binaries

This prevents builders from setting the S_ISUID or S_ISGID bits,
preventing users from using a nixbld* user to create a setuid/setgid
binary to interfere with subsequent builds under the same nixbld* uid.

This is based on aszlig's seccomp code
(47f587700d646f5b03a42f2fa57c28875a31efbe).

Reported by Linus Heckemann.

(cherry picked from commit 6cc6c15a2d50d0021d7242e9806ed6d54538de17)


  Commit: a2cf0f10182cf1abd86ca2404795dd41a7cd0425
  
https://github.com/NixOS/nix/commit/a2cf0f10182cf1abd86ca2404795dd41a7cd0425
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Fix seccomp initialisation on i686-linux

(cherry picked from commit cf93397d3f1d2a8165a100482d07b7f4b7e5bf7f)


  Commit: 17da82e04d531fed06716dba6224d7e9c915e7de
  
https://github.com/NixOS/nix/commit/17da82e04d531fed06716dba6224d7e9c915e7de
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
M release.nix
A tests/setuid.nix

  Log Message:
  ---
  Add test for setuid seccomp filter

(cherry picked from commit 1d9ab273bad34b004dfcfd486273d0df5fed1eca)


  Commit: 1e0f1dab1e3055704dea8e942d2c10a42a177198
  
https://github.com/NixOS/nix/commit/1e0f1dab1e3055704dea8e942d2c10a42a177198
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Require seccomp only in multi-user setups

(cherry picked from commit ff6becafa8efc2f7e6f2b9b889ba4adf20b8d524)


  Commit: 66618dbad50d191deebafd58a7fe6bf6b1717d27
  
https://github.com/NixOS/nix/commit/66618dbad50d191deebafd58a7fe6bf6b1717d27
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
M src/libstore/local-store.cc

  Log Message:
  ---
  canonicalisePathMetaData(): Remove extended attributes / ACLs

EAs/ACLs are not part of the NAR canonicalisation. Worse, setting an
ACL allows a builder to create writable files in the Nix store. So get
rid of them.

Closes #185.

(cherry picked from commit d798349ede3d6eb6e92a2e4f95f6b2179407ceb9)


  Commit: 634d117eded90514e0c05e05a5cd36bdfdd62f1d
  
https://github.com/NixOS/nix/commit/634d117eded90514e0c05e05a5cd36bdfdd62f1d
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Add a seccomp rule to disallow setxattr()

(cherry picked from commit 2ac99a32dab0d2ea59cb9e926f6d6d5b7ef638c6)


  Commit: 4be5a65b395355239918ee70bdd1e7a995e83fce
  
https://github.com/NixOS/nix/commit/4be5a65b395355239918ee70bdd1e7a995e83fce
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Fix seccomp build failure on clang

Fixes

  src/libstore/build.cc:2321:45: error: non-constant-expression cannot be 
narrowed from type 'int' to 'scmp_datum_t' (aka 'unsigned long') in initializer 
list [-Wc++11-narrowing]

(cherry picked from commit fe08d17934e6abe3e8566706f53063166b881f8c)


  Commit: c48697d617c07d280901cf6e1a11ef6fe6d5b6f3
  
https://github.com/NixOS/nix/commit/c48697d617c07d280901cf6e1a11ef6fe6d5b6f3
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
M src/libstore/local-store.cc

  Log Message:
  ---
  Remove listxattr assertion

It appears that sometimes, listxattr() returns a different value for
the query case (i.e. when the buffer size is 0).

(cherry picked from commit 52fec8dde862264874a4f19be329124ac46adb81)


  Commit: aabe20bf78f4b125d2902c323aa98d80058686d7
  
https://github.com/NixOS/nix/commit/aabe20bf78f4b125d2902c323aa98d80058686d7
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
M nix.spec.in
M release.nix

  Log Message:
  ---
  RPM, Deb: Add dependency on libseccomp

(cherry picked from commit ab5834f7a1c2cae9b7071d5a6944ff8b1eeb6e38)


  Commit: 833aae45090ef3505c4ebbf1c63a969968c0b764
  
https://github.com/NixOS/nix/commit/833aae45090ef3505c4ebbf1c63a969968c0b764
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-01 (Thu, 01 

[Nix-commits] [NixOS/nix] b4b1f4: Fix coverage job

2017-06-01 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: b4b1f4525f8dc8f320d666c208bff5cb36777580
  
https://github.com/NixOS/nix/commit/b4b1f4525f8dc8f320d666c208bff5cb36777580
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
M release.nix

  Log Message:
  ---
  Fix coverage job


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


[Nix-commits] [NixOS/nix] ab5834: RPM, Deb: Add dependency on libseccomp

2017-06-01 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: ab5834f7a1c2cae9b7071d5a6944ff8b1eeb6e38
  
https://github.com/NixOS/nix/commit/ab5834f7a1c2cae9b7071d5a6944ff8b1eeb6e38
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
M nix.spec.in
M release.nix

  Log Message:
  ---
  RPM, Deb: Add dependency on libseccomp


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


[Nix-commits] [NixOS/nix] 52fec8: Remove listxattr assertion

2017-05-31 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 52fec8dde862264874a4f19be329124ac46adb81
  
https://github.com/NixOS/nix/commit/52fec8dde862264874a4f19be329124ac46adb81
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-31 (Wed, 31 May 2017)

  Changed paths:
M src/libstore/local-store.cc

  Log Message:
  ---
  Remove listxattr assertion

It appears that sometimes, listxattr() returns a different value for
the query case (i.e. when the buffer size is 0).


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


[Nix-commits] [NixOS/nixpkgs] 784842: xnu: Depend on python

2017-05-31 Thread Eelco Dolstra
  Branch: refs/heads/darwin-sandbox
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7848422d71f000dbb6e0cfd594b7afb9d5281ace
  
https://github.com/NixOS/nixpkgs/commit/7848422d71f000dbb6e0cfd594b7afb9d5281ace
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-31 (Wed, 31 May 2017)

  Changed paths:
M pkgs/development/interpreters/python/cpython/2.7/default.nix
M pkgs/os-specific/darwin/apple-source-releases/xnu/default.nix
M pkgs/stdenv/darwin/default.nix

  Log Message:
  ---
  xnu: Depend on python

Before, it used /usr/bin/python, which breaks when sandboxing is enabled.


  Commit: 961e7ef71d2b6575f6fd69f3d6554d485a733ae5
  
https://github.com/NixOS/nixpkgs/commit/961e7ef71d2b6575f6fd69f3d6554d485a733ae5
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-31 (Wed, 31 May 2017)

  Changed paths:
M pkgs/development/interpreters/perl/default.nix
M pkgs/os-specific/darwin/apple-source-releases/adv_cmds/default.nix
M pkgs/os-specific/darwin/apple-source-releases/configd/default.nix
M pkgs/stdenv/darwin/default.nix
R pkgs/stdenv/darwin/standard-sandbox.sb
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  stdenvDarwin: Remove need for sandboxProfile magic

The required sandbox rules are now builtin in Nix
(https://github.com/NixOS/nix/commit/c96e8cd097ce0d181467fddd92acad4341ca566a).

https://github.com/NixOS/nix/issues/759


Compare: https://github.com/NixOS/nixpkgs/compare/7848422d71f0^...961e7ef71d2b___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 6cc6c1: Add a seccomp filter to prevent creating setuid/se...

2017-05-31 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 6cc6c15a2d50d0021d7242e9806ed6d54538de17
  
https://github.com/NixOS/nix/commit/6cc6c15a2d50d0021d7242e9806ed6d54538de17
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-29 (Mon, 29 May 2017)

  Changed paths:
M configure.ac
M release.nix
M shell.nix
M src/libstore/build.cc
M src/libstore/local.mk

  Log Message:
  ---
  Add a seccomp filter to prevent creating setuid/setgid binaries

This prevents builders from setting the S_ISUID or S_ISGID bits,
preventing users from using a nixbld* user to create a setuid/setgid
binary to interfere with subsequent builds under the same nixbld* uid.

This is based on aszlig's seccomp code
(47f587700d646f5b03a42f2fa57c28875a31efbe).

Reported by Linus Heckemann.


  Commit: cf93397d3f1d2a8165a100482d07b7f4b7e5bf7f
  
https://github.com/NixOS/nix/commit/cf93397d3f1d2a8165a100482d07b7f4b7e5bf7f
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-29 (Mon, 29 May 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Fix seccomp initialisation on i686-linux


  Commit: 1d9ab273bad34b004dfcfd486273d0df5fed1eca
  
https://github.com/NixOS/nix/commit/1d9ab273bad34b004dfcfd486273d0df5fed1eca
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-29 (Mon, 29 May 2017)

  Changed paths:
M release.nix
A tests/setuid.nix

  Log Message:
  ---
  Add test for setuid seccomp filter


  Commit: ff6becafa8efc2f7e6f2b9b889ba4adf20b8d524
  
https://github.com/NixOS/nix/commit/ff6becafa8efc2f7e6f2b9b889ba4adf20b8d524
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Require seccomp only in multi-user setups


  Commit: d798349ede3d6eb6e92a2e4f95f6b2179407ceb9
  
https://github.com/NixOS/nix/commit/d798349ede3d6eb6e92a2e4f95f6b2179407ceb9
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
M src/libstore/local-store.cc

  Log Message:
  ---
  canonicalisePathMetaData(): Remove extended attributes / ACLs

EAs/ACLs are not part of the NAR canonicalisation. Worse, setting an
ACL allows a builder to create writable files in the Nix store. So get
rid of them.

Closes #185.


  Commit: 2ac99a32dab0d2ea59cb9e926f6d6d5b7ef638c6
  
https://github.com/NixOS/nix/commit/2ac99a32dab0d2ea59cb9e926f6d6d5b7ef638c6
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Add a seccomp rule to disallow setxattr()


  Commit: d552d387585840f68fcc7507fca83feb6f937a10
  
https://github.com/NixOS/nix/commit/d552d387585840f68fcc7507fca83feb6f937a10
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Shut up some clang warnings


  Commit: fe08d17934e6abe3e8566706f53063166b881f8c
  
https://github.com/NixOS/nix/commit/fe08d17934e6abe3e8566706f53063166b881f8c
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Fix seccomp build failure on clang

Fixes

  src/libstore/build.cc:2321:45: error: non-constant-expression cannot be 
narrowed from type 'int' to 'scmp_datum_t' (aka 'unsigned long') in initializer 
list [-Wc++11-narrowing]


  Commit: 9bdb88ea6e833ad61d6833aa09560d32c9bc39df
  
https://github.com/NixOS/nix/commit/9bdb88ea6e833ad61d6833aa09560d32c9bc39df
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
M release-common.nix

  Log Message:
  ---
  Only pass --with-sandbox-shell on Linux


  Commit: 83eec5a997cd121158b7adb32a688dc5a63d6c9c
  
https://github.com/NixOS/nix/commit/83eec5a997cd121158b7adb32a688dc5a63d6c9c
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
M src/resolve-system-dependencies/resolve-system-dependencies.cc

  Log Message:
  ---
  resolve-system-dependencies: Several fixes

This fixes

  error: getting attributes of path ‘Versions/Current/CoreFoundation’: No such 
file or directory

when /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation is a 
symlink.

Also fixes a segfault when encounting a file that is not a MACH binary (such
as /dev/null, which is included in __impureHostDeps in Nixpkgs).

Possibly fixes #786.


  Commit: 53a16441878ebd4a5ac6ef8a95a649bfd521da3d
  
https://github.com/NixOS/nix/commit/53a16441878ebd4a5ac6ef8a95a649bfd521da3d
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
M sr

[Nix-commits] [NixOS/nixpkgs] 131812: Fix indentation

2017-05-30 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 13181204841f151a07d1e75155d24daa641fa0de
  
https://github.com/NixOS/nixpkgs/commit/13181204841f151a07d1e75155d24daa641fa0de
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

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

  Log Message:
  ---
  Fix indentation


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


[Nix-commits] [NixOS/nixpkgs] dfebb6: systemd: v232 -> v233

2017-05-30 Thread Eelco Dolstra
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: dfebb66f657240e5448a98d9efc90d4c66825274
  
https://github.com/NixOS/nixpkgs/commit/dfebb66f657240e5448a98d9efc90d4c66825274
  Author: Jörg Thalheim <jo...@thalheim.io>
  Date:   2017-05-30 (Tue, 30 May 2017)

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

  Log Message:
  ---
  systemd: v232 -> v233

Changelog: https://github.com/systemd/systemd/blob/v233/NEWS

Upgrade was pretty smooth. One notably change is the new hybrid cgroup
mode: https://github.com/systemd/systemd/blob/v233/NEWS#L5 It should
provide better compatibility with docker.


  Commit: 3a994fb57920c33e123605df62fe2ac238884695
  
https://github.com/NixOS/nixpkgs/commit/3a994fb57920c33e123605df62fe2ac238884695
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

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

  Log Message:
  ---
  Merge pull request #26231 from Mic92/systemd

systemd: v232 -> v233


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


[Nix-commits] [NixOS/nix] 63145b: Fix typo

2017-05-29 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 63145be2a5ac46a283f85c835fa84bf54db59bbe
  
https://github.com/NixOS/nix/commit/63145be2a5ac46a283f85c835fa84bf54db59bbe
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-29 (Mon, 29 May 2017)

  Changed paths:
M src/libstore/local-store.cc

  Log Message:
  ---
  Fix typo


  Commit: 588dad4084711e71a4dcb0758b2daf2fe03e2c8b
  
https://github.com/NixOS/nix/commit/588dad4084711e71a4dcb0758b2daf2fe03e2c8b
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-29 (Mon, 29 May 2017)

  Changed paths:
M src/libutil/logging.cc
M src/libutil/logging.hh
M src/nix/progress-bar.cc

  Log Message:
  ---
  Fix build failure on Debian/Ubuntu

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


  Commit: 6e01ecd112dce8d8bbe46c839f982892a3ffb589
  
https://github.com/NixOS/nix/commit/6e01ecd112dce8d8bbe46c839f982892a3ffb589
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-29 (Mon, 29 May 2017)

  Changed paths:
M src/libstore/store-api.cc

  Log Message:
  ---
  Fix nix-copy-closure test

Fixes

  client# error: size mismatch importing path 
‘/nix/store/ywf5fihjlxwijm6ygh6s0a353b5yvq4d-libidn2-0.16’; expected 0, got 
120264

This is mostly an artifact of the NixOS VM test environment, where the
Nix database doesn't contain hashes/sizes.

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


Compare: https://github.com/NixOS/nix/compare/d6064dd19b89...6e01ecd112dc___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 86ea7d: Fix variable name typo in derivations doc

2017-05-29 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 86ea7d15665b7bf2bc018c3bfd91d0a948c8f3be
  
https://github.com/NixOS/nix/commit/86ea7d15665b7bf2bc018c3bfd91d0a948c8f3be
  Author: Pyry Jahkola <pyry.jahk...@iki.fi>
  Date:   2017-05-28 (Sun, 28 May 2017)

  Changed paths:
M doc/manual/expressions/derivations.xml

  Log Message:
  ---
  Fix variable name typo in derivations doc


  Commit: d6064dd19b8941f6b42b54c5d51b3f8848fe89b9
  
https://github.com/NixOS/nix/commit/d6064dd19b8941f6b42b54c5d51b3f8848fe89b9
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-05-29 (Mon, 29 May 2017)

  Changed paths:
M doc/manual/expressions/derivations.xml

  Log Message:
  ---
  Merge pull request #1393 from pyrtsa/patch-1

Fix variable name typo in derivations doc


Compare: https://github.com/NixOS/nix/compare/2740a22d2cf4...d6064dd19b89___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 370428: Remove stray `>` in builtins doc

2017-05-29 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 370428f86d03488756cfb27cb9126bf29767e848
  
https://github.com/NixOS/nix/commit/370428f86d03488756cfb27cb9126bf29767e848
  Author: Pyry Jahkola <pyry.jahk...@iki.fi>
  Date:   2017-05-28 (Sun, 28 May 2017)

  Changed paths:
M doc/manual/expressions/builtins.xml

  Log Message:
  ---
  Remove stray `>` in builtins doc


  Commit: 2740a22d2cf494893ea1dd8d637a544590fe5a48
  
https://github.com/NixOS/nix/commit/2740a22d2cf494893ea1dd8d637a544590fe5a48
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-05-29 (Mon, 29 May 2017)

  Changed paths:
M doc/manual/expressions/builtins.xml

  Log Message:
  ---
  Merge pull request #1394 from pyrtsa/patch-2

Remove stray `>` in builtins doc


Compare: https://github.com/NixOS/nix/compare/a7e55151a8d4...2740a22d2cf4___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] bd5008: diffutils: 3.5 -> 3.6

2017-05-24 Thread Eelco Dolstra
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: bd500816f75d326720c096d78db3932e3fadd9ab
  
https://github.com/NixOS/nixpkgs/commit/bd500816f75d326720c096d78db3932e3fadd9ab
  Author: Armijn Hemel <arm...@tjaldur.nl>
  Date:   2017-05-24 (Wed, 24 May 2017)

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

  Log Message:
  ---
  diffutils: 3.5 -> 3.6


  Commit: 105f51f151a1a1f446b86aea677ac23c0144abd8
  
https://github.com/NixOS/nixpkgs/commit/105f51f151a1a1f446b86aea677ac23c0144abd8
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-05-24 (Wed, 24 May 2017)

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

  Log Message:
  ---
  Merge pull request #26057 from armijnhemel/diffutils-3.6

diffutils: 3.5 -> 3.6


Compare: https://github.com/NixOS/nixpkgs/compare/b7fed33057e2...105f51f151a1___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 5677ce: libredirect: allow null paths

2017-05-24 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5677ce200831a83a7b3d37f2cfc4ec00c1095bc5
  
https://github.com/NixOS/nixpkgs/commit/5677ce200831a83a7b3d37f2cfc4ec00c1095bc5
  Author: michael bishop <cleverc...@gmail.com>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
M pkgs/build-support/libredirect/libredirect.c

  Log Message:
  ---
  libredirect: allow null paths


  Commit: dc4e2cd70fd071f08cd5ba8db5ccd3d4dc68b197
  
https://github.com/NixOS/nixpkgs/commit/dc4e2cd70fd071f08cd5ba8db5ccd3d4dc68b197
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
M pkgs/build-support/libredirect/libredirect.c

  Log Message:
  ---
  Merge pull request #26062 from cleverca22/libredirect

libredirect: allow null paths


Compare: https://github.com/NixOS/nixpkgs/compare/601d8c3f0972...dc4e2cd70fd0___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 8a0731: ixgbevf: 4.0.3 -> 4.1.2

2017-05-24 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8a07319e7fb086f9c6cbd47602773f10f3eb49fa
  
https://github.com/NixOS/nixpkgs/commit/8a07319e7fb086f9c6cbd47602773f10f3eb49fa
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-24 (Wed, 24 May 2017)

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

  Log Message:
  ---
  ixgbevf: 4.0.3 -> 4.1.2

This fixes

  error: assertion failed at 
/home/eelco/Dev/nixpkgs-stable/pkgs/os-specific/linux/ixgbevf/default.nix:3:1
  (use ‘--show-trace’ to show detailed location information)

deploying a >=4.10 kernel to EC2. (We could probably also drop the
ixgbevf package with recent kernels, since the ixgbevf module included
in the kernel source tree is recent enough according to Amazon's
recommendation.)


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


[Nix-commits] [NixOS/nixpkgs] a69ae2: go: 1.7.5 -> 1.7.6

2017-05-24 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: a69ae2c7f955b9790776245c3a308dbca7be4a58
  
https://github.com/NixOS/nixpkgs/commit/a69ae2c7f955b9790776245c3a308dbca7be4a58
  Author: Yann Hodique <hodiq...@vmware.com>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
M pkgs/development/compilers/go/1.7.nix

  Log Message:
  ---
  go: 1.7.5 -> 1.7.6


  Commit: 87a651d57b34520277cae77d465c5f18c36feb53
  
https://github.com/NixOS/nixpkgs/commit/87a651d57b34520277cae77d465c5f18c36feb53
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
M pkgs/development/compilers/go/1.7.nix

  Log Message:
  ---
  Merge pull request #26049 from sigma/pr/go-1.7.6

go: 1.7.5 -> 1.7.6


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


[Nix-commits] [NixOS/nix] f12a04: Propagate NIX_BUILD_CORES to nix-shell environment...

2017-05-24 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: f12a048a0595ea75453c6b67a3b72da8106fc6ad
  
https://github.com/NixOS/nix/commit/f12a048a0595ea75453c6b67a3b72da8106fc6ad
  Author: Neil Mayhew <n...@neil.mayhew.name>
  Date:   2017-04-09 (Sun, 09 Apr 2017)

  Changed paths:
M src/nix-build/nix-build.cc

  Log Message:
  ---
  Propagate NIX_BUILD_CORES to nix-shell environments


  Commit: fbe9fe0e7504d2f00eda3971ecd4997e43e3784d
  
https://github.com/NixOS/nix/commit/fbe9fe0e7504d2f00eda3971ecd4997e43e3784d
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
M src/nix-build/nix-build.cc

  Log Message:
  ---
  Merge branch 'topic/cores-master' of https://github.com/neilmayhew/nix


  Commit: a7e55151a8d45d987ca42ba318c44ed3ccdeecca
  
https://github.com/NixOS/nix/commit/a7e55151a8d45d987ca42ba318c44ed3ccdeecca
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
M src/nix-build/nix-build.cc

  Log Message:
  ---
  Fix #1314

Also, make nix-shell respect --option. (Previously it only passed it
along to nix-instantiate and nix-build.)


Compare: https://github.com/NixOS/nix/compare/9e43a4a04113...a7e55151a8d4___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 542fe0: nix-profile.sh: remove sbin from PATH

2017-05-24 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 542fe0d8f3f25025a2642583d8593580a5d10e3a
  
https://github.com/NixOS/nix/commit/542fe0d8f3f25025a2642583d8593580a5d10e3a
  Author: Jörg Thalheim <mi...@users.noreply.github.com>
  Date:   2017-05-07 (Sun, 07 May 2017)

  Changed paths:
M scripts/nix-profile.sh.in

  Log Message:
  ---
  nix-profile.sh: remove sbin from PATH

sbin is a symlink to bin. 
profiles only contains packages, which have this symlink. 
It is a subset of bin.

related to https://github.com/NixOS/nixpkgs/pull/25550


  Commit: 9e43a4a041137001d51f451ec6c5e2c1047c7370
  
https://github.com/NixOS/nix/commit/9e43a4a041137001d51f451ec6c5e2c1047c7370
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
M scripts/nix-profile.sh.in

  Log Message:
  ---
  Merge pull request #1376 from Mic92/patch-1

nix-profile.sh: remove sbin from PATH


Compare: https://github.com/NixOS/nix/compare/971152418849...9e43a4a04113___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 2b2de5: Document fetchTarball can take a sha256

2017-05-24 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 2b2de5ef6aeb023f22e551e74e454acc73106cc8
  
https://github.com/NixOS/nix/commit/2b2de5ef6aeb023f22e551e74e454acc73106cc8
  Author: Frederik Rietdijk <freddyrietd...@fridh.nl>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M doc/manual/expressions/builtins.xml

  Log Message:
  ---
  Document fetchTarball can take a sha256

Note that I refer to `nix-prefetch-url`.


  Commit: b303ad012cc4fa9d4fc947191e685eaef45fb6ed
  
https://github.com/NixOS/nix/commit/b303ad012cc4fa9d4fc947191e685eaef45fb6ed
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
M doc/manual/expressions/builtins.xml

  Log Message:
  ---
  Merge pull request #1382 from FRidh/patch-1

Document fetchTarball can take a sha256


Compare: https://github.com/NixOS/nix/compare/edbb105e98b1...b303ad012cc4___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 75a1d9: nar-accessor: use tree, fixes readDirectory missin...

2017-05-24 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 75a1d9849d7355c227ce76be17809a71852956b3
  
https://github.com/NixOS/nix/commit/75a1d9849d7355c227ce76be17809a71852956b3
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
M src/libstore/nar-accessor.cc

  Log Message:
  ---
  nar-accessor: use tree, fixes readDirectory missing children

Previously, if a directory `foo` existed and a file `foo-` (where `-` is any 
character that is sorted before `/`), then  `readDirectory` would return an 
empty list.

To fix this, we now use a tree where we can just access the children of the 
node, and do not need to rely on sorting behavior to list the contents of a 
directory.


  Commit: 4412f7c08367b17b3be723ee42df159100d93922
  
https://github.com/NixOS/nix/commit/4412f7c08367b17b3be723ee42df159100d93922
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
M tests/local.mk
A tests/nar-index.nix
A tests/nar-index.sh

  Log Message:
  ---
  nar-archive.cc: add tests for the nar index


  Commit: 5ee06e612a93a30bfa3b2129a3951e0c36f95602
  
https://github.com/NixOS/nix/commit/5ee06e612a93a30bfa3b2129a3951e0c36f95602
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
M src/libstore/nar-accessor.cc

  Log Message:
  ---
  nar-accessor: non-recursive NarMember::find

This avoids a possible stack overflow if directories are very deeply nested.


  Commit: a1f428b13bd003caaf3a1d1da6e934d52b6ea6dc
  
https://github.com/NixOS/nix/commit/a1f428b13bd003caaf3a1d1da6e934d52b6ea6dc
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
M src/libstore/nar-accessor.cc

  Log Message:
  ---
  nar-accessor.cc: remove unused member NarIndexer::currentName


  Commit: edbb105e98b1d2c54776e91b49984eb50cce9db4
  
https://github.com/NixOS/nix/commit/edbb105e98b1d2c54776e91b49984eb50cce9db4
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
M src/libstore/nar-accessor.cc
M tests/local.mk
A tests/nar-index.nix
A tests/nar-index.sh

  Log Message:
  ---
  Merge branch 'nar-accessor-tree' of https://github.com/bennofs/nix


Compare: https://github.com/NixOS/nix/compare/f134fc4cbecc...edbb105e98b1___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 3b44cd: aws-sdk-cpp: 1.0.60 -> 1.0.127

2017-05-22 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3b44cd731c81420810659cc3b254389562cbe505
  
https://github.com/NixOS/nixpkgs/commit/3b44cd731c81420810659cc3b254389562cbe505
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-22 (Mon, 22 May 2017)

  Changed paths:
M pkgs/development/libraries/aws-sdk-cpp/default.nix

  Log Message:
  ---
  aws-sdk-cpp: 1.0.60 -> 1.0.127


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


[Nix-commits] [NixOS/nixpkgs] e5fbeb: test-driver: sendKeys() support for capital letter...

2017-05-19 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e5fbeb2f11a8a63f2bb0af5665e6d0c85f1c2f12
  
https://github.com/NixOS/nixpkgs/commit/e5fbeb2f11a8a63f2bb0af5665e6d0c85f1c2f12
  Author: Volth <vo...@webmaster.ms>
  Date:   2017-05-19 (Fri, 19 May 2017)

  Changed paths:
M nixos/lib/test-driver/Machine.pm

  Log Message:
  ---
  test-driver: sendKeys() support for capital letters


  Commit: 53cd7f3373f8ec47703ccd38c2f3171fe609cd70
  
https://github.com/NixOS/nixpkgs/commit/53cd7f3373f8ec47703ccd38c2f3171fe609cd70
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-05-19 (Fri, 19 May 2017)

  Changed paths:
M nixos/lib/test-driver/Machine.pm

  Log Message:
  ---
  Merge pull request #25920 from volth/test-driver-send-capital-letters

test-driver: sendKeys() support for capital letters


Compare: https://github.com/NixOS/nixpkgs/compare/c1609e4a4d59...53cd7f3373f8___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] e46090: builtins.match: Improve error message for bad regu...

2017-05-17 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: e46090edb101acac20ab1e6260a0ba98c177206a
  
https://github.com/NixOS/nix/commit/e46090edb101acac20ab1e6260a0ba98c177206a
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-17 (Wed, 17 May 2017)

  Changed paths:
M src/libexpr/primops.cc

  Log Message:
  ---
  builtins.match: Improve error message for bad regular expression

Issue #1331.


  Commit: f134fc4cbecc258771272c2418af3b92ade88f80
  
https://github.com/NixOS/nix/commit/f134fc4cbecc258771272c2418af3b92ade88f80
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-17 (Wed, 17 May 2017)

  Changed paths:
M doc/manual/expressions/builtins.xml
M tests/lang/eval-okay-regex-match.nix

  Log Message:
  ---
  Document that builtins.match takes a POSIX extended RE


Compare: https://github.com/NixOS/nix/compare/b01d62285cdc...f134fc4cbecc___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] b01d62: Improve progress indicator

2017-05-16 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: b01d62285cdcd376a8db1863049c68d8c7238837
  
https://github.com/NixOS/nix/commit/b01d62285cdcd376a8db1863049c68d8c7238837
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
M src/libexpr/eval.cc
M src/libexpr/get-drvs.cc
M src/libexpr/primops.cc
M src/libexpr/primops/fetchgit.cc
M src/libstore/build.cc
M src/libstore/builtins.cc
M src/libstore/download.cc
M src/libstore/download.hh
M src/libstore/export-import.cc
M src/libstore/gc.cc
M src/libstore/http-binary-cache-store.cc
M src/libstore/optimise-store.cc
M src/libstore/store-api.cc
M src/libutil/logging.cc
M src/libutil/logging.hh
M src/libutil/util.cc
M src/libutil/util.hh
M src/nix-channel/nix-channel.cc
M src/nix-daemon/nix-daemon.cc
M src/nix-env/nix-env.cc
M src/nix-instantiate/nix-instantiate.cc
M src/nix/installables.cc
M src/nix/main.cc
M src/nix/progress-bar.cc
M src/nix/sigs.cc
M src/nix/verify.cc

  Log Message:
  ---
  Improve progress indicator


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


[Nix-commits] [NixOS/nix] c05d9a: Disallow outputHash being null or an empty string

2017-05-15 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: c05d9ae7a5f72a6575130cf92fb54e3f90d1927d
  
https://github.com/NixOS/nix/commit/c05d9ae7a5f72a6575130cf92fb54e3f90d1927d
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
M src/libexpr/primops.cc

  Log Message:
  ---
  Disallow outputHash being null or an empty string

Fixes #1384.


  Commit: e80257f12209c8fbb709b901039ef5199111276e
  
https://github.com/NixOS/nix/commit/e80257f12209c8fbb709b901039ef5199111276e
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Simplify fixed-output check


Compare: https://github.com/NixOS/nix/compare/a2d92bb20e82...e80257f12209___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 2b761d: Make fmt() non-recursive

2017-05-15 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 2b761d5f50b7dc17dc55c31980c2253c37b3c920
  
https://github.com/NixOS/nix/commit/2b761d5f50b7dc17dc55c31980c2253c37b3c920
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
M src/libutil/logging.hh
M src/libutil/types.hh

  Log Message:
  ---
  Make fmt() non-recursive


  Commit: b30f5784d0184688de964f6239e373b62101ebc4
  
https://github.com/NixOS/nix/commit/b30f5784d0184688de964f6239e373b62101ebc4
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Linux sandbox: Don't barf on invalid paths

This is useful when we're using a diverted store (e.g. "--store
local?root=/tmp/nix") in conjunction with a statically-linked sh from
the host store (e.g. "sandbox-paths =/bin/sh=/nix/store/.../bin/busybox").


  Commit: a2d92bb20e82a0957067ede60e91fab256948b41
  
https://github.com/NixOS/nix/commit/a2d92bb20e82a0957067ede60e91fab256948b41
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
M Makefile.config.in
M configure.ac
A release-common.nix
M release.nix
M shell.nix
M src/libstore/globals.cc
M src/libstore/local.mk

  Log Message:
  ---
  Add --with-sandbox-shell configure flag

And add a 116 KiB ash shell from busybox to the release build. This
helps to make sandbox builds work out of the box on non-NixOS systems
and with diverted stores.


Compare: https://github.com/NixOS/nix/compare/0124d118ef67...a2d92bb20e82___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 06880d: nix ls: support '/' for the root directory

2017-05-15 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 06880d7ed8b8ef8658eb965e6614136c67988970
  
https://github.com/NixOS/nix/commit/06880d7ed8b8ef8658eb965e6614136c67988970
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
M src/nix/ls.cc

  Log Message:
  ---
  nix ls: support '/' for the root directory


  Commit: 0124d118ef6718716f740ebfd3ae5eff0453be9e
  
https://github.com/NixOS/nix/commit/0124d118ef6718716f740ebfd3ae5eff0453be9e
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
M src/nix/ls.cc

  Log Message:
  ---
  Merge pull request #1387 from bennofs/nix-ls-slash

nix ls: support '/' for the root directory


Compare: https://github.com/NixOS/nix/compare/510bc1735b35...0124d118ef67___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 510bc1: Add an option for extending the user agent header

2017-05-11 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 510bc1735b3507b0f434303fdec5e824c879c838
  
https://github.com/NixOS/nix/commit/510bc1735b3507b0f434303fdec5e824c879c838
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M src/libstore/download.cc
M src/libstore/globals.hh

  Log Message:
  ---
  Add an option for extending the user agent header

This is useful e.g. for distinguishing traffic to a binary cache
(e.g. certain machines can use a different tag in the user agent).


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


[Nix-commits] [NixOS/nix] 45d7b1: LocalStore::addToStore(): Check info.narSize

2017-05-11 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 45d7b1a9e9018a2be5add1dc6d983e6b7b339c61
  
https://github.com/NixOS/nix/commit/45d7b1a9e9018a2be5add1dc6d983e6b7b339c61
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M src/libstore/download.cc
M src/libstore/local-store.cc

  Log Message:
  ---
  LocalStore::addToStore(): Check info.narSize

It allowed the client to specify bogus narSize values. In particular,
Downloader::downloadCached wasn't setting narSize at all.


  Commit: 6f245bf24a1154142acf2b8dfa620b891f461d55
  
https://github.com/NixOS/nix/commit/6f245bf24a1154142acf2b8dfa620b891f461d55
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M src/libstore/local-store.cc
M src/libstore/store-api.hh

  Log Message:
  ---
  Change the meaning of info.ultimate

It now means "paths that were built locally". It no longer includes
paths that were added locally. For those we don't need info.ultimate,
since we have the content-addressability assertion (info.ca).


  Commit: 1a8e15053a6611963042306d4d3b0d5b89629eb1
  
https://github.com/NixOS/nix/commit/1a8e15053a6611963042306d4d3b0d5b89629eb1
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M src/nix-daemon/nix-daemon.cc

  Log Message:
  ---
  Don't allow untrusted users to set info.ultimate

Note that a trusted signature was still required in this case so it
was not a huge deal.


  Commit: ea65ae0f9c3461f9b098c8757e01f5c3add8b40c
  
https://github.com/NixOS/nix/commit/ea65ae0f9c3461f9b098c8757e01f5c3add8b40c
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M src/libstore/download.cc

  Log Message:
  ---
  Tweak error message


  Commit: 62d476c7ee5dbb79fb435895e0cda3fac8f53ba3
  
https://github.com/NixOS/nix/commit/62d476c7ee5dbb79fb435895e0cda3fac8f53ba3
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
M src/libstore/store-api.cc

  Log Message:
  ---
  Fix typo


Compare: https://github.com/NixOS/nix/compare/1fd59447d56a...62d476c7ee5d___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] c5f23f: Replace readline by linenoise

2017-05-10 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: c5f23f10a84f568874321c04984b1a14d2dce978
  
https://github.com/NixOS/nix/commit/c5f23f10a84f568874321c04984b1a14d2dce978
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
M configure.ac
M doc/manual/introduction/about-nix.xml
M nix.spec.in
M release.nix
M shell.nix
A src/linenoise/LICENSE
A src/linenoise/linenoise.c
A src/linenoise/linenoise.h
M src/nix/local.mk
M src/nix/repl.cc

  Log Message:
  ---
  Replace readline by linenoise

Using linenoise avoids a license compatibility issue (#1356), is a lot
smaller and doesn't pull in ncurses.


  Commit: 1fd59447d56a88add8874f9a8b0885a1acd13606
  
https://github.com/NixOS/nix/commit/1fd59447d56a88add8874f9a8b0885a1acd13606
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
M doc/manual/expressions/builtins.xml

  Log Message:
  ---
  Typo


Compare: https://github.com/NixOS/nix/compare/82a9c93c7f09...1fd59447d56a___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 17107f: flashplayer: 25.0.0.148 -> 25.0.0.171

2017-05-09 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 17107fc97731167534c44d384331858240270d9a
  
https://github.com/NixOS/nixpkgs/commit/17107fc97731167534c44d384331858240270d9a
  Author: taku0 <mxxouy6x3m_git...@tatapa.org>
  Date:   2017-05-09 (Tue, 09 May 2017)

  Changed paths:
M 
pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix
M 
pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix

  Log Message:
  ---
  flashplayer: 25.0.0.148 -> 25.0.0.171


  Commit: 3d3e4cdd7d72b35657fa962b8b608b76dcdf380c
  
https://github.com/NixOS/nixpkgs/commit/3d3e4cdd7d72b35657fa962b8b608b76dcdf380c
  Author: taku0 <mxxouy6x3m_git...@tatapa.org>
  Date:   2017-05-09 (Tue, 09 May 2017)

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

  Log Message:
  ---
  flashplayer-ppapi: 25.0.0.148 -> 25.0.0.171


  Commit: 00712bf472093150649fb081a400d3232838ef23
  
https://github.com/NixOS/nixpkgs/commit/00712bf472093150649fb081a400d3232838ef23
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-05-09 (Tue, 09 May 2017)

  Changed paths:
M pkgs/applications/networking/browsers/chromium/plugins.nix
M 
pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix
M 
pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix

  Log Message:
  ---
  Merge pull request #25644 from taku0/flashplayer-25.0.0.171

 flashplayer: 25.0.0.148 -> 25.0.0.171


Compare: https://github.com/NixOS/nixpkgs/compare/80fc0a6f99da...00712bf47209___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixops] 324e1b: Make --use-substitutes conditional on self.has_fas...

2017-05-08 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixops
  Commit: 324e1be9427ded1403022fb00530546363d4279c
  
https://github.com/NixOS/nixops/commit/324e1be9427ded1403022fb00530546363d4279c
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

  Changed paths:
M nixops/backends/__init__.py

  Log Message:
  ---
  Make --use-substitutes conditional on self.has_fast_connection again


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


[Nix-commits] [NixOS/nixops] 86835e: Use nix-copy-closure --use-substitutes

2017-05-08 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixops
  Commit: 86835eb5e167188c50501e4f960d0c9b93a0cbb2
  
https://github.com/NixOS/nixops/commit/86835eb5e167188c50501e4f960d0c9b93a0cbb2
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

  Changed paths:
M nixops/backends/__init__.py

  Log Message:
  ---
  Use nix-copy-closure --use-substitutes

Fixes #478.


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


[Nix-commits] [NixOS/nix] 03ae5e: Add "nix edit" command

2017-05-08 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 03ae5e64592d6d62f30158ccfa804f1b4135a596
  
https://github.com/NixOS/nix/commit/03ae5e64592d6d62f30158ccfa804f1b4135a596
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

  Changed paths:
A src/nix/edit.cc

  Log Message:
  ---
  Add "nix edit" command

This is a little convenience command that opens the Nix expression of
the specified package. For example,

  nix edit nixpkgs.perlPackages.Moose

opens  in $EDITOR (at the
right line number for some editors).

This requires the package to have a meta.position attribute.


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


[Nix-commits] [NixOS/nixpkgs] e27008: shadow: Fix hash

2017-05-08 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e2700861fb4b5598695209e631a22a2cd44bb2c9
  
https://github.com/NixOS/nixpkgs/commit/e2700861fb4b5598695209e631a22a2cd44bb2c9
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

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

  Log Message:
  ---
  shadow: Fix hash


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


[Nix-commits] [NixOS/nixpkgs] 234cdc: nixUnstable: 1.12pre5344_eba840c8 -> 1.12pre5350_7...

2017-05-08 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 234cdc02eb8cffced6da5fdcb348923fe326cdec
  
https://github.com/NixOS/nixpkgs/commit/234cdc02eb8cffced6da5fdcb348923fe326cdec
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

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

  Log Message:
  ---
  nixUnstable: 1.12pre5344_eba840c8 -> 1.12pre5350_7689181e


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


[Nix-commits] [NixOS/nixpkgs] e0c926: libseccomp: 2.3.1 -> 2.3.2 + fixed scmp_sys_resol...

2017-05-08 Thread Eelco Dolstra
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e0c92639354dc3432af386c53b7d6d6cddf655bb
  
https://github.com/NixOS/nixpkgs/commit/e0c92639354dc3432af386c53b7d6d6cddf655bb
  Author: Renaud <c0b...@users.noreply.github.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

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

  Log Message:
  ---
  libseccomp: 2.3.1  -> 2.3.2 + fixed scmp_sys_resolver

`libseccomp` is updated to 2.3.2
`scmp_sys_resolver` is fixed (it could not find libseccomp.so.2 shared library 
before)

(cherry picked from commit 98edb2436861e18ef73076c5a894a6a90e7db71c)


  Commit: 612cbd7697b4c24632b868b973e5a6272b872c89
  
https://github.com/NixOS/nixpkgs/commit/612cbd7697b4c24632b868b973e5a6272b872c89
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

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

  Log Message:
  ---
  libseccomp: Fix RPATH

Ensure that bin/scmp_sys_resolver doesn't have $TMPDIR in its RPATH.

I can't reproduce the issue reported in
98edb2436861e18ef73076c5a894a6a90e7db71c that required the addition of
a wrapper script. It seems to work fine without.

(cherry picked from commit d46e78ed0f2e6debcb2184e349a2a7a1f45ac5c8)


  Commit: 9dedc957736f32590da26ceee3e39428f0c55a42
  
https://github.com/NixOS/nixpkgs/commit/9dedc957736f32590da26ceee3e39428f0c55a42
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

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

  Log Message:
  ---
  shadow: Fix using default shell in useradd

This caused "useradd xyzzy" to produce a user with no shell:

  xyzzy:x:1002:100::/home/xyzzy:

https://github.com/shadow-maint/shadow/pull/33
(cherry picked from commit 7f6abddcd7dc8d9348a499043996a14ca31bda53)


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


[Nix-commits] [NixOS/nixpkgs] ce201f: debian: 8.7 -> 8.8

2017-05-08 Thread Eelco Dolstra
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ce201f43ef67fcb81d112261ee176588730d8155
  
https://github.com/NixOS/nixpkgs/commit/ce201f43ef67fcb81d112261ee176588730d8155
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

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

  Log Message:
  ---
  debian: 8.7 -> 8.8

(cherry picked from commit 31c2d20621722d9d388e0afd10a6cc2e39c13d96)


  Commit: 8bc45d33c84ae40c1fab2c0bcbc0c3049f24b762
  
https://github.com/NixOS/nixpkgs/commit/8bc45d33c84ae40c1fab2c0bcbc0c3049f24b762
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

  Changed paths:
M pkgs/data/documentation/man-pages/default.nix

  Log Message:
  ---
  man-pages: 4.09 -> 4.11

(cherry picked from commit b7ed6ef9e1fd86929204d5ba9eb1377fe4aa7327)


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


[Nix-commits] [NixOS/nixpkgs] 31c2d2: debian: 8.7 -> 8.8

2017-05-08 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 31c2d20621722d9d388e0afd10a6cc2e39c13d96
  
https://github.com/NixOS/nixpkgs/commit/31c2d20621722d9d388e0afd10a6cc2e39c13d96
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

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

  Log Message:
  ---
  debian: 8.7 -> 8.8


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


[Nix-commits] [NixOS/nix] 768918: Minor cleanup

2017-05-08 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 7689181e4f5921d3356736996079ec0310e834c6
  
https://github.com/NixOS/nix/commit/7689181e4f5921d3356736996079ec0310e834c6
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

  Changed paths:
M src/libstore/store-api.cc

  Log Message:
  ---
  Minor cleanup


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


[Nix-commits] [NixOS/nix] ebfcee: build-remote: Check remote build status

2017-05-08 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: ebfceeb333120411af46d0af4805f3e7d557159f
  
https://github.com/NixOS/nix/commit/ebfceeb333120411af46d0af4805f3e7d557159f
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

  Changed paths:
M src/build-remote/build-remote.cc

  Log Message:
  ---
  build-remote: Check remote build status


  Commit: 00b286275c1a77458e45bd73528c9ca729cca7f6
  
https://github.com/NixOS/nix/commit/00b286275c1a77458e45bd73528c9ca729cca7f6
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

  Changed paths:
M src/libstore/build.cc
M tests/linux-sandbox.sh

  Log Message:
  ---
  Linux sandbox: Fix compatibility with older kernels


Compare: https://github.com/NixOS/nix/compare/0a97eb6bd7d4...00b286275c1a___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 7f6abd: shadow: Fix using default shell in useradd

2017-05-08 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7f6abddcd7dc8d9348a499043996a14ca31bda53
  
https://github.com/NixOS/nixpkgs/commit/7f6abddcd7dc8d9348a499043996a14ca31bda53
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

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

  Log Message:
  ---
  shadow: Fix using default shell in useradd

This caused "useradd xyzzy" to produce a user with no shell:

  xyzzy:x:1002:100::/home/xyzzy:

https://github.com/shadow-maint/shadow/pull/33


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


Re: [Nix-dev] still waiting for https://cache.nixos.org after 5 seconds...

2017-05-08 Thread Eelco Dolstra
Hi,

On 05/08/2017 01:46 PM, Denis wrote:

> I really do not understand the reasons of the strong opposition to
> another mirror on Cloudflare (free of cost, although it may not solve
> the problem completely - it has no endpoint in Vietnam, for example -
> it may increase availability and reduce Amazon bills) and to allowing
> the people in regions to host mirrors (it should not be a security
> breach as the packages are cryptographic signed).

I'm not opposed to mirrors at all. I gave some info on how to set up a mirror 
here:

https://mailman.science.uu.nl/pipermail/nix-dev/2016-October/022029.html

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 3ef040: Remove unused `local` command.

2017-05-08 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3ef04024d9144804421d442cbe888776c408bc88
  
https://github.com/NixOS/nixpkgs/commit/3ef04024d9144804421d442cbe888776c408bc88
  Author: Judah Jacobson <ju...@users.noreply.github.com>
  Date:   2017-05-07 (Sun, 07 May 2017)

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

  Log Message:
  ---
  Remove unused `local` command.


  Commit: 81ffcfdef3e4865a45b92ac65c8b434447df0421
  
https://github.com/NixOS/nixpkgs/commit/81ffcfdef3e4865a45b92ac65c8b434447df0421
  Author: Eelco Dolstra <eelco.dols...@logicblox.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

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

  Log Message:
  ---
  Merge pull request #25602 from TaktInc/sierra-haskell

Remove unused `local` command.


Compare: https://github.com/NixOS/nixpkgs/compare/192f8e7699ff...81ffcfdef3e4___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nix] 0a97eb: Remove superfluous #ifdef

2017-05-08 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 0a97eb6bd7d459de80432a5dbf39daf16647bb8c
  
https://github.com/NixOS/nix/commit/0a97eb6bd7d459de80432a5dbf39daf16647bb8c
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

  Changed paths:
M src/libstore/build.cc

  Log Message:
  ---
  Remove superfluous #ifdef


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


  1   2   3   4   5   6   7   8   9   10   >