Re: [Nix-dev] Please test NixOS/nixpkgs.git on darwin

2015-02-03 Thread Henry Till
I've updated the wiki with new instructions:

https://nixos.org/wiki/Nix_on_OS_X

-Henry


On Tue, Feb 3, 2015 at 12:52 PM, Daniel Peebles pumpkin...@gmail.com
wrote:

 Not much I can think of, but I'm on my phone and can't check now. Perhaps
some of our patches to individual packages will affect Linux, and some of
those packages might be used by the Linux stdenv bootstrap. Definitely
something we should look out for and batch up.



 On Feb 3, 2015, at 12:24, Shea Levy s...@shealevy.com wrote:

 Sure, tonight works. This sounds great! Besides the patches to
cc-wrapper, are there any changes you expect to hit linux stdenv?

 On Feb 3, 2015, at 5:07 PM, Daniel Peebles pumpkin...@gmail.com wrote:

 I think we can pull it off this or next week, with a few people
contributing to testing the semantically meaningful PRs we break into
chunks.

 Fully agree on your proposed workflow, but I've been pretty undisciplined
so far. For the current big merge, my plan was to break my history into
major chunks along the following lines (not necessarily in this order):
 - LLVM 3.5
 - Assorted minor Mac-flavored patches to cc-wrapper (hook to detect
frameworks in buildInputs, etc.)
 - A large collection of source builds for Apple-specific stuff from
opensource.apple.com. I've bundled them together in a subdirectory to make
it a fairly clean independent PR
 - The actual bootstrapped stdenv using clang and my bootstrap tools
archive. If there are trust issues with people pulling in my binaries, we
can regenerate them, but it'll be a bit of a pain to do sensibly. We should
definitely shift the binary bootstrap tools off my Dropbox, either way :)
 - A whole load of assorted patches to individual packages to make them
work with clang and/or Darwin (should probably be broken up further into
smaller categories of breakage being fixed, since there are patterns)

 I think those are the main categories of PR, and I was planning on
squashing my messy git history into roughly that shape in the next few days.

 Once we've rewritten that history, I'm quite happy to be more disciplined
in my commits to make them merge more easily.

 Want to talk this evening (probably won't be home until 10:30 eastern) on
##nix-Darwin about specifics? I need people to help break out individual
parts (e.g., clang)

 Thanks,
 Dan


 On Feb 3, 2015, at 10:13, Shea Levy s...@shealevy.com wrote:

 As far as I know, there is still a lot of churn on pure darwin.

 Dan, if we wanted to merge pure darwin soon (say, maybe this or next
week) could you a) get it ready in time and b) adopt a new workflow where
future major changes were made and merged in single-feature chunks? I want
to avoid a long-term situation where a lot of unconnected changes come in
as a set and switch to a feature branch model once pure-darwin is in.

 ~Shea

 On Feb 3, 2015, at 3:03 PM, Wout Mertens wout.mert...@gmail.com wrote:

 Ouch. So users on 10.10 should use Zalora and disable hydra binaries?

 Perhaps we should fast-track the pure-darwin builds. It works swimmingly
on my system, and looks like the current Darwin situation is not tenable.
So anything in pure-darwin that breaks Linux would be good to find early.

 On Tue Feb 03 2015 at 4:00:48 PM Shea Levy s...@shealevy.com wrote:

 I’m not sure about butters. Either way a single cache will not do the
trick, as until pure-darwin lands binaries will be specific to the version
of OS X they are compiled for. In particular, the zalora cache builds for
10.10.

 On Feb 3, 2015, at 2:59 PM, Wout Mertens wout.mert...@gmail.com wrote:

 I see that the darwin machine butters is online (and idle) in Hydra,
does that mean the zalora cache is no longer needed for nixpkgs on Darwin?

 On Tue Feb 03 2015 at 3:51:47 PM Domen Kožar do...@dev.si wrote:

 :beers:

 On Tue, Feb 3, 2015 at 3:40 PM, Shea Levy s...@shealevy.com wrote:

 Hi all,

 For a while now, there has been a lot of work to improve darwin
support on the master branch of joelteon’s nixpkgs fork. With the latest
staging merge, the core of that work is now on upstream master. The rest of
the changes available on joelteon’s fork are very disparate, and it is not
clear whether or why they are all needed, so I’d like to request that those
who have been working off of the fork test their setups against upstream
now. If something is still not working, please at least open an issue, but
if you can find the relevant fix on the fork and port it as a PR that would
be greatly appreciated.

 Hopefully we can soon move on from that fork entirely and have further
changes (including the ongoing pure-darwin work) done directly against
upstream master.

 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





 

Re: [Nix-dev] Please test NixOS/nixpkgs.git on darwin

2015-02-03 Thread Marcus Crestani
SL == Shea Levy s...@shealevy.com writes:
SL I’d like to request that those who have been working off of the fork
SL test their setups against upstream now. If something is still not
SL working, please at least open an issue, but if you can find the
SL relevant fix on the fork and port it as a PR that would be greatly
SL appreciated.

