[Nix-dev] FreeBSD Support

2015-01-17 Thread Malcolm Matalka
I see that FreeBSD is no longer stated as supported. Is this because the nix tools themselves no longer work under FreeBSD or because the packages have fallen into disrepair? /Malcolm ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] FreeBSD Support

2015-01-17 Thread Malcolm Matalka
Does that mean the nix software itself or nix expressions or both? Thanks Den 17 jan 2015 18:46 skrev Domen Kožar do...@dev.si: It's because no one is investing time to support FreeBSD. On Sat, Jan 17, 2015 at 6:32 PM, Malcolm Matalka mmata...@gmail.com wrote: I see that FreeBSD

Re: [Nix-dev] Dataflow

2014-12-25 Thread Malcolm Matalka
It's unclear to me what problem your proposal solves. If the source of the issue is the package itself is paralleizing builds (i.e. rebar) then how does making Nix more dataflow solve that? stewart mackenzie setor...@gmail.com writes: Maybe I'm wrong, but I don't think the Nix language itself

Re: [Nix-dev] cabal install vs. libgcc_s.so.1 must be installed for pthread_cancel to work

2014-08-12 Thread Malcolm Matalka
As a bandaid, I have gotten around this in some ocaml packages by using LD_PRELOAD: export LD_PRELOAD=$HOME/.nix-profile/lib/libgcc_s.so This 'solves' the problem for me. Gergely Risko gerg...@risko.hu writes: Hi, Sorry for the long email, this is a somewhat complicated topic. I hope both

Re: [Nix-dev] Firewall enabled by default

2014-04-08 Thread Malcolm Matalka
Is there documentation for what the default firewall configuration is? Eelco Dolstra eelco.dols...@logicblox.com writes: Hi, Just a heads-up that starting with revision 694cc61, NixOS enables its firewall by default. If you don't want this, you should explicitly set

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Malcolm Matalka
I'm guessing (based on my workflow) you want: nix-env -f . -i cinnamon-session Roelof Wobben r.wob...@home.nl writes: Hello, I want to test if cinnamon-session works well so I can proceed. So I did nix-env -i cinnamon-session. But then I see this message: error: selector

Re: [Nix-dev] cannot install cinnamon-session

2014-04-07 Thread Malcolm Matalka
Did you add it to all-packages then? Perhaps you could upload more information to a pastebin somewhere, it's hard to debug at this granularity. Roelof Wobben r.wob...@home.nl writes: Not working, I see the same error message. also nix-env -f . -i cinnamon is working. Roelof Malcolm

Re: [Nix-dev] 403 Forbidden on nixexprs

2014-01-06 Thread Malcolm Matalka
, On 04/01/14 15:33, Malcolm Matalka wrote: curl: (22) The requested URL returned error: 403 Forbidden /nix/store/1f3v6ski9h3pwmfj2zgmjygwqk733sly-nix-1.6.1/bin/nix-prefetch-url: download of ‘http://releases.nixos.org/nixos/channels/nixos-unstable/nixexprs.tar.bz2’ failed cannot fetch `http

Re: [Nix-dev] 403 Forbidden on nixexprs

2014-01-06 Thread Malcolm Matalka
Eelco Dolstra eelco.dols...@logicblox.com writes: Hi, On 06/01/14 13:52, Malcolm Matalka wrote: Is there a location on the website for what various configuration values should be? This lists the Nixpkgs channel: http://nixos.org/nixpkgs/download.html And here are the NixOS channels

Re: [Nix-dev] Cinnamon quitting

2013-12-22 Thread Malcolm Matalka
Another thing that is bugging me is that I have to wait more than 4 days for something gets accepted. Nothing requires you to wait for individual packages to be accepted before moving on to your next package. Nor that you can't do multiple packages in the same pull request. Roelof Wobben

Re: [Nix-dev] Newbie questions

2013-12-02 Thread Malcolm Matalka
You can use Nix on OS X, however NixOS is an OS, I'm unaware of any overlay for OS X (or how much sense that would make). Myself, I use a Mac mostly for hardware + (once upon a time) a non bad UI. I do everything on my Mac inside a VM running NixOS. This works pretty well for me. If you want

