[Nix-commits] [NixOS/nixpkgs] 8cd3e1: rustc: 1.10.0 -> 1.11.0 and beta/unstable updates.

2016-08-26 Thread Moritz Ulrich
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8cd3e1e2bac5d7b8d3ae84a91f1019007f82c483
  
https://github.com/NixOS/nixpkgs/commit/8cd3e1e2bac5d7b8d3ae84a91f1019007f82c483
  Author: Moritz Ulrich 
  Date:   2016-08-27 (Sat, 27 Aug 2016)

  Changed paths:
M pkgs/development/compilers/rust/beta.nix
M pkgs/development/compilers/rust/bootstrap.nix
M pkgs/development/compilers/rust/default.nix
M pkgs/development/compilers/rust/head.nix
R 
pkgs/development/compilers/rust/patches/tcp-stress-test-run-a-smaller-number-of-threads.patch
M pkgs/development/compilers/rust/rustc.nix

  Log Message:
  ---
  rustc: 1.10.0 -> 1.11.0 and beta/unstable updates.

Give cargo the right name.

Fix versioning.

rustBeta: -> 2016-08-17

Looks like rustUnstable.rustc needs *exactly* this version.


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


[Nix-commits] [NixOS/nixpkgs] 80660f: virtualbox-image: use vmdk wrapper instead of vdi ...

2016-08-26 Thread obadz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 80660f8261ad77535dd8fbbcc764ff7f4e739896
  
https://github.com/NixOS/nixpkgs/commit/80660f8261ad77535dd8fbbcc764ff7f4e739896
  Author: obadz 
  Date:   2016-08-27 (Sat, 27 Aug 2016)

  Changed paths:
M nixos/modules/virtualisation/virtualbox-image.nix

  Log Message:
  ---
  virtualbox-image: use vmdk wrapper instead of vdi copy (avoids 1 disk copy)


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


[Nix-commits] [NixOS/nixpkgs] 58db7f: virtualbox-image: remove configFile to let clone-c...

2016-08-26 Thread obadz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 58db7f508f815ac7c1e12e3abd8f7d0fcf25a0cb
  
https://github.com/NixOS/nixpkgs/commit/58db7f508f815ac7c1e12e3abd8f7d0fcf25a0cb
  Author: obadz 
  Date:   2016-08-27 (Sat, 27 Aug 2016)

  Changed paths:
M nixos/modules/virtualisation/virtualbox-image.nix

  Log Message:
  ---
  virtualbox-image: remove configFile to let clone-config do its job in demo

Fixes #13927
cc @edolstra

configFile in make-disk-image clashes with clone-config as the latter does
nothing if it finds a a /etc/nixos/configuration.nix during stage-2.


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


Re: [Nix-dev] Sbtix - SBT project builder

2016-08-26 Thread Profpatsch
On 16-08-26 10:13pm, Teo Klestrup Röijezon wrote:
> It's also pretty invasive at the moment, since it requires you to replace
> SBT's native Ivy dependency resolver with Coursier. In most cases it should
> be a drop-in replacement, but naturally I'm sure there are edge cases I
> haven't thought of.
> 
> Do you guys think this is something worth pursuing further?

Definitely! Assimilate ALL THE package mananegers & build systems!

-- 
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
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] NixOS 16.09 stable branch-off is due in ~a month

2016-08-26 Thread Luca Bruno
+1 from me, @vcunat may know some drawbacks however

On Friday 26 August 2016, Tuomas Tynkkynen  wrote:

