[Nix-commits] [NixOS/nixpkgs] 6685b7: burpsuite: 1.7.06 -> 1.7.23

2017-07-03 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6685b7a3d8ef5ab9cd1fd896bcbcd89d76643c86
  
https://github.com/NixOS/nixpkgs/commit/6685b7a3d8ef5ab9cd1fd896bcbcd89d76643c86
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-07-03 (Mon, 03 Jul 2017)

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

  Log Message:
  ---
  burpsuite: 1.7.06 -> 1.7.23


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


[Nix-commits] [NixOS/nixpkgs] b16ed1: python-pwntools: 3.1 -> 3.7 (including dependencie...

2017-07-01 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b16ed16c997248af5be5080134566fd3d741c939
  
https://github.com/NixOS/nixpkgs/commit/b16ed16c997248af5be5080134566fd3d741c939
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

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

  Log Message:
  ---
  python-pwntools: 3.1 -> 3.7 (including dependencies)


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


[Nix-commits] [NixOS/nixpkgs] 36021d: i3lock: 2.8 -> 2.9.1

2017-07-01 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 36021ddaaf6d1cefefe0647a55f0889d1ba0fadd
  
https://github.com/NixOS/nixpkgs/commit/36021ddaaf6d1cefefe0647a55f0889d1ba0fadd
  Author: Johannes Frankenau <johan...@frankenau.net>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
M pkgs/applications/window-managers/i3/lock.nix

  Log Message:
  ---
  i3lock: 2.8 -> 2.9.1


  Commit: 13c8c847f42a5b0328ff0305351151cc0d65ab6e
  
https://github.com/NixOS/nixpkgs/commit/13c8c847f42a5b0328ff0305351151cc0d65ab6e
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-07-01 (Sat, 01 Jul 2017)

  Changed paths:
M pkgs/applications/window-managers/i3/lock.nix

  Log Message:
  ---
  Merge pull request #27007 from jfrankenau/update-i3lock

i3lock: 2.8 -> 2.9.1


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


[Nix-commits] [NixOS/nixpkgs] 3ab280: pstoedit: fix pkgconfig file

2017-06-30 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3ab280808c9e5ea0c62be05bda47a5d137baf862
  
https://github.com/NixOS/nixpkgs/commit/3ab280808c9e5ea0c62be05bda47a5d137baf862
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-06-30 (Fri, 30 Jun 2017)

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

  Log Message:
  ---
  pstoedit: fix pkgconfig file


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


[Nix-commits] [NixOS/nixpkgs] a24960: autotrace: init at 0.31.1

2017-06-30 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: a24960d2146e3c15eb56401293605ca3cbc45047
  
https://github.com/NixOS/nixpkgs/commit/a24960d2146e3c15eb56401293605ca3cbc45047
  Author: Chris Hodapp <hodap...@gmail.com>
  Date:   2017-06-10 (Sat, 10 Jun 2017)

  Changed paths:
A pkgs/applications/graphics/autotrace/autofig.nix
A pkgs/applications/graphics/autotrace/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  autotrace: init at 0.31.1

Add ApplicationServices for Darwin build

Clean up comments


  Commit: 98bd25a02e140ac65ff1ef1fb5339fc04d839db5
  
https://github.com/NixOS/nixpkgs/commit/98bd25a02e140ac65ff1ef1fb5339fc04d839db5
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-06-30 (Fri, 30 Jun 2017)

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

  Log Message:
  ---
  autotrace: build with pstoedit


  Commit: 58a231d944fb87e434d88bf999697beaaf114d7a
  
https://github.com/NixOS/nixpkgs/commit/58a231d944fb87e434d88bf999697beaaf114d7a
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-06-30 (Fri, 30 Jun 2017)

  Changed paths:
A pkgs/applications/graphics/autotrace/autofig.nix
A pkgs/applications/graphics/autotrace/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #26026 from Hodapp87/autotrace

autotrace: init at 0.31.1


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


[Nix-commits] [NixOS/nixpkgs] fd0f02: mopidy-local-sqlite: init at 1.0.0

2017-06-30 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: fd0f02628b4e761b7ecd7bced2531f41e09bd14d
  
https://github.com/NixOS/nixpkgs/commit/fd0f02628b4e761b7ecd7bced2531f41e09bd14d
  Author: Roman Volosatovs <rvolosat...@riseup.net>
  Date:   2017-06-25 (Sun, 25 Jun 2017)

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

  Log Message:
  ---
  mopidy-local-sqlite: init at 1.0.0


  Commit: a0286ca6f06674f9bd8ad167680e9b2837f4668a
  
https://github.com/NixOS/nixpkgs/commit/a0286ca6f06674f9bd8ad167680e9b2837f4668a
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-06-30 (Fri, 30 Jun 2017)

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

  Log Message:
  ---
  Merge pull request #26838 from rvolosatovs/init/mopidy-local-sqlite

mopidy-local-sqlite: init at 1.0.0


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


[Nix-commits] [NixOS/nixpkgs] aff15c: pidgin-sipe: 1.22.0 -> 1.22.1

2017-06-30 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: aff15c4b7b43d22ac4dafc6459de82900c2fc4c4
  
https://github.com/NixOS/nixpkgs/commit/aff15c4b7b43d22ac4dafc6459de82900c2fc4c4
  Author: Jens Binkert <jens...@protonmail.com>
  Date:   2017-06-22 (Thu, 22 Jun 2017)

  Changed paths:
M 
pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/default.nix

  Log Message:
  ---
  pidgin-sipe: 1.22.0 -> 1.22.1


  Commit: 081a071371663ad6ea2b3dec54f24d067f5903e6
  
https://github.com/NixOS/nixpkgs/commit/081a071371663ad6ea2b3dec54f24d067f5903e6
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-06-30 (Fri, 30 Jun 2017)

  Changed paths:
M 
pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/default.nix

  Log Message:
  ---
  Merge pull request #26758 from jensbin/pidgin-sipe

pidgin-sipe: 1.22.0 -> 1.22.1


Compare: https://github.com/NixOS/nixpkgs/compare/2442ac990e7c...081a07137166___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] ea32c7: glpk: 4.61 -> 4.62

2017-06-30 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ea32c77e25f6c20e60a381225b6605fe34a1e9db
  
https://github.com/NixOS/nixpkgs/commit/ea32c77e25f6c20e60a381225b6605fe34a1e9db
  Author: Lancelot SIX <l...@lancelotsix.com>
  Date:   2017-06-15 (Thu, 15 Jun 2017)

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

  Log Message:
  ---
  glpk: 4.61 -> 4.62

See http://lists.gnu.org/archive/html/info-gnu/2017-06/msg6.html
for release announcement


  Commit: 2442ac990e7c5a8c7c51ab3a03c4c80f43baa2fa
  
https://github.com/NixOS/nixpkgs/commit/2442ac990e7c5a8c7c51ab3a03c4c80f43baa2fa
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-06-30 (Fri, 30 Jun 2017)

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

  Log Message:
  ---
  Merge pull request #26587 from lsix/update_glpk

glpk: 4.61 -> 4.62


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


[Nix-commits] [NixOS/nixpkgs] fbce96: jd: init at 0.3.1

2017-06-30 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: fbce96014f250118a3a3d02ea5eb05e8f4ab740d
  
https://github.com/NixOS/nixpkgs/commit/fbce96014f250118a3a3d02ea5eb05e8f4ab740d
  Author: Nicolas Pouillard <nicolas.pouill...@gmail.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

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

  Log Message:
  ---
  jd: init at 0.3.1


  Commit: 3db7c9d5b8d42a8878450c4290d9ff2541ac5d37
  
https://github.com/NixOS/nixpkgs/commit/3db7c9d5b8d42a8878450c4290d9ff2541ac5d37
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-06-30 (Fri, 30 Jun 2017)

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

  Log Message:
  ---
  Merge pull request #26953 from np/jd

jd: init at 0.3.1


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


[Nix-commits] [NixOS/nixpkgs] 4ecba3: cjdns: 19.1 -> 20

2017-06-30 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4ecba3751d71f7dd4810ddb342c237d3fa1b5266
  
https://github.com/NixOS/nixpkgs/commit/4ecba3751d71f7dd4810ddb342c237d3fa1b5266
  Author: Tomas Hlavaty <t...@logand.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

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

  Log Message:
  ---
  cjdns: 19.1 -> 20


  Commit: d3665f2554a58568a5e8dee706eae0430b306747
  
https://github.com/NixOS/nixpkgs/commit/d3665f2554a58568a5e8dee706eae0430b306747
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-06-30 (Fri, 30 Jun 2017)

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

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

cjdns: 19.1 -> 20


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


[Nix-commits] [NixOS/nixpkgs] ce782c: beets: 1.4.3 -> 1.4.5

2017-06-30 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ce782c58073df7fc8b02342619a0805aefe68a78
  
https://github.com/NixOS/nixpkgs/commit/ce782c58073df7fc8b02342619a0805aefe68a78
  Author: Johannes Frankenau <johan...@frankenau.net>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
M pkgs/tools/audio/beets/default.nix

  Log Message:
  ---
  beets: 1.4.3 -> 1.4.5


  Commit: 65d5515eac408acc2ac4e7f9f2cf1c048e051de5
  
https://github.com/NixOS/nixpkgs/commit/65d5515eac408acc2ac4e7f9f2cf1c048e051de5
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-06-30 (Fri, 30 Jun 2017)

  Changed paths:
M pkgs/tools/audio/beets/default.nix

  Log Message:
  ---
  Merge pull request #26959 from jfrankenau/beets-1.4.5

beets: 1.4.3 -> 1.4.5


Compare: https://github.com/NixOS/nixpkgs/compare/27729f2416d8...65d5515eac40___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 3d48fa: elm-github-install: init at 1.0.1

2017-06-30 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3d48fa72d362653aadb585fa23a735aa2f22d345
  
https://github.com/NixOS/nixpkgs/commit/3d48fa72d362653aadb585fa23a735aa2f22d345
  Author: Robert Hensing <rob...@roberthensing.nl>
  Date:   2017-06-30 (Fri, 30 Jun 2017)

  Changed paths:
A pkgs/tools/package-management/elm-github-install/Gemfile
A pkgs/tools/package-management/elm-github-install/Gemfile.lock
A pkgs/tools/package-management/elm-github-install/default.nix
A pkgs/tools/package-management/elm-github-install/gemset.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  elm-github-install: init at 1.0.1


  Commit: 27729f2416d852c70f1dda21a48cb9c027410149
  
https://github.com/NixOS/nixpkgs/commit/27729f2416d852c70f1dda21a48cb9c027410149
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-06-30 (Fri, 30 Jun 2017)

  Changed paths:
A pkgs/tools/package-management/elm-github-install/Gemfile
A pkgs/tools/package-management/elm-github-install/Gemfile.lock
A pkgs/tools/package-management/elm-github-install/default.nix
A pkgs/tools/package-management/elm-github-install/gemset.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #26966 from roberth/elm-github-install

elm-github-install: init at 1.0.1


Compare: https://github.com/NixOS/nixpkgs/compare/1266c8f93531...27729f2416d8___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 883148: pip-tools: fix build

2017-06-25 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 883148ef265761adcfde487d16f56e077bc0aa69
  
https://github.com/NixOS/nixpkgs/commit/883148ef265761adcfde487d16f56e077bc0aa69
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-06-25 (Sun, 25 Jun 2017)

  Changed paths:
M pkgs/development/python-modules/pip-tools/default.nix

  Log Message:
  ---
  pip-tools: fix build


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


[Nix-commits] [NixOS/nixpkgs] 11b113: rustRegistry: 2017-05-31 -> 2017-06-16

2017-06-16 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 11b113541d26dc8f701ebc9810bf242fb70ecaec
  
https://github.com/NixOS/nixpkgs/commit/11b113541d26dc8f701ebc9810bf242fb70ecaec
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-06-16 (Fri, 16 Jun 2017)

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

  Log Message:
  ---
  rustRegistry: 2017-05-31 -> 2017-06-16


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


[Nix-dev] Random 500 Internal Server Error on cache.nixos.org

2017-06-14 Thread Benno Fünfstück
Hello list,

my nix-index (https://github.com/bennofs/nix-index) project has the problem
that it seems to almost reliable trigger a 500 internal server error on `
cache.nixos.org`.

Here is the curl log from when that happens:
https://gist.github.com/bennofs/f908afff218099f2dab8bb1f874167ae

Note how the error goes away right as (what I assume is) the cloudfront
cache TTL for the 500 error page expires (5 minutes, note the Age header. I
ran curl every 20 seconds and the `Age` header went up continously starting
from ~`0`, the gist only shows the last 3 runs).

I believe that the bug affects both nar's and narinfos.

At https://forums.aws.amazon.com/message.jspa?messageID=689787, it is said
that:

"It looks like there was an error getting the Metabucket partition, and as
a result the request failed. This is a defined behavior and happens from
time to time.

During normal operations it is not unusual to encounter an occasional error
from S3. When using CloudFront with S3, when a user requests an object,
CloudFront requests the same object from S3 and caches it for future users.
Should S3 encounter an error and is unable to provide the object to
CloudFront at that time it sends the error to CloudFront, which then sends
the error to the end user."

Is the cache perhaps misconfigured, in that it caches 500's as well, making
retries impossible?


Thanks in advance,

Benno Fünfstück
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Auto-generated expressions for applications

2017-05-31 Thread Benno Fünfstück
Profpatsch <m...@profpatsch.de> schrieb am Mi., 31. Mai 2017 um 16:01 Uhr:

> On 17-05-31 08:25am, Benno Fünfstück wrote:
> > A package set
> > is a consistent set of packages of a given language.
>
> exactly that is not possible with e.g. npm or golang packages.
>

Yes, those should be dealth with differently. Is sharing of deps between
different applications in these languages common? (sorry, i'm not very
familar with either)

Otherwise, I think a rust-like approach is best for these langs: split the
build phase of applications into "fetch" and "build", where "fetch" has
network access and produces some deterministic output, and "build" then
uses "fetch" to build the package. Dependencies are built in the same
derivation as the application. This means that our build process does not
need any upstream-unsupported solutions. If the package manager does not
support this two-way build, then we should work with upstream to get that
feature supported.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Node example?

2017-05-31 Thread Benno Fünfstück
Hi Harmen,

the reason it works on your test machine but doesn't work on CI is probably
because of build sandboxing (see `build-use-sandbox` nix option: that
disables network access & access to certain FS paths for nix builders).


Regards,

Benno

Harmen  schrieb am Di., 30. Mai 2017 um 21:33 Uhr:

>
> (I got a reply offlist, I'll just answer here hoping the sender doesn't
> mind)
>
> node2nix works fine, but I do indeed need to build some frontend, using
> webpack.
>
> Currently I have two errors:
>
> Npm can't download the precompiled node-webpack binary, but rebuilds it
> from
> source every time I run nix. Downloading works fine on my laptop, but not
> on my
> CI machine (gitlab builder, nix-daemon). The error is 'getaddrinfo
> ENOTFOUND
> github.com github.com:443'. Should not be fatal (npm will build it from
> source), but looks fishy to me.
>
> The other, final, error is:
> sh:
> /nix/store/qvrv30xb597zr1ryw9d3n700pywxz3q9-node-my-dashboard-0.0.1/lib/node_modules/my-dashboard/node_modules/.bin/webpack:
> /usr/bin/env: bad interpreter: No such file or directory
> which, again, works fine on my test machine(s). Same nix version, same
> unstable
> nixpkgs nix-channel version.
>
>
> Thanks!
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Auto-generated expressions for applications

2017-05-31 Thread Benno Fünfstück
I think that as a first step, we have to separate two use cases for nixpkgs:

* creating development environments to use with nix-shell etc
* installing applications

Package sets are key here. An application is built against a specific
package set, and a development environment is based on a package set. A
package set
is a consistent set of packages of a given language.

For nixpkgs itself, we should focus on providing access to *applications*.
It is not necessary to provide the latest and greatest of every library on
the planet, as long as we have no application that requires it.

Developers can use the tools we use for nixpkgs to generate package sets to
get access to the libraries they need. We may also have some "presets",
like for example "all of stackage" for Haskell.

The abstraction of a "package set" should be unified for all languages that
require consistent package sets (= no more than one version of the same
package in the dep chain. This includes Python, Haskell, .. but not for
example NodeJS, as npm supports "private" dependencies). There should be
*no* differences in how the functions are called, as this creates
confusion. They should use the same technique.

IMO, it is fine if each application uses is build against a package set
that is generated just for this application, and includes just the
dependencies for this app. However,
if we find that there is much duplication here, we could also adopt the
haskell approach which is:

* have one "superset" that includes all the needed package expressions.
this is not a package set by itself, as it may include multiple versions of
a dependencies
* then, for each application, take a consistent subset of packages out of
this set.
* we may also have a default package set if many packages share the same
versions of some dependencies. each application would then only need to
override
  a small number of dependencies in this default set.

Note that overrides on package sets must be deep overrides, so that if I
replace `foo-x` with `foo-y`, then all libraries previously depending on
`foo-x` should now also depend on `foo-y`. This ensures consistency.

If we had proper support for import-from-derivation, we could even support
the following syntax (as used in the haskell set):

packageSet.override { overrides = self: super: {
some-package = self.callHackage "some-package" "1.2.43"
}};

so the needed non-default packages can be generated on the fly.

My opinion is that for the future, we should strive to auto-generate as
much as possible in nixpkgs. I view `nix` more as a assembly language, a
common format that auto-generators can use. Wouldn't it be nice if we
could, for each package, just `anything2nix package-version` and it would
spit out a derivation for that package? Then we can focus more on the
composition of those packages. In a way, I believe that security could even
be better with such an approach as we have more time to focus on package
versions and don't need to do as much "grunt" work like figuring out easy
dependencies of packages etc


I hope this wasn't too long of an email :),

Benno

Profpatsch  schrieb am Mi., 31. Mai 2017 um 06:03 Uhr:

> On 17-05-30 08:02am, Wout Mertens wrote:
> > This actually ties into my question about nodePackages. It seems to me
> that
> > for these large packaging systems, we should have separate repos that
> > update from their source, and you can then include them into your nixpkgs
> > configuration.
>
> nodePackages is a bad example, because “node dependencies”
> make no sense on their own. Each application brings with
> it its own set of dependencies.
>
> >
> > Only packages that are useful by themselves should get a derivation in
> > nixpkgs, the rest would be in these add-on repos. For nodejs, that would
> be
> > e.g. yarn.
> > No idea how to accomplish this though.
>
> Exactly.
> As long as we keep generated formats in nice, diffable formats
> they shouldn’t impose too much noise to the system.
> Unfortunalely, the current output of node2nix is quite verbose.
>
> As far as CVEs go, one would have to integrate sites like
> https://snyk.io/vuln somehow.
>
>
> --
> Proudly written in Mutt with Vim on NixOS.
> Q: Why is this email five sentences or less?
> A: http://five.sentenc.es
> May take up to five days to read your message. If it’s urgent, call me.
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] How to implement fetchMaven as pure function ?

