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 works with sandbox bui
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 and use source variab
On Mon 03 Jul 2017 at 15:38, Harmen 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 wrote:
>> > I can't be the first to want to use fetchgitPrivate with a sandboxed
>&
Branch: refs/heads/release-17.03
Home: https://github.com/NixOS/nixpkgs
Commit: ccd6ec20e10c8028782a5b9bd42d580afac74c67
https://github.com/NixOS/nixpkgs/commit/ccd6ec20e10c8028782a5b9bd42d580afac74c67
Author: Tomas Hlavaty
Date: 2017-07-01 (Sat, 01 Jul 2017)
Changed paths
Tomas Hlavaty 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-dev mailing l
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 githu
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: f57fadc5366e18289cdde3c69658bb89644feab8
https://github.com/NixOS/nixpkgs/commit/f57fadc5366e18289cdde3c69658bb89644feab8
Author: Tomas Hlavaty
Date: 2017-06-28 (Wed, 28 Jun 2017)
Changed paths:
M
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: ad825384232d68998a1d9d7d0b135575485665de
https://github.com/NixOS/nixpkgs/commit/ad825384232d68998a1d9d7d0b135575485665de
Author: Tomas Hlavaty
Date: 2017-06-28 (Wed, 28 Jun 2017)
Changed paths:
M
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
Date: Wed, 28 Jun 2017 20
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
Date: Wed, 28 Jun 2017 20:12:58 +0200
Subject: [PATCH] sbcl: 1.3.18 -> 1.3.19
---
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 6739a1773e68839dcc9f99331def17ce3931e410
https://github.com/NixOS/nixpkgs/commit/6739a1773e68839dcc9f99331def17ce3931e410
Author: Tomas Hlavaty
Date: 2017-06-27 (Tue, 27 Jun 2017)
Changed paths:
M
The attached patch updates sbcl version.
>From efdeb164ab3ca748a960791b093638c982465e97 Mon Sep 17 00:00:00 2001
From: Tomas Hlavaty
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 ++--
1 file chan
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
https://m
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?
> https://github.com/NixOS/nixpkgs/blob/953616907493c5b81ba3ec9dd86f1422f4d1fcd3/nixos/modules/tasks/network-interfaces.nix#L816
>
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
/nix/store/nm3nvlszbsg7c574airhra5gj2xwc9s8-nixexprs.tar.xz/nixos/modules/tasks/network-interfac
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
>>> through a bunch o
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-dev@
Branch: refs/heads/release-15.09
Home: https://github.com/NixOS/nixpkgs
Commit: cc7c26173149348ba43f0799fac3f3823a2d21fc
https://github.com/NixOS/nixpkgs/commit/cc7c26173149348ba43f0799fac3f3823a2d21fc
Author: Tomas Hlavaty
Date: 2017-03-22 (Wed, 22 Mar 2017)
Changed paths
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 mailin
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 59134519eefd1bc2b855b7e918e3f380e8c222dc
https://github.com/NixOS/nixpkgs/commit/59134519eefd1bc2b855b7e918e3f380e8c222dc
Author: Tomas Hlavaty
Date: 2016-12-07 (Wed, 07 Dec 2016)
Changed paths:
M
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 nixos-config=./$HOST/configu
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: e444532046be5180cd57e0b991921d8da17d9934
https://github.com/NixOS/nixpkgs/commit/e444532046be5180cd57e0b991921d8da17d9934
Author: Tomas Hlavaty
Date: 2016-08-17 (Wed, 17 Aug 2016)
Changed paths:
M
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 simply run that command a
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:
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
(crosstool-NG crosstool-ng-1.22
Tomas Hlavaty 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 tried 4.4.13-v7.
Tuomas Tyn
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 we had no CI before, so it is a
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 up to the nixos-version
16.
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 and i
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
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
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 som
Hi,
I am trying to write a nix package but fetchurl fails with
unpacker produced multiple directories
due to the upstream tarball not containing a top level directory.
What is the usual way of dealing with such issue?
Thanks,
Tomas
___
nix-dev ma
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 ‘hello-
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 driver
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
abou
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
http://lists.science.uu.nl/mailman/listinfo/nix-
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
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
to
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 writes:
> On 29/09/2015 10:34, Tomas Hlavaty wrote:
>
&g
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 pas
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 writes:
> Hi Nixers!
> In case someone else would like to meet in Prague this Saturday, let me
> know.
>
> Vladimir
___
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 mov
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
/nixos/modules/services/networking/firewall.nix:446:50
Tomas
Tomas Hlavaty 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
pkgs=/path/to/your/nixpkgs when using nixops. You
>> can also make it persistent using 'nixops create/modify', the nix path
>> will be stored in the nixops database, and you can inspect it with
>> 'nixops info'.
>>
>> Cheers,
>> Rob
>>
>
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
http://lists.science.uu.nl/mailman/listi
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
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:
l
> 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 t
There is also virtualization.diskSize.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
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
http://lists
Hi Eike,
> I just found out that this is the strip utility from binutils and I'm
> wondering how it can do such a harm…
strip does what it is supposed to do. In the usual C world, executables
can contain lots of other information, e.g. debugging symbols etc.
strip removes this additional informa
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
Hi all,
Domen Kožar writes:
> Staging and master are not building because of eval error:
>
> error: access to path ‘/nix/store/
> x15ndrygbhxl7vaaxxq4b6f5wjmh4j96-nix-1.9pre4087_afa433e’ is
> forbidden in restricted mode
hydra was changed to use the restricted mode in:
commit 5a61aefe4f61bf5
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
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 = "713ed89467b9c766cb22df0cc514
Hi Mateusz,
Mateusz Kowalczyk 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 with?
I am current
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 (a
Hi 胡雨軒
胡雨軒 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?
yes. But
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
nix-dev@lists.sci
not work. I think it makes sense, because it is ecl which
creates the gcc arguments, not nix.
The attached patch adds with-libffi-prefix to configure.ac (similar to
the existing with-gmp-prefix) and re-runs autoconf.
Thank you for your help!
Tomas
>From 042f6cd5d6ef80bb875676fb6728fb34049
Hi all,
attached are two patches:
1) to add mkcl, a common lisp implementation
2) to fix ecl, another common lisp implementation
Would it be possible to get it committed?
Thank you very much!
Tomas
>From 716d6ad1b77aab67401cbde830ddb24930eea82a Mon Sep 17 00:00:00 2001
From: Tomas Hlav
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
Date: Fri, 30 Jan 2015 18:59:22 +0100
Subject: [PATCH] added libpst
---
pkgs/development/libraries/libpst/default.
64 matches
Mail list logo