Re: [Nix-dev] fetchurl with executable bit?

2016-01-19 Thread Domen Kožar
Thanks: https://github.com/NixOS/nixpkgs/pull/12469 On Tue, Jan 19, 2016 at 11:01 AM, Eelco Dolstra wrote: > Hi, > > On 18/01/16 21:04, Domen Kožar wrote: > > > I've tried, but Nix doesn't allow setting executable bit: > > > > output path

[Nix-dev] NixOS Meet-up in Berlin on Wednesday, January 27, 2016

2016-01-19 Thread Peter Simons
Hi folks, I'd like to advertise the upcoming NixOS Meet-up in Berlin, which takes place on Wednesday, January 27, 2016: http://www.meetup.com/Berlin-NixOS-Meetup/events/228003923/ One focus of that particular meeting is the process of setting up a Hydra build server. To that end, I'll give

Re: [Nix-dev] NixOS Meet-up in Berlin on Wednesday, January 27, 2016

2016-01-19 Thread stewart mackenzie
Hey sounds great. Do publish those scripts on github! On 19 Jan 2016 18:29, "Peter Simons" wrote: > To that end, I'll give a short presentation and I'll > also provide sample configuration files that you can use to try things > out on your (virtual) machine.

Re: [Nix-dev] NixOS Meet-up in Berlin on Wednesday, January 27, 2016

2016-01-19 Thread Domen Kožar
I get: access denied On Tue, Jan 19, 2016 at 11:52 AM, Christian Theune wrote: > Hi, > > too bad I can’t make it. > > Here’s a script that we just did to implement what nixos.org/channels > does … > >

Re: [Nix-dev] NixOS Meet-up in Berlin on Wednesday, January 27, 2016

2016-01-19 Thread Christian Theune
Ah, sorry. Private repo. We usually don’t switch things private, but I noticed there’s some password hashes in there as we’re still bootstrapping our infrastructure and don’t have a self-managing hydra yet. :) Here’s a snippet of the script: https://bitbucket.org/snippets/ctheune/zKagn

Re: [Nix-dev] NixOS Meet-up in Berlin on Wednesday, January 27, 2016

2016-01-19 Thread Domen Kožar
Docs: https://headcounter.org/hydra/channel/custom/openlab/vuizvui/channels.generic On Tue, Jan 19, 2016 at 11:57 AM, Domen Kožar wrote: > Cool. Note that Hydra now support channels: > https://headcounter.org/hydra/jobset/openlab/vuizvui#tabs-channels > > On Tue, Jan 19, 2016 at

Re: [Nix-dev] NixOS Meet-up in Berlin on Wednesday, January 27, 2016

2016-01-19 Thread Domen Kožar
Cool. Note that Hydra now support channels: https://headcounter.org/hydra/jobset/openlab/vuizvui#tabs-channels On Tue, Jan 19, 2016 at 11:55 AM, Christian Theune wrote: > Ah, > > sorry. Private repo. We usually don’t switch things private, but I noticed > there’s some

Re: [Nix-dev] fetchurl with executable bit?

2016-01-19 Thread Eelco Dolstra
Hi, On 18/01/16 21:04, Domen Kožar wrote: > I've tried, but Nix doesn't allow setting executable bit: > > output path ‘/nix/store/h873wjrmvzx73di88b85mqm255gvjnng-blash.sh’ should be a > non-executable regular file Try passing recursiveHash = true; to fetchurl. Otherwise outputHashMode

[Nix-dev] nixos-container update fails most of the time

2016-01-19 Thread Tinker
Hi I am toying a bit with nixos-container. I noticed that most of the time the update (reload) fails. nixos-container update web2 I am assuming that I can only reload a container which is started, is that correct? I don't have a configuration.nix inside the container, instead I maintain a

[Nix-dev] override maintainer closure

2016-01-19 Thread stewart mackenzie
Hello, How do I override /lib/maintainers.nix with custom values such that they are used in a similar transparent way as the existing maintainers closure. i.e. I don't have to explicitly pass it around into every derivation. Also on that note, I notice Hydra executes nix-build in a different way

Re: [Nix-dev] nodejs 5.x failing on darwin

2016-01-19 Thread Daniel Peebles
It turns out the patch (and another one) simply wasn't needed anymore with the new version of nodejs :) To determine that, I ran the build with `nix-build -K`, such that when it failed, it would leave the files in place (and tell me where it left them). I then checked the file it claimed had

Re: [Nix-dev] NixOS Meet-up in Berlin on Wednesday, January 27, 2016

2016-01-19 Thread Peter Simons
Hi Stewart, > Do publish those scripts on github! sure, I will! We'll also try to provide a video. I've already mastered the art of running "simplescreenrecorder". What's currently lacking is confidence is my ability to cut out any incoherent ramblings from the raw recording to create

Re: [Nix-dev] Nix 1.11 released

2016-01-19 Thread Shea Levy
Another new feature of potential interest: attribute sets with a '__toString' attribute are coerced to string (i.e. when doing ${}-interpolation or using builtins.toString) by calling the function at __toString with the set itself as an argument and coercing the result to a string. Among other

[Nix-dev] Nix 1.11 released

2016-01-19 Thread Eelco Dolstra
Hi, I'm pleased to announce the availability of a new stable release of the Nix package manager. Release 1.11 can be found at http://hydra.nixos.org/release/nix/nix-1.11 and http://nixos.org/releases/nix/nix-1.11 This is primarily a bug fix release. It also has a number of new features:

Re: [Nix-dev] NixOS Meet-up in Berlin on Wednesday, January 27, 2016

2016-01-19 Thread stewart mackenzie
Looking forward to it! On Tue, Jan 19, 2016 at 8:55 PM, Peter Simons wrote: > We'll also try to provide a video. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev