Re: [Nix-dev] Arch is dropping i686. Should we?

2017-01-28 Thread Maarten Hoogendoorn
2017-01-27 14:13 GMT+01:00 Eelco Dolstra : > > I think it's more an issue of build time, especially if we want Hydra to > build > PRs (which could trigger a full rebuild in the worst case). > > I think we could/should use a GitHub bot like the @bors used by the Rust language project. This will pre

Re: [Nix-dev] Fosdem

2017-02-01 Thread Maarten Hoogendoorn
Me too! I could not quickly find a dev-room for Nix, did I miss something? I did notice that Sander van der Burg is going to talk about node2nix Are there plans in place to have a meeting? 2017-02-01 13:38 GMT+01:00 Adrien Devresse : > I will also be there > > Adrien > > Le 01. 02. 17 à 10:27,

Re: [Nix-dev] nix-bundle: Bundle Nix derivations to run anywhere

2017-02-07 Thread Maarten Hoogendoorn
It could also be used to implement an offline NixOS installer. I guess it needs to run as root given that you're setting up a chroot env? Op 7 feb. 2017 12:50 p.m. schreef "Shea Levy" : +1! This is really cool. Tomasz Czyż writes: > I would vote for mirroring this tool in nixos github namespace

[Nix-dev] Rust wants to integrate better in build systems

2017-02-07 Thread Maarten Hoogendoorn
Hi, I would like to point the people that manage the rust compiler in nixpkgs to a discussion on the roadmap for rust [1]. They are also discussing Bazel, a build tool from google that has some similarities to Nix. [1] https://github.com/rust-lang/rust-roadmap/issues/12 _

Re: [Nix-dev] RFC for RFCs

2017-02-12 Thread Maarten Hoogendoorn
Also see the notes that Arian took during the BoF session at FOSDEM: We had a very spontaneous NixOS discussion panel at FOSDEM. > > I took minutes. I must say they're a bit rushy at times, so add stuff to > it > you think isn't clear or is lacking in content. Thanks! > > > http://piratepad.net/

[Nix-dev] Feedback on workshop material

2017-02-15 Thread Maarten Hoogendoorn
Dear list, I'm organizing a Nix workshop in Amsterdam on February 25th and have started to create some workshop material for it [1]. Could you provide me with some feedback on the things I plan to cover? [2] Thanks, Maarten [1] https://github.com/moretea/nix-workshop [2] https://github.com/more

Re: [Nix-dev] Explicitly selecting sources for "src" in stdenv.mkDerivation?

2017-02-17 Thread Maarten Hoogendoorn
Awesome function Thomas! Would you be willing to open a PR on nixpkgs for that? 2017-02-17 11:16 GMT+01:00 Thomas Hunger : > Thanks for your replies everyone! > > Bas - your "toString" helped me over the finishing line. Pretty obvious in > hindsight to use toString to force evaluation of src. I

Re: [Nix-dev] Hydra Building PRs

2017-03-07 Thread Maarten Hoogendoorn
As a stop-gap measure, what about adding an external SSD drive via usb and enabling swap? 2017-03-06 16:33 GMT+01:00 Bas van Dijk : > On 28 January 2017 at 14:20, Graham Christensen > wrote: > >> Packet.net is also one of the only hosting companies I know of which >> rents Cavium ThunderX ARMv8s

Re: [Nix-dev] Hydra Building PRs

2017-03-07 Thread Maarten Hoogendoorn
Heh, I've been working on this as well today. Do you have a github repo somewhere? 2017-03-07 14:27 GMT+01:00 Robin Gloster : > I'm working on a bot to make sure only acknowledged PRs get built. > > That is a bit on hold until the release probably but I'm going to continue > that definitely. > >

Re: [Nix-dev] Typing nix − funding campaign

2017-03-28 Thread Maarten Hoogendoorn
Good luck, and have fun ;) 2017-03-28 11:45 GMT+02:00 Théophane Hufschmitt : > Hi everyone, > > My internship has now started, and I'll try to post regular updates on > https://typing-nix.regnat.ovh/ as promised. So if you're interested, > just follow the rss :) > > > -- > > Théophane Hufschmitt