2017-05-10 Thread Benno Fünfstück
The common way to do such things in nix is to write `fetchMaven` as
fixed-output derivation, documented here:
http://nixos.org/nix/manual/#fixed-output-drvs.

This requires you to specify the hash of the output of the derivation
upfront. You are then free to do anything you wish (including network
access) in the derivation, as long as the hash stays the same. Even if you
add additional build inputs etc I believe the hash shouldn't change, as you
manually specified it.

Regards,
Benno

Volth  schrieb am Di., 9. Mai 2017 um 13:41 Uhr:

> There are already two versions in nixpkgs ("fetchMaven" and
> "fetchMavenArtifact") which are just wrappers for "fetchurl".
>
>
> Basicaly "fetchMaven" is merely a function giving argument
> "org.scala-lang:scala-compiler:2.11.11" produces a derivation by
> downloading two files
>
>
> https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.11.11/scala-compiler-2.11.11.pom
>
> https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.11.11/scala-compiler-2.11.11.jar
>
> into $out/share/java/.
>
>
> Besides the obvious hacky ways, how would it be possible to implement
> "fetchMaven" in a way that the output path in nixstore depend only on
> the argument ?
>
> Only on the string "org.scala-lang:scala-compiler:2.11.11" and not on
> curl version or buildScript's evolution (e.g. it could download PGP
> signature and validate it)
>
> Then the jar files would be easily discoverable by the external tools
> doing the same calculation.
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Suggestion: programs are *always* in the path

2017-05-01 Thread Benno Fünfstück
I believe https://github.com/NixOS/nixos-channel-scripts/issues/13 breaks
the sqlite database, since only a few NARs have listings in the old format.

Eelco Dolstra  schrieb am Mo., 1. Mai 2017 um
14:23 Uhr:

> Hi,
>
> On 05/01/2017 02:11 PM, Jörg Thalheim wrote:
>
> > Unfortunately the sqlite database feeding command-not-found is almost
> empty at the moment,
> >
> > so this command is useless.
>
> What channel are you on? For the minimal channel, the database contains
> only a
> handful of packages, but the regular channel has a pretty extensive
> database:
>
> $ sqlite3
> /nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite
> 'select count(*) from Programs'
> 49351
>
> --
> 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 mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 5c9986: the_platinum_searcher: 2.1.3 -> 2.1.5

2017-04-30 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5c9986e40607b01879987aad099d1978700e7afd
  
https://github.com/NixOS/nixpkgs/commit/5c9986e40607b01879987aad099d1978700e7afd
  Author: Yann Hodique <hodiq...@vmware.com>
  Date:   2017-04-30 (Sun, 30 Apr 2017)

  Changed paths:
M pkgs/tools/text/platinum-searcher/default.nix
M pkgs/tools/text/platinum-searcher/deps.nix

  Log Message:
  ---
  the_platinum_searcher: 2.1.3 -> 2.1.5


  Commit: 17a8227c3cb99173cf37a37c9553f11abe5e53c8
  
https://github.com/NixOS/nixpkgs/commit/17a8227c3cb99173cf37a37c9553f11abe5e53c8
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-30 (Sun, 30 Apr 2017)

  Changed paths:
M pkgs/tools/text/platinum-searcher/default.nix
M pkgs/tools/text/platinum-searcher/deps.nix

  Log Message:
  ---
  Merge pull request #25360 from sigma/pr/pt-2.1.5

the_platinum_searcher: 2.1.3 -> 2.1.5


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


[Nix-commits] [NixOS/nixpkgs] 0f1041: LTS Haskell 8.12

2017-04-25 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0f104177ad7741f8b7e0ebe3d352744dc35a511e
  
https://github.com/NixOS/nixpkgs/commit/0f104177ad7741f8b7e0ebe3d352744dc35a511e
  Author: Peter Simons <sim...@cryp.to>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

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

  Log Message:
  ---
  LTS Haskell 8.12


  Commit: 2a34188f2cdfa9e95d2d0cd6c7c143525f49f86c
  
https://github.com/NixOS/nixpkgs/commit/2a34188f2cdfa9e95d2d0cd6c7c143525f49f86c
  Author: Peter Simons <sim...@cryp.to>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

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

  Log Message:
  ---
  hackage2nix: update list of broken packages


  Commit: 9fa927f1066929024a64511a07484549b9a84079
  
https://github.com/NixOS/nixpkgs/commit/9fa927f1066929024a64511a07484549b9a84079
  Author: Peter Simons <sim...@cryp.to>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

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

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

This update was generated by hackage2nix v2.1.1-8-g19ebdb9 from Hackage revision
https://github.com/commercialhaskell/all-cabal-hashes/commit/14048552ae0425d148efb34df264a83e30ed2286.


  Commit: 92844240c27fd779ea3b308729afbb310c119131
  
https://github.com/NixOS/nixpkgs/commit/92844240c27fd779ea3b308729afbb310c119131
  Author: Peter Simons <sim...@cryp.to>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

  Changed paths:
M pkgs/development/compilers/halvm/2.4.0.nix

  Log Message:
  ---
  halvm: set proper meta.platforms

64-bit Linux is the only platform that has Xen in Nixpkgs.


  Commit: 9b74549c0bd8458e4eba626977852efe3f3204b4
  
https://github.com/NixOS/nixpkgs/commit/9b74549c0bd8458e4eba626977852efe3f3204b4
  Author: Michael Alan Dorman <mdor...@ironicdesign.com>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

  Changed paths:
M pkgs/development/haskell-modules/configuration-common.nix

  Log Message:
  ---
  purescript: remove overrides

It now supports recent versions of various dependencies.


  Commit: 731e0fa7423ae34cf25bf967c90228ec7ea99e10
  
https://github.com/NixOS/nixpkgs/commit/731e0fa7423ae34cf25bf967c90228ec7ea99e10
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

  Changed paths:
M pkgs/development/haskell-modules/make-package-set.nix

  Log Message:
  ---
  haskell: preserve overrideScope on override

We want code such as `(pkg.override {}).overrideScope (self: super: {})` to
work. This didn't work before, since `override` will call the original package
again, and the attribute `overideScope`, which `callPackageWithScope` added,
wasn't added again. The fix for this is to modify the package function itself
to include the `callPackageWithScope` attribute, so it'll be re-added whenever
the function is overriden for with arguments.

There is a small problem here though: since callPackage uses some magic
(`builtins.functionArgs`) to determine the auto-arguments of a function, we
can't just write `callPackageWith scope drvScope`, since
`builtins.functionArgs drvScope` will be `{}`. To fix this, we implement our own
`callPackageWith`.

Fixes https://github.com/NixOS/nixpkgs/issues/7953.
Closes https://github.com/NixOS/nixpkgs/pull/9336.


  Commit: 6b36d26a24308e23ee80ebfeff0b61e147fb92c7
  
https://github.com/NixOS/nixpkgs/commit/6b36d26a24308e23ee80ebfeff0b61e147fb92c7
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

  Changed paths:
M pkgs/development/haskell-modules/make-package-set.nix

  Log Message:
  ---
  haskell: add more callPackageWithScope docs


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


[Nix-commits] [NixOS/nixpkgs] b79e67: haskell: preserve overrideScope on override

2017-04-25 Thread Benno Fünfstück
  Branch: refs/heads/haskell-fix-override
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b79e678e08108b2bee99030823c5ee84402f6809
  
https://github.com/NixOS/nixpkgs/commit/b79e678e08108b2bee99030823c5ee84402f6809
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

  Changed paths:
M pkgs/development/haskell-modules/make-package-set.nix

  Log Message:
  ---
  haskell: preserve overrideScope on override

We want code such as `(pkg.override {}).overrideScope (self: super: {})` to
work. This didn't work before, since `override` will call the original package
again, and the attribute `overideScope`, which `callPackageWithScope` added,
wasn't added again. The fix for this is to modify the package function itself
to include the `callPackageWithScope` attribute, so it'll be re-added whenever
the function is overriden for with arguments.

There is a small problem here though: since callPackage uses some magic
(`builtins.functionArgs`) to determine the auto-arguments of a function, we
can't just write `callPackageWith scope drvScope`, since
`builtins.functionArgs drvScope` will be `{}`. To fix this, we implement our own
`callPackageWith`.

Fixes https://github.com/NixOS/nixpkgs/issues/7953.
Closes https://github.com/NixOS/nixpkgs/pull/9336.


  Commit: 61acbb18f48e25fc33f089db405d77e9f60cdf49
  
https://github.com/NixOS/nixpkgs/commit/61acbb18f48e25fc33f089db405d77e9f60cdf49
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

  Changed paths:
M pkgs/development/haskell-modules/make-package-set.nix

  Log Message:
  ---
  haskell: add more callPackageWithScope docs


Compare: https://github.com/NixOS/nixpkgs/compare/84e7bb130e97...61acbb18f48e___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] Simplify node packages?

2017-04-25 Thread Benno Fünfstück
>
> > This would only need a feature from upstream to use cached tarballs.
>
> npm uses the following algorithm:
> 1. resolve dependencies
> 2. move dependencies as far up the tree as possible to enable sharing
> 3. unpack the tarballs into the correct dirs
> 4. link the "bin" files into a .bin directory and the man files
>
> That’s it.
>