The fixes I made for i3 and rxvt-unicode haven't made it over to
upstream master.  I've cherry-picked them into a new pull request:

  https://github.com/NixOS/nixpkgs/pull/6135

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


Re: [Nix-dev] 'bumblebee' nvidia gpu switching

2015-02-03 Thread Domen Kožar
Best to use git bisect :)

On Tue, Feb 3, 2015 at 12:10 PM, Thomas Strobel ts...@cam.ac.uk wrote:

 Update: The configuration below was working with nixpkgs commit
 f8bd5bb401e7c47b66b4cf44b150707824a5f41d , from Tue Jan 6.

 Is there a way to automatically figure out which change broke my
 configuration?

 Many thanks,
 Thomas


 On 02/03/2015 09:43 AM, Thomas Strobel wrote:
  Hi,
 
  I'm having problems enabling the 'bumblebee' nvidia gpu switching
 service.
  I've appended a test case which does not work for me in the current
  unstable channel.
  Is somebody else seeing the same problem? Any advice or hint how to
  resolve the issue would be very welcome :)
 
  Cheers,
  Thomas
 
 
  configuration.nix:
  { config, pkgs, ... }:
  {
hardware.bumblebee.enable = true;
 
nixpkgs.config.allowUnfree = true;
boot.loader.grub.enable = false;
fileSystems./ = { device = /dev/null; };
swapDevices =[];
  }
  
 
  test build with:
NIXOS_CONFIG=`pwd`/configuration.nix nixos-rebuild build
  ___
  nix-dev mailing list
  nix-dev@lists.science.uu.nl
  http://lists.science.uu.nl/mailman/listinfo/nix-dev
 
 

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

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


[Nix-dev] Please test NixOS/nixpkgs.git on darwin

2015-02-03 Thread Shea Levy
Hi all,

For a while now, there has been a lot of work to improve darwin support on the 
master branch of joelteon’s nixpkgs fork. With the latest staging merge, the 
core of that work is now on upstream master. The rest of the changes available 
on joelteon’s fork are very disparate, and it is not clear whether or why they 
are all needed, so I’d like to request that those who have been working off of 
the fork test their setups against upstream now. If something is still not 
working, please at least open an issue, but if you can find the relevant fix on 
the fork and port it as a PR that would be greatly appreciated.

Hopefully we can soon move on from that fork entirely and have further changes 
(including the ongoing pure-darwin work) done directly against upstream master.

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


Re: [Nix-dev] [FOSDEM] Thank you all

2015-02-03 Thread Domen Kožar
Thanks Mikey for all the help :-)

On Tue, Feb 3, 2015 at 3:20 PM, Mikey Ariel mikeymay...@gmail.com wrote:

 Now who said red hatters can't be fans??? :-P

 Great catching up with you all and see you in the world :-)



 On 02 Feb 2015, at 22:29, Domen Kožar do...@dev.si wrote:

 Hi all,

 thanks everyone for being part of the FOSDEM stand! It was amazing, we've
 given away around 700 stickers. There are still some t-shirts left, I'll
 write another email about that.

 I've put notes from Sunday dinner on wiki, add anything you want to make
 next year better: https://nixos.org/wiki/FOSDEM_2015#Retrospection

 Also make sure you say thanks to FOSDEM people for including us (we were
 lucky to get a stand - one of the organizers is a red hat, but a fan).

 Slides that were on the big monitor:
 https://github.com/iElectric/NixOS-Fosdem-2015

 Domen

 ___
 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] Please test NixOS/nixpkgs.git on darwin

2015-02-03 Thread Shea Levy
I’m not sure about butters. Either way a single cache will not do the trick, as 
until pure-darwin lands binaries will be specific to the version of OS X they 
are compiled for. In particular, the zalora cache builds for 10.10.

 On Feb 3, 2015, at 2:59 PM, Wout Mertens wout.mert...@gmail.com wrote:
 
 I see that the darwin machine butters is online (and idle) in Hydra, does 
 that mean the zalora cache is no longer needed for nixpkgs on Darwin?
 
 On Tue Feb 03 2015 at 3:51:47 PM Domen Kožar do...@dev.si 
 mailto:do...@dev.si wrote:
 :beers:
 
 On Tue, Feb 3, 2015 at 3:40 PM, Shea Levy s...@shealevy.com 
 mailto:s...@shealevy.com wrote:
 Hi all,
 
 For a while now, there has been a lot of work to improve darwin support on 
 the master branch of joelteon’s nixpkgs fork. With the latest staging merge, 
 the core of that work is now on upstream master. The rest of the changes 
 available on joelteon’s fork are very disparate, and it is not clear whether 
 or why they are all needed, so I’d like to request that those who have been 
 working off of the fork test their setups against upstream now. If something 
 is still not working, please at least open an issue, but if you can find the 
 relevant fix on the fork and port it as a PR that would be greatly 
 appreciated.
 
 Hopefully we can soon move on from that fork entirely and have further 
 changes (including the ongoing pure-darwin work) done directly against 
 upstream master.
 
 Thanks,
 Shea
 ___
 nix-dev mailing list
 nix-dev@lists.science.uu.nl mailto:nix-dev@lists.science.uu.nl
 http://lists.science.uu.nl/mailman/listinfo/nix-dev 
 http://lists.science.uu.nl/mailman/listinfo/nix-dev
 
 ___
 nix-dev mailing list
 nix-dev@lists.science.uu.nl mailto:nix-dev@lists.science.uu.nl
 http://lists.science.uu.nl/mailman/listinfo/nix-dev 
 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] Please test NixOS/nixpkgs.git on darwin

