[Nix-dev] added libpst

2015-01-30 Thread Tomas Hlavaty
Hi all, would it be possible to add new nixpkg? Patch attached. Thank you, Tomas From 081469bf75e69ff5ab1836e2de70b02c2924a10f Mon Sep 17 00:00:00 2001 From: Tomas Hlavaty tomas.hlav...@knowledgetools.de Date: Fri, 30 Jan 2015 18:59:22 +0100 Subject: [PATCH] added libpst --- pkgs

Re: [Nix-dev] Nix expressions and latest packages CA+cPLChywLnpF=+fqvnv+p+kymqgmnos2v3zupsr+erxus7...@mail.gmail.com ( 胡 雨軒's message of Mon, 30 Mar 2015 01:06:04 +0200)

2015-03-30 Thread Tomas Hlavaty
Hi 胡雨軒 胡雨軒 pde-b...@isep.fr writes: The documentation says Nix conceptually builds package from source but relies on stores (some package caches) to download already built packages. So there is some set of fixed package versions and system update depends on the store update pace, doesn't it?

Re: [Nix-dev] patches to add mkcl and fix ecl

2015-03-28 Thread Tomas Hlavaty
Hi Michael, Michael Raskin 7c6f4...@mail.ru writes: attached is a patch which fixes ecl, using the gmp and libffi supplied by nix, preserving the dffi ecl feature. Thanks, applied thanks a lot! Tomas ___ nix-dev mailing list

Re: [Nix-dev] patches to add mkcl and fix ecl

2015-03-27 Thread Tomas Hlavaty
042f6cd5d6ef80bb875676fb6728fb34049e61e0 Mon Sep 17 00:00:00 2001 From: Tomas Hlavaty t...@logand.com Date: Sat, 28 Mar 2015 01:57:00 +0100 Subject: [PATCH] ensure that gmp and libffi are found when compiling with gcc dynamically --- pkgs/development/compilers/ecl/default.nix | 15 +++-- pkgs/development/compilers

Re: [Nix-dev] Depending on a service from inside an expression?

2015-04-28 Thread Tomas Hlavaty
Hi Mateusz, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk writes: There is a project that as part of its tests has to create a postgresql database which means that the postgres server needs to be running. Is there an easy way to achieve this? How does one go about testing such packages to begin

[Nix-dev] pybitmessage python help

2015-04-28 Thread Tomas Hlavaty
Hi, I'm writing a nix expression for PyBitMessage: {stdenv, fetchgit, python27, qt4, pyqt4, sqlite, openssl, mpg123}: stdenv.mkDerivation rec { name = pybitmessage-v0.4.4; src = fetchgit { url = https://github.com/Bitmessage/PyBitmessage.git;; rev =

Re: [Nix-dev] pybitmessage python help

2015-05-02 Thread Tomas Hlavaty
Hi Tomasz and Rok, thank you for pointers. postFixup = wrapPythonPrograms; and propagatedBuildInputs did make it work. Cheers, Tomas ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] sbcl image executables and patch-elf

2015-05-11 Thread Tomas Hlavaty
Hi Eike, I'm making a program in common lisp using sbcl. I then create a executable image which results in quite a big file since the whole lisp is packaged up. When I use nix to build this app, the file that ends up in nix-store is tiny and not working. It seems to me that the patch-elf

[Nix-dev] oracle-xe

2015-05-13 Thread Tomas Hlavaty
Hi all, there is a package oracle-xe which downloads and installs oracle-xe but there is no module for it. Have somebody managed to get it up and running? If yes, how? Thank you, Tomas ___ nix-dev mailing list nix-dev@lists.science.uu.nl

[Nix-dev] package test set up and tear down

2015-04-14 Thread Tomas Hlavaty
Hi all, I have a nix package expression with doCheck = true;. The tests require a RDBMS (postgresql for now). preCheck creates postgresql roles and database and postCheck drops the roles and database. However, if make check fails, postCheck is not executed and the database remains polluted