Re: [Nix-dev] Recommended way of running nix on mac osx

2013-12-02 Thread Malcolm Matalka
These directions show how to set it up for a non root user http://functional-orbitz.blogspot.se/2013/05/setting-up-nixops-on-mac-os-x-with.html On Dec 3, 2013 4:57 AM, Matt Paine mattze...@gmail.com wrote: Hi Guys. I have bit the bullet and installed nix on my mac, following the instructions

Re: [Nix-dev] experience packager or coder to help me with cinnamon

2013-11-29 Thread Malcolm Matalka
Not to be rude, but I don't think this kind of rhetoric will get you far. I offered a suggestion for trying simpler packages first. Roelof Wobben rwob...@hotmail.com writes: If nobody is responding then I have to quit porting cinnamon to Nixos and maybe quit Nixos. From:

Re: [Nix-dev] experience packager or coder to help me with cinnamon

2013-11-28 Thread Malcolm Matalka
Perhaps you could work your way up to Cinnamon by contributing packages for simpler things first. Roelof Wobben rwob...@hotmail.com writes: Hello, Im now 3 days at work to make cinnamon-desktop working so Nixos can have Cinnamon 2.x It looks like to me the configure and make files are

Re: [Nix-dev] Nix 1.6 released

2013-09-15 Thread Malcolm Matalka
I am unable to upgrade to 1.6 on one of my machines for an unknown reason. I updated my machine by doing 'nixos-rebuild --upgrade switch' and rebooting. $ nixos-version 13.09pre5022_71365b7-38d54cf (Aardvark) $ nix-env --version nix-env (Nix) 1.5.3 $ which nix-env

Re: [Nix-dev] Hydra out of memory?

2013-08-05 Thread Malcolm Matalka
Perhaps add some monitoring? Den 5 aug 2013 14:53 skrev Eelco Dolstra eelco.dols...@logicblox.com: Hi, On 04/08/13 22:35, Bjørn Forsman wrote: The channel doesn't update because virtualbox-image won't build (out-of-memory): Thanks. I've doubled the available memory size, hopefully that

[Nix-dev] Templates

2013-06-26 Thread Malcolm Matalka
This was discussed a little bit in #nixos. The question is: currently it seems that the only option for doing configs in NixOS is by putting a string literal in a nix expression. This can become unweildly for applications with large configurations. Are there other options? /M

Re: [Nix-dev] Templates

2013-06-26 Thread Malcolm Matalka
I want the same semantics as including a config as a string literal in a nix expression, but I want it to be in its own file, preferably without any nix syntax around it. Chef has this concept in the form of 'templates'. Marc Weber marco-owe...@gmx.de writes: This can become unweildly for

Re: [Nix-dev] Templates

2013-06-26 Thread Malcolm Matalka
I want to add Riak support to NixOS. The config file is quite large and can be complex. It also is a supported file type in my Emacs so I get pretty syntax highlighting. Putting this inside Nix expressions losses this feature. I think putting config files in Nix expressions is suboptimal. On

Re: [Nix-dev] Templates

2013-06-26 Thread Malcolm Matalka
That does not give access to variables, from my understanding. On Jun 26, 2013 9:29 PM, Michael Raskin 7c6f4...@mail.ru wrote: I want to add Riak support to NixOS. The config file is quite large and can be complex. It also is a supported file type in my Emacs so I get pretty syntax

Re: [Nix-dev] nixos-install building FLAC and failing

2013-06-14 Thread Malcolm Matalka
That worked, has sound become enabled by default all of a sudden? Vladimír Čunát vcu...@gmail.com writes: On 06/14/2013 12:23 AM, Malcolm Matalka wrote: I'm trying to install NixOS on another Linode host, and I'm running into something odd during 'nixos-install'. Despite my configuration

Re: [Nix-dev] Obfuscated TOR bridge is packaged. Please consider running it.

