Re: [Nix-dev] Why does my system rebuild rustc and cargo?

2015-11-21 Thread James Cook
I have no idea what is happening. But here are some questions that come to mind: * Is the path always exactly the same (/nix/store/iybrbljd5nzk4n4zmfgvibrhh2zjvp04-rustc-1.4.0.drv) or does it change? * If the answer is "always the same", then does the derivation successfully get built? What I mea

Re: [Nix-dev] Concatenation of values

2015-11-21 Thread Arseniy Seroka
Super! That works, thank you. -- Sincerely, Arseniy Seroka On 22 November 2015 04:20:27 Shea Levy wrote: > Hi Arseniy, > > The ordering of the concatenation is by default unspecified. You can > put constraints on it with 'mkOrder', see > https://github.com/NixOS/nixpkgs/blob/a2aab3a224939cc7

Re: [Nix-dev] Concatenation of values

2015-11-21 Thread Shea Levy
Hi Arseniy, The ordering of the concatenation is by default unspecified. You can put constraints on it with 'mkOrder', see https://github.com/NixOS/nixpkgs/blob/a2aab3a224939cc7c24e88984c5f5ab169aee271/lib/modules.nix#L464-L470 for the details. So you can for example have the line that sets '

Re: [Nix-dev] NixOS/Nixpkgs repository labels

2015-11-21 Thread Shea Levy
No opinion on the specifics of colors/categories, but +1 for the general idea. On 2015-11-21 19:59, Nicolas Pierron wrote: > Hi everybody, > > I spent a day doing triage of newly created bugs and I think the > labels [1] of our repository are currently a big mess. I think the > meaning of our la

[Nix-dev] NixOS/Nixpkgs repository labels

2015-11-21 Thread Nicolas Pierron
Hi everybody, I spent a day doing triage of newly created bugs and I think the labels [1] of our repository are currently a big mess. I think the meaning of our labels are not clear for multiple reasons. I will take a few examples to illustrate my point, and then propose a solution to fix that.

[Nix-dev] Concatenation of values

2015-11-21 Thread Arseniy Seroka
Hello! For example we have `services.xserver.displayManager.sessionCommands`. If we enable slim then we have some lines added to it. If we add something there in our `configuration.nix` then it appears that our value is added before the value added by slim's config. So the question is how does this

Re: [Nix-dev] Real documentation, aka "Let's kill the wiki"

2015-11-21 Thread Profpatsch
On 15-11-19 05:17pm, Cillian de Róiste wrote: > 2015-11-19 16:57 GMT+01:00 Profpatsch : > > On 15-11-19 02:56am, Roger Qiu wrote: > > May I humbly suggest http://stevelosh.com/blog/2013/09/teach-dont-tell/ as > > a general documentation writing template? > > I'm a big fan of https://jacobian.org/w

Re: [Nix-dev] Why does my system rebuild rustc and cargo?

2015-11-21 Thread Matthias Beyer
This: these derivations will be built: /nix/store/iybrbljd5nzk4n4zmfgvibrhh2zjvp04-rustc-1.4.0.drv ? On 21-11-2015 16:24:17, zimbatm wrote: > Can you give the output ? It would be interesting to see the list of > derivatives that it's going to build. The top-level one should be the > culprit. >

Re: [Nix-dev] Why does my system rebuild rustc and cargo?

2015-11-21 Thread zimbatm
Can you give the output ? It would be interesting to see the list of derivatives that it's going to build. The top-level one should be the culprit. On Sat, 21 Nov 2015 at 15:30 Matthias Beyer wrote: > After switching from rustPlatform.{rustc, cargo} to > rustUnstable.{rustc, cargo} it worked. >

Re: [Nix-dev] Why does my system rebuild rustc and cargo?

2015-11-21 Thread Matthias Beyer
After switching from rustPlatform.{rustc, cargo} to rustUnstable.{rustc, cargo} it worked. All of rustPlatform rustStable rustCargoPlatform etc. caused a rebuild of rustc. Why the hell? On 20-11-2015 19:27:16, Matthias Beyer wrote: > On 20-11-2015 16:03:13, Thomas Hunger wrote: > >

Re: [Nix-dev] Improving Nix Containers

2015-11-21 Thread Rok Garbas
Quoting Eric Sagnes (2015-11-11 02:50:12) > Dear mailing list, > > There are a few PR on nixpkgs introducing some exciting new features to nix > containers that are inactive for some time. > > Quicklist: > > #3021 Improvements for declarative nixos containers [1] Brings unique unit > per contain

Re: [Nix-dev] NIX_PATH and tarballs

2015-11-21 Thread Vladimír Čunát
On 11/21/2015 01:23 PM, Nicolas Pierron wrote: > I asked Eelco a similar question, and Nix will check the meta data of > the file before any attempt to download it, if the meta data highlight > that the file is unchanged on the server, then Nix will not > re-download it. Oh, nice. IIRC nix-channel

Re: [Nix-dev] NIX_PATH and tarballs

2015-11-21 Thread Nicolas Pierron
Hi Daniel, On Sat, Nov 21, 2015 at 10:58 AM, Daniel Hlynskyi wrote: > But when I run `nixos-rebuild` twice, I notice that tarball is not > downloaded second time. > > root# > NIX_PATH=nixos-config=/etc/nixos/configuration.nix:nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstabl

Re: [Nix-dev] Real documentation, aka "Let's kill the wiki"

2015-11-21 Thread deCube.net | Danny Wilson
On 21 nov. 2015, at 01:59, Mathnerd314 wrote: > On Wed, Nov 18, 2015 at 7:04 AM, Hajo Möller wrote: > "Documentation should teach, not tell." > As Rok said, handing somebody who is learning a new language a > dictionary would not help them learn. He said you can’t learn Spanish from just a dic

[Nix-dev] NIX_PATH and tarballs

2015-11-21 Thread Daniel Hlynskyi
Hi. The manual says on tarballs in NIX_PATH this: > If a path in the Nix search path starts with http:// or https://, it is interpreted > as the URL of a tarball that will be downloaded and unpacked to a temporary > location. The tarball must consist of a single top-level directory. But when I ru

Re: [Nix-dev] Real documentation, aka "Let's kill the wiki"

2015-11-21 Thread Vladimír Čunát
On 11/21/2015 01:59 AM, Mathnerd314 wrote: > On Wed, Nov 18, 2015 at 7:04 AM, Hajo Möller wrote: > "Documentation should teach, not tell." > As Rok said, handing somebody who is learning a new language a > dictionary would not help them learn. > > This is wrong. You can do fine with a