Re: [Nix-dev] nixops virtualbox disk size

2015-06-16 Thread Tomas Hlavaty
There is also virtualization.diskSize. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] nixops virtualbox disk size

2015-06-17 Thread Tomas Hlavaty
There is also virtualization.diskSize. Hmm, sorry for misinformation. Although the name sounds quite universal, it is used only with qemu. It certainly works when writing tests that run in qemu VM. virtualisation.memorySize is used even in virtualbox tests but no diskSize. Virtualbox seems

Re: [Nix-dev] Leksah

2015-08-07 Thread Tomas Hlavaty
Hi Hilco, Does the stable channel guarantee that everything builds? Or is it still luck-of-the-draw just like Cabal? If it has been built by hydra, it should be in the cache and should work. Peter Simons runs hydra http://hydra.cryp.to for haskel packages but I am not sure if it has been

Re: [Nix-dev] Leksah

2015-08-06 Thread Tomas Hlavaty
Hi Hilco, If Hydra built unstable successfully (which, I believe, is a prerequisite for the channel to update) then how is it possible that Leksah does not build for me? because hydra does not build Leksah? Cheers, Tomas ___ nix-dev mailing list

Re: [Nix-dev] nixops - nix-channel per machine

2015-07-27 Thread Tomas Hlavaty
/nixos/modules/services/networking/firewall.nix:446:50 Tomas Tomas Hlavaty tomas.hlav...@knowledgetools.de writes: Hi Rob Nicolas, thank you for your suggestions. The option -I nixpkgs=/path/to/your/nixpkgs sets the nixpkgs globally for nixops. That is not what I need. I have tried using

Re: [Nix-dev] nixops - nix-channel per machine

2015-07-27 Thread Tomas Hlavaty
create/modify', the nix path will be stored in the nixops database, and you can inspect it with 'nixops info'. Cheers, Rob On Fri, Jul 24, 2015 at 3:10 PM, Tomas Hlavaty tomas.hlav...@knowledgetools.de wrote: Hi, in nixops, how can i specify a nix-channel per machine? Or any other way

[Nix-dev] nixops - nix-channel per machine

2015-07-24 Thread Tomas Hlavaty
Hi, in nixops, how can i specify a nix-channel per machine? Or any other way to have different machines running different versions of nixos? Thank you, Tomas ___ nix-dev mailing list nix-dev@lists.science.uu.nl

[Nix-dev] crosscompiling question

2015-07-14 Thread Tomas Hlavaty
Hi all, I am trying to crosscompile nix packages for a bananapi ARM board following https://nixos.org/wiki/CrossCompiling but I am missing the last step: how do I actually use the crosscompiled packages? A working example (bananapi is very similar to beaglebone): --- /tmp/bananapi/default.nix:

Re: [Nix-dev] crosscompiling question

2015-07-15 Thread Tomas Hlavaty
Hi Lluís and Tomasz, thank you for clarification. I wonder what is the use-case for crosscompiling then. I'll try qemu as you suggest. Tomas ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] nixos inside lxc container on non-NixOS host

2015-10-24 Thread Tomas Hlavaty
Hi, I would like to run NixOS inside a lxc container on ubuntu. There seems to be support for this but it is not clear to me, how to use it. I can build a container: $ nix-build release.nix -A containerTarball.i686-linux I tried lxc-create -t ubuntu and then swapping the rootfs. This seems

Re: [Nix-dev] nixos inside lxc container on non-NixOS host

2015-10-24 Thread Tomas Hlavaty
Actually, description of any way to run NixOS inside a container on non-NixOS host would be great, e.g. using systemd-nspawn instead of lxc. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] nixos inside lxc container on non-NixOS host

2015-10-28 Thread Tomas Hlavaty
Hi Thomas and Domen, thanks for your replies. I'll try to investigate those directions and see if I can get NixOS running under Ubuntu. Cheers, Tomas ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] Prague this saturday