> 2016-08-23 14:27 GMT+03:00 Domen Kožar >:
> > Reminder: another week left until branch off.
> >
>
> Hi nix-dev,
>
> I would like to raise the backwards compatibility concern about
> multiple outputs.
> The biggest problem IMHO is using antiquotation to build paths in
> various scripts,
> like '${pkgs.nix}/bin/nix-build ...', or for a concrete example:
>
> https://github.com/NixOS/nixos-channel-scripts/blob/master/default.nix#L27
>
> So the derivation builds fine, except that the paths are broken as they
> point
> to the 'dev' outputs, not 'bin'/'out' where the binaries are.
>
> To fix this, I propose we change the convention of multiple outputs to have
> the binaries in the first output (to have '${foo}/bin/bar' always work.
> Then, to keep (propagated)BuildInputs working, mkDerivation would
> need to be changed to use the dev outputs of packages added to
> buildInputs (using the same logic that we already have in place
> for systemPackages, i.e. 'environment.systemPackages = [ curl ];'
> implicitly refers to 'curl.bin').
>
> Of course, this doesn't resolve all such problems - for instance,
> the '-I ${nix}/include/nix' in the above URL will now break instead.
> But that failure (and in general, most references that actually want
> to refer to 'dev' output) will fail at build time, instead of runtime.
>
> The original WIP pull request for this is at
> https://github.com/NixOS/nixpkgs/pull/14766
> from some time ago.  Here's how the changes look rebased to current master:
> https://github.com/NixOS/nixpkgs/compare/master...
> dezgeg:shuffle-outputs-v2
> So far that branch seems to work fine on both Linux and Darwin, e.g. Gnome
> 3
> and KDE4 tests still build+pass, for instance. So I'm fairly confident
> that all
> the potential breakage could be fixed in time for 16.09.
>
> Thoughts?
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl 
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>


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


Re: [Nix-dev] NixOS 16.09 stable branch-off is due in ~a month

2016-08-26 Thread Tuomas Tynkkynen
2016-08-23 14:27 GMT+03:00 Domen Kožar :
> Reminder: another week left until branch off.
>

Hi nix-dev,

I would like to raise the backwards compatibility concern about
multiple outputs.
The biggest problem IMHO is using antiquotation to build paths in
various scripts,
like '${pkgs.nix}/bin/nix-build ...', or for a concrete example:

https://github.com/NixOS/nixos-channel-scripts/blob/master/default.nix#L27

So the derivation builds fine, except that the paths are broken as they point
to the 'dev' outputs, not 'bin'/'out' where the binaries are.

To fix this, I propose we change the convention of multiple outputs to have
the binaries in the first output (to have '${foo}/bin/bar' always work.
Then, to keep (propagated)BuildInputs working, mkDerivation would
need to be changed to use the dev outputs of packages added to
buildInputs (using the same logic that we already have in place
for systemPackages, i.e. 'environment.systemPackages = [ curl ];'
implicitly refers to 'curl.bin').

Of course, this doesn't resolve all such problems - for instance,
the '-I ${nix}/include/nix' in the above URL will now break instead.
But that failure (and in general, most references that actually want
to refer to 'dev' output) will fail at build time, instead of runtime.

The original WIP pull request for this is at
https://github.com/NixOS/nixpkgs/pull/14766
from some time ago.  Here's how the changes look rebased to current master:
https://github.com/NixOS/nixpkgs/compare/master...dezgeg:shuffle-outputs-v2
So far that branch seems to work fine on both Linux and Darwin, e.g. Gnome 3
and KDE4 tests still build+pass, for instance. So I'm fairly confident that all
the potential breakage could be fixed in time for 16.09.

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


[Nix-commits] [NixOS/nixpkgs] c4dc99: chaps: fix build against glibc 2.24

2016-08-26 Thread Joachim Fasting
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: c4dc998b69312571deece921a5378448b4c153d9
  
https://github.com/NixOS/nixpkgs/commit/c4dc998b69312571deece921a5378448b4c153d9
  Author: Joachim Fasting 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  chaps: fix build against glibc 2.24

Ignore errors due to using deprecated readdir_r(3).


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


[Nix-commits] [NixOS/nixpkgs] 576be6: svox: init at 2016-01-25

2016-08-26 Thread Nikolay Amiantov
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 576be66c64afcff4bab4a211740962d90260245c
  
https://github.com/NixOS/nixpkgs/commit/576be66c64afcff4bab4a211740962d90260245c
  Author: Nikolay Amiantov 
  Date:   2016-08-27 (Sat, 27 Aug 2016)

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

  Log Message:
  ---
  svox: init at 2016-01-25


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


Re: [Nix-dev] Multiple stores

2016-08-26 Thread Roland Koebler
Hi,

> My understanding is that whenever a file is needed it is copied in the
> store.
by default, yes.

I do not yet have much experience with Nix, and I don't know if it's a good
idea, but it is possible to symlink files. (I'm pretty sure that it isn't
a good idea to do this in normal cases, but I think it could be reasonable
in your case).

I tested it with the GNU hello program, which is used as example in the
documentation:

./custom-packages.nix:

{ system ? builtins.currentSystem }:

let
pkgs = import  { inherit system; };
callPackage = pkgs.lib.callPackageWith (pkgs);
in
rec {
symlink-test = callPackage ./pkgs/symlink-test {};
}

./pkgs/symlink-test/default.nix:

{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  name = "symlink-test";

  src = fetchurl {
url = "mirror://gnu/hello/${name}.tar.gz";
sha256 = "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i";
  };

  doCheck = false;

  meta = {
description = "Symlink test, derived from GNU hello.";
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
  };

   MOVE FILE TO OTHER PLACE AND SYMLINK IT
  postInstall = "mv $out/bin/hello /tmp/hello && ln -s /tmp/hello 
$out/bin/hello";
}

$ nix-env -f custom-packages.nix -iA symlink-test

Then:

$ ll /nix/store/*symlink-test*/bin
total 0
lrwxrwxrwx 1 user user 10 Jan  1  1970 hello -> /tmp/hello

$ ll /tmp/hello
-rwxr-xr-x 1 user user 99400 Aug 26 23:21 /tmp/hello

$ which hello
/home/user/.nix-profile/bin/hello

$ ll /home/user/.nix-profile/bin/hello
lrwxrwxrwx 1 rk rk 66 Jan  1  1970 /home/rk/.nix-profile/bin/hello -> 
/nix/store/dmgrr42asbq121z3kd03z33d1hs7kpx5-symlink-test/bin/hello

$ ll /nix/store/dmgrr42asbq121z3kd03z33d1hs7kpx5-symlink-test/bin/hello
/nix/store/dmgrr42asbq121z3kd03z33d1hs7kpx5-symlink-test/bin/hello -> /tmp/hello


Roland

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


[Nix-commits] [NixOS/nixpkgs] 047df6: speechd: 0.7.1 -> 0.8.3

2016-08-26 Thread Nikolay Amiantov
  Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 047df60ba7a3e81d50e831534f629fc654faa832
  
https://github.com/NixOS/nixpkgs/commit/047df60ba7a3e81d50e831534f629fc654faa832
  Author: Nikolay Amiantov 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  speechd: 0.7.1 -> 0.8.3

Make it actually useful -- support sound output and several voice modules

(cherry picked from commit f3435096e2110ab78e4edeba3bfb0d905d19b2ed)


  Commit: a91e5c630cdc2b3acd26048873d8ccfca6113978
  
https://github.com/NixOS/nixpkgs/commit/a91e5c630cdc2b3acd26048873d8ccfca6113978
  Author: Nikolay Amiantov 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  mumble: fix speechd support

(cherry picked from commit 5489bc41099dbfaf9407942669f7c5faf8b6dad2)


  Commit: 6bb7c96519bccc205248aeee398cc35f70f0048e
  
https://github.com/NixOS/nixpkgs/commit/6bb7c96519bccc205248aeee398cc35f70f0048e
  Author: Nikolay Amiantov 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  mumble: 1.2.10 -> 1.2.15

(cherry picked from commit 6900fdc84b3b884cb10808dd4afd538fc05d03a0)


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


Re: [Nix-dev] Multiple stores

2016-08-26 Thread Freddy Rietdijk
My understanding is that whenever a file is needed it is copied in the
store. All these files are needed, at some point. The size likely wouldn't
be an issue if Nix could build and garbage-collect at the same time as the
eventual size of the data that I do want to keep in the store is expected
to be about 200 GB.

For the initial data reduction I could us a Nix store on the slower drive
(either with proot or a VM) and then copy the resulting files into the
store on the faster disk.

On Fri, Aug 26, 2016 at 9:45 PM, Roland Koebler <
rk-l...@simple-is-better.org> wrote:

> Hi,
>
> On Fri, Aug 26, 2016 at 02:51:02PM +0200, Freddy Rietdijk wrote:
> > I would like to use Nix for a certain data analysis where I will have
> > several thousand files which are all together about two TB in size.
> Do these 2 TB of data really have to be stored in the nix-store?
> And if yes, how about storing the data on the harddisk and symlinking
> it (or a subdirectory containing the data) to the store?
>
>
> Roland
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Sbtix - SBT project builder

2016-08-26 Thread Teo Klestrup Röijezon
Hi,

Lately I've been working on a project to help build SBT projects with Nix:
https://github.com/teozkr/Sbtix.

Currently it provides some basic project boilerplate and downloads your
project dependencies for you (like Bundix), but it would be nice to have it
also download, say, your SBT plugins and the pinned SBT version. Those are
currently not handled, since the current (hacky) way of discovering all SBT
projects in the build does not find build projects.

It's also pretty invasive at the moment, since it requires you to replace
SBT's native Ivy dependency resolver with Coursier. In most cases it should
be a drop-in replacement, but naturally I'm sure there are edge cases I
haven't thought of.

Do you guys think this is something worth pursuing further?

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


Re: [Nix-dev] Multiple stores

2016-08-26 Thread Roland Koebler
Hi,

On Fri, Aug 26, 2016 at 02:51:02PM +0200, Freddy Rietdijk wrote:
> I would like to use Nix for a certain data analysis where I will have
> several thousand files which are all together about two TB in size.
Do these 2 TB of data really have to be stored in the nix-store?
And if yes, how about storing the data on the harddisk and symlinking
it (or a subdirectory containing the data) to the store?


Roland

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


[Nix-commits] [NixOS/nixpkgs] cbd8d1: kdeconnect: 0.9g -> 1.0

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

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

  Log Message:
  ---
  kdeconnect: 0.9g -> 1.0


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


Re: [Nix-dev] Multiple stores

2016-08-26 Thread Daniel Hlynskyi
Why LVM is expensive? I'd like to know because I often mount /nix/store on
log. vvolum.

26 серп. 2016 3:51 пп "Freddy Rietdijk"  пише:

> Hi,
>
> I would like to use Nix for a certain data analysis where I will have
> several thousand files which are all together about two TB in size. At the
> moment NixOS is installed on a SSD which is a quarter that size. Would it
> be possible to install a second store elsewhere, in this case on a slower
> HDD?
>
> I couldn't find anything about this so I guess it isn't possible. Do you
> have in that case any other suggestions? I suppose the most obvious
> solution would be to install Nix on the slower HDD. Using LVM with multiple
> SSD's gets a bit too expensive.
>
> How does Nix perform on a HDD?
>
> Freddy
>
>
>
> ___
> 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] 90de10: system-config-printer: fix "Print Test Page"

2016-08-26 Thread Bjørn Forsman
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 90de10b3eeb5b327d1aa1c70564437fe1f3021fb
  
https://github.com/NixOS/nixpkgs/commit/90de10b3eeb5b327d1aa1c70564437fe1f3021fb
  Author: Bjørn Forsman 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/tools/misc/system-config-printer/default.nix

  Log Message:
  ---
  system-config-printer: fix "Print Test Page"

Wrap s-c-p with CUPS_DATADIR=${cups-filters}/share/cups so that it finds
the "testprint" file needed for "Print Test Page" functionality.

Without this change, s-c-p tries to open /usr/share/cups/data/testprint
(fails).


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


[Nix-commits] [NixOS/nixpkgs] f26edb: python-pkgs:deluge: pin dependency libtorrent-rast...

2016-08-26 Thread Frederik Rietdijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f26edb52576b7d74f2e3e806c7ca59c86e852509
  
https://github.com/NixOS/nixpkgs/commit/f26edb52576b7d74f2e3e806c7ca59c86e852509
  Author: J Phani Mahesh 
  Date:   2016-08-25 (Thu, 25 Aug 2016)

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

  Log Message:
  ---
  python-pkgs:deluge: pin dependency libtorrent-rasterbar to 1.0.9

See https://github.com/NixOS/nixpkgs/issues/17924 for context


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

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

  Log Message:
  ---
  Merge pull request #17972 from phanimahesh/deluge

python-pkgs:deluge: pin dependency libtorrent-rasterbar to 1.0.9


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


[Nix-commits] [NixOS/nixpkgs] 3a98be: poppler: 0.46.0 -> 0.47.0

2016-08-26 Thread Thomas Tuegel
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3a98be5e1981b193092ee900bd3a3bc7ae32d126
  
https://github.com/NixOS/nixpkgs/commit/3a98be5e1981b193092ee900bd3a3bc7ae32d126
  Author: Thomas Tuegel 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  poppler: 0.46.0 -> 0.47.0


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


[Nix-commits] [NixOS/nixpkgs] 223d23: perl-Redis: 1.982 -> 1.991

2016-08-26 Thread Robert Helgesson
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 223d235a71673c63ae44b48d2795a6d828da61c6
  
https://github.com/NixOS/nixpkgs/commit/223d235a71673c63ae44b48d2795a6d828da61c6
  Author: Robert Helgesson 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  perl-Redis: 1.982 -> 1.991


  Commit: 59dc4917f00622594509224084ef4a1b83678668
  
https://github.com/NixOS/nixpkgs/commit/59dc4917f00622594509224084ef4a1b83678668
  Author: Robert Helgesson 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  perl-Font-TTF: 1.05 -> 1.06


  Commit: 3e89ff44b3703c82b78df32ac34704b90bd21a17
  
https://github.com/NixOS/nixpkgs/commit/3e89ff44b3703c82b78df32ac34704b90bd21a17
  Author: Robert Helgesson 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  perl-Data-Validate-Domain: 0.12 -> 0.14


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


Re: [Nix-dev] Cross development for STM32

2016-08-26 Thread Alexey Shmalko
I usually produce raw binary file first:

$ arm-none-eabi-objcopy -O binary build/ch.elf ch.bin

and then flash that with openocd:

$ openocd -f openocd.cfg
poll
reset halt
flash probe 0
flash write_image erase ch.bin 0x0800
reset

Note this unlikely to work for you, as your device is probably different.

Check out my Makefile (flash target) and openocd scripts:
- https://github.com/rasendubi/bkernel/blob/master/Makefile#L70-L72
- https://github.com/rasendubi/bkernel/blob/master/openocd.cfg
- https://github.com/rasendubi/bkernel/blob/master/openocd.tcl

On 08/26/2016 03:55 PM, Tim Barbour wrote:
> Thank you Philip and Alexey.
> 
> I have tried gcc-arm-embedded as you suggested, and had no trouble building
> the ChibiOS UART demo for a Maple Mini board (I did have to change GPIOC_LED
> to GPIOB_LED; presumably the demo was written for a board with more LEDs).
> 
> $ file build/ch.elf 
> build/ch.elf: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), 
> statically linked, not stripped
> 
> $ arm-none-eabi-size build/ch.elf 
>textdata bss dec hex filename
>6880 416   20448   277446c60 build/ch.elf
> 
> I have yet to figure out how to get the code onto the board. Something like
> connecting to UART1 and starting the boot loader. I also have an stlink
> device, so openocd should work too, if necessary.
> 
> Tim
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 



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


