Re: [Nix-dev] GNOME 3.20

2016-07-10 Thread Damien Cassou
Hi Luca,

Luca Bruno  writes:
> I've been finally able to evaluate GNOME 3.20 on my desktop. Core stuff
> works fine, and also most of the apps.

I've been using 3.20 for a week now and it seems to be ok.

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

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


[Nix-dev] Using chicken scheme on osx

2016-07-10 Thread Blake Sweeney
Right now chicken on is marked as broken on osx. I've installed chicken
with homebrew and it worked fine. Does anyone know why it is marked as
broken? Also, some feedback from people who have a working chicken
install would be really useful.

So far I've:

1. Installed chicken
  This works fine and chicken itself works for some simple tests. In
  addition, I can load the eggs that it comes with. I was a bit
  surprised since it is marked as broken but seems to pass some simple
  tests.

  Does anyone know why it is marked as broken?

2. Installed eggs with egg2nix, which is not marked as broken on osx.
  While this seems to work, chicken cannot find the installed eggs. For
  example, I've installed args, but chicken doesn't think so:

  $ csi

  CHICKEN
  (c) 2008-2015, The CHICKEN Team
  (c) 2000-2007, Felix L. Winkelmann
  Version 4.10.0 (rev b259631)
  macosx-unix-clang-x86-64 [ 64bit manyargs dload ptables ]
  compiled 2015-08-04 on yves.more-magic.net (Linux)

  ; loading /Users/bsweene/.csirc ...
  #;1> (use args)

  Error: (import) during expansion of (import ...) - cannot import from 
undefined module: args

  It seems that the compiled eggs are not placed along the ones that
  chicken can find. I guess it is because they are in a different
  location. For example, args ends up in:

  
/nix/store/13x8wllc6bkvy5avlgz78j2r83k1nbck-chicken-args-1.5.1/lib/chicken/7/args.so

  while the eggs that chicken can find are in:

  /nix/store/8qm7x5jd7md8imblqba8yl47p8m63pg6-chicken-4.10.0/var/lib/chicken/7/

  Is this intentional? Do linux installs work differently?

3. Test out chicken-status with:

  $ chicken-status
  (none)

  This says no eggs are installed and I would expect that the posix and
  other installed eggs are list. Also, when looking at the wrapped
  script, I see that CHICKEN_REPOSITORY is not set, which I would expect
  considering the non-standard install layout. 
  
  Does chicken-status work on linux installs? Should CHICKEN_REPOSITORY
  be set?

At this point I've stopped since I don't know what should be happening,
or why chicken is marked as broken.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 0f96c6: batman-adv: 2016.1 -> 2016.2

2016-07-10 Thread Franz Pletz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0f96c690261561675445f3ef4b383f8d8b0ff0f7
  
https://github.com/NixOS/nixpkgs/commit/0f96c690261561675445f3ef4b383f8d8b0ff0f7
  Author: Franz Pletz 
  Date:   2016-07-11 (Mon, 11 Jul 2016)

  Changed paths:
M pkgs/os-specific/linux/batman-adv/alfred.nix
M pkgs/os-specific/linux/batman-adv/batctl.nix
M pkgs/os-specific/linux/batman-adv/default.nix

  Log Message:
  ---
  batman-adv: 2016.1 -> 2016.2


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