Well, perhaps that's the algorithm it uses right now, but I feel that we
depend very much on implementation details of npm here, which IMO is not a
good solution.
If we get upstream to support enough for our use case, the solution should
be much more stable.

I would like nixpkgs to move away from the approach of "mocking" things for
stupid package managers (creating files in certain directories) and instead
try to work with upstream to just implement the features we need. I'd even
volunteer to work on this myself, but I thought I'd ask if there are any
principal problems here first.


> > phase 1: build a directory full of tarballs (just symlink the result of
> > fetchurl without unpacking)
> > phase 2: let yarn assemble the dependency tree (thus it will deal with
> > cyclic dependencies for us)
>
> Right now it takes around 4–5 minutes to unpack the tarballs
> for my project with node2nix. That is on every dep change.
>

Hmm, so perhaps in we can unpack the tarballs already in `phase 1` and tell
yarn to just look in $DIR for unpacked tarballs? Yarn should already have
most of the code that is required for correct symlinking, no?
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Simplify node packages?

2017-04-25 Thread Benno Fünfstück
>
> The most interesting property is, that all dependency trees
> are linked together with symlinked, so they are cached by nix
> on a package level:
> https://github.com/Profpatsch/yarn2nix/blob/master/buildNodePackage.nix#L33


Does this caching really gain us that much? The disadvantage of doing this
is that we have to maintain our own scripts for doing it, since upstream
does not support it.

Perhaps a better way would be to work with upstream to allow the following
interface:

phase 1: build a directory full of tarballs (just symlink the result of
fetchurl without unpacking)
phase 2: let yarn assemble the dependency tree (thus it will deal with
cyclic dependencies for us)

This would only need a feature from upstream to use cached tarballs.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 84e7bb: haskell: preserve overrideScope on override

2017-04-24 Thread Benno Fünfstück
  Branch: refs/heads/haskell-fix-override
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 84e7bb130e977cab208bb758256881c519a6bdeb
  
https://github.com/NixOS/nixpkgs/commit/84e7bb130e977cab208bb758256881c519a6bdeb
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
M pkgs/development/haskell-modules/make-package-set.nix

  Log Message:
  ---
  haskell: preserve overrideScope on override

We want code such as `(pkg.override {}).overrideScope (self: super: {})` to
work. This didn't work before, since `override` will call the original package
again, and the attribute `overideScope`, which `callPackageWithScope` added,
wasn't added again. The fix for this is to modify the package function itself
to include the `callPackageWithScope` attribute, so it'll be re-added whenever
the function is overriden for with arguments.

There is a small problem here though: since callPackage uses some magic
(`builtins.functionArgs`) to determine the auto-arguments of a function, we
can't just write `callPackageWith scope drvScope`, since
`builtins.functionArgs drvScope` will be `{}`. To fix this, we implement our own
`callPackageWith`.

fixes NixOS/nixpkgs#7953


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


[Nix-commits] [NixOS/nixpkgs] f207ff: haskell: preserve overrideScope on override

2017-04-24 Thread Benno Fünfstück
  Branch: refs/heads/haskell-fix-override
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f207ff393ac7cf464e45babd063904537ead93e0
  
https://github.com/NixOS/nixpkgs/commit/f207ff393ac7cf464e45babd063904537ead93e0
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
M pkgs/development/haskell-modules/make-package-set.nix

  Log Message:
  ---
  haskell: preserve overrideScope on override

We want code such as `(pkg.override {}).overrideScope (self: super: {})` to
work. This didn't work before, since `override` will call the original package
again, and the attribute `overideScope`, which `callPackageWithScope` added,
wasn't added again. The fix for this is to modify the package function itself
to include the `callPackageWithScope` attribute, so it'll be re-added whenever
the function is overriden for with arguments.

There is a small problem here though: since callPackage uses some magic
(`builtins.functionArgs`) to determine the auto-arguments of a function, we
can't just write `callPackageWith scope drvScope`, since
`builtins.functionArgs drvScope` will be `{}`. To fix this, we implement our own
`callPackageWith`.

fixes NixOS/nixpkgs#7953


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


Re: [Nix-dev] Simplify node packages?

2017-04-24 Thread Benno Fünfstück
William Casarin  schrieb am So., 23. Apr. 2017 um 16:46 Uhr:

> > The fetch phase should be deterministic if we freeze the NPM index (is
> such
> > a thing possible?) and use shrinkwrap.
> > Or is this not the case? In what cases will it fail to be deterministic?
>
> This is effectively what node2nix[1] does, which is the most reliable
> mechanism for deterministic node packages. It looks like this:
>

This is not what node2nix does. Node2nix completely replaces `npm`'s
dependency resolution, therefore it is very dependent on the implementation
of npm. If instead, we would let npm do the resolution but make it do it
determistically by letting it resolve against the same npm index state we
wouldn't have that problem.

Cheers,
Benno
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 9b1b22: radeon-profile: init at 20161221

2017-04-24 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 9b1b22fcb634e231dea196336a89fdb3269433e2
  
https://github.com/NixOS/nixpkgs/commit/9b1b22fcb634e231dea196336a89fdb3269433e2
  Author: rnhmjoj <michelegueriniro...@me.com>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

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

  Log Message:
  ---
  radeon-profile: init at 20161221


  Commit: 30a9923f4c2b25ef94883c66798e090d8b53b6c6
  
https://github.com/NixOS/nixpkgs/commit/30a9923f4c2b25ef94883c66798e090d8b53b6c6
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

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

  Log Message:
  ---
  Merge pull request #24359 from rnhmjoj/radeon-profile

radeon-profile: init at 20161221


Compare: https://github.com/NixOS/nixpkgs/compare/229e3383f434...30a9923f4c2b___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-dev] Simplify node packages?

2017-04-23 Thread Benno Fünfstück
Hello,

the nodejs infrastructure in nixpkgs looks quite complex to me. I'm sure
that there are good reasons for this. In particular, can someone answer the
following questions, as I am not intimately familar with the full NPM
ecosystem:

Both of the following approaches change the concept from "one derivation
per npm library" to "one or two derivations per npm *application/tool*"
(libraries are build together with the application, in the same
derivation).

* A simple approach to packaging NPM applications would be to split the
package for an NPM application into two:
  - fetch: let NPM download all the dependencies. it should(?) be possible
to make this a fixed-output derivation, as long as NPM downloads the same
set of dependencies each time
  - build: use the cache from the fetch phase, should require no network
access

The fetch phase should be deterministic if we freeze the NPM index (is such
a thing possible?) and use shrinkwrap.
Or is this not the case? In what cases will it fail to be deterministic?

* Alternatively, `yarn` claims to be more deterministic. Can we use `yarn`
to build all NPM packages? Or are there NPM packages that are incompatible?

I have read the articles from Sander van der Burg, but they don't seem to
explain why we went with "one derivation per library", which requires us to
manually symlink things into the node_modules folder.

Kind regards,
Benno
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] df86c9: ripgrep: 0.5.0 -> 0.5.1

2017-04-23 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: df86c9731b701cf7428b5b7d95f125f110abc779
  
https://github.com/NixOS/nixpkgs/commit/df86c9731b701cf7428b5b7d95f125f110abc779
  Author: Cray Elliott <m...@archlinux.us>
  Date:   2017-04-22 (Sat, 22 Apr 2017)

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

  Log Message:
  ---
  ripgrep: 0.5.0 -> 0.5.1


  Commit: c3e830f1a6321ef6c368006c3326fea37ebb5a2c
  
https://github.com/NixOS/nixpkgs/commit/c3e830f1a6321ef6c368006c3326fea37ebb5a2c
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-23 (Sun, 23 Apr 2017)

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

  Log Message:
  ---
  Merge pull request #25134 from MP2E/ripgrep_update

ripgrep: 0.5.0 -> 0.5.1


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


[Nix-commits] [NixOS/nixpkgs] 1b6189: xsv: init at 0.11.0

2017-04-21 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1b6189117f304c703794d94bd5ecc82fa1f85637
  
https://github.com/NixOS/nixpkgs/commit/1b6189117f304c703794d94bd5ecc82fa1f85637
  Author: Tim Jaeger <jger...@gmail.com>
  Date:   2017-04-04 (Tue, 04 Apr 2017)

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

  Log Message:
  ---
  xsv: init at 0.11.0

This commit adds the `xsv` utility. It is quite useful when dealing with CSV 
files


  Commit: cfcceaee271b1ca12073b35080b5df2101e58d7e
  
https://github.com/NixOS/nixpkgs/commit/cfcceaee271b1ca12073b35080b5df2101e58d7e
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-22 (Sat, 22 Apr 2017)

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

  Log Message:
  ---
  Merge pull request #24473 from jgertm/tj/xsv

xsv: init at 0.11.0


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


[Nix-commits] [NixOS/nixpkgs] 2380e9: lambda-mod-zsh-theme: init at eceee68cf46bba9f7f42...

2017-04-21 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 2380e96327ded90b7c650f9b9b6c1a7e8e95538f
  
https://github.com/NixOS/nixpkgs/commit/2380e96327ded90b7c650f9b9b6c1a7e8e95538f
  Author: Maximilian Bosch <maximil...@mbosch.me>
  Date:   2017-04-09 (Sun, 09 Apr 2017)

  Changed paths:
A pkgs/shells/lambda-mod-zsh-theme/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  lambda-mod-zsh-theme: init at eceee68cf46bba9f7f42887c2128b48e8861e31b


  Commit: 74c14f8b28a690d3ba281e9008d584ad6e0ea72d
  
https://github.com/NixOS/nixpkgs/commit/74c14f8b28a690d3ba281e9008d584ad6e0ea72d
  Author: Maximilian Bosch <maximil...@mbosch.me>
  Date:   2017-04-09 (Sun, 09 Apr 2017)

  Changed paths:
M pkgs/shells/lambda-mod-zsh-theme/default.nix

  Log Message:
  ---
  lambda-mod-zsh-theme: remove unnecessary `rec` declaration


  Commit: ea5ff16bb08a6b68dc83027ca96c29cee2b5d31c
  
https://github.com/NixOS/nixpkgs/commit/ea5ff16bb08a6b68dc83027ca96c29cee2b5d31c
  Author: Maximilian Bosch <maximil...@mbosch.me>
  Date:   2017-04-09 (Sun, 09 Apr 2017)

  Changed paths:
M pkgs/shells/lambda-mod-zsh-theme/default.nix

  Log Message:
  ---
  lambda-mod-zsh-theme: refactor to use `fetchFromGitHub` for source retrieval


  Commit: cd56c3334e67fa40e37b1610627987dcd63a1e91
  
https://github.com/NixOS/nixpkgs/commit/cd56c3334e67fa40e37b1610627987dcd63a1e91
  Author: Maximilian Bosch <maximil...@mbosch.me>
  Date:   2017-04-09 (Sun, 09 Apr 2017)

  Changed paths:
M pkgs/shells/lambda-mod-zsh-theme/default.nix

  Log Message:
  ---
  lambda-mod-zsh-theme: fix broken `maintainers` expression


  Commit: 3260d8cd7081686145e13810c5e59d8f68cf90a9
  
https://github.com/NixOS/nixpkgs/commit/3260d8cd7081686145e13810c5e59d8f68cf90a9
  Author: Maximilian Bosch <maximil...@mbosch.me>
  Date:   2017-04-09 (Sun, 09 Apr 2017)

  Changed paths:
M pkgs/shells/lambda-mod-zsh-theme/default.nix

  Log Message:
  ---
  lambda-mod-zsh-theme: refactor install behavior to use `themes` dir

Now it's possible to set the path of this derivation as `ZSH_CUSTOM` in
the zsh configuration, so it's possible to use the theme directly from
the store path.

see 
https://github.com/robbyrussell/oh-my-zsh/wiki/Customization#overriding-and-adding-themes


  Commit: 1db5cf49d3277ddb62def19c032163a0746bb77c
  
https://github.com/NixOS/nixpkgs/commit/1db5cf49d3277ddb62def19c032163a0746bb77c
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-22 (Sat, 22 Apr 2017)

  Changed paths:
A pkgs/shells/lambda-mod-zsh-theme/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #24479 from Ma27/init/lambda-mod-zsh-theme

lambda-mod-zsh-theme: init at eceee68cf46bba9f7f42887c2128b48e8861e31b


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


[Nix-commits] [NixOS/nixpkgs] ecf033: bepasty: add secretKeyFile option

2017-04-21 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ecf03368f8b624b8573f97f70387d6d14f7e32fe
  
https://github.com/NixOS/nixpkgs/commit/ecf03368f8b624b8573f97f70387d6d14f7e32fe
  Author: Bas van Dijk <v.dijk@gmail.com>
  Date:   2017-04-08 (Sat, 08 Apr 2017)

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

  Log Message:
  ---
  bepasty: add secretKeyFile option

This gives users the option to store secrets outside the
world-readable Nix store.


  Commit: 855155083a653a97c4dd17099187d3c178a6083d
  
https://github.com/NixOS/nixpkgs/commit/855155083a653a97c4dd17099187d3c178a6083d
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-22 (Sat, 22 Apr 2017)

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

  Log Message:
  ---
  Merge pull request #24755 from LumiGuide/bepasty-secretKeyFile

bepasty: add secretKeyFile option


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


[Nix-commits] [NixOS/nixpkgs] 881595: ethrun: init at 0.1.0

2017-04-21 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 881595ac0325a5622aa02e1d078e98b450fa4496
  
https://github.com/NixOS/nixpkgs/commit/881595ac0325a5622aa02e1d078e98b450fa4496
  Author: Daniel Brockman <dan...@brockman.se>
  Date:   2017-04-11 (Tue, 11 Apr 2017)

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

  Log Message:
  ---
  ethrun: init at 0.1.0


  Commit: a0e60af06750c541a1b28ddbd965ff1aa1699978
  
https://github.com/NixOS/nixpkgs/commit/a0e60af06750c541a1b28ddbd965ff1aa1699978
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

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

  Log Message:
  ---
  Merge pull request #24819 from dbrock/ethrun

ethrun: init at 0.1.0


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


[Nix-commits] [NixOS/nixpkgs] bd7874: rust: improve fetch-cargo-deps determinism for non...

2017-04-21 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: bd78749d3387f84d4f70dada335df04479f8170c
  
https://github.com/NixOS/nixpkgs/commit/bd78749d3387f84d4f70dada335df04479f8170c
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
M pkgs/build-support/rust/fetch-cargo-deps

  Log Message:
  ---
  rust: improve fetch-cargo-deps determinism for non-sandboxed builds

When not using sandboxing, /usr/share/git-core/templates may leak into the
nix build through the libgit2 hardcoded default template search path. We now
explictly set the templatedir to avoid this problem.

See https://github.com/bennofs/nix-index/issues/2#issuecomment-296268983 for
an example case of nondeterminism.


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


[Nix-dev] Presenting nix-index: a file-not-found utility

2017-04-21 Thread Benno Fünfstück
Hello nixers,

finding the package that provides a certain file in nixpkgs can be hard.
That is why I've written a tool to make the process easier, which I thought
would be helpful for other people as well:
https://github.com/bennofs/nix-index

To use it, you first have to generate an index:

$ nix-index # this will generate an index for `` in NIX_PATH

Note that it relies on the `ls{,.xz}` files from hydra, so for best results
you should use it with `` pointing at a channel to maximize the
chance of a path being available in the binary cache.

You also need to make sure that all packages in `` evaluate. This
is currently not the case for `nixos-unstable` or `nixos-17.03` (due to
some obsolete haskell overrides). So if you're not using `nixpkgs-unstable`
as your channel, you can instead run the following command to generate the
index using the `nixpkgs-unstable` channel: (the `-f` argument works like
the one from `nix-env`):

$  nix-index -f
https://d3g5gsiof5omrk.cloudfront.net/nixpkgs/nixpkgs-17.09pre105825.67adf69a16/nixexprs.tar.xz

You can then search for files using `nix-locate`:

$ nix-locate 'extensions/secur.h'
xorg.xextproto.out2,141 r
/nix/store/riqpq4m0h0hqgif0kkwxkhzjpvz81x3g-xextproto-7.3.0/include/X11/extensions/secur.h
(wineUnstable.out)2,141 r
/nix/store/cl7b6kw7y8cqkpy4pnwwq4iqmaiw52d0-xextproto-7.3.0/include/X11/extensions/secur.h

The attribute path in parentheses indicates that the exact expression is
unknown, but the store path is in the closure of the printed attribute.

For more information, see the `--help` of the commands.


Regards,

Benno Fünfstück
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 042e26: Revert "aspell: only set ASPELL_CONF from NIX_PROF...

2017-04-19 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 042e26861245b578d39826c1b338b33e5633c25e
  
https://github.com/NixOS/nixpkgs/commit/042e26861245b578d39826c1b338b33e5633c25e
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

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

  Log Message:
  ---
  Revert "aspell: only set ASPELL_CONF from NIX_PROFILES in wrapper if unset"

This reverts commit 399065f226ca70360f25682d76be3c5e89e60239.

I am blind, this was already checked above. Thanks @bjornfor for noticing.


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


[Nix-commits] [NixOS/nixpkgs] c91c32: unclutter: Fix default value of $DISPLAY

2017-04-19 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: c91c3209f3dbaf9dacef69395e071a9dee59bbee
  
https://github.com/NixOS/nixpkgs/commit/c91c3209f3dbaf9dacef69395e071a9dee59bbee
  Author: Piotr Bogdan <ppbog...@gmail.com>
  Date:   2017-04-03 (Mon, 03 Apr 2017)

  Changed paths:
M nixos/modules/services/x11/unclutter.nix

  Log Message:
  ---
  unclutter: Fix default value of $DISPLAY


  Commit: 149656581df421eb4773bb5719652cd19cdabb00
  
https://github.com/NixOS/nixpkgs/commit/149656581df421eb4773bb5719652cd19cdabb00
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
M nixos/modules/services/x11/unclutter.nix

  Log Message:
  ---
  Merge pull request #24601 from pbogdan/unclutter

unclutter: Fix default value of $DISPLAY


Compare: https://github.com/NixOS/nixpkgs/compare/12a3590cc777...149656581df4___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 399065: aspell: only set ASPELL_CONF from NIX_PROFILES in ...

2017-04-19 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 399065f226ca70360f25682d76be3c5e89e60239
  
https://github.com/NixOS/nixpkgs/commit/399065f226ca70360f25682d76be3c5e89e60239
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

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

  Log Message:
  ---
  aspell: only set ASPELL_CONF from NIX_PROFILES in wrapper if unset


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


[Nix-commits] [NixOS/nixpkgs] ce6b5b: aspell: set default aspell data-dir if ASPELL_CONF...

2017-04-19 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ce6b5b8673967d45aead38180d65288460a14640
  
https://github.com/NixOS/nixpkgs/commit/ce6b5b8673967d45aead38180d65288460a14640
  Author: Leandro Lisboa Penz <lp...@lpenz.org>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

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

  Log Message:
  ---
  aspell: set default aspell data-dir if ASPELL_CONF is not set

if the user didn't set ASPELL_CONF, use it to point to the dictionary
location by first looking at NIX_PROFILE directories and then using
$HOME/.nix-profile.

See NixOS/nixpkgs#1000


  Commit: 792135a218de53d3d3cc32347f5cbf12d1df2721
  
https://github.com/NixOS/nixpkgs/commit/792135a218de53d3d3cc32347f5cbf12d1df2721
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

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

  Log Message:
  ---
  Merge pull request #24425 from lpenz/aspellconf

Set aspell's data-dir through ASPELL_CONF in a wrapper


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


[Nix-commits] [NixOS/nixpkgs] 0479e6: mpDris2: 0.6 -> 0.7

2017-04-18 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0479e68db923a92aa851a965239b9e9b4a2f6f80
  
https://github.com/NixOS/nixpkgs/commit/0479e68db923a92aa851a965239b9e9b4a2f6f80
  Author: Daan Sprenkels <he...@dsprenkels.com>
  Date:   2017-04-18 (Tue, 18 Apr 2017)

  Changed paths:
M pkgs/tools/audio/mpdris2/default.nix

  Log Message:
  ---
  mpDris2: 0.6 -> 0.7


  Commit: bc09640d912555ff13a7d3c183d6f6882d9c7934
  
https://github.com/NixOS/nixpkgs/commit/bc09640d912555ff13a7d3c183d6f6882d9c7934
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-18 (Tue, 18 Apr 2017)

  Changed paths:
M pkgs/tools/audio/mpdris2/default.nix

  Log Message:
  ---
  Merge pull request #24977 from dsprenkels/master

mpDris2: 0.6 -> 0.7


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


[Nix-commits] [NixOS/nixpkgs] eb1e63: wai-app-file-cgi: remove outdated overrides

2017-04-18 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: eb1e63505ac0fccfb99e381989e22455ea67550e
  
https://github.com/NixOS/nixpkgs/commit/eb1e63505ac0fccfb99e381989e22455ea67550e
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-18 (Tue, 18 Apr 2017)

  Changed paths:
M pkgs/development/haskell-modules/configuration-common.nix

  Log Message:
  ---
  wai-app-file-cgi: remove outdated overrides


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


[Nix-dev] Questions about Rust packaging in Nixpkgs

2017-04-12 Thread Benno Fünfstück
Hi,

I was looking into how the rust packaging works in nixpkgs recently and
I've got some questions about why it was done in the way it is right now:

* First, why do we need the `rustRegistry` package? As we have network
access during the fetch dependencies phase anyway, could we not access the
registry directly? Since every application in rust is supposed to come with
a lockfile, the result should still be reproducible

* Second, have you thought about using cargo vendor (
https://github.com/alexcrichton/cargo-vendor) for the fetch dependencies
phase? It seems like that could reduce the amount of custom code that we
need to maintain.

Regards,
Benno Fünfstück
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 285097: rustRegistry: 2017-04-08 -> 2017-04-11

2017-04-11 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 285097af2781cde7eaf819dba39f6d2bfad51692
  
https://github.com/NixOS/nixpkgs/commit/285097af2781cde7eaf819dba39f6d2bfad51692
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-11 (Tue, 11 Apr 2017)

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

  Log Message:
  ---
  rustRegistry: 2017-04-08 -> 2017-04-11


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


[Nix-commits] [NixOS/nixpkgs] 55e191: haskell: Correct dependencies for haskell-tools-*_...

2017-04-09 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 55e191d8445743112660a801f3cfeda75a76ec2a
  
https://github.com/NixOS/nixpkgs/commit/55e191d8445743112660a801f3cfeda75a76ec2a
  Author: Leon Isenberg <l...@users.noreply.github.com>
  Date:   2017-04-08 (Sat, 08 Apr 2017)

  Changed paths:
M pkgs/development/haskell-modules/configuration-common.nix

  Log Message:
  ---
  haskell: Correct dependencies for haskell-tools-*_0_6_0_0


  Commit: 8130c350b2579b40d0d2b6adbcef4515747eeafc
  
https://github.com/NixOS/nixpkgs/commit/8130c350b2579b40d0d2b6adbcef4515747eeafc
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-09 (Sun, 09 Apr 2017)

  Changed paths:
M pkgs/development/haskell-modules/configuration-common.nix

  Log Message:
  ---
  Merge pull request #24743 from ljli/hs-haskell-tools

haskell: Correct dependencies for haskell-tools-*_0_6_0_0


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


[Nix-commits] [NixOS/nixpkgs] 8889d4: rustRegistry: 2017-04-03 -> 2017-04-08

2017-04-08 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8889d405c7aa22ae7d1e571d3f3c30b14e2faafd
  
https://github.com/NixOS/nixpkgs/commit/8889d405c7aa22ae7d1e571d3f3c30b14e2faafd
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-08 (Sat, 08 Apr 2017)

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

  Log Message:
  ---
  rustRegistry: 2017-04-03 -> 2017-04-08


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


[Nix-commits] [NixOS/nixpkgs] 5ffece: llvm-hs: Point llvm-hs to llvm_4

2017-04-05 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5ffece7de1b75d2e059412ec417eebf01bb3bb6c
  
https://github.com/NixOS/nixpkgs/commit/5ffece7de1b75d2e059412ec417eebf01bb3bb6c
  Author: Luke Clifton <ltclif...@gmail.com>
  Date:   2017-04-05 (Wed, 05 Apr 2017)

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

  Log Message:
  ---
  llvm-hs: Point llvm-hs to llvm_4


  Commit: 26084166c346025815e8586dcb76ff729642d7a9
  
https://github.com/NixOS/nixpkgs/commit/26084166c346025815e8586dcb76ff729642d7a9
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-04-05 (Wed, 05 Apr 2017)

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

  Log Message:
  ---
  Merge pull request #24646 from luke-clifton/accelerate-llvm

llvm-hs: Point llvm-hs to llvm_4


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


Re: [Nix-dev] Questions about the all-packages fixpoint

2017-03-18 Thread Benno Fünfstück
Ok, thanks again!

>  - 0 hop: means that you are linking statically.  Any change of such
dependency would cause your package to be rebuilt.

Does this mean that when I link statically, I cannot go through self? so
the following would be wrong:

foo = import foo.nix { bar = self.bar; }

if `foo` links statically against `bar`?

Nicolas Pierron <nicolas.b.pier...@nbp.name> schrieb am Sa., 18. März 2017
um 17:59 Uhr:

> On Sat, Mar 18, 2017 at 3:27 PM, Benno Fünfstück
> <benno.fuenfstu...@gmail.com> wrote:
> > Nicolas Pierron <nicolas.b.pier...@nbp.name> schrieb am Fr., 17. März
> 2017
> > um 22:36 Uhr:
> >>
> >> On Fri, Mar 17, 2017 at 9:38 PM, Benno Fünfstück
> >> <benno.fuenfstu...@gmail.com> wrote:
> >> > One thing that is nicer about `self.callPackage` though is that you
> can
> >> > follow the rule "whenever taking something from self does not lead
> >> > infinite
> >> > recursion, take it from self" when writing overrides.
> >>
> >> And we should not advertise that, because this would lead to packages
> >> which are not patched, under the rules of the future security-update
> >> work.
> >> So whatever you think this is simpler or not, this is incorrect, I
> >> guess we could nullify these functions in the latest layer, preventing
> >> callPackage to ever be used through `self`.
> >
> >
> > Oh, why would that lead to not applying security updates? I'm not very
> > familar with "future security-update work", but that sounds unexpected to
> > me. What's so deeply magical about security updates?
>
> The security-update branch needs to peel off the fix-point of Nixpkgs.
> Then the patching behaviour is added in-between every package by doing
> one more step of the Nixpkgs function.
> This has the consequences of giving the following semantic to the
> numbers of hops that you use to fetch the dependencies:
>  - 0 hop: means that you are linking statically.  Any change of such
> dependency would cause your package to be rebuilt.
>  - 1 hop: means that you are linking dynamically. Any change of such
> dependency would cause your package to be patched.
>  - >1 hops: means nothing. Any change of such dependency would leave
> your package to be unchanged.
>
> Going through `self` is adding hops.  If you were to call
> `self.callPackage` instead of `super.callPackage`, you would have 2
> hops instead of 1 hop, because callPackage generate attribute set out
> of `self`.
>
> --
> Nicolas Pierron
> http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Questions about the all-packages fixpoint

2017-03-18 Thread Benno Fünfstück
Nicolas Pierron <nicolas.b.pier...@nbp.name> schrieb am Fr., 17. März 2017
um 22:36 Uhr:

> On Fri, Mar 17, 2017 at 9:38 PM, Benno Fünfstück
> <benno.fuenfstu...@gmail.com> wrote:
> > One thing that is nicer about `self.callPackage` though is that you can
> > follow the rule "whenever taking something from self does not lead
> infinite
> > recursion, take it from self" when writing overrides.
>
> And we should not advertise that, because this would lead to packages
> which are not patched, under the rules of the future security-update
> work.
> So whatever you think this is simpler or not, this is incorrect, I
> guess we could nullify these functions in the latest layer, preventing
> callPackage to ever be used through `self`.
>

Oh, why would that lead to not applying security updates? I'm not very
familar with "future security-update work", but that sounds unexpected to
me. What's so deeply magical about security updates?
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Questions about the all-packages fixpoint

2017-03-17 Thread Benno Fünfstück
Hi Nicolas,

thank you for the answer, that clears up must of my questions. I do think
that `self` is pretty standard throughout nixpkgs (at least the parts that
I have worked with) for exactly this fixpoint construction, thus the name
conflict is a little unfortuntate, but seems we cannot do much about that
right now.

However, I am still unsure what you mean with

If `super.callPackage` were taking all its arguments from `super`,
then this would imply that you could not easily override the argument
of packages which are inside the dependencies of another one.
By taking the packages from `self`, we can easily replace it for all its
uses.


Well, that's why you should almost never use `super.callPackage`. I would
imagine that inside of `all-packages.nix`, at the top, we would have
something like:

`let callPackage = self.callPackage in ... `

so that all occurences of `callPackage` refer to `self.callPackage`, yet
`pkgs.callPackage` only looks inside the scope of `pkgs`. There's only one
problem I see with this, when packages take what is called `self` in
all-packages.nix directly as an argument, but I think they should take
`pkgs` instead anyway.

For me, it feels like `super.callPackage` calls something in the scope of
`super`, but perhaps that only makes more sense to me because I'm used to
it. Now that I think of it, there's an argument for `super.callPackage` to
take the deps from `self` as well: that way, `foo = super.callPackage
path/to/foo {}; ` is equavilent to `super.foo` if foo is defined like that
in `super`.

One thing that is nicer about `self.callPackage` though is that you can
follow the rule "whenever taking something from self does not lead infinite
recursion, take it from self" when writing overrides.

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


[Nix-dev] Questions about the all-packages fixpoint

2017-03-17 Thread Benno Fünfstück
Hello all,

I am (again) wrapping my head around the current construction of the
package set. I think I understand how it works, but there's a few subtle
details that I feel like they are confusing, bur probably necessary. I
would like to understand why:

1. An override is given the arguments `self` and `super`, as expected. But
why does `super.callPackage` resolve dependencies from `self`? I would have
expected it to not know about `self`, and resolve dependencies in the scope
of `super`. If I wanted this behaviour, I would have used
`self.callPackage`, but the current behaviour makes that unnecessary. Why
is this implemented like that?

2. In `stage.nix`, why do we construct a *local* fixpoint just for
all-packages? The current code is:

allPackages = self: super:
  let res = import ./all-packages.nix
{ inherit lib nixpkgsFun noSysDirs config; }
res self;
  in res;

Even more confusingly, if we look at `all-packages.nix`, it is a function
defined like this:

{ lib, nixpkgsFun, noSysDirs, config}:
self: pkgs:

So the variable that is called `self` in `stage.nix` is bound to what is
called `pkgs` in `all-packages.nix`, and `self` in `all-packages.nix`
actually refers to what is called `res` in `stage.nix`

This is confusing to me. Also, why do we need `self` and `pkgs`? Wouldn't
one of them be enough?

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


Re: [Nix-dev] how to find packages by file?

2017-03-15 Thread Benno Fünfstück
I've been working on a similar tool that stores the paths in a
locatedb-like format and compresses the result with zstandard. Size is
about 13mb

Bjørn Forsman  schrieb am Mi., 15. März 2017,
17:05:

> On 15 March 2017 at 16:39, Domen Kožar  wrote:
> > It's a few GB per channel commit. At least stored in SQL as-is.
> >
> > With compression and denormalization that could be improved though :)
>
> Ah, I guess that's why you have to run "apt-file update" on Debian to
> get it. It's not there by default.
>
> I checked one of the files that it downloads (Contents-amd64.gz).
> That's a 32 MiB file that when extracted becomes a 480 MiB plain text
> file. So it's comparable to your figure -- apt-file downloads a few of
> these files (one per apt repository).
>
> However, apt-file never extracts the files, it simply runs zfgrep on
> the ~32 MiB sized .gz files. So it's not that bad.
>
> Best regards,
> Bjørn Forsman
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 912b95: gupnp-tools: 0.8.8 -> 0.8.13