Re: [Nix-dev] Is CI of pull requests broken?

2017-04-09 Thread Maarten Hoogendoorn
Hopefully we can move soonish to a setup where maintainers (who have commit access to the NixOS repo) can trigger a build on a hydraulic setup. @grahamc, what's the timeline for that :)? Op 9 apr. 2017 20:47 schreef "Layus" : > On 09/04/17 11:13, Florent Becker wrote: > > Moreover, many of the m

Re: [Nix-dev] 3 strange busybox problems

2017-04-20 Thread Maarten Hoogendoorn
Did you install busybox globally on your system? It might shadow some GNU core tools, if you set the priority for busybox higher than the priority for the GNU tools. 2017-04-20 9:56 GMT+02:00 Michael Bock : > Hi nix folks, > > I'm having some strange troubles on my NixOS machine. It looks that's

Re: [Nix-dev] Simplify node packages?

2017-04-25 Thread Maarten Hoogendoorn
I've been working with zimbatim and manveru on a yarn2nix as well, see https://github.com/moretea/yarn2nix I'm not actively using it myself though. I would be interested in planning a few hours to hack on this together ;) 2017-04-25 10:37 GMT+02:00 Profpatsch : > On 17-04-25 08:20am, Benno Fünfs

Re: [Nix-dev] github triggered builds

2017-05-09 Thread Maarten Hoogendoorn
Unfortunately this does not really help with sharing derivations that have been built before. 2017-05-09 10:02 GMT+02:00 zimbatm : > Travis CI also has support for nix builds and might be easier to setup. > > On Mon, 8 May 2017, 18:17 Tomasz Czyż, wrote: > >> https://nixos.org/hydra/ >> >> and >

Re: [Nix-dev] github triggered builds

2017-05-10 Thread Maarten Hoogendoorn
ithout a manual code review on this public project). 2017-05-09 22:44 GMT+02:00 Harmen : > On Tue, May 09, 2017 at 01:08:08PM +0200, Maarten Hoogendoorn wrote: > > Unfortunately this does not really help with sharing derivations that > have > > been built before. > > Thanks f

Re: [Nix-dev] In multi-user Nix, let the daemon handle creation of GC roots

2017-06-19 Thread Maarten Hoogendoorn
There appear to be sufficient people in favor of this feature. Time for a RFC? 2017-06-19 11:28 GMT+02:00 Adrien Devresse : > Note, sharing /nix is already not really possible because the metadata is > stored in sqlite and its locking does not play nice with nfs. (*) > > > Sharing is possible if

[Nix-commits] [NixOS/nixpkgs] caf44a: google-cloud-sdk: enable alpha and beta features

2017-07-03 Thread Maarten Hoogendoorn
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: caf44a5dd3d5baf99a30290dd067f40266197435 https://github.com/NixOS/nixpkgs/commit/caf44a5dd3d5baf99a30290dd067f40266197435 Author: Maarten Hoogendoorn Date: 2017-07-03 (Mon, 03 Jul 2017) Changed paths

[Nix-dev] Install Nix on OSX, install nixops -> runs python2.7-pytest tests

2016-06-07 Thread Maarten Hoogendoorn
Hi there, I have been a really happy Nix{,pkgs,os,ops} for some time. In fact, I'm writing two intro blog posts about nix during working hours for Container Solutions. Since most of the developers that will read the blogpost will be running OS X, I've borrowed a spare macbook, and installed nix an

Re: [Nix-dev] Install Nix on OSX, install nixops -> runs python2.7-pytest tests

2016-06-07 Thread Maarten Hoogendoorn
use for some reason > it wasn't built by hydra: > http://hydra.nixos.org/job/nixpkgs/trunk/nixops.x86_64-darwin > > If you update to latest channel this shouldn't happen anymore. > > On Tue, Jun 7, 2016 at 1:18 PM, Maarten Hoogendoorn > wrote: > >> Hi there,

Re: [Nix-dev] Install Nix on OSX, install nixops -> runs python2.7-pytest tests

2016-06-07 Thread Maarten Hoogendoorn
ere are less packages available from the cache > on OSX. What probably happened is that the packages had to be built. If > doCheck = true then tests are run after the build and this is the default > for python packages. > > On Tue, 7 Jun 2016, 13:19 Maarten Hoogendoorn, wrote: >

Re: [Nix-dev] Install Nix on OSX, install nixops -> runs python2.7-pytest tests

2016-06-07 Thread Maarten Hoogendoorn
Ah, I see ;) Now it makes sense. 2016-06-07 14:42 GMT+02:00 zimbatm : > It's possible, the nixpkgs-unstable and nixos-unstable both evolve > independently as they have different "success" conditions. > > On Tue, 7 Jun 2016, 13:38 Maarten Hoogendoorn, wrote: > >

[Nix-dev] Nixops fails to log into virtualbox machines on osx.

2016-06-07 Thread Maarten Hoogendoorn
Hi there, As mentioned in the previous email I sent to the list, I'm trying to work with nixops on osx. The next error I encountered is that nixops is unable to log in to the VM's due to unknown host keys, see the (partial) output of nixops deploy below: containersolutionss-MacBook-Pro:blog-nix

Re: [Nix-dev] Nixops fails to log into virtualbox machines on osx.

2016-06-07 Thread Maarten Hoogendoorn
hosts in the > ~/.ssh/known_hosts provided the machine doesn't already exists. > > On Tue, 7 Jun 2016 at 14:24 Maarten Hoogendoorn > wrote: > >> Hi there, >> >> As mentioned in the previous email I sent to the list, I'm trying to work >> with nixops on osx.

[Nix-dev] Twitter account?

2016-06-08 Thread Maarten Hoogendoorn
Hi there, I'm about to post a blogpost on Nix. We'd like to tweet about this, and include a twitter handle for nix*. Does such an account exist :)? Best regards, Maarten ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mai

[Nix-dev] Link to nix.useSandbox in pull request template

2016-06-17 Thread Maarten Hoogendoorn
I've encountered a missing dependency in a package, and created a pull request [1] to add the dependency. However, I'm not completely sure how to build/test this using sandboxing as is suggested in the pull request template. Could the link to the documentation be broken? Thanks, Maarten [1] http

Re: [Nix-dev] Malicious installation methods

2016-06-17 Thread Maarten Hoogendoorn
First of all, you can install nix in another location, but then you won't be able to use the binary cache anymore. I thought a bit about how we could make this work: - store the nix store physically in /var/lib/nix/store on Debian - create a union fs in /var/lib/nix/nix-root of / and /var/lib/nix/

[Nix-dev] API for nixops / distributed storage of sqlite3 db

2016-06-20 Thread Maarten Hoogendoorn
I've read/heard somewhere that there were plans for an API for nixops. I think I saw it on a recording of a talk at the nix meeting in Germany in the last quarter of last year. How are things progressing on that front? I would be willing to contribute to this effort. Secondly, is there existing wo

Re: [Nix-dev] How to access makeTest function from nixpkgs/nixos/lib/testing.nix?

2016-06-22 Thread Maarten Hoogendoorn
Hi Tomasz, Some weeks ago, I looked into this to run zfs integration tests for a rust binding to libzfs. The GitHub repository [1] is set up to run a qemu vm on Travis, so that my tests can run with a kernel that supports zfs. It also provides some isolation during development. I'd rather not des

Re: [Nix-dev] How to access makeTest function from nixpkgs/nixos/lib/testing.nix?

2016-06-22 Thread Maarten Hoogendoorn
> every terminal you are working in, or figure out other way to set up this. > I'll go this route if I have no other options. > > Right now with small workaround I described in previous post all stuff is > working without any other setup. > > 1. Clone the repo > 2. ni

[Nix-dev] Building mesos from git