2015-02-03 Thread Wout Mertens
I see that the darwin machine butters is online (and idle) in Hydra, does
that mean the zalora cache is no longer needed for nixpkgs on Darwin?

On Tue Feb 03 2015 at 3:51:47 PM Domen Kožar do...@dev.si wrote:

 :beers:

 On Tue, Feb 3, 2015 at 3:40 PM, Shea Levy s...@shealevy.com wrote:

 Hi all,

 For a while now, there has been a lot of work to improve darwin support
 on the master branch of joelteon’s nixpkgs fork. With the latest staging
 merge, the core of that work is now on upstream master. The rest of the
 changes available on joelteon’s fork are very disparate, and it is not
 clear whether or why they are all needed, so I’d like to request that those
 who have been working off of the fork test their setups against upstream
 now. If something is still not working, please at least open an issue, but
 if you can find the relevant fix on the fork and port it as a PR that would
 be greatly appreciated.

 Hopefully we can soon move on from that fork entirely and have further
 changes (including the ongoing pure-darwin work) done directly against
 upstream master.

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


Re: [Nix-dev] Please test NixOS/nixpkgs.git on darwin

2015-02-03 Thread Wout Mertens
Ouch. So users on 10.10 should use Zalora and disable hydra binaries?

Perhaps we should fast-track the pure-darwin builds. It works swimmingly on
my system, and looks like the current Darwin situation is not tenable. So
anything in pure-darwin that breaks Linux would be good to find early.

On Tue Feb 03 2015 at 4:00:48 PM Shea Levy s...@shealevy.com wrote:

 I’m not sure about butters. Either way a single cache will not do the
 trick, as until pure-darwin lands binaries will be specific to the version
 of OS X they are compiled for. In particular, the zalora cache builds for
 10.10.

 On Feb 3, 2015, at 2:59 PM, Wout Mertens wout.mert...@gmail.com wrote:

 I see that the darwin machine butters is online (and idle) in Hydra, does
 that mean the zalora cache is no longer needed for nixpkgs on Darwin?

 On Tue Feb 03 2015 at 3:51:47 PM Domen Kožar do...@dev.si wrote:

 :beers:

 On Tue, Feb 3, 2015 at 3:40 PM, Shea Levy s...@shealevy.com wrote:

 Hi all,

 For a while now, there has been a lot of work to improve darwin support
 on the master branch of joelteon’s nixpkgs fork. With the latest staging
 merge, the core of that work is now on upstream master. The rest of the
 changes available on joelteon’s fork are very disparate, and it is not
 clear whether or why they are all needed, so I’d like to request that those
 who have been working off of the fork test their setups against upstream
 now. If something is still not working, please at least open an issue, but
 if you can find the relevant fix on the fork and port it as a PR that would
 be greatly appreciated.

 Hopefully we can soon move on from that fork entirely and have further
 changes (including the ongoing pure-darwin work) done directly against
 upstream master.

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


Re: [Nix-dev] Please test NixOS/nixpkgs.git on darwin

2015-02-03 Thread Shea Levy
As far as I know, there is still a lot of churn on pure darwin.

Dan, if we wanted to merge pure darwin soon (say, maybe this or next week) 
could you a) get it ready in time and b) adopt a new workflow where future 
major changes were made and merged in single-feature chunks? I want to avoid a 
long-term situation where a lot of unconnected changes come in as a set and 
switch to a feature branch model once pure-darwin is in.