Re: [Nix-dev] Cross development for STM32

2016-08-26 Thread Alexey Shmalko
It's really simple and doesn't consume much resources by itself. I was able to 
shrink it down to 16Kb flash and 264 _bytes_ RAM.

That's a simple command line interface, GPIO, LED-blinking, USART, timers. Most 
flash memory is used by Rust printing utilities and may be shrinked down by 
disabling logging and exception handling.

On 08/26/2016 04:09 PM, Tim Barbour wrote:
> On Fri, 26 Aug 2016 22:23:46 +1000,
> Alexey Shmalko wrote:
>> [...]
>> Resources you may check out:
>> - my kernel for STM32F4Discovery which is 100% Rust 
>> (https://github.com/rasendubi/bkernel).
> 
> Interesting. How large is your kernel ? Would it fit in a small STM32 (128k
> flash, 20k RAM) ?
> 
> Tim
> 



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


[Nix-commits] [NixOS/nix] 0e3574: doc: move set functor para to Sets section

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

  Changed paths:
M doc/manual/expressions/language-constructs.xml
M doc/manual/expressions/language-values.xml

  Log Message:
  ---
  doc: move set functor para to Sets section


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


[Nix-commits] [NixOS/nixpkgs] 7b01df: kernel: config: enable DRM_AMD_POWERPLAY

2016-08-26 Thread Gabriel Ebner
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7b01df18a2a160c28c6f234c9d20a8cdeee02e64
  
https://github.com/NixOS/nixpkgs/commit/7b01df18a2a160c28c6f234c9d20a8cdeee02e64
  Author: Gabriel Ebner 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  kernel: config: enable DRM_AMD_POWERPLAY


  Commit: 131cd8f45d3946545223c6c892e862913352ab22
  
https://github.com/NixOS/nixpkgs/commit/131cd8f45d3946545223c6c892e862913352ab22
  Author: Gabriel Ebner 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  Merge pull request #18005 from gebner/kernel-amd-powerplay

kernel: config: enable DRM_AMD_POWERPLAY


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


[Nix-commits] [NixOS/nixpkgs] 8a84fc: Tweak error message

2016-08-26 Thread Eelco Dolstra
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8a84fc0217344990b646cbfbf01037b935407a40
  
https://github.com/NixOS/nixpkgs/commit/8a84fc0217344990b646cbfbf01037b935407a40
  Author: Eelco Dolstra 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/stdenv/generic/setup.sh

  Log Message:
  ---
  Tweak error message


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


[Nix-commits] [NixOS/nixpkgs] b6c204: stdenv substitute: fail on non-existant input file

2016-08-26 Thread Eelco Dolstra
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b6c204f088cff9cd50d203b6799bd30a98a14179
  
https://github.com/NixOS/nixpkgs/commit/b6c204f088cff9cd50d203b6799bd30a98a14179
  Author: Robin Gloster 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/stdenv/generic/setup.sh

  Log Message:
  ---
  stdenv substitute: fail on non-existant input file

fixes #9744


  Commit: 483c931c1f49b3d944cd7fc0d313ba49d00be417
  
https://github.com/NixOS/nixpkgs/commit/483c931c1f49b3d944cd7fc0d313ba49d00be417
  Author: Eelco Dolstra 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/stdenv/generic/setup.sh

  Log Message:
  ---
  Merge pull request #18019 from mayflower/substituteInPlace-error

stdenv substitute: fail on non-existant input file


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


[Nix-commits] [NixOS/nixpkgs] 4c72c8: rc: init at 1.7.4

2016-08-26 Thread Joachim F
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4c72c81e085774b348b9560ddcaeca6a5cc66bc1
  
https://github.com/NixOS/nixpkgs/commit/4c72c81e085774b348b9560ddcaeca6a5cc66bc1
  Author: Ram Kromberg 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
A pkgs/shells/rc/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  rc: init at 1.7.4


  Commit: c30792ed43ceb9f82448bfdfbbfa65c8b5910388
  
https://github.com/NixOS/nixpkgs/commit/c30792ed43ceb9f82448bfdfbbfa65c8b5910388
  Author: Joachim F 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
A pkgs/shells/rc/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #17947 from RamKromberg/init/rc

rc: init at 1.7.4


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


[Nix-commits] [NixOS/nixpkgs] 432995: buildGoPackage: build with go 1.7

2016-08-26 Thread Robin Gloster
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4329958cf59292edae124dfb9297a10d58b22f91
  
https://github.com/NixOS/nixpkgs/commit/4329958cf59292edae124dfb9297a10d58b22f91
  Author: zimbatm 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  buildGoPackage: build with go 1.7


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

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

  Log Message:
  ---
  leaps: mark as broken

The package sha256 is wrong. After fixing it the build has dependency
issues like:

go/src/github.com/jeffail/leaps/cmd/leaps/bindata_assetfs.go:203:2:
cannot find package "github.com/elazarl/go-bindata-assetfs" in any
of:

/cc @qknight


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

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

  Log Message:
  ---
  Merge pull request #18014 from zimbatm/buildGoPackage-1.7

Build go package 1.7


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


[Nix-commits] [NixOS/nixpkgs] 0c12ae: binutils: 2.26.1 -> 2.27

2016-08-26 Thread Eelco Dolstra
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0c12ae56158e991c62b83142c44a720d5dd2151e
  
https://github.com/NixOS/nixpkgs/commit/0c12ae56158e991c62b83142c44a720d5dd2151e
  Author: Lancelot SIX 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  binutils: 2.26.1 -> 2.27

Release announcement at
http://lists.gnu.org/archive/html/info-gnu/2016-08/msg00012.html


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

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

  Log Message:
  ---
  Merge pull request #18006 from lancelotsix/update_binutils_2_27

binutils: 2.26.1 -> 2.27


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


[Nix-commits] [NixOS/nixpkgs] e0deed: ghc: add comment to relocation patch

2016-08-26 Thread Robin Gloster
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e0deed0110ce2627d19eae04c16e8341f1d81269
  
https://github.com/NixOS/nixpkgs/commit/e0deed0110ce2627d19eae04c16e8341f1d81269
  Author: Robin Gloster 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/applications/graphics/xaos/default.nix
M pkgs/development/compilers/ghc/relocation.patch

  Log Message:
  ---
  ghc: add comment to relocation patch


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


[Nix-commits] [NixOS/nixpkgs] 098680: Revert "Revert "bash: 4.3-p42 -> 4.3-p46""

2016-08-26 Thread Franz Pletz
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 098680e78e871d7eb699bc750d436ea24796f818
  
https://github.com/NixOS/nixpkgs/commit/098680e78e871d7eb699bc750d436ea24796f818
  Author: Franz Pletz 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/shells/bash/bash-4.3-patches.nix

  Log Message:
  ---
  Revert "Revert "bash: 4.3-p42 -> 4.3-p46""

This reverts commit 36e75a2285feaff2e0c00e457e2a308e74a553c9.

Sorry, had bash reverted temporarily to test the build of the
sqlite bump and forgot to remove that commit.


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


[Nix-commits] [NixOS/nixpkgs] 36e75a: Revert "bash: 4.3-p42 -> 4.3-p46"

2016-08-26 Thread Franz Pletz
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 36e75a2285feaff2e0c00e457e2a308e74a553c9
  
https://github.com/NixOS/nixpkgs/commit/36e75a2285feaff2e0c00e457e2a308e74a553c9
  Author: Franz Pletz 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/shells/bash/bash-4.3-patches.nix

  Log Message:
  ---
  Revert "bash: 4.3-p42 -> 4.3-p46"

This reverts commit e39a3237e6a24047304184e3d2da813683992e78.


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

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

  Log Message:
  ---
  sqlite: 3.13.0 -> 3.14.1


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


[Nix-commits] [NixOS/nixpkgs] 3de68a: pythonPackages.dbus: missing test dependency

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

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

  Log Message:
  ---
  pythonPackages.dbus: missing test dependency


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


[Nix-commits] [NixOS/nixpkgs] 77473c: ghc: add relocation patch for all versions

2016-08-26 Thread Robin Gloster
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 77473cda6b5f9d7dc72a01df195536b14b2f9b02
  
https://github.com/NixOS/nixpkgs/commit/77473cda6b5f9d7dc72a01df195536b14b2f9b02
  Author: Robin Gloster 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/development/compilers/ghc/7.0.4.nix
M pkgs/development/compilers/ghc/7.10.2.nix
M pkgs/development/compilers/ghc/7.10.3.nix
M pkgs/development/compilers/ghc/7.2.2.nix
M pkgs/development/compilers/ghc/7.4.2.nix
M pkgs/development/compilers/ghc/7.6.3.nix
M pkgs/development/compilers/ghc/7.8.3.nix
M pkgs/development/compilers/ghc/7.8.4.nix
M pkgs/development/compilers/ghc/8.0.1.nix
M pkgs/development/compilers/ghc/head.nix
M pkgs/development/compilers/ghc/nokinds.nix
A pkgs/development/compilers/ghc/relocation.patch

  Log Message:
  ---
  ghc: add relocation patch for all versions


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


[Nix-commits] [NixOS/nixpkgs] c2fb34: firefox: 48.0.1 -> 48.0.2

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

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

  Log Message:
  ---
  firefox: 48.0.1 -> 48.0.2


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


[Nix-commits] [NixOS/nixpkgs] e39a32: bash: 4.3-p42 -> 4.3-p46

2016-08-26 Thread Eelco Dolstra
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e39a3237e6a24047304184e3d2da813683992e78
  
https://github.com/NixOS/nixpkgs/commit/e39a3237e6a24047304184e3d2da813683992e78
  Author: Eelco Dolstra 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/shells/bash/bash-4.3-patches.nix

  Log Message:
  ---
  bash: 4.3-p42 -> 4.3-p46


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


Re: [Nix-dev] Multiple stores

2016-08-26 Thread Guillaume Maudoux (Layus)


Le 26/08/16 à 14:51, Freddy Rietdijk a écrit :
> Hi,
>
> I would like to use Nix for a certain data analysis where I will have
> several thousand files which are all together about two TB in size. At
> the moment NixOS is installed on a SSD which is a quarter that size.
> Would it be possible to install a second store elsewhere, in this case
> on a slower HDD? 
>
> I couldn't find anything about this so I guess it isn't possible. Do
> you have in that case any other suggestions? I suppose the most
> obvious solution would be to install Nix on the slower HDD. Using LVM
> with multiple SSD's gets a bit too expensive.
>
> How does Nix perform on a HDD?
Slowly ;-). I had an old laptop with HDD, and it was seriously painfull.