2016-06-23 Thread Maarten Hoogendoorn
Hi there, I want to experiment a bit with some of the features of a unreleased mesos. I've copied the mesos package definition from nixpkgs to a separate dir, and have modified it to point to a git repository. The result is in a GitHub repo [1] The log [2] shows that it compiles all C++ stuff, b

[Nix-dev] Amsterdam Nix meetup

2016-06-29 Thread Maarten Hoogendoorn
Hi felllow nixers, I've started a Amsterdam Nix meetup [1] and plan to speak a bit more at other meetups about nix. If you're interested in attending and/or speaking at this meetup!, please register (or send an email to me). [1] http://www.meetup.com/Amsterdam-Nix-Meetup/

[Nix-dev] Building upstream nixops (to include in another project) fails

2016-06-29 Thread Maarten Hoogendoorn
Hi all, I'm trying to build a newer version of nixops than that is present in nixpkgs. In need this newer version, since I require this patch [1]. Building nixops with the following expression: with (import ) {}; with pkgs; callPackage (import ) rec { version = "1.04pre0_0xz1nz3"; src = fetc

Re: [Nix-dev] Building upstream nixops (to include in another project) fails

2016-06-29 Thread Maarten Hoogendoorn
2016-06-29 16:06 GMT+02:00 Maarten Hoogendoorn : > Yes, I looked at the ./dev-shell.sh file on which attribute I should > depend on. > > I want to have a nix-shell with both a custom version of nixops, and some > other packages. > > My other approach does not work ei

[Nix-dev] Add banner to wiki to tell (new) users that it's not maintained

2016-06-30 Thread Maarten Hoogendoorn
I only learned a few weeks ago that the wiki is not maintained anymore, and that the content is going to be moved into the manuals. Could we add a banner to the top of the wiki to tell (new) users that the information in there might be out of date? This might prevent a lot of frustration for new

Re: [Nix-dev] Add banner to wiki to tell (new) users that it's not maintained

2016-06-30 Thread Maarten Hoogendoorn
by changing > https://github.com/NixOS/nixos-org-configurations/blob/master/delft/wiki-skins/nixos.php > > > On Thu, 30 Jun 2016 at 12:29 Maarten Hoogendoorn > wrote: > >> I only learned a few weeks ago that the wiki is not maintained anymore, >> and that the content is g

[Nix-dev] Pinning nixpkgs on unstable channel: retention of cached packages

2016-07-11 Thread Maarten Hoogendoorn
Hi there, I was wondering if it's safe to depend on any commit in the unstable channel, and still be able to fetch the derivations build by Hydra from the binary cache. - Maarten ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.

Re: [Nix-dev] nix as a library

2016-07-12 Thread Maarten Hoogendoorn
You could try to modify nix-repl to have a "daemon" mode, that listens on a unix socket, and implements a simple json protocol. This could also open doors for easy evaluation of nix-lang snippets in text editors. 2016-07-09 19:16 GMT+02:00 stewart mackenzie : > Hmm on second thoughts, it's probab

Re: [Nix-dev] Pinning nixpkgs on unstable channel: retention of cached packages

2016-07-12 Thread Maarten Hoogendoorn
t the closures of the nixops machines and store them somewhere, but that's probably overkill :) Thanks! 2016-07-11 16:25 GMT+02:00 Eelco Dolstra : > Hi, > > On 07/11/2016 10:54 AM, Maarten Hoogendoorn wrote: > > > I was wondering if it's safe to depend on any commit i

[Nix-dev] Override systemd service definition generated by nixos service

2016-07-13 Thread Maarten Hoogendoorn
Hi, I have to make some other derivations visible to mesos, and the jdk in particular. What would be the best way forward: to override the mesos package, or the service? Alternatively, I could create a wrapper derivation (mesos-with-jdk), and make the package used by the mesos service configurabl

Re: [Nix-dev] Override systemd service definition generated by nixos service

2016-07-14 Thread Maarten Hoogendoorn
That did the trick for making programs available, thanks. 2016-07-13 15:02 GMT+02:00 Rickard Nilsson : > Hi, > > On 07/13/2016 02:27 PM, Maarten Hoogendoorn wrote: > > Hi, > > > > I have to make some other derivations visible to mesos, and the jdk in > > part