~Shea

 On Feb 3, 2015, at 3:03 PM, Wout Mertens wout.mert...@gmail.com wrote:
 
 Ouch. So users on 10.10 should use Zalora and disable hydra binaries?
 
 Perhaps we should fast-track the pure-darwin builds. It works swimmingly on 
 my system, and looks like the current Darwin situation is not tenable. So 
 anything in pure-darwin that breaks Linux would be good to find early.
 
 On Tue Feb 03 2015 at 4:00:48 PM Shea Levy s...@shealevy.com 
 mailto:s...@shealevy.com wrote:
 I’m not sure about butters. Either way a single cache will not do the trick, 
 as until pure-darwin lands binaries will be specific to the version of OS X 
 they are compiled for. In particular, the zalora cache builds for 10.10.
 
 On Feb 3, 2015, at 2:59 PM, Wout Mertens wout.mert...@gmail.com 
 mailto:wout.mert...@gmail.com wrote:
 
 I see that the darwin machine butters is online (and idle) in Hydra, does 
 that mean the zalora cache is no longer needed for nixpkgs on Darwin?
 
 On Tue Feb 03 2015 at 3:51:47 PM Domen Kožar do...@dev.si 
 mailto:do...@dev.si wrote:
 :beers:
 
 On Tue, Feb 3, 2015 at 3:40 PM, Shea Levy s...@shealevy.com 
 mailto:s...@shealevy.com wrote:
 Hi all,
 
 For a while now, there has been a lot of work to improve darwin support on 
 the master branch of joelteon’s nixpkgs fork. With the latest staging merge, 
 the core of that work is now on upstream master. The rest of the changes 
 available on joelteon’s fork are very disparate, and it is not clear whether 
 or why they are all needed, so I’d like to request that those who have been 
 working off of the fork test their setups against upstream now. If something 
 is still not working, please at least open an issue, but if you can find the 
 relevant fix on the fork and port it as a PR that would be greatly 
 appreciated.
 
 Hopefully we can soon move on from that fork entirely and have further 
 changes (including the ongoing pure-darwin work) done directly against 
 upstream master.
 
 Thanks,
 Shea
 ___
 nix-dev mailing list
 nix-dev@lists.science.uu.nl mailto:nix-dev@lists.science.uu.nl
 http://lists.science.uu.nl/mailman/listinfo/nix-dev 
 http://lists.science.uu.nl/mailman/listinfo/nix-dev
 
 ___
 nix-dev mailing list
 nix-dev@lists.science.uu.nl mailto:nix-dev@lists.science.uu.nl
 http://lists.science.uu.nl/mailman/listinfo/nix-dev 
 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] 'bumblebee' nvidia gpu switching

2015-02-03 Thread Thomas Strobel
Hi,

I'm having problems enabling the 'bumblebee' nvidia gpu switching service.
I've appended a test case which does not work for me in the current
unstable channel.
Is somebody else seeing the same problem? Any advice or hint how to
resolve the issue would be very welcome :)

Cheers,
Thomas


configuration.nix:

{ config, pkgs, ... }:
{
  hardware.bumblebee.enable = true;

  nixpkgs.config.allowUnfree = true;
  boot.loader.grub.enable = false;
  fileSystems./ = { device = /dev/null; };
  swapDevices =[];
}


test build with:
  NIXOS_CONFIG=`pwd`/configuration.nix nixos-rebuild build
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] [FOSDEM] Thank you all

2015-02-03 Thread Wout Mertens
700 stickers!!! faints

Congrats on a well-managed table, on the photos it looked great. The talk I
did about NixOS at cfgmgmtcamp was well-received too but it didn't quite
reach 700 people ;-) I need to clean up the slides a bit before I put them
online.

BTW, you can host the slides on github pages...


On Mon Feb 02 2015 at 10:29:36 PM Domen Kožar do...@dev.si wrote:

 Hi all,

 thanks everyone for being part of the FOSDEM stand! It was amazing, we've
 given away around 700 stickers. There are still some t-shirts left, I'll
 write another email about that.

 I've put notes from Sunday dinner on wiki, add anything you want to make
 next year better: https://nixos.org/wiki/FOSDEM_2015#Retrospection

 Also make sure you say thanks to FOSDEM people for including us (we were
 lucky to get a stand - one of the organizers is a red hat, but a fan).

 Slides that were on the big monitor:
 https://github.com/iElectric/NixOS-Fosdem-2015

 Domen
 ___
 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] Please test NixOS/nixpkgs.git on darwin

2015-02-03 Thread Daniel Peebles
I think we can pull it off this or next week, with a few people contributing to 
testing the semantically meaningful PRs we break into chunks.

Fully agree on your proposed workflow, but I've been pretty undisciplined so 
far. For the current big merge, my plan was to break my history into major 
chunks along the following lines (not necessarily in this order):
- LLVM 3.5
- Assorted minor Mac-flavored patches to cc-wrapper (hook to detect frameworks 
in buildInputs, etc.)
- A large collection of source builds for Apple-specific stuff from 
opensource.apple.com. I've bundled them together in a subdirectory to make it a 
fairly clean independent PR
- The actual bootstrapped stdenv using clang and my bootstrap tools archive. If 
there are trust issues with people pulling in my binaries, we can regenerate 
them, but it'll be a bit of a pain to do sensibly. We should definitely shift 
the binary bootstrap tools off my Dropbox, either way :)
- A whole load of assorted patches to individual packages to make them work 
with clang and/or Darwin (should probably be broken up further into smaller 
categories of breakage being fixed, since there are patterns)

I think those are the main categories of PR, and I was planning on squashing my 
messy git history into roughly that shape in the next few days.

Once we've rewritten that history, I'm quite happy to be more disciplined in my 
commits to make them merge more easily. 