One solution could be to mount your SSD as a cache for the bigger HDD.
I know it is possible, but never tried it myself.

Another solution is to use a different store path for your experiments.
If you still want binary cache support, i experienced very good results
with proot.

-- Layus.
>
> Freddy
>
>
>
>
> ___
> 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] eba009: nixos/doc/gitlab: fix build

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

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

  Log Message:
  ---
  nixos/doc/gitlab: fix build


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


[Nix-commits] [NixOS/nixpkgs] 0536cc: firefox-bin: 48.0.1 -> 48.0.2

2016-08-26 Thread Joachim F
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 0536cc397c5ef252e381d2c4e0abefb836c4cd67
  
https://github.com/NixOS/nixpkgs/commit/0536cc397c5ef252e381d2c4e0abefb836c4cd67
  Author: taku0 
  Date:   2016-08-25 (Thu, 25 Aug 2016)

  Changed paths:
M pkgs/applications/networking/browsers/firefox-bin/sources.nix

  Log Message:
  ---
  firefox-bin: 48.0.1 -> 48.0.2


  Commit: 9f01bb755fb52ed842b22524faecd9598f409c27
  
https://github.com/NixOS/nixpkgs/commit/9f01bb755fb52ed842b22524faecd9598f409c27
  Author: Joachim F 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/applications/networking/browsers/firefox-bin/sources.nix

  Log Message:
  ---
  Merge pull request #17987 from taku0/firefox-bin-48.0.2