[Nix-commits] [NixOS/nixpkgs] ba2232: srelay: init at 0.4.8b6 (#16833)

2016-07-10 Thread Jookia
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ba2232f1f2759766df55d65bb0d81eaa0219a856
  
https://github.com/NixOS/nixpkgs/commit/ba2232f1f2759766df55d65bb0d81eaa0219a856
  Author: Jookia <166...@gmail.com>
  Date:   2016-07-11 (Mon, 11 Jul 2016)

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

  Log Message:
  ---
  srelay: init at 0.4.8b6 (#16833)


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


Re: [Nix-dev] How to plug systemd-bootchart into kernel args?

2016-07-10 Thread Nikolay Amiantov
I don't think it's possible now to run systemd-bootchart before stage-1
(initrd) and stage-2 along with the activation script finish running and
control is passed to systemd. We could add support for running
systemd-bootchart instead of systemd at this point (should be simple).

However, if you wanted to measure how earlier boot stages perform I'm
afraid we don't have any means to do so ATM (other than a general
"pre-systemd boot took N.M seconds"). I'd love to be proved wrong, of
course!

On 07/11/2016 03:31 AM, Mateusz Czaplinski wrote:
> I've read that for detailed boot time instrumentation, one is advised
> to use 'init=/usr/lib/systemd/systemd-bootchart' kernel param.
> 
> I've already:
> - found out that with systemd-230, systemd-bootchart was moved out to
> a separate project (github.com/systemd/systemd-bootchart);
> - built a derivation for it and made it to compile successfully;
> (running systemd-bootchart --help prints help info);
> - tried to pass it into /etc/nixos/configuration.nix as:
> 
>   kernelParams = [
> "init=${systemd-bootchart}/lib/systemd/systemd-bootchart"
>   ];
> 
> - but I'm getting a kernel panic on boot.
> 
> What should I do? Also, I don't know how to retrieve the exact
> contents of the panic message from the "previous boot" (i.e. the
> panicked one), after I hard-reboot and pick a last-working
> configuration in GRUB menu. Dmesg seems to show only the successful
> one, journalctl doesn't seem to be aware of the panic either with -b
> -1.
> 
> I've also noticed, that /boot/grub/grub.cfg actually contains two
> init= arguments, as the new one is only appended (the old one is still
> kept); can this be the reason? If yes, is there some reasonable hack I
> could try to fix that?
> 
> Also, I've read that I should maybe pass -i option to bootchart, to
> inform it what init script it should pass control to. But I don't know
> how to retrieve the path dynamically in Nix expression? it looks to me
> it's available only temporarily as a let-expression, which is used in
> some advanced expression and thus doesn't escape into "global scope".
> Still, when I tried to hardcode it as:
> "init=${systemd-bootchart}/.../systemd-bootchart -i
> /nix/store/.../init", it panicked anyway (that said, in grub.cfg, it
> seems the spaces are not escaped around -i here; is that ok?), so I
> assume I haven't even reached this phase yet.
> 
> I'd be grateful for any help!
> 
> Thanks & Best Regards,
> /Mateusz Czapliński.
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


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


[Nix-dev] How to plug systemd-bootchart into kernel args?

2016-07-10 Thread Mateusz Czaplinski
I've read that for detailed boot time instrumentation, one is advised
to use 'init=/usr/lib/systemd/systemd-bootchart' kernel param.

I've already:
- found out that with systemd-230, systemd-bootchart was moved out to
a separate project (github.com/systemd/systemd-bootchart);
- built a derivation for it and made it to compile successfully;
(running systemd-bootchart --help prints help info);
- tried to pass it into /etc/nixos/configuration.nix as:

  kernelParams = [
"init=${systemd-bootchart}/lib/systemd/systemd-bootchart"
  ];

- but I'm getting a kernel panic on boot.

What should I do? Also, I don't know how to retrieve the exact
contents of the panic message from the "previous boot" (i.e. the
panicked one), after I hard-reboot and pick a last-working
configuration in GRUB menu. Dmesg seems to show only the successful
one, journalctl doesn't seem to be aware of the panic either with -b
-1.

I've also noticed, that /boot/grub/grub.cfg actually contains two
init= arguments, as the new one is only appended (the old one is still
kept); can this be the reason? If yes, is there some reasonable hack I
could try to fix that?

Also, I've read that I should maybe pass -i option to bootchart, to
inform it what init script it should pass control to. But I don't know
how to retrieve the path dynamically in Nix expression? it looks to me
it's available only temporarily as a let-expression, which is used in
some advanced expression and thus doesn't escape into "global scope".
Still, when I tried to hardcode it as:
"init=${systemd-bootchart}/.../systemd-bootchart -i
/nix/store/.../init", it panicked anyway (that said, in grub.cfg, it
seems the spaces are not escaped around -i here; is that ok?), so I
assume I haven't even reached this phase yet.