2013-06-14 Thread Malcolm Matalka
I just did this and 'worked for me'. Looks like your machine cannot resolve the git host. Moritz Ulrich mor...@tarn-vedra.de writes: Just tried it: exporting https://git.torproject.org/pluggable-transports/obfsproxy.git (rev 3c4e843a30c430aec1de03e0e09ef654072efc03) into

[Nix-dev] Job fails in Hydra, works locally

2013-06-13 Thread Malcolm Matalka
http://hydra.nixos.org/build/5270051 This job seems to fail sometimes in hydra. However when I run the do Reproduce locally it works fine. Does anyone have any suggestions for how to debug this? Thanks, /Malcolm ___ nix-dev mailing list

[Nix-dev] nixos-install building FLAC and failing

2013-06-13 Thread Malcolm Matalka
I'm trying to install NixOS on another Linode host, and I'm running into something odd during 'nixos-install'. Despite my configuration, AFAIK, a bunch of sound stuff is being installed, and FLAC is failing on tests, most likely because I'm running as root. I just don't understand why FLAC is

[Nix-dev] HOWTO: Running NixOps on OS X

2013-05-25 Thread Malcolm Matalka
I have created a blog post describing how to go from nothing to a working nixops on OS X. If you are interested, please try the directions out and let me know if they work for you. If anything else needs to be corrected, let me know a well. I'm not sure how to get this information into the

Re: [Nix-dev] HOWTO: Running NixOps on OS X

2013-05-25 Thread Malcolm Matalka
Does that mean the bootstrapping VM is not needed at all? I was under the impression it was (that some building happened prior to starting the VM which needs to happen on a build server). /M Eelco Dolstra eelco.dols...@logicblox.com writes: Hi, On 25/05/13 13:46, Malcolm Matalka wrote: I

Re: [Nix-dev] $out in configureFlags is not expanded

2013-05-21 Thread Malcolm Matalka
Not sure how correct this is, but I grepped my nixpkgs in attempted to quantify this a bit, here are the results: $ grep -R configureFlags . | wc -l 951 $ grep -R configureFlags . | grep -E '\$[^{]' | wc -l 156 Marc Weber marco-owe...@gmx.de writes: 1) I remember having hit this case, too.

[Nix-dev] Double channels accidentally

2013-05-20 Thread Malcolm Matalka
I ran: nix-channel --add http://nixos.org/channels/nixpkgs-unstable nix-channel --add http://nixos.org/releases/nixos/channels/nixos-unstable nix-channel --update Twice by accident, and now if I do: nix-env -qa '*' I see doubles for every package. My list of channels only show 1 instance of

Re: [Nix-dev] nixops - cannot import archive

2013-05-19 Thread Malcolm Matalka
To follow up on this: The solution was to setup signing. So adding a pub/priv keys on remote builder and host machine. Thanks to the awesome people in #nixos for helping me solve this. I'll write something up once I have the rest of the setup figured out for using nixops on OS X. /M Malcolm

[Nix-dev] nixops:vbox:os x

2013-05-19 Thread Malcolm Matalka
On booting up an image I'm getting hte following error. VBox actually brings up the settings window for me to play with stuff but I'm not sure what to do. I attempted to delete Adapter 2 and continue, and nixops determined the IP address of my VM but it got stuck on waiting for SSH. I'm not sure

Re: [Nix-dev] nixops:vbox:os x

2013-05-19 Thread Malcolm Matalka
Whoops, sorry about spamming, this was fixed with the directions found here: http://www.islandora.ca/node/4645 /M Malcolm Matalka mmata...@gmail.com writes: On booting up an image I'm getting hte following error. VBox actually brings up the settings window for me to play with stuff but I'm

[Nix-dev] nixops - cannot import archive

2013-05-17 Thread Malcolm Matalka
Hello! With the help of #nixos, I'm trying to get nixops working on OS X using another NixOS VM as a build server. I've managed to get up to this error: webserver error: imported archive of `/nix/store/g8qw4m0a0srfv478scwakdbfvz4kp3rx-builder.sh' lacks a signature The entire error output is