2015-08-26 Thread Tomas Hlavaty
Hi Vladimír, thanks for your email. Unfortunatelly, I won't be in Prague on Saturday. I'll let you know when I'm in Prague. It would be great to meet. Tomas Vladimír Čunát vcu...@gmail.com writes: Hi Nixers! In case someone else would like to meet in Prague this Saturday, let me know.

[Nix-dev] [nix-dev] travis blocks pull request because log is too long

2015-09-29 Thread Tomas Hlavaty
Hi, I have made a pull request, which is now blocked by travis because of too long log. Could somebody please commit this? https://github.com/NixOS/nixpkgs/pull/10104 It seems that changes to that part of nixpkgs never go through pull requests and travis, because it is impossible for them to

Re: [Nix-dev] [nix-dev] travis blocks pull request because log is too long

2015-09-30 Thread Tomas Hlavaty
Hi Luca, thank you for your reply. Good to know that travis is not a blocker. I have fixed the issues that @bjornfor and @vcunat raised. I hope someone will find time to merge it now. Thanks a lot! Tomas Luca Bruno <lethalma...@gmail.com> writes: > On 29/09/2015 10:34, Tomas Hlav

[Nix-dev] canon mp280 printer/scanner drivers

2015-12-05 Thread Tomas Hlavaty
Hi, I would like to get Canon Pixma mp280 to work with NixOS. The printer works but it doesn't recognise the scanner. The only thing I found in nixpkgs is pkgs/misc/cups/drivers/canon/default.nix but that seems to install support for ghostscript and targets other device. There are Debian

[Nix-dev] nix on powerpc-linux

2015-12-15 Thread Tomas Hlavaty
Hi, I would like nix to work on powerpc-linux. It seems that somebody already did something in nixpkgs but it does not work. I added powerpc-linux to linux in lib/platforms.nix. Now I get the following error: $ ~/nix/build/bin/nix-env -iA pkgs.hello -f ~/nixpkgs --show-trace installing

Re: [Nix-dev] nixos inside lxc container on non-NixOS host

2015-11-25 Thread Tomas Hlavaty
Hi René, no success so far. It seems rather complicated and fragile; e.g. Ubuntu 14.04 LTS can't run systemd in containers so I can't use NixOS modules. Different systems have different drawbacks but I need something robust which works regardless. At NixOS conference, there was a discussion

Re: [Nix-dev] fetchurl and unpacker produced multiple directories

2016-06-03 Thread Tomas Hlavaty
Rok Garbas writes: > sourceRoot = "."; > and then you can mv/cp in postUnpack phase ah, great, thank you! Tomas ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] fetchurl and unpacker produced multiple directories

2016-06-03 Thread Tomas Hlavaty
Hi Domen, > If your source is in `src` directory: > > sourceRoot = "src"; Yes, the source directory is in src but the top-level CMakeLists.txt is directly in the root dir of the tarball. I was looking for some kind of way to tell fetchurl to unpack the tarball in a predefined subdirectory or

[Nix-dev] hydra and nixos versions/commits at hydra.nixos.org

2016-06-14 Thread Tomas Hlavaty
Hi, does somebody know, what hydra and nixos versions/commits are deployed at hydra.nixos.org? I am running hydra with nixos 15.09 and hydra 993647d1e3b43f1f9b7dc2ebce889b475d156bb9 but I would like to upgrade my local hydra machine to nixos 16.03. I can see that the last successful hydra build

Re: [Nix-dev] hydra and nixos versions/commits at hydra.nixos.org

2016-06-16 Thread Tomas Hlavaty
at will suffice for most of us. Will the official hydra be on 16.03 or unstable? > On Tue, Jun 14, 2016 at 4:21 PM, Tomas Hlavaty < >   1258008 2016-04-15 hydraSrc → 177bf25 >   at https://hydra.nixos.org/jobset/hydra/master/evals?page=2 I am upgrading to hydra 177bf25 on nixos 16.03 a

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