[Nix-dev] vmTools.runInLinuxImage with ubuntu 1204 image blocks on getrandom()

2016-07-16 Thread Maarten Hoogendoorn
Hi there, I'm trying to run some tests on a binary program on ubuntu 1204 using vmTools.runInLinuxImage. It just blocks on getrandom(). I've created a minimal reproducible example: with import {}; with pkgs; let script = '' # /dev/urandom works fine dd if=/dev/urandom of=/dev/null bs=1M

[Nix-dev] overridePackages with nixops

2016-07-21 Thread Maarten Hoogendoorn
Hi there, How could one override a package used in a service definition on nixops? Defining config.packageOverrides results in an error message: error: Module `:anon-1:anon-1' has an unsupported attribute `deployment'. This is caused by assignments to the top-level attributes `config' or `options

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

2016-07-25 Thread Maarten Hoogendoorn
Hi Domen, How do you track things that must be done before the 16.09 release is branched? Via the 16.09 milestone? 2016-07-25 16:00 GMT+02:00 Domen Kožar : > Hi all, > > I'd like to remind you all that 16.09 will branch from master at the end > of August. Then we have a month to release a stable

[Nix-dev] Mesos fetcher

2016-07-26 Thread Maarten Hoogendoorn
Hi, Is anyone on the list using mesos? I've tried to deploy a mesos framework (mesos-kafka) that depends on the extraction of archives, that are downloaded by the mesos fetcher [1]. I've opened an issue about this on the nixpkgs repository as well [2]. [1] http://mesos.apache.org/documentation/

Re: [Nix-dev] vmTools.runInLinuxImage with ubuntu 1204 image blocks on getrandom()

2016-07-26 Thread Maarten Hoogendoorn
"; } script; runCustomInImage = vmTools.override { rootModules = [ "virtio_rng" "virtio_pci" "virtio_blk" "virtio_balloon" "ext4" "unix" "9p" "9pnet_virtio" "rtc_cmos" ]; }; in runCust

Re: [Nix-dev] using qemu virtual machine for testing software

2016-07-28 Thread Maarten Hoogendoorn
Am I correct to think that you are trying to connect to the postgresql instance in the VM from your host machine? The documentation of forwardPort states: "Forward a TCP port on the host to a TCP port on the guest. Useful during interactive testing." So it provides TCP forwarding in the direction

[Nix-dev] nix-update --channel broken on unstable?

2016-08-23 Thread Maarten Hoogendoorn
Hi, it appears that the nix-update command is broken. See the output below. $ nix-channel --update downloading Nix expressions from ‘ https://nixos.org/channels/nixos-unstable/nixexprs.tar.bz2’... downloading ‘https://nixos.org/channels/nixos-unstable/nixexprs.tar.bz2’... [0/0 KiB, 0.0 KiB/s] err

Re: [Nix-dev] typed nix

2016-08-30 Thread Maarten Hoogendoorn
missed the list, sorry. 2016-08-30 14:01 GMT+02:00 Maarten Hoogendoorn : > I started to experiment a bit with this, when I tried to add documentation > to functions at the 3 day hackathon in Berlin last June. > > A small youtube demo: https://www.youtube.com/watch?v=ahVu3tjrriM >

Re: [Nix-dev] Distributing files between machines in a nixops deployment

2016-11-19 Thread Maarten Hoogendoorn
I'm not pretending to be a NixOps expert, but I think the approach of generating the secret in the "deployment" machine is good enough. You could store the private key encrypted in a git repository. Have you seen this [1] blog post? It describes how to do this in a team. Best regards, Maarten 20

[Nix-dev] PatchELF in Bundix's postBuild step

2016-12-01 Thread Maarten Hoogendoorn
Hi, I'm trying to build a gem that has vendored a statically compiled program (that still depends on /lib64/ld-linux-x86-64.so.2). I've tried to use patchelf in the postBuild in a bundlerEnv, but it's complaining about not having write permissions to $out I wrote a one-liner to check for .nix fi

Re: [Nix-dev] PatchELF in Bundix's postBuild step

2016-12-01 Thread Maarten Hoogendoorn
. I must have missed that somewhere. - Maarten 2016-12-01 21:24 GMT+01:00 Maarten Hoogendoorn : > Hi, > > I'm trying to build a gem that has vendored a statically compiled program > (that still depends on /lib64/ld-linux-x86-64.so.2). > > I've tried to use patchelf in the pos

Re: [Nix-dev] PatchELF in Bundix's postBuild step

2016-12-02 Thread Maarten Hoogendoorn
5 2016-12-01 22:29 GMT+01:00 zimbatm : > Yes that's it. There is also a pkgs.defaultGemConfig that contains common > overrides, like injecting libxml for the nokogiri gem. You might want to > merge it with your override (or submit yours to nixpkgs). > > On Thu, 1 Dec 2016, 20:

[Nix-commits] [NixOS/nixpkgs] b217c0: yarn: init at 0.17.8 (#20635)

2016-12-14 Thread Maarten Hoogendoorn
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b217c0a99ba22371b2a73821a8e127892f2e24d4 https://github.com/NixOS/nixpkgs/commit/b217c0a99ba22371b2a73821a8e127892f2e24d4 Author: Maarten Hoogendoorn Date: 2016-12-14 (Wed, 14 Dec 2016) Changed paths

Re: [Nix-dev] Expression to list all packages from ?

2017-01-03 Thread Maarten Hoogendoorn
I hacked something together: https://gist.github.com/moretea/a28f0fa2afe99fc6cd026ac56460bf84 2017-01-03 12:19 GMT+01:00 Matthias Beyer : > Hi, > > I tried to hack a nix expression to list all package names for a given > maintainer. But I failed. Is there someone out there who has such an > expre

[Nix-dev] Nix workshop in Amsterdam: Bring your own app, we'll package it together

2017-01-04 Thread Maarten Hoogendoorn
Hi all, I would like to invite anyone who is interested to join us in Amsterdam on Saturday 25th of February to learn more about Nix, or help someone else learn about it :) The plan is to have some talks about Nix, nixpkgs and NixOS, after which we'd start packaging or deploying apps with Nix too

Re: [Nix-dev] NixOS 17.03 release manager is Robin Gloster

2017-01-11 Thread Maarten Hoogendoorn
Thanks Robin, for picking this up, and to Domen for the awesome work you did on the releases you managed. 2017-01-10 17:52 GMT+01:00 Domen Kožar : > Hi all, > > I'm happy to announce Robin (https://github.com/globin) will be release > manager starting with NixOS 17.03. > > He has been contributin

Re: [Nix-dev] Typing nix − funding campaign

2017-01-12 Thread Maarten Hoogendoorn
Interesting idea. Note that Eelco's phd thesis about nix contains a formal definition of both the syntax and semantics the language. The whole thesis is well written and approachable. Potential other benefits from a deeper analysis could include: - generation of better documentation for helper fu

Re: [Nix-dev] NixOS on (Android) Tablet

2017-01-13 Thread Maarten Hoogendoorn
You might want to look at Ubuntu Phone, which borrows heavily from the Android kernel, but actually exposes a full Ubuntu system. As a first step, you could look into running Ubuntu Phone, with nix side-loaded. Futhermore, there is some discussion in https://github.com/NixOS/nixpkgs/issues/21222 o

[Nix-commits] [NixOS/nixpkgs] 3cbc64: minikube: 0.13.1 -> 0.15.0

2017-01-13 Thread Maarten Hoogendoorn
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 3cbc64d5bb9f3f2a386409e87b924a35ddcd16e8 https://github.com/NixOS/nixpkgs/commit/3cbc64d5bb9f3f2a386409e87b924a35ddcd16e8 Author: Maarten Hoogendoorn Date: 2017-01-13 (Fri, 13 Jan 2017) Changed paths