[Nix-dev] command-not-found can't open db

2013-05-15 Thread Malcolm Matalka
I did a manual upgrade to the latest version of NixOS and Nix a month or so ago, and just realized that command-not-found doesn't work for me. So I ran it manually (command-not-found whois) and I get the following error. I'm not sure if my manual upgrade didn't set it up properly: $

Re: [Nix-dev] command-not-found can't open db

2013-05-15 Thread Malcolm Matalka
I just noticed it's trying to open programs.sqlite in per-user/root, which my user does not have read access to. programs.sqlite does exist in the per-user dir for my user, I don't know if it should be looking there or why it isn't. /M Malcolm Matalka mmata...@gmail.com writes: I did a manual

Re: [Nix-dev] Hydra is out-of-space

2013-05-01 Thread Malcolm Matalka
This seems to happen a lot, any chance some simple program could be installed to warn the maintainers of this so they can get to it in time? Vladimír Čunát vcu...@gmail.com writes: Hi. On 04/24/2013 10:00 AM, Vladimír Čunát wrote: Now there's a more serious issue:

[Nix-dev] nginx systemd - not starting

2013-04-13 Thread Malcolm Matalka
Hello, I'm trying to get Nginx running, but systemd does not want to start it. I can run the commands by hand, and those work, but not through systemd. Here is output: systemctl status nginx.service nginx.service - Nginx Web Server Loaded: loaded

Re: [Nix-dev] nginx systemd - not starting

2013-04-13 Thread Malcolm Matalka
This was solved, it was a configuration issue on my nginx, you have to turn demonizing off. On Apr 13, 2013 4:02 PM, Malcolm Matalka mmata...@gmail.com wrote: Hello, I'm trying to get Nginx running, but systemd does not want to start it. I can run the commands by hand, and those work

Re: [Nix-dev] NixOS on Linode

2013-04-13 Thread Malcolm Matalka
-configuration.nix?at=default Cheers, Shea On 2013-04-08 16:27, Malcolm Matalka wrote: Hello! I'm wondering if anyone has any tips on getting NixOS on Linode? I know there is a wiki page, but it seems outdated. The Linode docs on running a custom linux distro are also incomplete. I was under

Re: [Nix-dev] nginx systemd - not starting

2013-04-13 Thread Malcolm Matalka
! On Sat, Apr 13, 2013 at 7:06 PM, Malcolm Matalka mmata...@gmail.com wrote: This was solved, it was a configuration issue on my nginx, you have to turn demonizing off. On Apr 13, 2013 4:02 PM, Malcolm Matalka mmata...@gmail.com wrote: Hello, I'm trying to get Nginx running, but systemd does

Re: [Nix-dev] nginx systemd - not starting

2013-04-13 Thread Malcolm Matalka
Great, I'll send a pull request tomorrow. Den 13 apr 2013 22:55 skrev Domen Kožar do...@dev.si: Agreed, let's do that. On Sat, Apr 13, 2013 at 9:18 PM, Malcolm Matalka mmata...@gmail.comwrote: What about changing: configFile = pkgs.writeText nginx.conf '' ${cfg.config

Re: [Nix-dev] NixOS on Linode

2013-04-10 Thread Malcolm Matalka
/bf7f86a6bca2a5fd81614cd40777006bd0e4ff5c/nixos/linode-configuration.nix?at=default Cheers, Shea On 2013-04-08 16:27, Malcolm Matalka wrote: Hello! I'm wondering if anyone has any tips on getting NixOS on Linode? I know there is a wiki page, but it seems outdated. The Linode docs on running a custom linux distro

Re: [Nix-dev] NixOS on Linode

2013-04-09 Thread Malcolm Matalka
,nodiratime,errors=remount-ro,barrier=0; } ]; swapDevices = [ { device = /dev/xvdb; }]; ... Good Luck, Kevin Malcolm Matalka writes: Hello! I'm wondering if anyone has any tips on getting NixOS on Linode? I know there is a wiki page, but it seems outdated. The Linode docs

