Re: [Nix-dev] List of companies using NixOS (Sander van der Burg)

2016-12-07 Thread Thomas Bereknyei
I'm investigating using NixOS/NixOps/Disnix for quick prototypes as part of Department of Defense. (www.dds.mil) I'd like to learn more about others using Disnix/Hydra. -Tom Date: Wed, 7 Dec 2016 16:28:45 +0100 From: Sander van der Burg To: Vladim?r ?un?t

[Nix-commits] [NixOS/nixpkgs] 5bca92: ddclient: add configFile option

2016-09-30 Thread Thomas Bereknyei
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 5bca9297ffb7806b3b350938ab652befb2cd1c24 https://github.com/NixOS/nixpkgs/commit/5bca9297ffb7806b3b350938ab652befb2cd1c24 Author: Thomas Bereknyei <tombe...@gmail.com> Date: 2016-09-30 (Fri, 30 Se

Re: [Nix-dev] zlib, iconv, bzip2, et. al.

2016-09-07 Thread Thomas Bereknyei
rin...@gmail.com> wrote: > Have you tried installing those libraries with `nix-env -i`? You may need > to add some stuff to your environment to make the linker find them, but > that should put them in your ~/.nix-profile/lib. > > On Wed, Sep 7, 2016 at 7:18 AM, Thomas Bereknye

Re: [Nix-dev] zlib, iconv, bzip2, et. al.

2016-09-07 Thread Thomas Bereknyei
. Tom > - > > Message: 1 > Date: Tue, 6 Sep 2016 16:50:58 -0400 > From: Ryan Trinkle <ryan.trin...@gmail.com> > To: Thomas Bereknyei <tombe...@gmail.com> > Cc: nix-dev <nix-dev@lists.science.uu.nl&g

[Nix-dev] zlib, iconv, bzip2, et. al.