Want to talk this evening (probably won't be home until 10:30 eastern) on 
##nix-Darwin about specifics? I need people to help break out individual parts 
(e.g., clang)

Thanks,
Dan


 On Feb 3, 2015, at 10:13, Shea Levy s...@shealevy.com wrote:
 
 As far as I know, there is still a lot of churn on pure darwin.
 
 Dan, if we wanted to merge pure darwin soon (say, maybe this or next week) 
 could you a) get it ready in time and b) adopt a new workflow where future 
 major changes were made and merged in single-feature chunks? I want to avoid 
 a long-term situation where a lot of unconnected changes come in as a set and 
 switch to a feature branch model once pure-darwin is in.
 
 ~Shea
 
 On Feb 3, 2015, at 3:03 PM, Wout Mertens wout.mert...@gmail.com wrote:
 
 Ouch. So users on 10.10 should use Zalora and disable hydra binaries?
 
 Perhaps we should fast-track the pure-darwin builds. It works swimmingly on 
 my system, and looks like the current Darwin situation is not tenable. So 
 anything in pure-darwin that breaks Linux would be good to find early.
 
 On Tue Feb 03 2015 at 4:00:48 PM Shea Levy s...@shealevy.com wrote:
 I’m not sure about butters. Either way a single cache will not do the 
 trick, as until pure-darwin lands binaries will be specific to the version 
 of OS X they are compiled for. In particular, the zalora cache builds for 
 10.10.
 
 On Feb 3, 2015, at 2:59 PM, Wout Mertens wout.mert...@gmail.com wrote:
 
 I see that the darwin machine butters is online (and idle) in Hydra, does 
 that mean the zalora cache is no longer needed for nixpkgs on Darwin?
 
 On Tue Feb 03 2015 at 3:51:47 PM Domen Kožar do...@dev.si wrote:
 :beers:
 
 On Tue, Feb 3, 2015 at 3:40 PM, Shea Levy s...@shealevy.com wrote:
 Hi all,
 
 For a while now, there has been a lot of work to improve darwin support 
 on the master branch of joelteon’s nixpkgs fork. With the latest staging 
 merge, the core of that work is now on upstream master. The rest of the 
 changes available on joelteon’s fork are very disparate, and it is not 
 clear whether or why they are all needed, so I’d like to request that 
 those who have been working off of the fork test their setups against 
 upstream now. If something is still not working, please at least open an 
 issue, but if you can find the relevant fix on the fork and port it as a 
 PR that would be greatly appreciated.
 
 Hopefully we can soon move on from that fork entirely and have further 
 changes (including the ongoing pure-darwin work) done directly against 
 upstream master.
 
 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 mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] A few questions about ARM support and NixOS on a Chromebook

2015-02-03 Thread Lluís Batlle i Rossell
On Mon, Feb 02, 2015 at 04:16:07PM +0100, Bjørn Forsman wrote:
 On 2 February 2015 at 01:17, Lluís Batlle i Rossell vi...@viric.name wrote:
  I have the bootstrap-tools for armv5tel, they build and the test passes.
 
  https://github.com/viric/nixpkgs/tree/make_arm_bootstraptools
 
  Now I try to go further building release-14.12 stdenv.
 
 Cool! I will have a look at your branch.

So it seems all works. I see ambro has lots of work done for arm too.

https://github.com/NixOS/nixpkgs/pull/6042

How can we coordinate this? Ambro, are you here? Maybe we spend some irc time
and prepare a big PR?

-- 
PGP key D4831A8A - https://emailselfdefense.fsf.org/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] [FOSDEM] Thank you all

2015-02-03 Thread Rob Vermaas
Great job by all of you promoting nix/nixos/nixops! It is so great to see
how much effort and dedication you guys continue to show, it is very much
appreciated by me, and I am sure by the whole nix community :-)

Cheers,
Rob

On Tue, Feb 3, 2015 at 11:29 AM, Wout Mertens wout.mert...@gmail.com
wrote:

 The slides served via rawgit:
 https://cdn.rawgit.com/iElectric/NixOS-Fosdem-2015/master/index.html


 On Tue Feb 03 2015 at 12:22:45 PM Wout Mertens wout.mert...@gmail.com
 wrote:

 700 stickers!!! faints

 Congrats on a well-managed table, on the photos it looked great. The talk
 I did about NixOS at cfgmgmtcamp was well-received too but it didn't quite
 reach 700 people ;-) I need to clean up the slides a bit before I put them
 online.

 BTW, you can host the slides on github pages...


 On Mon Feb 02 2015 at 10:29:36 PM Domen Kožar do...@dev.si wrote:

 Hi all,

 thanks everyone for being part of the FOSDEM stand! It was amazing,
 we've given away around 700 stickers. There are still some t-shirts left,
 I'll write another email about that.

 I've put notes from Sunday dinner on wiki, add anything you want to make
 next year better: https://nixos.org/wiki/FOSDEM_2015#Retrospection

 Also make sure you say thanks to FOSDEM people for including us (we were
 lucky to get a stand - one of the organizers is a red hat, but a fan).

 Slides that were on the big monitor: https://github.com/iElectric/
 NixOS-Fosdem-2015

 Domen
 ___
 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