2017-03-13 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 912b956b074a68c8280321da5082e49ccb2bf882
  
https://github.com/NixOS/nixpkgs/commit/912b956b074a68c8280321da5082e49ccb2bf882
  Author: ndowens <ndowen...@gmail.com>
  Date:   2017-03-12 (Sun, 12 Mar 2017)

  Changed paths:
M pkgs/tools/networking/gupnp-tools/default.nix

  Log Message:
  ---
  gupnp-tools: 0.8.8 -> 0.8.13


  Commit: c8c4902ee14fd4c627e12439102bd506a447921c
  
https://github.com/NixOS/nixpkgs/commit/c8c4902ee14fd4c627e12439102bd506a447921c
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-13 (Mon, 13 Mar 2017)

  Changed paths:
M pkgs/tools/networking/gupnp-tools/default.nix

  Log Message:
  ---
  Merge pull request #23828 from ndowens/gupnp-tools

gupnp-tools: 0.8.8 -> 0.8.13


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


[Nix-commits] [NixOS/nixpkgs] 6c99f8: fix typo in comment

2017-03-12 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6c99f88eeced94c9940e45419c4608a766a02487
  
https://github.com/NixOS/nixpkgs/commit/6c99f88eeced94c9940e45419c4608a766a02487
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-12 (Sun, 12 Mar 2017)

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

  Log Message:
  ---
  fix typo in comment


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


[Nix-commits] [NixOS/nixpkgs] 039c6a: haskell: comment about configuration-nix.nix's int...

2017-03-12 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 039c6a6dfad1d37c09411fecaf8e821f108f12cf
  
https://github.com/NixOS/nixpkgs/commit/039c6a6dfad1d37c09411fecaf8e821f108f12cf
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-12 (Sun, 12 Mar 2017)

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

  Log Message:
  ---
  haskell: comment about configuration-nix.nix's intersectAttrs


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


Re: [Nix-dev] nix-shell with overlay?

2017-03-08 Thread Benno Fünfstück
Nicolas Pierron  schrieb am Mi., 8. März 2017,
01:30:

> nit: super.callPackage, as the super.callPackage *function* already
> aliases self packages.  Otherwise, you would be going twice through
> the fix-point.
>

What if someone later wants to override callPackage?

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


[Nix-commits] [NixOS/nixpkgs] cb3bfc: qnotero: fix #23438

2017-03-07 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: cb3bfc97175d62b0298c279b007fb48936f9cc29
  
https://github.com/NixOS/nixpkgs/commit/cb3bfc97175d62b0298c279b007fb48936f9cc29
  Author: Nicolò Balzarotti <another...@gmail.com>
  Date:   2017-03-07 (Tue, 07 Mar 2017)

  Changed paths:
M pkgs/applications/office/qnotero/default.nix

  Log Message:
  ---
  qnotero: fix #23438


  Commit: 264b69c973b9724b64fb908e645788d1e9ffa905
  
https://github.com/NixOS/nixpkgs/commit/264b69c973b9724b64fb908e645788d1e9ffa905
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-07 (Tue, 07 Mar 2017)

  Changed paths:
M pkgs/applications/office/qnotero/default.nix

  Log Message:
  ---
  Merge pull request #23440 from nico202/qnotero-fix

qnotero: fix #23438


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


[Nix-commits] [NixOS/nixpkgs] 94fcc1: nixos/tests/leaps.nix: fixed race condition

2017-03-07 Thread Benno Fünfstück
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 94fcc17b943e391742c6684beed2da66488c5787
  
https://github.com/NixOS/nixpkgs/commit/94fcc17b943e391742c6684beed2da66488c5787
  Author: Joachim Schiele <j...@lastlog.de>
  Date:   2017-03-07 (Tue, 07 Mar 2017)

  Changed paths:
M nixos/tests/leaps.nix

  Log Message:
  ---
  nixos/tests/leaps.nix: fixed race condition

(cherry picked from commit f8ad48ea1d83fdae35cbb43e0caafa813f8b4264)


  Commit: 0cb1e29ebe7ae73ee5732bc91b774b20052c5717
  
https://github.com/NixOS/nixpkgs/commit/0cb1e29ebe7ae73ee5732bc91b774b20052c5717
  Author: Matthias Beyer <m...@beyermatthias.de>
  Date:   2017-03-07 (Tue, 07 Mar 2017)

  Changed paths:
M nixos/doc/manual/configuration/xfce.xml

  Log Message:
  ---
  nixos doc xfce: Fix missing space

(cherry picked from commit 1e3dec3baaf12c6be0704d4e15fb270a628ecc10)


  Commit: cd6c5976eb23e780a7bb6489b234a9e7c349204c
  
https://github.com/NixOS/nixpkgs/commit/cd6c5976eb23e780a7bb6489b234a9e7c349204c
  Author: Matthias Beyer <m...@beyermatthias.de>
  Date:   2017-03-07 (Tue, 07 Mar 2017)

  Changed paths:
M nixos/doc/manual/configuration/xfce.xml

  Log Message:
  ---
  doc: Remove indention from program listings

(cherry picked from commit c56587eb301b514dff380268876134c5cb841cbe)


  Commit: edb47a364e99e57a21455ee92a9da2536540909b
  
https://github.com/NixOS/nixpkgs/commit/edb47a364e99e57a21455ee92a9da2536540909b
  Author: Matthias Beyer <m...@beyermatthias.de>
  Date:   2017-03-07 (Tue, 07 Mar 2017)

  Changed paths:
M nixos/doc/manual/configuration/xfce.xml

  Log Message:
  ---
  nixos doc xfce: Tabs -> spaces

(cherry picked from commit 0a18a56375fbf2146b19fba7528b8d1a5bd51d44)


  Commit: 431893ccfb1644d45a35f58c1bcffb8b0e5f9139
  
https://github.com/NixOS/nixpkgs/commit/431893ccfb1644d45a35f58c1bcffb8b0e5f9139
  Author: Matthias Beyer <m...@beyermatthias.de>
  Date:   2017-03-07 (Tue, 07 Mar 2017)

  Changed paths:
M nixos/doc/manual/configuration/xfce.xml

  Log Message:
  ---
  Wrap command in 

(cherry picked from commit 87f57de8e579ed7b41096c77b1ceb2146db87f5a)


  Commit: e95acf6e817b8dfd5f93b60988e44bd4becad9a2
  
https://github.com/NixOS/nixpkgs/commit/e95acf6e817b8dfd5f93b60988e44bd4becad9a2
  Author: Jörg Thalheim <jo...@thalheim.io>
  Date:   2017-03-07 (Tue, 07 Mar 2017)

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

  Log Message:
  ---
  xfstests: set correct echo binary

(cherry picked from commit 13ed7e6631b834b7f6628ecfa7e7ab2034528989)


  Commit: 906cea11963a1132c3f3d418e6ef8d9424aa041c
  
https://github.com/NixOS/nixpkgs/commit/906cea11963a1132c3f3d418e6ef8d9424aa041c
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-07 (Tue, 07 Mar 2017)

  Changed paths:
M pkgs/tools/cd-dvd/dvdisaster/default.nix

  Log Message:
  ---
  dvdisaster: fix $out variable expansion (makeFlags)

Make requires variables with more than one letter to be surrounded by 
parentheses,
like `$(out)`. Just writing `$out` will be interpreted as `$o` followed by 
`ut`, so
the package installed its documentaion to `ut/share/doc`.

/cc maintainers @jgeerds @nckx

(cherry picked from commit 3449107d683e80848ed408cbecf20845cf99663e)


  Commit: 24472d433c1353092adcfc63a5231dc31c706227
  
https://github.com/NixOS/nixpkgs/commit/24472d433c1353092adcfc63a5231dc31c706227
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-07 (Tue, 07 Mar 2017)

  Changed paths:
M pkgs/tools/audio/mpdris2/default.nix

  Log Message:
  ---
  mpdris2: install locale files to correct location

The package included outdated intltool makefiles, resulting in installation of
local files to `$out/'@DATADIRNAME'`. Running `intltoolize -f` forces
regeneration of the Makefile and fixes the issue.

(cherry picked from commit f9b08c9dbbeef144b00a7e7a1efa884e81d6ddbb)


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


[Nix-commits] [NixOS/nixpkgs] f9b08c: mpdris2: install locale files to correct location

2017-03-07 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f9b08c9dbbeef144b00a7e7a1efa884e81d6ddbb
  
https://github.com/NixOS/nixpkgs/commit/f9b08c9dbbeef144b00a7e7a1efa884e81d6ddbb
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-07 (Tue, 07 Mar 2017)

  Changed paths:
M pkgs/tools/audio/mpdris2/default.nix

  Log Message:
  ---
  mpdris2: install locale files to correct location

The package included outdated intltool makefiles, resulting in installation of
local files to `$out/'@DATADIRNAME'`. Running `intltoolize -f` forces
regeneration of the Makefile and fixes the issue.


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