2016-07-29 Thread Tomas Hlavaty
Hi Tomasz, > I can't connect to forwarded port and I don't know how to connect/ > interact with the machine. Is there anyone who know how I could > connect to this machine and would be willing to explain? vm tests are not intended to be interactive, I think. Instead, you can build the vm like:

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

2016-08-10 Thread Tomas Hlavaty
Hi Tomasz, Tomasz Czyż writes: > I made this working/building the vm, but I still don't know how to > connect to it. Any idea? when you build the VM, it will create a symlink called something like result. Inside there is a program to launch the VM inside qemu. You can

Re: [Nix-dev] Raspberry-Pi NixOS

2016-07-13 Thread Tomas Hlavaty
Hi Anders, Anders Lundstedt writes: > Has anyone successfully installed NixOS on a Raspberry Pi 3? I am running nixos-version 16.09.git.a5559f5 (Flounder). I have rpi2 running nixos which I installed as described in the wiki and then managed to upgrade in a few steps

Re: [Nix-dev] Raspberry-Pi NixOS

2016-07-18 Thread Tomas Hlavaty
Tomas Hlavaty <t...@logand.com> writes: > - pkgs/os-specific/linux/firmware/raspberrypi/default.nix needs newer > rev as the current one is pre-rpi3. > > - pkgs/os-specific/linux/kernel/linux-rpi.nix needs newer kernel, > probably for the same reason as above. I tri

Re: [Nix-dev] Raspberry-Pi NixOS

2016-07-19 Thread Tomas Hlavaty
Lluís Batlle i Rossell writes: > The device tree blob should be built by the kernel, like with pi and pi2, > isn't it? This is the kernel which works for me and is taken from raspberry-firmware/boot: Linux version 4.4.13-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3

Re: [Nix-dev] Hydra

2016-07-18 Thread Tomas Hlavaty
Hi Fare, "Dev.Rideau.Fare" writes: > I'm trying to determine how feasible it would be (with how much work) > to use Hydra for a CI environment at work (replacing buildbot). we've been using hydra for about a year now. Not sure how does it compare to buildbot but