firefox-bin: 48.0.1 -> 48.0.2


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


[Nix-commits] [NixOS/nixpkgs] 3616b5: kde5.startkde: initialize session variables before...

2016-08-26 Thread Thomas Tuegel
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3616b52e20c218e3110790639e135b3a80046d47
  
https://github.com/NixOS/nixpkgs/commit/3616b52e20c218e3110790639e135b3a80046d47
  Author: Thomas Tuegel 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  kde5.startkde: initialize session variables before loading user env

The desktop session variables need to be initialized before loading the
user environment scripts so that these scripts can exec programs that
rely on the session variables. For example, these variables must be set
when gpg-agent is started or pinentry-qt will not respect the user's
theme settings.


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


Re: [Nix-dev] Cross development for STM32

2016-08-26 Thread Tim Barbour
On Fri, 26 Aug 2016 22:23:46 +1000,
Alexey Shmalko wrote:
> [...]
> Resources you may check out:
> - my kernel for STM32F4Discovery which is 100% Rust 
> (https://github.com/rasendubi/bkernel).

Interesting. How large is your kernel ? Would it fit in a small STM32 (128k
flash, 20k RAM) ?

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


[Nix-commits] [NixOS/nixpkgs] d70f83: gitlab: 8.10.6 -> 8.11.2

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

  Changed paths:
M nixos/modules/services/misc/gitlab.nix
M nixos/modules/services/misc/gitlab.xml
M pkgs/applications/version-management/gitlab-shell/default.nix
M pkgs/applications/version-management/gitlab-workhorse/default.nix
M pkgs/applications/version-management/gitlab/Gemfile
M pkgs/applications/version-management/gitlab/Gemfile.lock
M pkgs/applications/version-management/gitlab/default.nix
M pkgs/applications/version-management/gitlab/gemset.nix
M pkgs/applications/version-management/gitlab/nulladapter.patch

  Log Message:
  ---
  gitlab: 8.10.6 -> 8.11.2


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

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

  Log Message:
  ---
  sysklogd: fix broken build caused by new glibc version


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


[Nix-commits] [NixOS/nixpkgs] a0aa33: quirc: 2014-11-01 -> 2016-08-16, fix includes for ...

2016-08-26 Thread Michael Raskin
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: a0aa333aa97de14f1f0320111faebfe473293706
  
https://github.com/NixOS/nixpkgs/commit/a0aa333aa97de14f1f0320111faebfe473293706
  Author: Michael Raskin <7c6f4...@mail.ru>
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  quirc: 2014-11-01 -> 2016-08-16, fix includes for SDL_gfx


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


[Nix-commits] [NixOS/nixpkgs] 198b0b: efl: 1.17.2 -> 1.18.0

2016-08-26 Thread Joachim F
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 198b0b5e4a390dcb2fdc1db3b1bd328261b01d64
  
https://github.com/NixOS/nixpkgs/commit/198b0b5e4a390dcb2fdc1db3b1bd328261b01d64
  Author: José Romildo Malaquias 
  Date:   2016-08-23 (Tue, 23 Aug 2016)

  Changed paths:
M pkgs/desktops/enlightenment/efl.nix

  Log Message:
  ---
  efl: 1.17.2 -> 1.18.0


  Commit: b3974f9914e2baf8c5dcc63316366ed005cc03d5
  
https://github.com/NixOS/nixpkgs/commit/b3974f9914e2baf8c5dcc63316366ed005cc03d5
  Author: José Romildo Malaquias 
  Date:   2016-08-23 (Tue, 23 Aug 2016)

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

  Log Message:
  ---
  python-efl: 1.17.0 -> 1.18.0


  Commit: 4480c4fa001513512cae38279b3e13115d61f59e
  
https://github.com/NixOS/nixpkgs/commit/4480c4fa001513512cae38279b3e13115d61f59e
  Author: José Romildo Malaquias 
  Date:   2016-08-23 (Tue, 23 Aug 2016)

  Changed paths:
M pkgs/desktops/enlightenment/enlightenment.nix

  Log Message:
  ---
  enlightenment: 0.21.1 -> 0.21.2


  Commit: 193ded2d99d80e00244370371c0a10d4efbe20d2
  
https://github.com/NixOS/nixpkgs/commit/193ded2d99d80e00244370371c0a10d4efbe20d2
  Author: José Romildo Malaquias 
  Date:   2016-08-23 (Tue, 23 Aug 2016)

  Changed paths:
M pkgs/desktops/enlightenment/terminology.nix

  Log Message:
  ---
  terminology: adapt for efl-1.18.0


  Commit: bb1e915339173eb8ff43d8ef98e4385d69f5
  
https://github.com/NixOS/nixpkgs/commit/bb1e915339173eb8ff43d8ef98e4385d69f5
  Author: José Romildo Malaquias 
  Date:   2016-08-23 (Tue, 23 Aug 2016)

  Changed paths:
M pkgs/desktops/enlightenment/econnman.nix

  Log Message:
  ---
  econnman: adapt for efl-1.18.0


  Commit: 58a52f7e10eeb180971e1d3f33eec0686964b776
  
https://github.com/NixOS/nixpkgs/commit/58a52f7e10eeb180971e1d3f33eec0686964b776
  Author: José Romildo Malaquias 
  Date:   2016-08-23 (Tue, 23 Aug 2016)

  Changed paths:
M pkgs/desktops/enlightenment/rage.nix

  Log Message:
  ---
  rage: 0.1.4 -> 0.2.0


  Commit: 98a630586e02eb5e4043c380cedc44aae24ed05c
  
https://github.com/NixOS/nixpkgs/commit/98a630586e02eb5e4043c380cedc44aae24ed05c
  Author: José Romildo Malaquias 
  Date:   2016-08-23 (Tue, 23 Aug 2016)

  Changed paths:
M nixos/modules/services/x11/desktop-managers/enlightenment.nix

  Log Message:
  ---
  enlightenment: adapt service for efl-0.18.0


  Commit: c7ce3b2d8845b524290d49d202013018921d6b80
  
https://github.com/NixOS/nixpkgs/commit/c7ce3b2d8845b524290d49d202013018921d6b80
  Author: José Romildo Malaquias 
  Date:   2016-08-23 (Tue, 23 Aug 2016)

  Changed paths:
M pkgs/desktops/enlightenment/default.nix

  Log Message:
  ---
  enlightenment: adapt for efl-0.18.0


  Commit: adb0cf53e80607c85c2e5d6380798b34829e6265
  
https://github.com/NixOS/nixpkgs/commit/adb0cf53e80607c85c2e5d6380798b34829e6265
  Author: José Romildo Malaquias 
  Date:   2016-08-23 (Tue, 23 Aug 2016)

  Changed paths:
R pkgs/desktops/enlightenment/elementary.nix
R pkgs/desktops/enlightenment/emotion.nix
R pkgs/desktops/enlightenment/evas.nix

  Log Message:
  ---
  efl: remove elementary, evas and emotion, as they are integrated into 
efl-0.18.0


  Commit: 0cbba7c673267ab53c84bd93918857bb175a5ad2
  
https://github.com/NixOS/nixpkgs/commit/0cbba7c673267ab53c84bd93918857bb175a5ad2
  Author: Joachim F 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M nixos/modules/services/x11/desktop-managers/enlightenment.nix
M pkgs/desktops/enlightenment/default.nix
M pkgs/desktops/enlightenment/econnman.nix
M pkgs/desktops/enlightenment/efl.nix
R pkgs/desktops/enlightenment/elementary.nix
R pkgs/desktops/enlightenment/emotion.nix
M pkgs/desktops/enlightenment/enlightenment.nix
R pkgs/desktops/enlightenment/evas.nix
M pkgs/desktops/enlightenment/rage.nix
M pkgs/desktops/enlightenment/terminology.nix
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  Merge pull request #17941 from romildo/upd.efl

efl: 1.17.2 -> 1.18.0


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


[Nix-commits] [NixOS/nixpkgs] 693be2: tcsh: take patch from Debian and edit it to fix ha...

2016-08-26 Thread Michael Raskin
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 693be25cc36504c248be98632bdfe73ae78e00fa
  
https://github.com/NixOS/nixpkgs/commit/693be25cc36504c248be98632bdfe73ae78e00fa
  Author: Michael Raskin <7c6f4...@mail.ru>
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/shells/tcsh/default.nix
A pkgs/shells/tcsh/tcsh.glibc-2.24.patch

  Log Message:
  ---
  tcsh: take patch from Debian and edit it to fix handling of glibc-2.24 union 
wait removal


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


Re: [Nix-dev] Cross development for STM32

2016-08-26 Thread Tim Barbour
Thank you Philip and Alexey.

I have tried gcc-arm-embedded as you suggested, and had no trouble building
the ChibiOS UART demo for a Maple Mini board (I did have to change GPIOC_LED
to GPIOB_LED; presumably the demo was written for a board with more LEDs).

$ file build/ch.elf 
build/ch.elf: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), 
statically linked, not stripped