2016-09-06 Thread Thomas Bereknyei
I often have a problem where a library is not available during compilation, usually Haskell. The standard answer is to start 'nix-shell -p zlib' and proceed. Is there a way to have them in my standard environment? This occurs both on OSX and NixOS even when i have those packages installed (either

Re: [Nix-dev] libvirt/nixops (Joachim Schiele)

2016-09-05 Thread Thomas Bereknyei
I got this working a few weeks ago and had the same issue. Did you modify your network using `virsh net-edit default'? I think you need to. Mine is: default some--uuid > > Message: 1 > Date: Mon, 5 Sep 2016 10:51:06 +0200 > From: Joachim Schiele

[Nix-dev] Wiki is dead

2016-02-15 Thread Thomas Bereknyei
I often find myself on the Arch wiki and porting the content to apply to my NixOS setup. Perhaps that would be a systematic way to start, consider it a port. Take some of the most commonly used Arch wiki pages and make NixOS versions. It would also establish a structure to the wiki. >But I think

Re: [Nix-dev] Tracking down dependencies

2015-01-29 Thread Thomas Bereknyei
Thanks everyone, it's exactly what I was looking for. On Thu, Jan 29, 2015 at 4:56 AM, Georges Dubus georges.du...@gmail.com wrote: The nox-update command (in the nox package) is an attempt to provide such information. It present the dependency tree of the derivation that are about to be

[Nix-dev] Tracking down dependencies

2015-01-28 Thread Thomas Bereknyei
During a recent `nixos-rebuild switch --upgrade` I noticed gtk+ being downloaded from cache. Is there a quick way to discover what is causing that to be needed? [Rather than going through all of my configuration.nix packages one-by-one?] This question is also generic, is there a way to do this in

[Nix-dev] NixOS over PXE

2015-01-12 Thread Thomas Bereknyei
What is the latest with serving NixOS over PXE? If this needs work, I can work to put together a sane configuration. -Tom ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Change in networking with 15.05?

2014-12-31 Thread Thomas Bereknyei
Luca, Not sure why, but the problem was resolved after some tinkering with 15.05. My current config: networking = { enableIPv6=false; networkmanager.enable = true; firewall = { enable = true; allowedTCPPorts = [xxx]; }; };

Re: [Nix-dev] Change in networking with 15.05?

2014-12-31 Thread Thomas Bereknyei
Not sure why, but the problem was resolved after some tinkering with 15.05. My current config: networking = { enableIPv6=false; networkmanager.enable = true; firewall = { enable = true; allowedTCPPorts = [xxx]; }; }; On Wed, Dec 31, 2014 at 9:41 AM, Luca Bruno

[Nix-dev] Change in networking with 15.05?

2014-12-30 Thread Thomas Bereknyei
Upgrading from 14.02pre5678.gfedcba to the nixos-unstable ( http://nixos.org/releases/nixos/unstable/nixos-15.05pre54730.cbe467e/) seems to removes the non-loopback network interfaces. The following configuration worked well with 14.02 as well as 14.* unstable releases. networking = {

[Nix-dev] Hdevtools does not find installed modules

2014-06-18 Thread Thomas Bereknyei
I just went through this pain, here is my vimrc for hdevtools (specific for ghc782, just update this line: let l:nixextra = '-g-package-db=' . system('nix-store -qR $(which ghc) | tail -n1 | tr -d \n ') . '/lib/ghc-7.8.2/package.conf.d' ): cabal-cargs may help you as well as finding the correct

Re: [Nix-dev] Hash Collisions

2014-04-07 Thread Thomas Bereknyei
I have seen these collisions as well, but I do not understand them. They don't seem to have a detrimental effect on anything. -Tom On Mon, Apr 7, 2014 at 4:28 AM, Raahul Kumar raahul.ku...@gmail.com wrote: I just ran a nixos-rebuild switch --upgrade. I saw a whole bunch of hash collisions

Re: [Nix-dev] Missing library: zlib

2014-03-07 Thread Thomas Bereknyei
Is there a way to make it so that zlib is always in scope using something in the configuration.nix setup? Or should I just call nix-shell every time? On Mar 7, 2014 2:16 AM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 06/03/14 18:44, Thomas Bereknyei wrote: I routinely find

[Nix-dev] Missing library: zlib

2014-03-06 Thread Thomas Bereknyei
I routinely find myself in a situation where some build tool or installation of software (gcc, pip, a runtime) not via a nix expression) will fail due to not having zlib available/in scope. What would be a simple way to prevent this annoyance? Tom On Mar 6, 2014 8:16 AM, Asus Ceaser

Re: [Nix-dev] Fixing module arguments (PROPOSAL MAY BREAK EXISTING NIXOS CONFIGS, PLEASE READ)

2014-02-19 Thread Thomas Bereknyei
I would agree. NixOS is known to be experimental and breaking changes should be ok with any users. And if they have a problem with it, rollback! If this simplifies the module arguments then it may be worth it, because it still confuses me, so I guess others may benefit as well. That being said,

Re: [Nix-dev] Using Nix to manage dotfiles

2014-02-10 Thread Thomas Bereknyei
This is not what you are looking for, but here is how I manage my dotfiles. I place my default into /etc/nixos and create symlinks to my users. let storeFile = fileSrc : builtins.toFile (baseNameOf fileSrc) (builtins.readFile fileSrc); vimrcPath = storeFile /etc/nixos/vimrc; i3Path

Re: [Nix-dev] Maintainership

2014-01-28 Thread Thomas Bereknyei
That almost sounds like an unstable channel. On Tue, Jan 28, 2014 at 9:57 PM, Alex Berg chex...@gmail.com wrote: Rather than removing unmaintained packages, can we make them available as a separate, opt-in channel? On Jan 28, 2014 6:43 PM, Jan Malakhovski o...@oxij.org wrote: On Tue, 28

Re: [Nix-dev] fetchgit with ssh

2014-01-12 Thread Thomas Bereknyei
I'm not positive this is the problem, but take a look at another example. No quotes around the url and different format. src = fetchgit { url = git://git.gnupg.org/libgcrypt.git; rev = 99b18aa53; sha256 = 1rhbpxqrkfszlv8jvw8s4apwklal07k8zxv5q555l7binc1j1j3z; }; On Mon, Jan

Re: [Nix-dev] how to overwrite a derivation in nix

2014-01-10 Thread Thomas Bereknyei
I work off of a local fork of nixpkgs, I tried overriding just particular attributes, but it was annoying. I use this sort of thing to add temp packages: nixpkgs.config.packageOverrides = pkgs : with pkgs.haskellPackages_ghc763; { happstackFastCGI = callPackage

Re: [Nix-dev] Help needed: patching Hydra to retry failed builds after a while

2014-01-08 Thread Thomas Bereknyei
Jo napot, I'm willing to help you with working on Hydra, it's something I want to get involved with. I'm not sure who is in charge of Hydra administration. From just a cursory look, it seems that the error is not transient, or at least it consistently breaks [1] with: ghc-stage1: out of memory

Re: [Nix-dev] bootstrap of NixOS

2013-12-23 Thread Thomas Bereknyei
Would a LiveCD work for you? There a some available at http://nixos.org/nixos/download.html as well as some virtualbox appliances. On Sat, Dec 21, 2013 at 3:39 PM, Petr Pudlák pud...@google.com wrote: Hi, I'd like start to learn and experiment with NixOS, in a virtualized environment. Is

[Nix-dev] Twistd cache

2013-12-15 Thread Thomas Bereknyei
I am trying to add Kippo [1] (SSH honeypot) to NixOS. The executable is actually just a script that runs twisted with some arguments. The first problem was with things like log files, filesystems, pids, etc, being read only. I have been able to get past that by placing some of it in /var. Some

[Nix-dev] Passwords in configuration files

2013-11-30 Thread Thomas Bereknyei
I came across some threads from a while ago and some discussion regarding passwords in configuration files and ways to limit the security problem it poses, while still striving to keep within Nix concepts. What became of this? Is there a standard solution? My interest developed while I was

[Nix-dev] cannot install NixOS

2013-11-24 Thread Thomas Bereknyei
I had some problems with install as well. Have you tried 14.02? That worked for me. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Powertop NixOS

2013-11-19 Thread Thomas Bereknyei
and in general more accurate help: nix-dev@lists.science.uu.nl Thomas Bereknyei tombe...@gmail.com writes: Hi what is the current method of using powertop I would like to start using it but I'm a little new to nixos. I came across your email on a forum posting regarding the kernel. Tom

Re: [Nix-dev] Deterministic(bit-perfect) Builds

2013-06-25 Thread Thomas Bereknyei
Hi, I'm not a big contributor yet, but I just wanted to say to the nix-dev community: thanks for the work. Especially the Haskell package managers. A purely functional language and a purely functional package manager. On Tue, Jun 25, 2013 at 5:57 PM, Vladimír Čunát vcu...@gmail.com wrote: On