I'd be grateful for any help!

Thanks & Best Regards,
/Mateusz Czapliński.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Packaging free software that costs money

2016-07-10 Thread Nikolay Amiantov
On 07/06/2016 01:50 PM, Bjørn Forsman wrote:
> One improvement we can do is making it easier to run pre-built
> binaries. Right now you have to create a Nix file with
> pkgs.buildFHSUserEnv and pass in a lot of data[1].
> 
> What if we write a script that creates an FHS environment from all
> profiles (system, default, user)? "nix-run-impure myprog"? It would
> (almost) be as easy to run prebuilt programs on NixOS as any other
> distro. The result would be a mix of nix-shell, steam-run and
> buildFHSUserEnv.

This idea seems interesting to me. That said, I cannot immediately see
how can we implement it because the main content of FHS environments are
not binaries but libraries, and those are not typically in profiles.

We can e.g. try to traverse closure of all references and take all
libraries found, but this seems problematic to me because we (rightfully
spoiled by Nix) often use several different versions of one library for
different binaries (better: with different features, worse: different
versions). Exposing those mixed lead to bugs like #15498[1].

So for now I don't see anything better than a curated set of libraries
like steam-run. OTOH steam-run is, by design, hooked to use Steam
Runtime, which is pretty ancient and consists of downloaded binary
blobs. With some overriding you can get a fully "native" steam-run:

(steam.override { nativeOnly = true; }).run

Steam Runtime is a pretty well designed set of libraries -- Valve needed
to make something that would be able to fulfill library needs for games
and applications alike (since they also sell apps in their store). To
clarify: this uses a list of our packages to mimic actual Steam Runtime,
without any binary blobs. It's also pretty incomplete.

What do you all think of adding "fhs-run" alias for the above derivation
and advertising this as the way to try when you need to run something
proprietary, quick and dirty? At least it's a good start. First
improvement would be to allow easy overriding to add extra packages.

1: https://github.com/NixOS/nixpkgs/issues/15498

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


[Nix-commits] [NixOS/nixpkgs] f57fe6: simplescreenrecorder: fix paths to LD_PRELOADed pa...

2016-07-10 Thread Nikolay Amiantov
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f57fe6c2f92f4390ebad951fc39d7324a47487a7
  
https://github.com/NixOS/nixpkgs/commit/f57fe6c2f92f4390ebad951fc39d7324a47487a7
  Author: Nikolay Amiantov 
  Date:   2016-07-11 (Mon, 11 Jul 2016)

  Changed paths:
M pkgs/applications/video/simplescreenrecorder/default.nix
A pkgs/applications/video/simplescreenrecorder/fix-paths.patch

  Log Message:
  ---
  simplescreenrecorder: fix paths to LD_PRELOADed part


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


Re: [Nix-dev] Cross compiling

2016-07-10 Thread Vladimír Čunát
On 07/10/2016 12:00 PM, Michał Zieliński wrote:
> error: assertion failed [...] (on line: assert (!stdenv.isLinux))

Maybe it's not really related to this particular problem, but beware of
similar conditions during cross-compiling, as stdenv.isXxxx and
stdenv.system describes the *build* platform and not the host one, and
typically we use it in the other meaning.

Some other common caveats: https://github.com/NixOS/nixpkgs/issues/14965
(I was mainly cross-compiling from Linux to MinGW, but some issues apply
the same.)

--Vladimir