$ arm-none-eabi-size build/ch.elf 
   textdata bss dec hex filename
   6880 416   20448   277446c60 build/ch.elf

I have yet to figure out how to get the code onto the board. Something like
connecting to UART1 and starting the boot loader. I also have an stlink
device, so openocd should work too, if necessary.

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


Re: [Nix-dev] Cross development for STM32

2016-08-26 Thread stewart mackenzie
I'd really like to see a simple nix way to retarget derivations.

So maybe `buildRustPackageForAndroid` or `buildRustPackageForSTM32`.

or maybe

buildRustPackage rec {
   name = "habitat-${version}";
   version = "0.8.0";
   target = "android";
   ...
}

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


[Nix-dev] Multiple stores

2016-08-26 Thread Freddy Rietdijk
Hi,

I would like to use Nix for a certain data analysis where I will have
several thousand files which are all together about two TB in size. At the
moment NixOS is installed on a SSD which is a quarter that size. Would it
be possible to install a second store elsewhere, in this case on a slower
HDD?

I couldn't find anything about this so I guess it isn't possible. Do you
have in that case any other suggestions? I suppose the most obvious
solution would be to install Nix on the slower HDD. Using LVM with multiple
SSD's gets a bit too expensive.

How does Nix perform on a HDD?

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


[Nix-commits] [NixOS/nixpkgs] 427e2b: linux: 3.12.61 -> 3.12.62

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

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

  Log Message:
  ---
  linux: 3.12.61 -> 3.12.62

(cherry picked from commit 458d477215b4f0f939070acff6b6c2660204f629)


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

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

  Log Message:
  ---
  linux: 3.14.73 -> 3.14.77

(cherry picked from commit dc37edb36cab1c85183cb38ac06a5f5fd8a13873)


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

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

  Log Message:
  ---
  linux: 3.18.36 -> 3.18.40

(cherry picked from commit 377c851395d157e37fc99cca14a9bd10a354e0fe)


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

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

  Log Message:
  ---
  linux: 4.1.30 -> 4.1.31

(cherry picked from commit 90251478ec6403ac6b84a8d9294436fbece63d39)


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

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

  Log Message:
  ---
  linux: 4.4.18 -> 4.4.19

(cherry picked from commit aacf6651c1cd4778a35e848f4cee24ebbb325b55)


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