-- 
Rob Vermaas

[email] rob.verm...@gmail.com
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Please test NixOS/nixpkgs.git on darwin

2015-02-03 Thread Daniel Peebles
Not much I can think of, but I'm on my phone and can't check now. Perhaps some 
of our patches to individual packages will affect Linux, and some of those 
packages might be used by the Linux stdenv bootstrap. Definitely something we 
should look out for and batch up.



 On Feb 3, 2015, at 12:24, Shea Levy s...@shealevy.com wrote:
 
 Sure, tonight works. This sounds great! Besides the patches to cc-wrapper, 
 are there any changes you expect to hit linux stdenv?
 
 On Feb 3, 2015, at 5:07 PM, Daniel Peebles pumpkin...@gmail.com wrote:
 
 I think we can pull it off this or next week, with a few people contributing 
 to testing the semantically meaningful PRs we break into chunks.
 
 Fully agree on your proposed workflow, but I've been pretty undisciplined so 
 far. For the current big merge, my plan was to break my history into major 
 chunks along the following lines (not necessarily in this order):
 - LLVM 3.5
 - Assorted minor Mac-flavored patches to cc-wrapper (hook to detect 
 frameworks in buildInputs, etc.)
 - A large collection of source builds for Apple-specific stuff from 
 opensource.apple.com. I've bundled them together in a subdirectory to make 
 it a fairly clean independent PR
 - The actual bootstrapped stdenv using clang and my bootstrap tools archive. 
 If there are trust issues with people pulling in my binaries, we can 
 regenerate them, but it'll be a bit of a pain to do sensibly. We should 
 definitely shift the binary bootstrap tools off my Dropbox, either way :)
 - A whole load of assorted patches to individual packages to make them work 
 with clang and/or Darwin (should probably be broken up further into smaller 
 categories of breakage being fixed, since there are patterns)
 
 I think those are the main categories of PR, and I was planning on squashing 
 my messy git history into roughly that shape in the next few days.
 
 Once we've rewritten that history, I'm quite happy to be more disciplined in 
 my commits to make them merge more easily. 
 
 Want to talk this evening (probably won't be home until 10:30 eastern) on 
 ##nix-Darwin about specifics? I need people to help break out individual 
 parts (e.g., clang)
 
 Thanks,
 Dan
 
 
 On Feb 3, 2015, at 10:13, Shea Levy s...@shealevy.com wrote:
 
 As far as I know, there is still a lot of churn on pure darwin.
 
 Dan, if we wanted to merge pure darwin soon (say, maybe this or next week) 
 could you a) get it ready in time and b) adopt a new workflow where future 
 major changes were made and merged in single-feature chunks? I want to 
 avoid a long-term situation where a lot of unconnected changes come in as a 
 set and switch to a feature branch model once pure-darwin is in.
 
 ~Shea
 
 On Feb 3, 2015, at 3:03 PM, Wout Mertens wout.mert...@gmail.com wrote:
 
 Ouch. So users on 10.10 should use Zalora and disable hydra binaries?
 
 Perhaps we should fast-track the pure-darwin builds. It works swimmingly 
 on my system, and looks like the current Darwin situation is not tenable. 
 So anything in pure-darwin that breaks Linux would be good to find early.
 
 On Tue Feb 03 2015 at 4:00:48 PM Shea Levy s...@shealevy.com wrote:
 I’m not sure about butters. Either way a single cache will not do the 
 trick, as until pure-darwin lands binaries will be specific to the 
 version of OS X they are compiled for. In particular, the zalora cache 
 builds for 10.10.
 
 On Feb 3, 2015, at 2:59 PM, Wout Mertens wout.mert...@gmail.com wrote:
 
 I see that the darwin machine butters is online (and idle) in Hydra, 
 does that mean the zalora cache is no longer needed for nixpkgs on 
 Darwin?
 
 On Tue Feb 03 2015 at 3:51:47 PM Domen Kožar do...@dev.si wrote:
 :beers:
 
 On Tue, Feb 3, 2015 at 3:40 PM, Shea Levy s...@shealevy.com wrote:
 Hi all,
 
 For a while now, there has been a lot of work to improve darwin 
 support on the master branch of joelteon’s nixpkgs fork. With the 
 latest staging merge, the core of that work is now on upstream master. 
 The rest of the changes available on joelteon’s fork are very 
 disparate, and it is not clear whether or why they are all needed, so 
 I’d like to request that those who have been working off of the fork 
 test their setups against upstream now. If something is still not 
 working, please at least open an issue, but if you can find the 
 relevant fix on the fork and port it as a PR that would be greatly 
 appreciated.
 
 Hopefully we can soon move on from that fork entirely and have further 
 changes (including the ongoing pure-darwin work) done directly against 
 upstream master.
 
 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 mailing list