[Nix-commits] [NixOS/nixpkgs] 344910: dvdisaster: fix $out variable expansion (makeFlags...

2017-03-07 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3449107d683e80848ed408cbecf20845cf99663e
  
https://github.com/NixOS/nixpkgs/commit/3449107d683e80848ed408cbecf20845cf99663e
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-07 (Tue, 07 Mar 2017)

  Changed paths:
M pkgs/tools/cd-dvd/dvdisaster/default.nix

  Log Message:
  ---
  dvdisaster: fix $out variable expansion (makeFlags)

Make requires variables with more than one letter to be surrounded by 
parentheses,
like `$(out)`. Just writing `$out` will be interpreted as `$o` followed by 
`ut`, so
the package installed its documentaion to `ut/share/doc`.

/cc maintainers @jgeerds @nckx


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


[Nix-commits] [NixOS/nixpkgs] b83069: improve: modules/virtualisation/qemu-vm.nix

2017-03-06 Thread Benno Fünfstück
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b8306929ef97c8294f2993dc9c6ee54376111446
  
https://github.com/NixOS/nixpkgs/commit/b8306929ef97c8294f2993dc9c6ee54376111446
  Author: Thomas Strobel 
<4ZKTUB6TEP74PYJOPWIR013S2AV29YUBW5F9ZH2F4D5UMJUJ6S@hash.domains>
  Date:   2017-03-06 (Mon, 06 Mar 2017)

  Changed paths:
M nixos/modules/virtualisation/qemu-vm.nix

  Log Message:
  ---
  improve: modules/virtualisation/qemu-vm.nix

disk image for qemu VM with bootloader:
* remove redundant command
* improve readability
* improve execution speed
* make output more reproducible

(cherry picked from commit b9a7aacef71671bdeffdc7c4f21e3b25cb3d4a5a)


  Commit: 77f498780e3fb361c467bde035ddbfdd6099ed80
  
https://github.com/NixOS/nixpkgs/commit/77f498780e3fb361c467bde035ddbfdd6099ed80
  Author: Eric Sagnes <eric.sag...@gmail.com>
  Date:   2017-03-06 (Mon, 06 Mar 2017)

  Changed paths:
M pkgs/tools/inputmethods/fcitx/wrapper.nix

  Log Message:
  ---
  fcitx: fix fcitx-qt5 attribute path

(cherry picked from commit acb1032968927c5e78e5d05c1bafc6378d82c44b)


  Commit: 632f979869bba415c25bdbcb4e84c2baa63fa826
  
https://github.com/NixOS/nixpkgs/commit/632f979869bba415c25bdbcb4e84c2baa63fa826
  Author: Jaka Hudoklin <jakahudok...@gmail.com>
  Date:   2017-03-06 (Mon, 06 Mar 2017)

  Changed paths:
M nixos/modules/config/pulseaudio.nix

  Log Message:
  ---
  pulseaudio module: set cookie env variable if running in systen wide mode

(cherry picked from commit c5607ceec5495ed77b5dcd566d6732881a153fe8)


  Commit: 5bbc3e5c705896d9d67c698302b1518768b33131
  
https://github.com/NixOS/nixpkgs/commit/5bbc3e5c705896d9d67c698302b1518768b33131
  Author: Peter Hoeg <pe...@speartail.com>
  Date:   2017-03-06 (Mon, 06 Mar 2017)

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

  Log Message:
  ---
  qsyncthing: build against qt 5.6 as 5.7 segfaults

(cherry picked from commit 4618585e5e4f563a87ea4f14c794543ba99e3a15)


  Commit: fa2539bb81eccd9ddbcb4bfa04e5830b2ff004e4
  
https://github.com/NixOS/nixpkgs/commit/fa2539bb81eccd9ddbcb4bfa04e5830b2ff004e4
  Author: Peter Hoeg <pe...@speartail.com>
  Date:   2017-03-06 (Mon, 06 Mar 2017)

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

  Log Message:
  ---
  xca: build against qt 5.6 as 5.7 segfaults

(cherry picked from commit 3f34000358f40c459b533724a0b0240273f682bb)


  Commit: 72727f90bb61937e806cfd20e1c7c10a5597d5b2
  
https://github.com/NixOS/nixpkgs/commit/72727f90bb61937e806cfd20e1c7c10a5597d5b2
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-06 (Mon, 06 Mar 2017)

  Changed paths:
M pkgs/tools/security/opensc/default.nix

  Log Message:
  ---
  opensc: remove obsolete DESTDIR patch

This patch was actively causing harm, because it lead to a "double prefix"
issue where the etc files were installed into $out/$out/etc instead of just
$out/etc.

(cherry picked from commit c0bfcdf3a6d2bdc97524274a83febef043749107)


  Commit: 60ddd436106758f549b86defef48317690b73168
  
https://github.com/NixOS/nixpkgs/commit/60ddd436106758f549b86defef48317690b73168
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-06 (Mon, 06 Mar 2017)

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

  Log Message:
  ---
  hhvm: fix location of include files in $out

Fixes a "double prefix" issue, where parts of the include files
for hhvm where located in `$out/$out/include` instead of `$out/include`.

(cherry picked from commit 029c3f917edbe4a53fdd17cd797ca6ff9e8a7615)


  Commit: eb4c867506c4a12d25d2134c24b1239a2d68e43b
  
https://github.com/NixOS/nixpkgs/commit/eb4c867506c4a12d25d2134c24b1239a2d68e43b
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-06 (Mon, 06 Mar 2017)

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

  Log Message:
  ---
  ocamlgraph: fix binary location (binaries had double prefix path)

Due to setting `DESTDIR` *and* `exec_prefix` (defaulted to `$prefix`), binaries
ended up in `$out/$out/bin` instead of just $out/bin. Not setting `DESTDIR` and 
adapting
the `LIBDIR` patch a little fixes this issue.

(cherry picked from commit dd23d08b9047b74254723e3e54086ce9b656b694)


  Commit: 84cb907ca1985d86d8bee90748d03a440f0ae9a3
  
https://github.com/NixOS/nixpkgs/commit/84cb907ca1985d86d8bee90748d03a440f0ae9a3
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-06 (Mon, 06 Mar 2017)

  Changed paths:
M pkgs/development/libraries/phonon/backends/gstreamer.nix

  Log Message:
  ---
  phonon-backend-gstreamer: don't create $out/$out/share/icons

The build system tries to update the mtime of the icons directory if
`DESTDIR` is unset. That code has bug though that does not deal well
with absolute `CMAKE

[Nix-commits] [NixOS/nixpkgs] 128901: phonon-backend-gstreamer: don't create $out/$out/s...

2017-03-06 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 128901e09fd7cdd8f1fd8af2753dba54bf86c0f1
  
https://github.com/NixOS/nixpkgs/commit/128901e09fd7cdd8f1fd8af2753dba54bf86c0f1
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-06 (Mon, 06 Mar 2017)

  Changed paths:
M pkgs/development/libraries/phonon/backends/gstreamer.nix

  Log Message:
  ---
  phonon-backend-gstreamer: don't create $out/$out/share/icons

The build system tries to update the mtime of the icons directory if
`DESTDIR` is unset. That code has bug though that does not deal well
with absolute `CMAKE_SHARE_PREFIX` resulting a double prefix bug.

Setting `DESTDIR=/` (should be a no-op) fixes this.


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


[Nix-commits] [NixOS/nixpkgs] ce355b: xpra: install data files to correct location in $o...

2017-03-06 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ce355bdafa2a7d6c42df006a464b96de219e7e36
  
https://github.com/NixOS/nixpkgs/commit/ce355bdafa2a7d6c42df006a464b96de219e7e36
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-06 (Mon, 06 Mar 2017)

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

  Log Message:
  ---
  xpra: install data files to correct location in $out

The patch is no longer needed, with the wheel-based method that we use now
data_files *are* relative to the prefix.


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


[Nix-commits] [NixOS/nixpkgs] dd23d0: ocamlgraph: fix binary location (binaries had doub...

2017-03-06 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: dd23d08b9047b74254723e3e54086ce9b656b694
  
https://github.com/NixOS/nixpkgs/commit/dd23d08b9047b74254723e3e54086ce9b656b694
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-06 (Mon, 06 Mar 2017)

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

  Log Message:
  ---
  ocamlgraph: fix binary location (binaries had double prefix path)

Due to setting `DESTDIR` *and* `exec_prefix` (defaulted to `$prefix`), binaries
ended up in `$out/$out/bin` instead of just $out/bin. Not setting `DESTDIR` and 
adapting
the `LIBDIR` patch a little fixes this issue.


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


[Nix-commits] [NixOS/nixpkgs] 029c3f: hhvm: fix location of include files in $out

2017-03-06 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 029c3f917edbe4a53fdd17cd797ca6ff9e8a7615
  
https://github.com/NixOS/nixpkgs/commit/029c3f917edbe4a53fdd17cd797ca6ff9e8a7615
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-06 (Mon, 06 Mar 2017)

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

  Log Message:
  ---
  hhvm: fix location of include files in $out

Fixes a "double prefix" issue, where parts of the include files
for hhvm where located in `$out/$out/include` instead of `$out/include`.


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


[Nix-commits] [NixOS/nixpkgs] c0bfcd: opensc: remove obsolete DESTDIR patch

2017-03-05 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: c0bfcdf3a6d2bdc97524274a83febef043749107
  
https://github.com/NixOS/nixpkgs/commit/c0bfcdf3a6d2bdc97524274a83febef043749107
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-05 (Sun, 05 Mar 2017)

  Changed paths:
M pkgs/tools/security/opensc/default.nix

  Log Message:
  ---
  opensc: remove obsolete DESTDIR patch

This patch was actively causing harm, because it lead to a "double prefix"
issue where the etc files were installed into $out/$out/etc instead of just
$out/etc.


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


[Nix-commits] [NixOS/nixpkgs] ac5921: xrectsel: remove unnecessary DESTDIR=$out

2017-03-03 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ac592121b9df83a81d2d90be1c40c2d393689ce5
  
https://github.com/NixOS/nixpkgs/commit/ac592121b9df83a81d2d90be1c40c2d393689ce5
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-03 (Fri, 03 Mar 2017)

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

  Log Message:
  ---
  xrectsel: remove unnecessary DESTDIR=$out

This avoids files being installed to $out/nix/store


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


[Nix-commits] [NixOS/nixpkgs] 253d73: boinc: fix location of /etc in $out

2017-03-03 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 253d7363981a6f76be8dd99ee7747fb05f513f5b
  
https://github.com/NixOS/nixpkgs/commit/253d7363981a6f76be8dd99ee7747fb05f513f5b
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-03 (Fri, 03 Mar 2017)

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

  Log Message:
  ---
  boinc: fix location of /etc in $out

Looks like the latest version no longer requires the patch, and the patch 
instead resulted in
/etc files being installed to `$out/$out/etc` instead of `$out/etc`


  Commit: a8458bb506daf18cd83d9a5e159dbaa67c7592c4
  
https://github.com/NixOS/nixpkgs/commit/a8458bb506daf18cd83d9a5e159dbaa67c7592c4
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-03 (Fri, 03 Mar 2017)

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

  Log Message:
  ---
  ffcast: remove unnecessary DESTDIR=$out

This avoids files being installed to $out/nix/store


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


[Nix-commits] [NixOS/nixpkgs] e2773c: vbam: fix location of etc in output

2017-03-03 Thread Benno Fünfstück
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e2773cd699b2ed5fd7624066280b0b3f9ba3634b
  
https://github.com/NixOS/nixpkgs/commit/e2773cd699b2ed5fd7624066280b0b3f9ba3634b
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-03 (Fri, 03 Mar 2017)

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

  Log Message:
  ---
  vbam: fix location of etc in output

Shell variables are not expanded in cmakeFlags, so the etc files ended up in
`$out/'$out'/etc` instead of the expected `$out/etc`.


  Commit: e13f6d34de85e3c8e3d0ff9c19c78c1c35330120
  
https://github.com/NixOS/nixpkgs/commit/e13f6d34de85e3c8e3d0ff9c19c78c1c35330120
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-03 (Fri, 03 Mar 2017)

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

  Log Message:
  ---
  libbladeRF: fix udev rule location in $out

Shell variables in cmakeFlags are not expanded, so the rules instead ended up
in `$out/'$out'/etc/udev/rules.d`.


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


[Nix-commits] [NixOS/nixpkgs] 410bba: libbladeRF: fix udev rule location in $out

2017-03-03 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 410bba8f9547f00d1d196b3d424f908bf2f2a3c8
  
https://github.com/NixOS/nixpkgs/commit/410bba8f9547f00d1d196b3d424f908bf2f2a3c8
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-03 (Fri, 03 Mar 2017)

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

  Log Message:
  ---
  libbladeRF: fix udev rule location in $out

Shell variables in cmakeFlags are not expanded, so the rules instead ended up
in `$out/'$out'/etc/udev/rules.d`.


  Commit: 1f7fe3dc07d76862da17dda37ac4d5190e0ec8ba
  
https://github.com/NixOS/nixpkgs/commit/1f7fe3dc07d76862da17dda37ac4d5190e0ec8ba
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-03-03 (Fri, 03 Mar 2017)

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

  Log Message:
  ---
  vbam: fix location of etc in output

Shell variables are not expanded in cmakeFlags, so the etc files ended up in
`$out/'$out'/etc` instead of the expected `$out/etc`.


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


[Nix-commits] [NixOS/nixpkgs] 785d30: sic: fix empty $out

2017-02-26 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 785d303c64c8ab71b947b51e2c168db1386c95ae
  
https://github.com/NixOS/nixpkgs/commit/785d303c64c8ab71b947b51e2c168db1386c95ae
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-02-26 (Sun, 26 Feb 2017)

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

  Log Message:
  ---
  sic: fix empty $out

Make needs () around variable names, or it'll interpret $out as $o followed by 
`ut`


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


[Nix-commits] [NixOS/nixpkgs] 8b5e8b: mod-distortion: fix package (empty $out before)

2017-02-26 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8b5e8b3cdbd3de74cc7e7391c095c066cdda12d3
  
https://github.com/NixOS/nixpkgs/commit/8b5e8b3cdbd3de74cc7e7391c095c066cdda12d3
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-02-26 (Sun, 26 Feb 2017)

  Changed paths:
M pkgs/applications/audio/mod-distortion/default.nix

  Log Message:
  ---
  mod-distortion: fix package (empty $out before)

`$out` wasn't expanded, so the install phase was installing to `ut/lib/v2` 
(because make expanded `$o` to empty).

cc: @magnetophon


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


[Nix-commits] [NixOS/nixpkgs] 17c5ca: haskell: add nix-specific fixes for various packag...

2017-02-18 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 17c5ca9018619d819c48e25add78f47d7d575611
  
https://github.com/NixOS/nixpkgs/commit/17c5ca9018619d819c48e25add78f47d7d575611
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-02-18 (Sat, 18 Feb 2017)

  Changed paths:
M pkgs/development/haskell-modules/configuration-common.nix
M pkgs/development/haskell-modules/configuration-nix.nix

  Log Message:
  ---
  haskell: add nix-specific fixes for various packages in stackage

With these overrides, nearly all of the stackage packages in the latest
stackage release should compile now.


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


[Nix-commits] [NixOS/nixpkgs] 868eb8: LTS Haskell 7.19

2017-02-07 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 868eb826e1caad0f387c173e5b78716b0a511dd7
  
https://github.com/NixOS/nixpkgs/commit/868eb826e1caad0f387c173e5b78716b0a511dd7
  Author: Peter Simons <sim...@cryp.to>
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  LTS Haskell 7.19


  Commit: d0492177e38616a102f8365b28c1ab17e74b42ce
  
https://github.com/NixOS/nixpkgs/commit/d0492177e38616a102f8365b28c1ab17e74b42ce
  Author: Peter Simons <sim...@cryp.to>
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  hackage2nix: update list of broken packages


  Commit: 5a0368b87cc353d46226fc91329036d6c16a5c10
  
https://github.com/NixOS/nixpkgs/commit/5a0368b87cc353d46226fc91329036d6c16a5c10
  Author: Peter Simons <sim...@cryp.to>
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

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

This update was generated by hackage2nix v2.0.4-10-g05c4803 from Hackage 
revision
https://github.com/commercialhaskell/all-cabal-hashes/commit/5720a6c584761a60d01b4ba9e8702f814928bb1a.


  Commit: 57507f08e8f297d700c4c508b495490ad86263d5
  
https://github.com/NixOS/nixpkgs/commit/57507f08e8f297d700c4c508b495490ad86263d5
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-02-07 (Tue, 07 Feb 2017)

  Changed paths:
M pkgs/development/haskell-modules/configuration-common.nix
A pkgs/development/haskell-modules/configuration-nix.nix
M pkgs/development/haskell-modules/default.nix

  Log Message:
  ---
  haskell-modules: split off nix-specific overrides and common ones

This allows the nix-specific overrides to be reused for other purposes,
with different haskell package sets, etc.


  Commit: b33124a143a9e4942c5d641e6fee8761c37b676c
  
https://github.com/NixOS/nixpkgs/commit/b33124a143a9e4942c5d641e6fee8761c37b676c
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2017-02-07 (Tue, 07 Feb 2017)

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

  Log Message:
  ---
  haskell-download: don't test (requires networking)


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


Re: [Nix-dev] Arch is dropping i686. Should we?

2017-01-26 Thread Benno Fünfstück
There's still a few packages in nixpkgs that require i686, like Skype, even
on x86_64.

Benno

Graham Christensen  schrieb am Do., 26. Jan. 2017,
14:37:

>
> As far as I know, Nix has no way to gather statistics on how many people
> are using different architectures. This makes questions like this a bit
> awkward.
>
> One person on IRC said they think they may have used it once. Does
> anyone on this list use NixOS on i686? anyone on this list know anyone
> using NixOS on i686?
>
> Graham
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Fwd: [caskroom/homebrew-cask] Added nix 1.11.5 (#28531)

2017-01-15 Thread Benno Fünfstück
Cool, that's a really nice feature. With hub, you should be able to do:

$ hub remote add -p $user

To get RW access

zimbatm <zimb...@zimbatm.com> schrieb am So., 15. Jan. 2017, 00:55:

> Actually hub remote only add a read-only git:// remote so it’s not super
> useful. The git-extras package also has a git pr
> <https://github.com/tj/git-extras/blob/master/Commands.md#git-pr> command
> that populates a pr/$number branch with the pull-request commits. But it
> doesn’t set the remote properly either.
> ​
>
> On Sat, 14 Jan 2017 at 23:02 zimbatm <zimb...@zimbatm.com> wrote:
>
> As the person submitting the PR, there is a checkbox (that is checked by
> default) that grants reviewers access to the branch.
>
> As a reviewer, the procedure is to git remote add $user g...@github.com:
> $user/nixpkgs.git. Checkout the branch and push the commits that you
> want. Force-push is not allowed for the reviewer on that branch. To make
> things a bit faster, install the hub <https://hub.github.com/> CLI, then
> you can hub remote add $user which translates to the same as above.
> ​
>
> On Sat, 14 Jan 2017 at 09:54 Benno Fünfstück <benno.fuenfstu...@gmail.com>
> wrote:
>
> > Finally during the review, the reviewer was pushing style fixes to the
> PR. It was probably as quick as leaving a comment and made the whole
> process much more inclusive, we were actually working together to get this
> merged.
>
> How does this work? Did you need to give him access to your repo for this,
> or is there some github-integrated way that I don't know of to push changes
> to branches of a PR?
>
> zimbatm <zimb...@zimbatm.com> schrieb am Fr., 6. Jan. 2017 um 21:17 Uhr:
>
> No not that I know of. It would be awkward to maintain because homebrew
> expects to be installed in /usr/local and not in the /nix/store. It works
> the other way around because homebrew casks don't try to maintain anything
> and just unpack and run an install script.
>
> On Fri, 6 Jan 2017 at 19:58 Jörg Thalheim <jo...@higgsboson.tk> wrote:
>
> I actually mean the other way around.
>
>
> On 2017-01-06 20:57, zimbatm wrote:
> > Yes that's the package. It installs nix with the nixpkgs-unstable
> channel. It does basically the same thing as `curl
> https://nixos.org/nix/install | sh` but also provides an uninstall step.
> >
> > On Fri, 6 Jan 2017 at 19:21 Jörg Thalheim <jo...@higgsboson.tk  jo...@higgsboson.tk>> wrote:
> >
> > Will there be a homebrew package for nixpkgs?
> >
> >
> > On 2017-01-06 19:40, zimbatm wrote:
> > > For the lulz I packaged nix for homebrew cask. Now you can `brew
> cask install nix`. Anyways, what I wanted to highlight is that the
> contributiob process was quite nice, there are probably some ideas that we
> could take from them.
> > >
> > > There is a clear path to contribution starting from the README.md
> which links to the right document. Also `brew cask create nix` was all I
> needed to get the new package description opened in my $EDITOR.
> > >
> > > When they rejected the package it was with a link to a clear
> document that lists the inclusion criteria. This also helped me appeal and
> ultimately revert the decision by sharing some missing context.
> > >
> > > Finally during the review, the reviewer was pushing style fixes to
> the PR. It was probably as quick as leaving a comment and made the whole
> process much more inclusive, we were actually working together to get this
> merged.
> > >
> > > These are just some highlights. In general I find that homebrew
> has a good focus on usability.
> > >
> > > -- Forwarded message -
> > > From: Miccal Matthews <notificati...@github.com  notificati...@github.com> <mailto:notificati...@github.com  notificati...@github.com>>>
> > > Date: Thu, 5 Jan 2017, 11:43
> > > Subject: Re: [caskroom/homebrew-cask] Added nix 1.11.5 (#28531)
> > > To: caskroom/homebrew-cask <homebrew-c...@noreply.github.com
> <mailto:homebrew-c...@noreply.github.com>  homebrew-c...@noreply.github.com <mailto:homebrew-c...@noreply.github.com
> >>>
> > > Cc: zimbatm <zimb...@zimbatm.com <mailto:zimb...@zimbatm.com>
> <mailto:zimb...@zimbatm.com <mailto:zimb...@zimbatm.com>>>, Author <
> aut...@noreply.github.com <mailto:aut...@noreply.github.com>  aut...@noreply.github.com <mailto:aut...@noreply.github.com>>>
> > >
> > >
> > > Merged #28531 <
> https://github.com/caskroom/homebre

Re: [Nix-dev] Python cannot find setup.py data_files in nix-shell

2017-01-14 Thread Benno Fünfstück
Hi K. Cong,

this bug happens because Nixpkgs uses the wheel's infrastructure to build
python packages, which appears to treat data files differently:
https://github.com/aquynh/capstone/pull/783/commits/23fe9f36622573c747e2bab6119ff245437bf276.
Here's a patch that fixes the issue for your package:

setup-py-data-files.patch:

diff -rup snap-3.0.2-3.0-centos6.5-x64-py2.6.orig/setup.py
snap-3.0.2-3.0-centos6.5-x64-py2.6/setup.py
--- snap-3.0.2-3.0-centos6.5-x64-py2.6.orig/setup.py 2017-01-14
17:37:02.614220670 +0100
+++ snap-3.0.2-3.0-centos6.5-x64-py2.6/setup.py 2017-01-14
17:38:10.928668352 +0100
@@ -151,6 +151,9 @@ for p in sys.path:
 user_install = os.path.join(p[:n],instdir)
 break

+if "bdist_wheel" in sys.argv:
+user_install = instdir
+
 # if Mac OS X, get a path for the Python dynamic library
 dynlib_path = None
 if uname[0] == "Darwin"

You can include it in your build like this:

let dependencies = rec {
  _snap = with python27Packages; buildPythonPackage {
name = "snap-3.0.2";
src = fetchurl {
  url ="
https://snap.stanford.edu/snappy/release/snap-3.0.2-3.0-centos6.5-x64-py2.6.tar.gz
";
  sha256 = "07q3pkm0f49c236vv1yb4kzi09h4nldgdax07r7zr0wbvwlzv43w";
};
patches = [ ./setup-py-data-files.patch ];
  };
};


Regards,
Benno


K. Cong  schrieb am Mo., 5. Dez. 2016 um 20:24 Uhr:

> Hi,
>
> I'm using the following Nix expression to install SNAP for use in a
> nix-shell.
>
> ```
> with import  {};
>
> let dependencies = rec {
>   _snap = with python27Packages; buildPythonPackage {
> name = "snap-3.0.2";
> src = fetchurl {
>   url =
> "
> https://snap.stanford.edu/snappy/release/snap-3.0.2-3.0-centos6.5-x64-py2.6.tar.gz
> ";
>   sha256 = "07q3pkm0f49c236vv1yb4kzi09h4nldgdax07r7zr0wbvwlzv43w";
> };
>   };
> };
> in with dependencies;
>
> stdenv.mkDerivation rec {
>   name = "snap";
>   env = buildEnv { name = name; paths = buildInputs; };
>   buildInputs = [
> python27
> graphviz
> gnuplot
> _snap
>   ];
> }
> ```
>
> Unfortunately, when I try to do `import snap`, Python says:
>
>   File
>
> "/nix/store/qyavbs7cd4fy0y7grigwhnvfyrypa4a6-python2.7-snap-3.0.2/lib/python2.7/site-packages/snap.py",
> line 20, in swig_import_helper
> import _snap
> ImportError: No module named _snap
>
> I noticed that _snap.so is not under that directory, but it is under an
> even deeper directory. I'm guessing this is the problem.
>
>
> /nix/store/qyavbs7cd4fy0y7grigwhnvfyrypa4a6-python2.7-snap-3.0.2/lib/python2.7/site-packages/nix/store/fmhcxqk5la805i418m861g3g60p4hvm0-python2.7-bootstrapped-pip-9.0.1/lib/python2.7/site-packages
>
> _snap.so also happens to be one of the data_files field in the setup.py
> script from the source. What should I change in my Nix expression so
> that Python finds _snap.so?
>
> Thanks!
>
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] [proposal] nix-prefetch-source: automatable updates to source specifications

2017-01-14 Thread Benno Fünfstück
Hi Tim,

it looks like you may be interested in
https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/upstream-updater/update-walker.txt,
which appears to do something similar to your project from the quick glance
that I gave it. I believe that update-walker is also what
https://github.com/Phreedom/nixpkgs-monitor (used to be available on
http://monitor.nixos.org/) uses, so I think it would be nice if we could
just document this existing system better.

Regards,

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


Re: [Nix-dev] Fwd: [caskroom/homebrew-cask] Added nix 1.11.5 (#28531)

2017-01-14 Thread Benno Fünfstück
> Finally during the review, the reviewer was pushing style fixes to the
PR. It was probably as quick as leaving a comment and made the whole
process much more inclusive, we were actually working together to get this
merged.

How does this work? Did you need to give him access to your repo for this,
or is there some github-integrated way that I don't know of to push changes
to branches of a PR?

zimbatm  schrieb am Fr., 6. Jan. 2017 um 21:17 Uhr:

> No not that I know of. It would be awkward to maintain because homebrew
> expects to be installed in /usr/local and not in the /nix/store. It works
> the other way around because homebrew casks don't try to maintain anything
> and just unpack and run an install script.
>
> On Fri, 6 Jan 2017 at 19:58 Jörg Thalheim  wrote:
>
> I actually mean the other way around.
>
>
> On 2017-01-06 20:57, zimbatm wrote:
> > Yes that's the package. It installs nix with the nixpkgs-unstable
> channel. It does basically the same thing as `curl
> https://nixos.org/nix/install | sh` but also provides an uninstall step.
> >
> > On Fri, 6 Jan 2017 at 19:21 Jörg Thalheim > wrote:
> >
> > Will there be a homebrew package for nixpkgs?
> >
> >
> > On 2017-01-06 19:40, zimbatm wrote:
> > > For the lulz I packaged nix for homebrew cask. Now you can `brew
> cask install nix`. Anyways, what I wanted to highlight is that the
> contributiob process was quite nice, there are probably some ideas that we
> could take from them.
> > >
> > > There is a clear path to contribution starting from the README.md
> which links to the right document. Also `brew cask create nix` was all I
> needed to get the new package description opened in my $EDITOR.
> > >
> > > When they rejected the package it was with a link to a clear
> document that lists the inclusion criteria. This also helped me appeal and
> ultimately revert the decision by sharing some missing context.
> > >
> > > Finally during the review, the reviewer was pushing style fixes to
> the PR. It was probably as quick as leaving a comment and made the whole
> process much more inclusive, we were actually working together to get this
> merged.
> > >
> > > These are just some highlights. In general I find that homebrew
> has a good focus on usability.
> > >
> > > -- Forwarded message -
> > > From: Miccal Matthews  >>
> > > Date: Thu, 5 Jan 2017, 11:43
> > > Subject: Re: [caskroom/homebrew-cask] Added nix 1.11.5 (#28531)
> > > To: caskroom/homebrew-cask    homebrew-c...@noreply.github.com  >>>
> > > Cc: zimbatm 
> >>, Author <
> aut...@noreply.github.com   aut...@noreply.github.com >>
> > >
> > >
> > > Merged #28531 <
> https://github.com/caskroom/homebrew-cask/pull/28531>.
> > >
> > > —
> > > You are receiving this because you authored the thread.
> > > Reply to this email directly, view it on GitHub <
> https://github.com/caskroom/homebrew-cask/pull/28531#event-912529758>, or
> mute the thread <
> https://github.com/notifications/unsubscribe-auth/AAAMsDii1OcfwpqT5gwbNWZLdZ2Ef1Soks5rPNdUgaJpZM4LaLKP
> >.
> > >
> > >
> > >
> > > ___
> > > nix-dev mailing list
> > > nix-dev@lists.science.uu.nl 
> > > http://lists.science.uu.nl/mailman/listinfo/nix-dev
> >
> > ___
> > nix-dev mailing list
> > nix-dev@lists.science.uu.nl 
> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
> >
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] ea14a1: man-db: make apropos search and not just behave li...

2016-12-30 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ea14a143572cc98f54ffa2a31510a2ce52f102ac
  
https://github.com/NixOS/nixpkgs/commit/ea14a143572cc98f54ffa2a31510a2ce52f102ac
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-12-30 (Fri, 30 Dec 2016)

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

  Log Message:
  ---
  man-db: make apropos search and not just behave like whatis

Before this fix, apropos behaved exactly like whatis and looked for
an exact match. Now, it actually provides the apropos-functionality
of searching.


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


[Nix-commits] [NixOS/nixpkgs] 087c24: fix #21521

2016-12-30 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 087c244c067a1bc881874bda8fd7b4dac2331fb3
  
https://github.com/NixOS/nixpkgs/commit/087c244c067a1bc881874bda8fd7b4dac2331fb3
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-12-30 (Fri, 30 Dec 2016)

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

  Log Message:
  ---
  fix #21521


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


Re: [Nix-dev] Introducing Nixpkgs Overlays

2016-12-27 Thread Benno Fünfstück
Hi Nicolas,

I like the idea of Nixpkgs overlays. I have not thought fully about the
whole proposal (and I need to catch up with how security updates work
first), but I think there is small mistake when you say:

As part of this modification, I intend to remove the
`pkgs.overridePackages` function, as this one can literally be
replaced by the following Nix expression:

```nix
let pkgs = import  {}; in
  import pkgs.path { overlay = [ (self: super: {
foo = super.foo.override { enableBar = true; };
bar = import ./pkgs/bar { inherit (self) stdenv fetchurl foo; };
  }) ]; }
```


 The `overridePackages` function is useful when you want to chain multiple
functions that modify the package set, like

```nix
let
  pkgs = import  {};
  pkgsA = functionA pkgs
  pkgsB = pkgsA.overridePackages (super: self: {
  });
```

In this code example. I do not need to know how functionA is implemented
internally. It seems to me that, if I instead used overlays for this, it
would be hard to achieve the same effect: I would have to manually take
care to re-apply the overrides that `functionA` put in place.

This does not mean that `overridePackages` needs to stay as-is. But perhaps
it would be possible to implement it using overlays, while still providing
the same interface to the user?


Regards,

Benno Fünfstück
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] a55bf2: codesearch: init at 20150617

2016-12-27 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: a55bf2b812463c992dad5f441efb8831dde10a0b
  
https://github.com/NixOS/nixpkgs/commit/a55bf2b812463c992dad5f441efb8831dde10a0b
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-12-27 (Tue, 27 Dec 2016)

  Changed paths:
A pkgs/tools/text/codesearch/default.nix
A pkgs/tools/text/codesearch/deps.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  codesearch: init at 20150617


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


[Nix-commits] [NixOS/nixpkgs] 0e78ed: dirb: init at 2.22

2016-11-06 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0e78ed82bfe660ac3ef7ff343527dc47d9536468
  
https://github.com/NixOS/nixpkgs/commit/0e78ed82bfe660ac3ef7ff343527dc47d9536468
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-11-07 (Mon, 07 Nov 2016)

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

  Log Message:
  ---
  dirb: init at 2.22


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


[Nix-commits] [NixOS/nixpkgs] fcc353: uWSGI: remove duplicate package

2016-10-23 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: fcc353908c34240b422429d7f46c28c9a51fb3d2
  
https://github.com/NixOS/nixpkgs/commit/fcc353908c34240b422429d7f46c28c9a51fb3d2
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

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

  Log Message:
  ---
  uWSGI: remove duplicate package

uWSGI is already packaged in servers/uwsgi


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


[Nix-commits] [NixOS/nixpkgs] 7f13f7: python-uwsgi: init at 2.0.14

2016-10-23 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7f13f746f3d86a2279ff65708367f8a902988dbb
  
https://github.com/NixOS/nixpkgs/commit/7f13f746f3d86a2279ff65708367f8a902988dbb
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

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

  Log Message:
  ---
  python-uwsgi: init at 2.0.14


  Commit: a9ca5f7a207fb3461ebdbb03d64d1ff1b880c8b2
  
https://github.com/NixOS/nixpkgs/commit/a9ca5f7a207fb3461ebdbb03d64d1ff1b880c8b2
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

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

  Log Message:
  ---
  python: fix broken packages


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


[Nix-commits] [NixOS/nixpkgs] 8fc81a: pwntools: init at 3.1.0

2016-10-23 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8fc81acc8a84000d88663cc0d70644158afa7704
  
https://github.com/NixOS/nixpkgs/commit/8fc81acc8a84000d88663cc0d70644158afa7704
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

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

  Log Message:
  ---
  pwntools: init at 3.1.0


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


[Nix-commits] [NixOS/nixpkgs] 796264: nixos/avahi: use more upstream-like systemd units

2016-10-15 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 796264a708d85987e0e6a528203ade20462f3f9c
  
https://github.com/NixOS/nixpkgs/commit/796264a708d85987e0e6a528203ade20462f3f9c
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-15 (Sat, 15 Oct 2016)

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

  Log Message:
  ---
  nixos/avahi: use more upstream-like systemd units

The new units mirror the upstream systemd units as closely as possible.
I could not find a reason why the service would need to be restarted on
resuming from suspend, and the upstream units also do not contain such a
restriction, so I removed the `partOf = [ "post-resume.target"]`.
This fixes #19525.


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


[Nix-commits] [NixOS/nixpkgs] de79db: capstone: use Makefile build (for pkg-config files...

2016-10-08 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: de79db8c99bc7aaeda13f8c800d5d8a780774368
  
https://github.com/NixOS/nixpkgs/commit/de79db8c99bc7aaeda13f8c800d5d8a780774368
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-08 (Sat, 08 Oct 2016)

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

  Log Message:
  ---
  capstone: use Makefile build (for pkg-config files)

The cmake based build system did not install the pkg-config files for
capstone, which made builds depending on capstone harder to write as
they cannot automatically find the location of the capstone library.


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


[Nix-commits] [NixOS/nixpkgs] 7b55de: sox: read enableLame from the config

2016-10-02 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7b55de24c82a39e2620320652faef6d7df8f2fde
  
https://github.com/NixOS/nixpkgs/commit/7b55de24c82a39e2620320652faef6d7df8f2fde
  Author: Sergey Mironov <grr...@gmail.com>
  Date:   2016-09-28 (Wed, 28 Sep 2016)

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

  Log Message:
  ---
  sox: read enableLame from the config


  Commit: 9d01cf66a413253e600879ee6fcd638e130c84bd
  
https://github.com/NixOS/nixpkgs/commit/9d01cf66a413253e600879ee6fcd638e130c84bd
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-02 (Sun, 02 Oct 2016)

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

  Log Message:
  ---
  Merge pull request #19051 from grwlf/sox-lame-config

sox: read enableLame from the config


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


[Nix-commits] [NixOS/nixpkgs] 5e5014: nextcloud-news-updater: init at 9.0.2

2016-10-02 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5e5014098c7b461b8d905f7e6f90aaf6336b2d68
  
https://github.com/NixOS/nixpkgs/commit/5e5014098c7b461b8d905f7e6f90aaf6336b2d68
  Author: schneefux <schneefux+com...@schneefux.xyz>
  Date:   2016-10-02 (Sun, 02 Oct 2016)

  Changed paths:
A pkgs/servers/nextcloud/news-updater.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  nextcloud-news-updater: init at 9.0.2


  Commit: a090931cdb818a7de4b0d2279cc7c991fc140925
  
https://github.com/NixOS/nixpkgs/commit/a090931cdb818a7de4b0d2279cc7c991fc140925
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-02 (Sun, 02 Oct 2016)

  Changed paths:
A pkgs/servers/nextcloud/news-updater.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #19155 from schneefux/nextcloud-newsupdater

nextcloud-news-updater: init at 9.0.2


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


[Nix-commits] [NixOS/nixpkgs] a47085: python-ropper: add homepage and license

2016-10-02 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: a47085d3dfe50ae6f51a6f20f966c5ea1e40fd59
  
https://github.com/NixOS/nixpkgs/commit/a47085d3dfe50ae6f51a6f20f966c5ea1e40fd59
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-02 (Sun, 02 Oct 2016)

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

  Log Message:
  ---
  python-ropper: add homepage and license


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


[Nix-commits] [NixOS/nixpkgs] f0fa27: python-capstone: init at 3.0.4

2016-10-02 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f0fa27a1c2fbf9a22daac06b49f0dfa809afec0f
  
https://github.com/NixOS/nixpkgs/commit/f0fa27a1c2fbf9a22daac06b49f0dfa809afec0f
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-02 (Sun, 02 Oct 2016)

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

  Log Message:
  ---
  python-capstone: init at 3.0.4


  Commit: ef23c2e4c8cfcdcc66693b815c3f6d5a1e04b306
  
https://github.com/NixOS/nixpkgs/commit/ef23c2e4c8cfcdcc66693b815c3f6d5a1e04b306
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-02 (Sun, 02 Oct 2016)

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

  Log Message:
  ---
  python-ropper: init at 1.10.10


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


[Nix-commits] [NixOS/nixpkgs] 230512: sqlmap: fix typo

2016-10-01 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 230512f3e4108dd818d3a3f4c8962b765e3de1ad
  
https://github.com/NixOS/nixpkgs/commit/230512f3e4108dd818d3a3f4c8962b765e3de1ad
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-01 (Sat, 01 Oct 2016)

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

  Log Message:
  ---
  sqlmap: fix typo


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


[Nix-commits] [NixOS/nixpkgs] 19c6da: sqlmap: init at 1.0.9.post5

2016-10-01 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 19c6da28694efbc11ab26d5a9d671146f533d897
  
https://github.com/NixOS/nixpkgs/commit/19c6da28694efbc11ab26d5a9d671146f533d897
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-01 (Sat, 01 Oct 2016)

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

  Log Message:
  ---
  sqlmap: init at 1.0.9.post5


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


[Nix-commits] [NixOS/nixpkgs] 1bae89: burpsuite: init at 1.7.06

2016-10-01 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1bae891e66f1a6996175cfea26def5ff1b2da2f7
  
https://github.com/NixOS/nixpkgs/commit/1bae891e66f1a6996175cfea26def5ff1b2da2f7
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-01 (Sat, 01 Oct 2016)

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

  Log Message:
  ---
  burpsuite: init at 1.7.06


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


[Nix-commits] [NixOS/nixpkgs] 07c0c2: ocurl: 0.7.5 -> 0.7.8

2016-10-01 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 07c0c2b19729c4232605bcc7f82768de4ac76d0f
  
https://github.com/NixOS/nixpkgs/commit/07c0c2b19729c4232605bcc7f82768de4ac76d0f
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-01 (Sat, 01 Oct 2016)

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

  Log Message:
  ---
  ocurl: 0.7.5 -> 0.7.8


  Commit: c149ef7cf92994583c9ae28c464fa868d173bb4b
  
https://github.com/NixOS/nixpkgs/commit/c149ef7cf92994583c9ae28c464fa868d173bb4b
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-01 (Sat, 01 Oct 2016)

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

  Log Message:
  ---
  ocamlfuse: update to latest HEAD


  Commit: ebaf889183927519177e3b34add3ab3d6bd1b312
  
https://github.com/NixOS/nixpkgs/commit/ebaf889183927519177e3b34add3ab3d6bd1b312
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-01 (Sat, 01 Oct 2016)

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

  Log Message:
  ---
  freenect: 0.5.2 -> 0.5.5


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


[Nix-commits] [NixOS/nixpkgs] 5e9c72: udiskie: fix broken icons

2016-10-01 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5e9c72c2e4635057c315a64c7de97a4d22f4cd3f
  
https://github.com/NixOS/nixpkgs/commit/5e9c72c2e4635057c315a64c7de97a4d22f4cd3f
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-10-01 (Sat, 01 Oct 2016)

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

  Log Message:
  ---
  udiskie: fix broken icons

Udiskie uses SVG icons for its tray icon. In order to load these,
librsvg needs to be included in the $GDK_PIXBUF_MODULE_FILE(loaders.cache).
Without librsvg, gdk does not support SVG images so the icons won't be
used.

If we add librsvg to buildInputs, the wrapGAppsHook will make sure that
the librsvg is included in the $GDK_PIXBUF_MODULE_FILE.


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


[Nix-commits] [NixOS/nixpkgs] 0a2b08: man-pages: include man3 in $out

2016-09-28 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0a2b08884c7f1e1d2f44beaf08ef42e9803c6f08
  
https://github.com/NixOS/nixpkgs/commit/0a2b08884c7f1e1d2f44beaf08ef42e9803c6f08
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-09-29 (Thu, 29 Sep 2016)

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

  Log Message:
  ---
  man-pages: include man3 in $out

The previous patch to this file removed the docdev output, but did
not actually provide the files that were in the docdev output in out.
This patch fixes the issue.


  Commit: 4c493a32f90b674b7c3123b51dce35dbaff18f1e
  
https://github.com/NixOS/nixpkgs/commit/4c493a32f90b674b7c3123b51dce35dbaff18f1e
  Author: Benno Fünfstück <benno.fuenfstu...@gmail.com>
  Date:   2016-09-29 (Thu, 29 Sep 2016)

  Changed paths:
M pkgs/tools/text/ripgrep/default.nix
M pkgs/top-level/rust-packages.nix

  Log Message:
  ---
  ripgrep: update 0.1.17 -> 0.2.1


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


  1   2   >