[Nix-dev] NixOS on Linode

2013-04-08 Thread Malcolm Matalka
Hello! I'm wondering if anyone has any tips on getting NixOS on Linode? I know there is a wiki page, but it seems outdated. The Linode docs on running a custom linux distro are also incomplete. I was under the impression I could create a NixOS image on Vbox at home, and then just upload that and

[Nix-dev] ncurses failing with glibc

2013-04-07 Thread Malcolm Matalka
Hello, last night I did: nixos-rebuild switch nix-env -u '*' And now I have the following error when trying to link ncurses programs: /run/current-system/sw/lib/libncursesw.so: undefined reference to `memcpy@GLIBC_2.14' I've tried uninstalling and reinstalling ncurses with no effect. I

Re: [Nix-dev] ncurses failing with glibc

2013-04-07 Thread Malcolm Matalka
I got some help on #nixos, my problem was actually that I didn't upgrade gcc-wrapper. On Apr 7, 2013 1:59 PM, Malcolm Matalka mmata...@gmail.com wrote: Hello, last night I did: nixos-rebuild switch nix-env -u '*' And now I have the following error when trying to link ncurses programs

Re: [Nix-dev] Bad bash in NixOS?

2012-12-06 Thread Malcolm Matalka
How bad is this to do in my own branch? I've only fooled with nixpkgs a bit. /M Peter Simons sim...@cryp.to writes: Hi Malcolm, This appears to be an acknowledged bug in bash with a patch out[1]. Is this coming to NixOS? Is it here right now and I just am not upgrading properly?

Re: [Nix-dev] Bad bash in NixOS?

2012-12-06 Thread Malcolm Matalka
In this case the problem isn't a package but using the interactive shell. Could I get an updated version of that just for interactive use but not for building new packages? Lluís Batlle i Rossell vi...@viric.name writes: On Thu, Dec 06, 2012 at 07:14:55AM -0500, Malcolm Matalka wrote: How

Re: [Nix-dev] Language-specific package managers

2012-11-26 Thread Malcolm Matalka
Thanks for the complete response Marc. For the mean time, the current solution I'm working on is manually converting packages to Nix. The translation is pretty straight forward and I should be able to write a tool to automatically do it. It's not optimal but I have been able to get all of the

[Nix-dev] package aliases

2012-11-25 Thread Malcolm Matalka
I'm creating a series of packages where one of them is just an alias for installing the entire suite, so it doesn't have any build script or src. What is the appropriate way to accomplish this? Thanks, /M ___ nix-dev mailing list

Re: [Nix-dev] fetchgit - why sha256 protection?

2012-11-19 Thread Malcolm Matalka
Could fetchgit handle that on its own though? Also, at least for github, if you want to install a specific tag, which isn't always the case, you can link to the .zip copy of it from the github page. /M Shea Levy s...@shealevy.com writes: Is it terribly difficult to run nix-prefetch-git?

[Nix-dev] Language-specific package managers

2012-11-11 Thread Malcolm Matalka
Hello! I am wondering what the Nix view on language specific package managers is. They seem at odds with the goals of Nix. I see there is a tool for converting cabal packages to Nix packages, is the idea to have little translation apps for all language package manager types? Specifically I am

[Nix-dev] Curl certs

2012-11-11 Thread Malcolm Matalka
I'm trying to create a package that, as part of its make, downloads some stuff through curl. Most work but one in particular is failing due to certificates (see below). This works if I do it on the command line. I tried adding 'cacert' to my buildInputs and parameters, but that didn't seem to

[Nix-dev] upgrading `gcc-wrapper-4.7.2' to `gcc-wrapper-4.6.3'

2012-11-10 Thread Malcolm Matalka
Hello, I just installed NixOS yesterday so I'm quite new, but I did: # nix-channel --update # nix-env -u '*' And I got: upgrading `gcc-wrapper-4.7.2' to `gcc-wrapper-4.6.3' building path(s) `/nix/store/ff6a8q2wlyxhnfhx43b35h10b0gnlr31-user-environment' created 811 symlinks in user environment