nix-dev@lists.science.uu.nl

Re: [Nix-dev] Please test NixOS/nixpkgs.git on darwin

2015-02-03 Thread Shea Levy
Sure, tonight works. This sounds great! Besides the patches to cc-wrapper, are 
there any changes you expect to hit linux stdenv?

 On Feb 3, 2015, at 5:07 PM, Daniel Peebles pumpkin...@gmail.com wrote:
 
 I think we can pull it off this or next week, with a few people contributing 
 to testing the semantically meaningful PRs we break into chunks.
 
 Fully agree on your proposed workflow, but I've been pretty undisciplined so 
 far. For the current big merge, my plan was to break my history into major 
 chunks along the following lines (not necessarily in this order):
 - LLVM 3.5
 - Assorted minor Mac-flavored patches to cc-wrapper (hook to detect 
 frameworks in buildInputs, etc.)
 - A large collection of source builds for Apple-specific stuff from 
 opensource.apple.com http://opensource.apple.com/. I've bundled them 
 together in a subdirectory to make it a fairly clean independent PR
 - The actual bootstrapped stdenv using clang and my bootstrap tools archive. 
 If there are trust issues with people pulling in my binaries, we can 
 regenerate them, but it'll be a bit of a pain to do sensibly. We should 
 definitely shift the binary bootstrap tools off my Dropbox, either way :)
 - A whole load of assorted patches to individual packages to make them work 
 with clang and/or Darwin (should probably be broken up further into smaller 
 categories of breakage being fixed, since there are patterns)
 
 I think those are the main categories of PR, and I was planning on squashing 
 my messy git history into roughly that shape in the next few days.
 
 Once we've rewritten that history, I'm quite happy to be more disciplined in 
 my commits to make them merge more easily. 
 
 Want to talk this evening (probably won't be home until 10:30 eastern) on 
 ##nix-Darwin about specifics? I need people to help break out individual 
 parts (e.g., clang)
 
 Thanks,
 Dan
 
 
 On Feb 3, 2015, at 10:13, Shea Levy s...@shealevy.com 
 mailto:s...@shealevy.com wrote:
 
 As far as I know, there is still a lot of churn on pure darwin.
 
 Dan, if we wanted to merge pure darwin soon (say, maybe this or next week) 
 could you a) get it ready in time and b) adopt a new workflow where future 
 major changes were made and merged in single-feature chunks? I want to avoid 
 a long-term situation where a lot of unconnected changes come in as a set 
 and switch to a feature branch model once pure-darwin is in.
 
 ~Shea
 
 On Feb 3, 2015, at 3:03 PM, Wout Mertens wout.mert...@gmail.com 
 mailto:wout.mert...@gmail.com wrote:
 
 Ouch. So users on 10.10 should use Zalora and disable hydra binaries?
 
 Perhaps we should fast-track the pure-darwin builds. It works swimmingly on 
 my system, and looks like the current Darwin situation is not tenable. So 
 anything in pure-darwin that breaks Linux would be good to find early.
 
 On Tue Feb 03 2015 at 4:00:48 PM Shea Levy s...@shealevy.com 
 mailto:s...@shealevy.com wrote:
 I’m not sure about butters. Either way a single cache will not do the 
 trick, as until pure-darwin lands binaries will be specific to the version 
 of OS X they are compiled for. In particular, the zalora cache builds for 
 10.10.
 
 On Feb 3, 2015, at 2:59 PM, Wout Mertens wout.mert...@gmail.com 
 mailto:wout.mert...@gmail.com wrote:
 
 I see that the darwin machine butters is online (and idle) in Hydra, does 
 that mean the zalora cache is no longer needed for nixpkgs on Darwin?
 
 On Tue Feb 03 2015 at 3:51:47 PM Domen Kožar do...@dev.si 
 mailto:do...@dev.si wrote:
 :beers:
 
 On Tue, Feb 3, 2015 at 3:40 PM, Shea Levy s...@shealevy.com 
 mailto:s...@shealevy.com wrote:
 Hi all,
 
 For a while now, there has been a lot of work to improve darwin support on 
 the master branch of joelteon’s nixpkgs fork. With the latest staging 
 merge, the core of that work is now on upstream master. The rest of the 
 changes available on joelteon’s fork are very disparate, and it is not 
 clear whether or why they are all needed, so I’d like to request that 
 those who have been working off of the fork test their setups against 
 upstream now. If something is still not working, please at least open an 
 issue, but if you can find the relevant fix on the fork and port it as a 
 PR that would be greatly appreciated.
 
 Hopefully we can soon move on from that fork entirely and have further 
 changes (including the ongoing pure-darwin work) done directly against 
 upstream master.
 
 Thanks,
 Shea
 ___
 nix-dev mailing list
 nix-dev@lists.science.uu.nl mailto:nix-dev@lists.science.uu.nl
 http://lists.science.uu.nl/mailman/listinfo/nix-dev 
 http://lists.science.uu.nl/mailman/listinfo/nix-dev
 
 ___
 nix-dev mailing list
 nix-dev@lists.science.uu.nl mailto:nix-dev@lists.science.uu.nl
 http://lists.science.uu.nl/mailman/listinfo/nix-dev 
 http://lists.science.uu.nl/mailman/listinfo/nix-dev
 
 