smime.p7s
Description: S/MIME Cryptographic Signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] ec5ec3: pngpp: init at 0.2.9 (#16782)

2016-07-10 Thread Ram Kromberg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ec5ec3141105b6ca26bc32342c2273fc12b0fd52
  
https://github.com/NixOS/nixpkgs/commit/ec5ec3141105b6ca26bc32342c2273fc12b0fd52
  Author: Ram Kromberg 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  pngpp: init at 0.2.9 (#16782)


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


[Nix-commits] [NixOS/nixpkgs] 29d570: recordmydesktop: use ALSA backend

2016-07-10 Thread Nikolay Amiantov
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 29d570ef8207069ae234ea5c35667c93125f1fb3
  
https://github.com/NixOS/nixpkgs/commit/29d570ef8207069ae234ea5c35667c93125f1fb3
  Author: Nikolay Amiantov 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  recordmydesktop: use ALSA backend


  Commit: 7e0a6dd8277f67905e08079c71986f73a364549b
  
https://github.com/NixOS/nixpkgs/commit/7e0a6dd8277f67905e08079c71986f73a364549b
  Author: Nikolay Amiantov 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
A pkgs/applications/video/recordmydesktop/gtk.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  gtk-recordmydesktop: init at 0.3.8-svn602


  Commit: e4aace70289d36688c279562ead7a710d68437a4
  
https://github.com/NixOS/nixpkgs/commit/e4aace70289d36688c279562ead7a710d68437a4
  Author: Nikolay Amiantov 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
A pkgs/applications/video/recordmydesktop/qt.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  qt-recordmydesktop: init at 0.3.8-svn602


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


[Nix-commits] [NixOS/nixpkgs] 85c6ab: pythonPackages.lektor: init at 2.3

2016-07-10 Thread Oliver Hunt
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 85c6ab9c8ad3a26444d73efe16970db6c89611c0
  
https://github.com/NixOS/nixpkgs/commit/85c6ab9c8ad3a26444d73efe16970db6c89611c0
  Author: Oliver Hunt 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  pythonPackages.lektor: init at 2.3


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


[Nix-commits] [NixOS/nixpkgs] 466303: python 3.4.4 -> 3.4.5

2016-07-10 Thread Frederik Rietdijk
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 466303bbe4f2774de3a67ca40d1e1ca792647cfd
  
https://github.com/NixOS/nixpkgs/commit/466303bbe4f2774de3a67ca40d1e1ca792647cfd
  Author: Frederik Rietdijk 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
M pkgs/development/interpreters/python/3.4/default.nix

  Log Message:
  ---
  python 3.4.4 -> 3.4.5

(cherry picked from commit f04b0181114c0da3834c6713340a92791f23f953)


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


[Nix-commits] [NixOS/nixpkgs] f04b01: python 3.4.4 -> 3.4.5

2016-07-10 Thread Frederik Rietdijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f04b0181114c0da3834c6713340a92791f23f953
  
https://github.com/NixOS/nixpkgs/commit/f04b0181114c0da3834c6713340a92791f23f953
  Author: Frederik Rietdijk 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
M pkgs/development/interpreters/python/3.4/default.nix

  Log Message:
  ---
  python 3.4.4 -> 3.4.5


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


[Nix-commits] [NixOS/nixpkgs] 1cb6bf: python 3.5.1 -> 3.5.2

2016-07-10 Thread Frederik Rietdijk
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1cb6bf00b95b2d0057e45f4ad67559a0f989807e
  
https://github.com/NixOS/nixpkgs/commit/1cb6bf00b95b2d0057e45f4ad67559a0f989807e
  Author: Frederik Rietdijk 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
M pkgs/development/interpreters/python/3.5/default.nix

  Log Message:
  ---
  python 3.5.1 -> 3.5.2

(cherry picked from commit 52bc8d203f846c0ac71af2080495a361ec84f1af)


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


[Nix-commits] [NixOS/nixpkgs] 52bc8d: python 3.5.1 -> 3.5.2

2016-07-10 Thread Frederik Rietdijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 52bc8d203f846c0ac71af2080495a361ec84f1af
  
https://github.com/NixOS/nixpkgs/commit/52bc8d203f846c0ac71af2080495a361ec84f1af
  Author: Frederik Rietdijk 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
M pkgs/development/interpreters/python/3.5/default.nix

  Log Message:
  ---
  python 3.5.1 -> 3.5.2


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


[Nix-commits] [NixOS/nixpkgs] 34fab1: gpsd: fix python dependencies

2016-07-10 Thread Alexey Shmalko
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 34fab1a858ce6dbda86520ceb11f2cd3a31ba468
  
https://github.com/NixOS/nixpkgs/commit/34fab1a858ce6dbda86520ceb11f2cd3a31ba468
  Author: Alexey Shmalko 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  gpsd: fix python dependencies

This fixes xgps and xgpsspeed executables.


  Commit: f6ae3d078ace109821de497fb4ca33cc8a1abdd8
  
https://github.com/NixOS/nixpkgs/commit/f6ae3d078ace109821de497fb4ca33cc8a1abdd8
  Author: Alexey Shmalko 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
M 
pkgs/servers/gpsd/0001-Import-LD_LIBRARY_PATH-to-allow-running-scons-check-.patch
A pkgs/servers/gpsd/0001-Use-pkgconfig-for-dbus-library.patch
M 
pkgs/servers/gpsd/0002-Import-XML_CATALOG_FILES-to-be-able-to-validate-the-.patch
M pkgs/servers/gpsd/default.nix

  Log Message:
  ---
  gpsd: 3.10 -> 3.16


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


[Nix-commits] [NixOS/nixpkgs] 5a245c: gnome3: make 3.20 the default

2016-07-10 Thread Luca Bruno
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 5a245c24b0188c6fff933497545f6e84d9b024c0
  
https://github.com/NixOS/nixpkgs/commit/5a245c24b0188c6fff933497545f6e84d9b024c0
  Author: Luca Bruno 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
A nixos/tests/gnome3_18-gdm.nix
A nixos/tests/gnome3_18.nix
R nixos/tests/gnome3_20-gdm.nix
R nixos/tests/gnome3_20.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  gnome3: make 3.20 the default


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


[Nix-commits] [NixOS/nixpkgs] e50deb: arx-libertatis: fix meta.platforms

2016-07-10 Thread Nikolay Amiantov
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e50debdee7b9964cf88ff2011979e8c4f510a932
  
https://github.com/NixOS/nixpkgs/commit/e50debdee7b9964cf88ff2011979e8c4f510a932
  Author: Nikolay Amiantov 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
M pkgs/games/arx-libertatis/default.nix

  Log Message:
  ---
  arx-libertatis: fix meta.platforms


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


[Nix-commits] [NixOS/nixpkgs] 42c91d: flow: 0.22.1 -> 0.28.0 (#16827)

2016-07-10 Thread Danny Arnold
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 42c91dd1d8f251dbbb021ce003dba564ed200706
  
https://github.com/NixOS/nixpkgs/commit/42c91dd1d8f251dbbb021ce003dba564ed200706
  Author: Danny Arnold 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
M pkgs/development/tools/analysis/flow/default.nix

  Log Message:
  ---
  flow: 0.22.1 -> 0.28.0 (#16827)


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


[Nix-dev] Cross compiling

2016-07-10 Thread Michał Zieliński
Hello!
I'm trying to use Nix to cross compile software for embedded system. I've
started by following instructions on wiki:
https://nixos.org/wiki/CrossCompiling#Cross-compiling_in_practice

I've copied comtrend.nix and ran "nix-build -A bison.crossDrv comtrend.nix"
- I get assertion failure:
error: assertion failed at
/nix/store/f16m51qgfwl74cc3qn1x06rlza24yhjf-nixpkgs-16.09pre83147.df89584/nixpkgs/pkgs/development/libraries/libiconv/default.nix:3:1
(on line: assert (!stdenv.isLinux))

It seems that Nix is pulling derivation for Cygwin. Is crossSystem
configuration on wiki correct? Or am I doing something wrong?

I'm using Nix with stable channel on Ubuntu 16.04.

--
Michał Zieliński
http://zielmicha.com | @zielmicha
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 81810c: iterm2: 3.0.2 -> 3.0.4 (#16800)

2016-07-10 Thread Marc Scholten
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 81810c664bc449d388eaa26b563a01b51406be90
  
https://github.com/NixOS/nixpkgs/commit/81810c664bc449d388eaa26b563a01b51406be90
  Author: Marc Scholten 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  iterm2: 3.0.2 -> 3.0.4 (#16800)


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


[Nix-commits] [NixOS/nixpkgs] 0e6fbf: sift: fix hydra build fail (#16820)

2016-07-10 Thread Carl Sverre
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0e6fbf83f8bec58b3d42459fdba99dca40c33ef2
  
https://github.com/NixOS/nixpkgs/commit/0e6fbf83f8bec58b3d42459fdba99dca40c33ef2
  Author: Carl Sverre 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  sift: fix hydra build fail (#16820)

For some reason I haven't been able to figure out, sift does not build on OSX.
I think it is because sift uses cgo for some of its functionality which you can
see here:
https://github.com/svent/sift/blob/master/matching_cgo.go#L23

The error which hydra found (and is reproducible on OSX) can be seen here:
https://hydra.nixos.org/build/37169149

Ideally I would like to get sift building on OSX, however my nix-fu is weak.
Any suggestions are welcome.  In the meantime I would like to get sift into one
of the release channels for Linux where it works fine.


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


[Nix-commits] [NixOS/nixpkgs] ef6c95: libusbmuxd, libimobiledevice: Fix CVE-2016-5104

2016-07-10 Thread Franz Pletz
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ef6c951d70a5bcd32a18f4f08e6ef5b8cf93cb56
  
https://github.com/NixOS/nixpkgs/commit/ef6c951d70a5bcd32a18f4f08e6ef5b8cf93cb56
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
M pkgs/development/libraries/libimobiledevice/default.nix
M pkgs/development/libraries/libusbmuxd/default.nix

  Log Message:
  ---
  libusbmuxd, libimobiledevice: Fix CVE-2016-5104

(cherry picked from commit 77f2fff41d636ae9f7c599f55abdf006a2180066)


  Commit: e1a506a2f8bc1266c8f8eee1e25873175c3bf1d4
  
https://github.com/NixOS/nixpkgs/commit/e1a506a2f8bc1266c8f8eee1e25873175c3bf1d4
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
M pkgs/applications/networking/sniffers/wireshark/default.nix

  Log Message:
  ---
  wireshark: 2.0.3 -> 2.0.4 (security)

Fixes a few security problems:
  https://www.wireshark.org/docs/relnotes/wireshark-2.0.4.html

(cherry picked from commit a950c154c178d9244fbf95033b88e563b0bc7753)


  Commit: 4a9de9cb26d4df760927739f12e30abad1d86203
  
https://github.com/NixOS/nixpkgs/commit/4a9de9cb26d4df760927739f12e30abad1d86203
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
R pkgs/development/libraries/plib/CVE-2012-4552.patch
M pkgs/development/libraries/plib/default.nix

  Log Message:
  ---
  plib: add patch to fix CVE-2011-4620

(cherry picked from commit 9c9abc4c94cee62782fc9c5f0f227239f051adfa)


  Commit: a130d36e4002541e3553610c84d3643b0910d131
  
https://github.com/NixOS/nixpkgs/commit/a130d36e4002541e3553610c84d3643b0910d131
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  vlc: 2.2.2 -> 2.2.4 (security)

Fixes CVE-2016-5108.

(cherry picked from commit 64ab82787304f3dc630dfd4d470bf5f1545ef359)


  Commit: 9d15fdda5eca1c96cb1ec5b5cfaa8afa2fc24124
  
https://github.com/NixOS/nixpkgs/commit/9d15fdda5eca1c96cb1ec5b5cfaa8afa2fc24124
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  graphicsmagick: 1.3.21 -> 1.3.24 (security)

Fixes CVE-2016-3716, CVE-2016-3717, CVE-2016-2317, CVE-2016-2318,
CVE-2016-5118, CVE-2016-3714, CVE-2016-3715, CVE-2016-3718.

(cherry picked from commit 22c141619242d6d86b924723ea91e1c0fc3bf0bf)


  Commit: e37f347e55744cab2b7905696ff40705f93ba5b9
  
https://github.com/NixOS/nixpkgs/commit/e37f347e55744cab2b7905696ff40705f93ba5b9
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  dnsmasq: 2.75 -> 2.76 (security)

Fixes CVE-2015-8899.

(cherry picked from commit 033e593a4f88276a6dbbc115bd987d5ac43589d9)


  Commit: f57c4b5aac648c88807328576e5ce1575a472e7b
  
https://github.com/NixOS/nixpkgs/commit/f57c4b5aac648c88807328576e5ce1575a472e7b
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  ntp: 4.2.8p6 -> 4.2.8p8 (security)

Fixes CVE-2016-4953, CVE-2016-4954, CVE-2016-4955, CVE-2016-4956.

(cherry picked from commit bdf4c0d21f12cadfc009c627b1664a4d98a3fe71)


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


[Nix-commits] [NixOS/nixpkgs] 844748: libarchive: 3.1.2 -> 3.2.1 (security)

2016-07-10 Thread Franz Pletz
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 844748a9c9ce7a12c9bf71aebd74f9e85919f4ca
  
https://github.com/NixOS/nixpkgs/commit/844748a9c9ce7a12c9bf71aebd74f9e85919f4ca
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
R pkgs/development/libraries/libarchive/CVE-2013-0211.patch
R pkgs/development/libraries/libarchive/CVE-2015-1197.patch
M pkgs/development/libraries/libarchive/default.nix

  Log Message:
  ---
  libarchive: 3.1.2 -> 3.2.1 (security)

Fixes at least:

  * CVE-2016-4300
  * CVE-2016-4302
  * CVE-2016-4809
  * CVE-2016-5844


  Commit: ba2eec97b5022848fffeb8c85303b7afe4690e82
  
https://github.com/NixOS/nixpkgs/commit/ba2eec97b5022848fffeb8c85303b7afe4690e82
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  sqlite: 3.12.2 -> 3.13.0


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


[Nix-commits] [NixOS/nixpkgs] 69db5f: mbedtls: 1.3.16 -> 2.3.0

2016-07-10 Thread Franz Pletz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 69db5f5ad7c9550f4476555498035b126d3c33e7
  
https://github.com/NixOS/nixpkgs/commit/69db5f5ad7c9550f4476555498035b126d3c33e7
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  mbedtls: 1.3.16 -> 2.3.0


  Commit: 916cedb0635c88398563c46908d1389a3c404def
  
https://github.com/NixOS/nixpkgs/commit/916cedb0635c88398563c46908d1389a3c404def
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
M pkgs/servers/http/gatling/default.nix

  Log Message:
  ---
  gatling: remove unused dependency on polarssl


  Commit: f1f6dc9b8708fada557daf6b44d4e7fbb551a1aa
  
https://github.com/NixOS/nixpkgs/commit/f1f6dc9b8708fada557daf6b44d4e7fbb551a1aa
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  shadowsocks-libev: polarssl is now called mbedtls


  Commit: 77f2fff41d636ae9f7c599f55abdf006a2180066
  
https://github.com/NixOS/nixpkgs/commit/77f2fff41d636ae9f7c599f55abdf006a2180066
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
M pkgs/development/libraries/libimobiledevice/default.nix
M pkgs/development/libraries/libusbmuxd/default.nix

  Log Message:
  ---
  libusbmuxd, libimobiledevice: Fix CVE-2016-5104


  Commit: a950c154c178d9244fbf95033b88e563b0bc7753
  
https://github.com/NixOS/nixpkgs/commit/a950c154c178d9244fbf95033b88e563b0bc7753
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
M pkgs/applications/networking/sniffers/wireshark/default.nix

  Log Message:
  ---
  wireshark: 2.0.3 -> 2.0.4 (security)

Fixes a few security problems:
  https://www.wireshark.org/docs/relnotes/wireshark-2.0.4.html


  Commit: b8ecb949e68057ab733cf2e88b6c9145ec74d8c5
  
https://github.com/NixOS/nixpkgs/commit/b8ecb949e68057ab733cf2e88b6c9145ec74d8c5
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  haproxy: 1.6.5 -> 1.6.6 (security)

Fixes at least CVE-2016-5360.


  Commit: 9c9abc4c94cee62782fc9c5f0f227239f051adfa
  
https://github.com/NixOS/nixpkgs/commit/9c9abc4c94cee62782fc9c5f0f227239f051adfa
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
R pkgs/development/libraries/plib/CVE-2012-4552.patch
M pkgs/development/libraries/plib/default.nix

  Log Message:
  ---
  plib: add patch to fix CVE-2011-4620


  Commit: 64ab82787304f3dc630dfd4d470bf5f1545ef359
  
https://github.com/NixOS/nixpkgs/commit/64ab82787304f3dc630dfd4d470bf5f1545ef359
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  vlc: 2.2.3 -> 2.2.4 (security)

Fixes CVE-2016-5108.


  Commit: 22c141619242d6d86b924723ea91e1c0fc3bf0bf
  
https://github.com/NixOS/nixpkgs/commit/22c141619242d6d86b924723ea91e1c0fc3bf0bf
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  graphicsmagick: 1.3.23 -> 1.3.24 (security)

Fixes CVE-2016-3716, CVE-2016-3717, CVE-2016-2317, CVE-2016-2318,
CVE-2016-5118, CVE-2016-3714, CVE-2016-3715, CVE-2016-3718.


  Commit: 033e593a4f88276a6dbbc115bd987d5ac43589d9
  
https://github.com/NixOS/nixpkgs/commit/033e593a4f88276a6dbbc115bd987d5ac43589d9
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  dnsmasq: 2.75 -> 2.76 (security)

Fixes CVE-2015-8899.


  Commit: 9eec06435533b706aa21751fdf2cdb6f0a7e0515
  
https://github.com/NixOS/nixpkgs/commit/9eec06435533b706aa21751fdf2cdb6f0a7e0515
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

  Changed paths:
M pkgs/servers/http/nginx/default.nix

  Log Message:
  ---
  nginx: 1.10.0 -> 1.10.1 (security)

Fixes CVE-2016-4450.


  Commit: bdf4c0d21f12cadfc009c627b1664a4d98a3fe71
  
https://github.com/NixOS/nixpkgs/commit/bdf4c0d21f12cadfc009c627b1664a4d98a3fe71
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  ntp: 4.2.8p6 -> 4.2.8p8 (security)

Fixes CVE-2016-4953, CVE-2016-4954, CVE-2016-4955, 

[Nix-commits] [NixOS/nixpkgs] fdd3f9: libvirt: add patch to fix CVE-2016-5008

2016-07-10 Thread Franz Pletz
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: fdd3f94a976af9ff2fb6cfbf02131e06e1b274c2
  
https://github.com/NixOS/nixpkgs/commit/fdd3f94a976af9ff2fb6cfbf02131e06e1b274c2
  Author: Franz Pletz 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  libvirt: add patch to fix CVE-2016-5008


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


[Nix-commits] [NixOS/nixpkgs] 8e327a: Revert "gd: major+security update 2.0.35 -> 2.2.2"

2016-07-10 Thread Vladimír Čunát
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8e327a08e4a638012c6c2fc34b7aeedc3c9716dc
  
https://github.com/NixOS/nixpkgs/commit/8e327a08e4a638012c6c2fc34b7aeedc3c9716dc
  Author: Vladimír Čunát 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  Revert "gd: major+security update 2.0.35 -> 2.2.2"

This reverts commit f48d21551b08f57a4c5ef3ba0ed7439a3f96b574.
I give up this way; I will try to apply patches instead.


  Commit: f06e94b8b8b7125baec6eaffc4bea8c29f257a7e
  
https://github.com/NixOS/nixpkgs/commit/f06e94b8b8b7125baec6eaffc4bea8c29f257a7e
  Author: Vladimír Čunát 
  Date:   2016-07-10 (Sun, 10 Jul 2016)

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

  Log Message:
  ---
  gd: use 2.0.* from Debian to fix security


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