[Nix-commits] [NixOS/nixpkgs] e44453: mlt: 0.9.6 -> 6.2.0 (#17725)

2016-08-17 Thread Tomas Hlavaty
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: e444532046be5180cd57e0b991921d8da17d9934 https://github.com/NixOS/nixpkgs/commit/e444532046be5180cd57e0b991921d8da17d9934 Author: Tomas Hlavaty <t...@logand.com> Date: 2016-08-17 (Wed, 17 Au

Re: [Nix-dev] NixOps usage survey.

2016-09-05 Thread Tomas Hlavaty
Hi Aloïs, if you don't need any of the backends nixops offers except maybe "none", it might be better to avoid the stateful nature of nixops and go with a simple script based on nixos-rebuild, something like: deploy1.sh: HOST=$1 NIXPKGS=$2 nixos-rebuild switch \ -I

[Nix-commits] [NixOS/nixpkgs] 591345: fix win-dll-link.sh setup hook (#20925)

2016-12-07 Thread Tomas Hlavaty
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 59134519eefd1bc2b855b7e918e3f380e8c222dc https://github.com/NixOS/nixpkgs/commit/59134519eefd1bc2b855b7e918e3f380e8c222dc Author: Tomas Hlavaty <t...@logand.com> Date: 2016-12-07 (Wed, 07 De

[Nix-dev] [Tomas Hlavaty] Re: Remapping Console Key Bindings

2017-01-11 Thread Tomas Hlavaty
oops, this is meant for the list --- Begin Message --- I have an alias and run it manually, something like: alias mykbd bash -c "sudo loadkeys fr; (echo keymaps 0-63; echo keycode 58 = Control) | sudo loadkeys -" --- End Message --- ___ nix-dev

[Nix-commits] [NixOS/nixpkgs] cc7c26: unittest-cpp: init at 1.6.1

2017-03-22 Thread Tomas Hlavaty
Branch: refs/heads/release-15.09 Home: https://github.com/NixOS/nixpkgs Commit: cc7c26173149348ba43f0799fac3f3823a2d21fc https://github.com/NixOS/nixpkgs/commit/cc7c26173149348ba43f0799fac3f3823a2d21fc Author: Tomas Hlavaty <t...@logand.com> Date: 2017-03-22 (Wed, 22 Ma

Re: [Nix-dev] Nix for internal projects and monorepos

2017-03-24 Thread Tomas Hlavaty
Hi Daniel, I have tried several things and settled for something like src = ; Then you can control it same way like you can do with . It also works well with hydra and avoid problems I had with fetchgitPrivate. Tomas ___ nix-dev mailing list

[Nix-commits] [NixOS/nixpkgs] ad8253: ccl: create ccl symlink

2017-06-28 Thread Tomas Hlavaty
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: ad825384232d68998a1d9d7d0b135575485665de https://github.com/NixOS/nixpkgs/commit/ad825384232d68998a1d9d7d0b135575485665de Author: Tomas Hlavaty <t...@logand.com> Date: 2017-06-28 (Wed, 28 Ju

[Nix-commits] [NixOS/nixpkgs] f57fad: sbcl: 1.3.18 -> 1.3.19

2017-06-28 Thread Tomas Hlavaty
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f57fadc5366e18289cdde3c69658bb89644feab8 https://github.com/NixOS/nixpkgs/commit/f57fadc5366e18289cdde3c69658bb89644feab8 Author: Tomas Hlavaty <t...@logand.com> Date: 2017-06-28 (Wed, 28 Ju

Re: [Nix-dev] [PATCH] ccl: create ccl symlink

2017-06-29 Thread Tomas Hlavaty
Hi Peter, thank you for your email. That awkward patch on the bug tracker was a try to see if that was somehow possible and useful. Now I see that it wasn't a good idea, so sorry for the chaos I created. The problem is on my side as I haven't found an optimal way to contribute yet. I use

[Nix-dev] [PATCH] sbcl: 1.3.18 -> 1.3.19

2017-06-28 Thread Tomas Hlavaty
Updated sbcl with new version released today. Tested on nixos 17.03 x86_64, sbcl executable runs. Thanks. >From 36da6ad6eac68fdf2c8876c0a35642aa3e5c9d96 Mon Sep 17 00:00:00 2001 From: Tomas Hlavaty <t...@logand.com> Date: Wed, 28 Jun 2017 20:12:58 +0200 Subject: [PATCH] sbcl: 1.3.18

[Nix-dev] [PATCH] ccl: create ccl symlink

2017-06-28 Thread Tomas Hlavaty
Make it more intuitive for users to start ccl and avoid platform dependent executable names. https://github.com/NixOS/nixpkgs/issues/26934 Tested on nixos x86_64. Thanks. >From 9d1ade6a72fd2b4c10946128d8296aa9f8d75cc5 Mon Sep 17 00:00:00 2001 From: Tomas Hlavaty <t...@logand.com> Date

Re: [Nix-dev] [PATCH] ccl: create ccl symlink

2017-06-29 Thread Tomas Hlavaty
Tomas Hlavaty <t...@logand.com> writes: > I haven't found any way to create PRs without a web-browser. I wonder, > if it is possible? Vladimír Čunát and Kirill Elagin suggested gitAndTools.hub and it looks like what I am after. Thanks! ___

[Nix-commits] [NixOS/nixpkgs] ccd6ec: ccl: create ccl symlink

2017-07-01 Thread Tomas Hlavaty
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: ccd6ec20e10c8028782a5b9bd42d580afac74c67 https://github.com/NixOS/nixpkgs/commit/ccd6ec20e10c8028782a5b9bd42d580afac74c67 Author: Tomas Hlavaty <t...@logand.com> Date: 2017-07-01 (Sat, 01 Ju

Re: [Nix-dev] nix-daemon and private git repos

2017-07-04 Thread Tomas Hlavaty
Hi Harmen, On Mon 03 Jul 2017 at 15:19, Harmen wrote: > I can't be the first to want to use fetchgitPrivate with a sandboxed > nix-daemon. Any experiences or tips? I had it working but there are several cases which needs extra setup that I recommend to avoid fetchgitPrivate

Re: [Nix-dev] nix-daemon and private git repos

2017-07-04 Thread Tomas Hlavaty
On Mon 03 Jul 2017 at 15:38, Harmen <har...@lijzij.de> wrote: > On Mon, Jul 03, 2017 at 03:27:34PM +0200, Tomas Hlavaty wrote: >> Hi Harmen, >> >> On Mon 03 Jul 2017 at 15:19, Harmen <har...@lijzij.de> wrote: >> > I can't be the first to want to use

Re: [Nix-dev] nix-daemon and private git repos

2017-07-04 Thread Tomas Hlavaty
On Tue 04 Jul 2017 at 13:49, "Alexander V. Nikolaev" wrote: > On Mon, Jul 03, 2017 at 03:19:31PM +0200, Harmen wrote: > > I have `fetchgitCustom` expression, which can use pre-seeded "deploy" > keys (but with some security implications -- because key is > world-readable). It

Re: [Nix-dev] Are mailing lists any good for managing patches? (was: okteta fix build)

2017-06-27 Thread Tomas Hlavaty
I find emails better than github too. It's easy to get banned by github. As for PR accumulation, here is an interesting take on bug trackers: http://yarchive.net/comp/linux/bug_tracking.html ___ nix-dev mailing list nix-dev@lists.science.uu.nl

[Nix-dev] [nix-dev][patch] sbcl: 1.3.17 -> 1.3.18

2017-06-27 Thread Tomas Hlavaty
The attached patch updates sbcl version. >From efdeb164ab3ca748a960791b093638c982465e97 Mon Sep 17 00:00:00 2001 From: Tomas Hlavaty <t...@logand.com> Date: Tue, 27 Jun 2017 22:15:17 +0200 Subject: [PATCH] sbcl: 1.3.17 -> 1.3.18 --- pkgs/development/compilers/sbcl/default.nix | 4

[Nix-commits] [NixOS/nixpkgs] 6739a1: sbcl: 1.3.17 -> 1.3.18

2017-06-27 Thread Tomas Hlavaty
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 6739a1773e68839dcc9f99331def17ce3931e410 https://github.com/NixOS/nixpkgs/commit/6739a1773e68839dcc9f99331def17ce3931e410 Author: Tomas Hlavaty <t...@logand.com> Date: 2017-06-27 (Tue, 27 Ju

Re: [Nix-dev] packaging windows applications through wine

2017-04-24 Thread Tomas Hlavaty
Hi Taeer, Taeer Bar-Yam writes: > Not sure if you intentionally didn't reply to the group, so I'll send this > just to you. ah, the message was meant for the list. Thanks for telling me. >> Hi Taeer, >> >>> When one installs things through wine, one usually has to click

[Nix-dev] networking.wlanInterfaces issues

2017-05-27 Thread Tomas Hlavaty
Hi, I have issues with wifi configuration on 17.03.1203.58e227052d (Gorilla): 1) specifying mac address doesn't work: building the system configuration... error: undefined variable ‘device’ at

Re: [Nix-dev] networking.wlanInterfaces issues

2017-05-28 Thread Tomas Hlavaty
Kirill Elagin writes: > This should help: https://github.com/NixOS/nixpkgs/pull/26170. Thank you for the quick fix. Would it be possible to have this also on 17.03? >