___
nix-dev mailing list

Re: [Nix-dev] [FOSDEM] Thank you all

2015-02-03 Thread Domen Kožar
Pictures are mostly on twitter:
https://twitter.com/search?q=nixos%20fosdemsrc=typd

On Tue, Feb 3, 2015 at 3:52 PM, Domen Kožar do...@dev.si wrote:

 Thanks Mikey for all the help :-)

 On Tue, Feb 3, 2015 at 3:20 PM, Mikey Ariel mikeymay...@gmail.com wrote:

 Now who said red hatters can't be fans??? :-P

 Great catching up with you all and see you in the world :-)



 On 02 Feb 2015, at 22:29, Domen Kožar do...@dev.si wrote:

 Hi all,

 thanks everyone for being part of the FOSDEM stand! It was amazing, we've
 given away around 700 stickers. There are still some t-shirts left, I'll
 write another email about that.

 I've put notes from Sunday dinner on wiki, add anything you want to make
 next year better: https://nixos.org/wiki/FOSDEM_2015#Retrospection

 Also make sure you say thanks to FOSDEM people for including us (we were
 lucky to get a stand - one of the organizers is a red hat, but a fan).

 Slides that were on the big monitor:
 https://github.com/iElectric/NixOS-Fosdem-2015

 Domen

 ___
 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] 'bumblebee' nvidia gpu switching

2015-02-03 Thread Thomas Strobel
Update: The configuration below was working with nixpkgs commit
f8bd5bb401e7c47b66b4cf44b150707824a5f41d , from Tue Jan 6.

Is there a way to automatically figure out which change broke my
configuration?

Many thanks,
Thomas


On 02/03/2015 09:43 AM, Thomas Strobel wrote:
 Hi,

 I'm having problems enabling the 'bumblebee' nvidia gpu switching service.
 I've appended a test case which does not work for me in the current
 unstable channel.
 Is somebody else seeing the same problem? Any advice or hint how to
 resolve the issue would be very welcome :)

 Cheers,
 Thomas


 configuration.nix:
 { config, pkgs, ... }:
 {
   hardware.bumblebee.enable = true;

   nixpkgs.config.allowUnfree = true;
   boot.loader.grub.enable = false;
   fileSystems./ = { device = /dev/null; };
   swapDevices =[];
 }
 

 test build with:
   NIXOS_CONFIG=`pwd`/configuration.nix nixos-rebuild build
 ___
 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] broken URLs of iwlwifi firmware tarballs

2015-02-03 Thread Johannes Berg
On Mon, 2015-02-02 at 22:48 +0100, Vladimír Čunát wrote:
 Hello,
 the URLs to iwlwifi firmware tarballs are broken. 
 https://wireless.wiki.kernel.org/en/users/Drivers/iwlwifi
 
 Is that a temporary problem? I could find no mirrors for some of the 
 files. (Besides, I found that nixos.org isn't the only user of those URLs.)

This was a problem with the markup conversion for the new wiki engine -
the links were converted to [[filename]] (to link to pages) instead of
{{filename}} (to link to attachments)

I've fixed that now.

johannes

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


Re: [Nix-dev] broken URLs of iwlwifi firmware tarballs

2015-02-03 Thread Sven-Haegar Koch
On Mon, 2 Feb 2015, Vladimír Čunát wrote:

 the URLs to iwlwifi firmware tarballs are broken.
 https://wireless.wiki.kernel.org/en/users/Drivers/iwlwifi
 
 Is that a temporary problem? I could find no mirrors for some of the files.
 (Besides, I found that nixos.org isn't the only user of those URLs.)

Aren't they now all available as part of 
https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/
?

c'ya
sven-haegar

-- 
Three may keep a secret, if two of them are dead.
- Ben F.___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Nix seemingly broke ~/.nix-profile symlink

2015-02-03 Thread Bjørn Forsman
Hi,

Just for information (as I cannot reproduce it).

I don't really know how this happened. I think the last thing I did
before noticing anything wrong was to run nix-collect garbage and
then nix-build.

Then my profile symlink looked like this:

$ ls -l ~/.nix-profile
lrwxrwxrwx 1 bfo users 19 Jan 27 22:21 /home/bfo/.nix-profile -
.nix-profile-2-link
$ ls -l ~/.nix-profile/
ls: cannot access /home/bfo/.nix-profile/: No such file or directory

Luckily, it was easy to fix:
$ ln -sf /nix/var/nix/profiles/per-user/bfo/profile /home/bfo/.nix-profile

Everything is OK now. I wonder what happened.

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