[Nix-commits] [NixOS/nixpkgs] 6715af: vimUtils.vimtex: 2016-07-26 -> 2016-08-19 (#17945)

2016-08-26 Thread Stefan Junker
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6715afca34f7ece882b82c2250a4f6dade42eac5
  
https://github.com/NixOS/nixpkgs/commit/6715afca34f7ece882b82c2250a4f6dade42eac5
  Author: Stefan Junker 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/misc/vim-plugins/default.nix

  Log Message:
  ---
  vimUtils.vimtex: 2016-07-26 -> 2016-08-19 (#17945)


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


[Nix-commits] [NixOS/nixpkgs] 458d47: linux: 3.12.61 -> 3.12.62

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

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

  Log Message:
  ---
  linux: 3.12.61 -> 3.12.62


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

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

  Log Message:
  ---
  linux: 3.14.73 -> 3.14.77


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

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

  Log Message:
  ---
  linux: 3.18.36 -> 3.18.40


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

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

  Log Message:
  ---
  linux: 4.1.30 -> 4.1.31


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

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

  Log Message:
  ---
  linux: 4.4.18 -> 4.4.19


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

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

  Log Message:
  ---
  linux_testing: 4.7-rc7 -> 4.8-rc3


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


[Nix-commits] [NixOS/nixpkgs] ae428c: rustfmt: 0.4 -> 0.6

2016-08-26 Thread Graham Christensen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ae428c641138827f55c11e8584d5cf81cf3c4b1c
  
https://github.com/NixOS/nixpkgs/commit/ae428c641138827f55c11e8584d5cf81cf3c4b1c
  Author: Matthias Beyer 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/development/tools/rust/rustfmt/default.nix

  Log Message:
  ---
  rustfmt: 0.4 -> 0.6


  Commit: 40ddf706667796c3e52b1b46e1f63d35b634965b
  
https://github.com/NixOS/nixpkgs/commit/40ddf706667796c3e52b1b46e1f63d35b634965b
  Author: Graham Christensen 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/development/tools/rust/rustfmt/default.nix

  Log Message:
  ---
  Merge pull request #18009 from matthiasbeyer/update-rustfmt

rustfmt: 0.4 -> 0.6


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


Re: [Nix-dev] Cross development for STM32

2016-08-26 Thread Alexey Shmalko
To get Rust running on STM32 you need a cross-compiler first. Basically, rustc 
is backed by llvm, so you shouldn't rebuild it. However, you should build 
libcore for your target architecture.

After that, you can compile your application. I've being doing bare-metal 
programming, so I haven't compiled many other libraries.

Resources you may check out:
- my kernel for STM32F4Discovery which is 100% Rust 
(https://github.com/rasendubi/bkernel).
- cross-compilation guide 
(https://spin.atomicobject.com/2015/02/20/rust-language-c-embedded/)
- zinc.rs project (https://zinc.rs/). Though, I haven't used it.
- stm32.rs (https://github.com/japaric/stm32.rs).
- Philipp Oppermann's blog series on writing an OS with Rust 
(http://os.phil-opp.com/), though it's x86.

Hope this helps

On 08/26/2016 11:43 AM, Moritz Ulrich wrote:
> 
> Rust on STM32 mostly. I'm quite familar with Rust and Nix, but not with
> the STM32 yet.
> 
> Alexey Shmalko  writes:
> 
>> [ Unknown signature status ]
>> What part you're interested in? Nix, STM32, Rust?
>>
>> On 08/25/2016 03:41 PM, Moritz Ulrich wrote:
>>>
>>> Alexey Shmalko  writes:
>>>
 [ Unknown signature status ]
 Hi!

 I was also doing some STM32 development (but with Rust).
>>>
>>> I'm very interested in this. Can you share any resources (where to
>>> start, any guides, etc.)?
>>>
>>
> 



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


[Nix-commits] [NixOS/nixpkgs] 7e6311: lxc: 2.0.3 -> 2.0.4

2016-08-26 Thread Michael Raskin
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7e631101b9eae2cd06ff6c2164227d619899aecf
  
https://github.com/NixOS/nixpkgs/commit/7e631101b9eae2cd06ff6c2164227d619899aecf
  Author: Michael Raskin <7c6f4...@mail.ru>
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  lxc: 2.0.3 -> 2.0.4


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


[Nix-commits] [NixOS/nixpkgs] 61d8e8: liquidwar: allow deprecated readdir_r for now

2016-08-26 Thread Michael Raskin
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 61d8e875c0f01301c7dad0809b875b2cc22d5e61
  
https://github.com/NixOS/nixpkgs/commit/61d8e875c0f01301c7dad0809b875b2cc22d5e61
  Author: Michael Raskin <7c6f4...@mail.ru>
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  liquidwar: allow deprecated readdir_r for now


  Commit: 6b527ec517515374e889cb80d37632776d30a86b
  
https://github.com/NixOS/nixpkgs/commit/6b527ec517515374e889cb80d37632776d30a86b
  Author: Michael Raskin <7c6f4...@mail.ru>
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
A pkgs/games/liquidwar/5.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  liquidwar5: init at 5.6.4


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


[Nix-commits] [NixOS/nixpkgs] f7823d: ffmpeg: 3.1.1 -> 3.1.2

2016-08-26 Thread Graham Christensen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f7823dde4fb87bc5be759ff3bf48bea46900afd9
  
https://github.com/NixOS/nixpkgs/commit/f7823dde4fb87bc5be759ff3bf48bea46900afd9
  Author: Zero King 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/development/libraries/ffmpeg/3.1.nix

  Log Message:
  ---
  ffmpeg: 3.1.1 -> 3.1.2


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

  Changed paths:
M pkgs/development/libraries/ffmpeg/3.1.nix

  Log Message:
  ---
  Merge pull request #18008 from l2dy/patch-1

ffmpeg: 3.1.1 -> 3.1.2


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


Re: [Nix-dev] Bug(?) in derivation/hashing

2016-08-26 Thread Domen Kožar
Relevant: https://github.com/NixOS/nix/issues/969

On Fri, Aug 26, 2016 at 1:18 PM, Damien Cassou  wrote:

>
>
> On August 26, 2016 12:50:48 PM GMT+02:00, Sergey Mironov 
> wrote:
> > I decided to bump a version. Since there is 20160805 version available,
> >I wanted to 1) replace "20151220" with "20160805", 2) run `nix-env -i
> >urweb` to see a 'Hash mismatch' error, and finaly 3) copy correct hash
> >to she sha256 field.
> >
> >Surprisingly, `nix-env -i urweb` finished without errors. It reported
> >that installation of urweb-20160805 was successful, but in fact it was
> >old urweb-20151220 with new name. (urweb --version showed it clearly).
>
>
> This is not a bug but expected behavior. The sha256 field is used to
> compute the derivation hash. With this hash, Nix checks if there is already
> something in the store. If yes, this is used as the source without
> downloading again.
>
> What I do: when I update a derivation, I update the name and I randomly
> change the sha256. nix-build or nix-env then downloads the new release
> tarball, compares the sha256s, fails, and tells me the actual sha256.
> --
> 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 mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Bug(?) in derivation/hashing

2016-08-26 Thread Damien Cassou


On August 26, 2016 12:50:48 PM GMT+02:00, Sergey Mironov  
wrote:
> I decided to bump a version. Since there is 20160805 version available,
>I wanted to 1) replace "20151220" with "20160805", 2) run `nix-env -i
>urweb` to see a 'Hash mismatch' error, and finaly 3) copy correct hash
>to she sha256 field.
>
>Surprisingly, `nix-env -i urweb` finished without errors. It reported
>that installation of urweb-20160805 was successful, but in fact it was
>old urweb-20151220 with new name. (urweb --version showed it clearly).


This is not a bug but expected behavior. The sha256 field is used to compute 
the derivation hash. With this hash, Nix checks if there is already something 
in the store. If yes, this is used as the source without downloading again.

What I do: when I update a derivation, I update the name and I randomly change 
the sha256. nix-build or nix-env then downloads the new release tarball, 
compares the sha256s, fails, and tells me the actual sha256. 
-- 
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] Bug(?) in derivation/hashing

2016-08-26 Thread Sergey Mironov
Hi. I recently faced a strange behavior of nix, wiich resulted in
installation of package with incorrect name. Here I'd like to describe
the steps I performed.

There is an compilers/urweb/default.nix expression containing the
expression for building Ur/Web compiler. Originally, it contained the
following header

```
stdenv.mkDerivation rec {
  name = "urweb-${version}";
  version = "20151220";

  src = fetchurl {
url = "http://www.impredicative.com/ur/${name}.tgz";;
sha256 = "155maalm4l1ni7az3yqs0lrgl5f2xr3pz4118ag1hnk82qldd4s5";
  };


```

As you can see, name depends on version, and src depends on name. I
decided to bump a version. Since there is 20160805 version available,
I wanted to 1) replace "20151220" with "20160805", 2) run `nix-env -i
urweb` to see a 'Hash mismatch' error, and finaly 3) copy correct hash
to she sha256 field.

Surprisingly, `nix-env -i urweb` finished without errors. It reported
that installation of urweb-20160805 was successful, but in fact it was
old urweb-20151220 with new name. (urweb --version showed it clearly).

In order to install _real_ 20160805, I had to replace sha256 with all
zeroes, to force `nix-env -i urweb` to download correct source.

Now what do you think about it? (Besides the fact that copying hashes
from error messages is bad practice) Does nix-build really count URLs
when check fixed-hash derivations? If no (AFAIK), why is it correct?

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


[Nix-commits] [NixOS/nixpkgs] e459ab: kdiskfree: init at 16.08.0

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

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

  Log Message:
  ---
  kdiskfree: init at 16.08.0


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

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

  Log Message:
  ---
  Merge pull request #18003 from peterhoeg/kdf

kdiskfree: init at 16.08.0


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


Re: [Nix-dev] Adding more channel ops to #nixos

2016-08-26 Thread Domen Kožar
Usually the easiest is to join #freenode, execute /stats p, and freenode
staff will help.

Not to waste anyone elses time :)

On Fri, Aug 26, 2016 at 12:22 PM, Shea Levy  wrote:

> Hi Rob, Eelco,
>
> Would it be possible for a few more people to have ops permissions on
> #nixos? We had a troll there this morning and it would be nice to have a
> few people likely to be accessible at any given time to handle things
> like that.
>
> Thanks,
> Shea
>
> ___
> 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] Adding more channel ops to #nixos

2016-08-26 Thread Shea Levy
Hi Rob, Eelco,

Would it be possible for a few more people to have ops permissions on
#nixos? We had a troll there this morning and it would be nice to have a
few people likely to be accessible at any given time to handle things
like that.

Thanks,
Shea


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


[Nix-commits] [NixOS/nixpkgs] 2b1fa9: Add initial patches for CPU Controller on Control ...

2016-08-26 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 2b1fa9da8b1896bbc877d110b459c3fb2c8fd2cd
  
https://github.com/NixOS/nixpkgs/commit/2b1fa9da8b1896bbc877d110b459c3fb2c8fd2cd
  Author: Shea Levy 
  Date:   2016-08-25 (Thu, 25 Aug 2016)

  Changed paths:
A pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/4.4.patch
A pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/4.6.patch
A pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/4.7.patch
A pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/README.md
A pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/default.nix
M pkgs/os-specific/linux/kernel/patches.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Add initial patches for CPU Controller on Control Group v2


  Commit: c32ab50e0f1e670fb72998b2929009e5580649d1
  
https://github.com/NixOS/nixpkgs/commit/c32ab50e0f1e670fb72998b2929009e5580649d1
  Author: Shea Levy 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
A pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/4.4.patch
A pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/4.6.patch
A pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/4.7.patch
A pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/README.md
A pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/default.nix
M pkgs/os-specific/linux/kernel/patches.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge branch 'cpu-cgroup-v2'


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


[Nix-commits] [NixOS/nixpkgs] d0e86a: atom: 1.9.6 -> 1.9.9

2016-08-26 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d0e86a0d488357f0b6e0386aefa5abe07fee
  
https://github.com/NixOS/nixpkgs/commit/d0e86a0d488357f0b6e0386aefa5abe07fee
  Author: Danny Arnold 
  Date:   2016-08-24 (Wed, 24 Aug 2016)

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

  Log Message:
  ---
  atom: 1.9.6 -> 1.9.9


  Commit: 9d22624eb06488c6e85755a7b4af3f29f3165238
  
https://github.com/NixOS/nixpkgs/commit/9d22624eb06488c6e85755a7b4af3f29f3165238
  Author: Domen Kožar 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  Merge pull request #17976 from despairblue/patch-1

atom: 1.9.6 -> 1.9.9


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


[Nix-commits] [NixOS/nixpkgs] 95bc33: spring: 102.0 -> 103.0

2016-08-26 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 95bc33c1ab1ff2dd324f0e3fe05e2c6ecea4ece9
  
https://github.com/NixOS/nixpkgs/commit/95bc33c1ab1ff2dd324f0e3fe05e2c6ecea4ece9
  Author: Ricardo Ardissone 
  Date:   2016-08-24 (Wed, 24 Aug 2016)

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

  Log Message:
  ---
  spring: 102.0 -> 103.0


  Commit: 3b7304ebc3c9325b4c6ec1696885ad28e8c1d09d
  
https://github.com/NixOS/nixpkgs/commit/3b7304ebc3c9325b4c6ec1696885ad28e8c1d09d
  Author: Ricardo Ardissone 
  Date:   2016-08-24 (Wed, 24 Aug 2016)

  Changed paths:
A pkgs/games/spring/revert_58b423e.patch
M pkgs/games/spring/springlobby.nix

  Log Message:
  ---
  springLobby: 0.247 -> 0.255


  Commit: 6a4e95b918ec87156bbf43b34b6ee80ee6d9c72c
  
https://github.com/NixOS/nixpkgs/commit/6a4e95b918ec87156bbf43b34b6ee80ee6d9c72c
  Author: Domen Kožar 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/games/spring/default.nix
A pkgs/games/spring/revert_58b423e.patch
M pkgs/games/spring/springlobby.nix

  Log Message:
  ---
  Merge pull request #17979 from rardiol/springrts2

Springrts and springlobby update


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


Re: [Nix-dev] Cross development for STM32

2016-08-26 Thread Moritz Ulrich

Rust on STM32 mostly. I'm quite familar with Rust and Nix, but not with
the STM32 yet.

Alexey Shmalko  writes:

> [ Unknown signature status ]
> What part you're interested in? Nix, STM32, Rust?
>
> On 08/25/2016 03:41 PM, Moritz Ulrich wrote:
>> 
>> Alexey Shmalko  writes:
>> 
>>> [ Unknown signature status ]
>>> Hi!
>>>
>>> I was also doing some STM32 development (but with Rust).
>> 
>> I'm very interested in this. Can you share any resources (where to
>> start, any guides, etc.)?
>> 
>

-- 


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


[Nix-commits] [NixOS/nixpkgs] b83dee: libreoffice: comment out a fragile test; the probl...

2016-08-26 Thread Michael Raskin
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b83dee4a6c7dc66ef47b6ac244d36fe3cdd61796
  
https://github.com/NixOS/nixpkgs/commit/b83dee4a6c7dc66ef47b6ac244d36fe3cdd61796
  Author: Michael Raskin <7c6f4...@mail.ru>
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/applications/office/libreoffice/default.nix
M pkgs/applications/office/libreoffice/still.nix

  Log Message:
  ---
  libreoffice: comment out a fragile test; the problem it checks for does not 
seem to appear in the built binary


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


[Nix-commits] [NixOS/nixpkgs] b6dabe: openssl_1_1_0: init at 1.1.0

2016-08-26 Thread Robin Gloster
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b6dabe3df0581e92cb4d02dc706a22bf98a1f98b
  
https://github.com/NixOS/nixpkgs/commit/b6dabe3df0581e92cb4d02dc706a22bf98a1f98b
  Author: Robin Gloster 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  openssl_1_1_0: init at 1.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] b9a4da: go: fix on darwin, make go-1.7 build with clang-3....

2016-08-26 Thread Michael Stone
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b9a4da47c0f08ae17c8892a98df276036f720520
  
https://github.com/NixOS/nixpkgs/commit/b9a4da47c0f08ae17c8892a98df276036f720520
  Author: Michael Stone 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M pkgs/development/compilers/go/1.7.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  go: fix on darwin, make go-1.7 build with clang-3.8. (#18001)

The darwin stdenv currently provides clang-3.7; however,

  a) go-1.7 currently expects a compiler that supports "-fdebug-prefix-map"
 arguments (which clang-3.8 supports but clang-3.7 does not) and

  b) even with clang-3.8, go-1.7 misinterprets the result of its runtime probes
 for support for the "-no-pie" flag, thereby failing to build runtime/cgo.

This patch resolves (a) by building go-1.7 with clang-3.8 and resolves (b) by
teaching go how to correctly probe "-no-pie" error messages from clang.


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


[Nix-commits] [NixOS/nixpkgs] df343d: scalafmt: 0.2.11 -> 0.3.1 (#18004)

2016-08-26 Thread Markus Hauck
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: df343d4824284c8a0bdcba89a9ed9b62ecb9ba1b
  
https://github.com/NixOS/nixpkgs/commit/df343d4824284c8a0bdcba89a9ed9b62ecb9ba1b
  Author: Markus Hauck 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

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

  Log Message:
  ---
  scalafmt: 0.2.11 -> 0.3.1 (#18004)


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


[Nix-commits] [NixOS/nixops] 305c2a: deployment: avoid spurious warnings with --dry-run

2016-08-26 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixops
  Commit: 305c2a3f19309d0851a09a4284a65491b87895a3
  
https://github.com/NixOS/nixops/commit/305c2a3f19309d0851a09a4284a65491b87895a3
  Author: Cireo 
  Date:   2016-08-24 (Wed, 24 Aug 2016)

  Changed paths:
M nixops/deployment.py

  Log Message:
  ---
  deployment: avoid spurious warnings with --dry-run

Prior to this commit, error messages like:

error: selector ‘’ matches no derivations
error: cannot update profile ‘/nix/var/nix/profiles/per-user/_/nixops/_’

would be generated when invoking `nixops deploy --dry-run`.

This occurs because `nix-build --dry-run` does not return a configuration 
path, causing a subsequent `nix-env` to fail on the empty value.  We skip 
profile creation during dry runs to avoid this.

Closes #225.


  Commit: 61bc3bf832edd47c071325aef859915b1b87e1dc
  
https://github.com/NixOS/nixops/commit/61bc3bf832edd47c071325aef859915b1b87e1dc
  Author: Domen Kožar 
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
M nixops/deployment.py

  Log Message:
  ---
  Merge pull request #494 from Cireo/patch-1

deployment: avoid spurious warnings with --dry-run


Compare: https://github.com/NixOS/nixops/compare/90e23a358619...61bc3bf832ed___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits