[Nix-commits] [NixOS/nixpkgs] b96283: gi-webkit2: fix gi-javascriptcore dependency

2017-05-10 Thread Ryan Trinkle
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: b9628313300b7c9e4cc88b91b7c98dfe3cfd9fc4 https://github.com/NixOS/nixpkgs/commit/b9628313300b7c9e4cc88b91b7c98dfe3cfd9fc4 Author: Ryan Trinkle <ryan.trin...@gmail.com> Date: 2017-05-10 (Wed,

Re: [Nix-dev] [Help] Accidentally removed configuration.nix

2017-04-10 Thread Ryan Trinkle
Yep, I'm adopting that, too! On Mon, Apr 10, 2017 at 4:04 PM, Layus wrote: > On 10/04/17 19:41, Vince wrote: > > Benjamin Herr schreef op 10 april 2017 > 19:17:44 CEST: >> >> I've been putting >> >> environment.etc = { >>

Re: [Nix-dev] [Help] Accidentally removed configuration.nix

2017-04-09 Thread Ryan Trinkle
Jeaye, I totally agree! One really interesting approach to this that I've seen is the 'pass' password manager, which can automatically handle the use of git for passwords. I wonder if it would be feasible to do this for nixos as well, so that beginners (who might not be familiar with git) would

Re: [Nix-dev] [Help] Accidentally removed configuration.nix

2017-04-06 Thread Ryan Trinkle
Layus, That does sound fantastic! Do you think that PR has a reasonable chance of landing in the near future? Ryan On Thu, Apr 6, 2017 at 12:12 PM, Guillaume Maudoux (Layus) < layus...@gmail.com> wrote: > Hi, > > system.copySystemConfiguration is far from perfect. As soon as you > modularize

Re: [Nix-dev] [Help] Accidentally removed configuration.nix

2017-04-06 Thread Ryan Trinkle
Hi Vince, I do happen to know why it's set to false by default! I sent a PR to change it to true a while back, and got some good explanations for why that's a bad idea here: https://github.com/NixOS/nixpkgs/pull/16922 However, I'm now wondering if it might make sense to add

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

2017-03-25 Thread Ryan Trinkle
We (Obsidian Systems) use nix-copy-closure to push the binaries to each deploy target, update the system profile reference, and then call the activation script. So, our target servers never need to evaluate nix code during a deployment. My understanding is that nixops does things in a similar

Re: [Nix-dev] nixpkgs > 100k commits

2017-02-04 Thread Ryan Trinkle
Well, there appears to be at least some interest in making it available for mac/linux (see sanoursa's comment at https://github.com/Microsoft/GVFS/issues/4). On Sat, Feb 4, 2017 at 9:40 AM, Matthias Beyer wrote: > On 05-02-2017 01:23:31, Roger Qiu wrote: > > Awesome!

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

2017-01-26 Thread Ryan Trinkle
I provide i686 binaries for users of reflex-platform, a nix-based environment for developing GUI applications in Haskell. I have only a few confirmed users of i686, but since their machines are correspondingly older and less powerful than most of my other users', the benefit of nix's binary

Re: [Nix-dev] Plan for GHC 8.0.2

2017-01-02 Thread Ryan Trinkle
to hydra: > > https://github.com/NixOS/hydra/commit/8bb36e79bd9e1752c01499971cc511 > 872c706956 > > Maybe you can use that. You can also test whole jobsets at once: > > https://github.com/NixOS/hydra/commit/f6081668dc5e9974f7e6fae7e74ea2 > 7dc1a5b3e7 > > On 2 January

Re: [Nix-dev] Plan for GHC 8.0.2

2017-01-02 Thread Ryan Trinkle
By the way, I've done some testing - built a reasonably large slew of things - but I haven't extensively tested the reproducibility itself. If anyone has suggestions on how to approach that, I'll be happy to do some of that. On Mon, Jan 2, 2017 at 3:16 PM, Ryan Trinkle <ryan.trin...@gmail.

Re: [Nix-dev] Plan for GHC 8.0.2

2017-01-02 Thread Ryan Trinkle
Hi guys, I submitted a pull request here to enable parallel builds for ghc > 8.0.1. Let me know what you think! I've definitely been looking forward to this for a long time. Best, Ryan On Mon, Jan 2, 2017 at 9:48 AM, Bas van Dijk

Re: [Nix-dev] List of companies using NixOS

2016-11-20 Thread Ryan Trinkle
My company, Obsidian Systems (https://obsidian.systems/), does consulting in Haskell and Nix/NixOS. On Sun, Nov 20, 2016 at 1:55 PM, zimbatm wrote: > Hi all, > > I am collecting a list of companies that are using NixOS. The idea is to > encourage adoption by validation. > >

Re: [Nix-dev] Building ghcjs-dom

2016-11-01 Thread Ryan Trinkle
Hi Rodney, You could take a look at https://github.com/reflex-frp/reflex-platform/blob/develop/default.nix . I didn't realize upstream wasn't building, but I always keep reflex-platform building (and with binary caches available, see

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

2016-09-07 Thread Ryan Trinkle
I'm not getting the -dev > versions. > > Tom > >> - >> >> Message: 1 >> Date: Tue, 6 Sep 2016 16:50:58 -0400 >> From: Ryan Trinkle <ryan.trin...@gmail.com> >> To: Thomas Bereknyei <to

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

2016-09-06 Thread Ryan Trinkle
Can you provide the command line you're using to get into the nix shell? My understanding was that this kind of thing should be handled automatically, but apparently that's not always the case. On Tue, Sep 6, 2016 at 8:23 AM, Thomas Bereknyei wrote: > I often have a problem

[Nix-commits] [NixOS/nixpkgs] bf6fda: ghcjs: work around haskell/cabal#3494

2016-07-27 Thread Ryan Trinkle
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: bf6fdae0f26546d96d08a51f623f910c2a0efa18 https://github.com/NixOS/nixpkgs/commit/bf6fdae0f26546d96d08a51f623f910c2a0efa18 Author: Ryan Trinkle <ryan.trin...@gmail.com> Date: 2016-07-27 (Wed, 27 Ju

[Nix-commits] [NixOS/nixpkgs] c56499: ghcjs: refactor stage2 handling

2016-07-27 Thread Ryan Trinkle
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: c564997ba0372147a2b0f376073fdfdd37306152 https://github.com/NixOS/nixpkgs/commit/c564997ba0372147a2b0f376073fdfdd37306152 Author: Ryan Trinkle <ryan.trin...@gmail.com> Date: 2016-07-26 (Tue, 26 Ju

[Nix-commits] [NixOS/nixpkgs] 2bae6b: ghc8 | config: ghcjs-prim: init at 0.1.0.0

2016-05-10 Thread Ryan Trinkle
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 2bae6b673782edb18bc322213d7fc0a43c14c9b1 https://github.com/NixOS/nixpkgs/commit/2bae6b673782edb18bc322213d7fc0a43c14c9b1 Author: Ryan Trinkle <ryan.trin...@gmail.com> Date: 2016-05-10 (Tue, 10 Ma

Re: [Nix-dev] NixON initiative

2016-03-19 Thread Ryan Trinkle
Hi everyone, These are great changes, but I would like to note that having a stable machine-readable output format for nix-prefetch-git would be very helpful. I frequently use that command in scripts, and the recent changes have caused some breakage. Of course, Nix makes that breakage pretty

Re: [Nix-dev] Feature request: replace the Darwin stdenv with the pure Darwin stdenv

2015-09-30 Thread Ryan Trinkle
This looks fantastic. The pure-darwin work has been critical to getting my originally-linux-based toolchain working properly on mac, and I'm glad to see it continuing to move forward like this. Thanks very much to pikajude, copumpkin, and all the others who have contributed to this work. Ryan

Re: [Nix-dev] i686 Builds?

2015-05-11 Thread Ryan Trinkle
I encountered an i686 user just the other day! I don't use it personally, but having solid support in Nix was fantastic, especially because older, 32-bit machines tend to be slower, which makes Nix's binary caching functionality even more important. On Mon, May 11, 2015 at 6:36 PM, Shea Levy

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

2015-04-27 Thread Ryan Trinkle
It's possible to run postgres with just a unix domain socket for communication, and no network access. Then, you can point your tests at that self-contained postgres environment. Would that work for your situation? On Mon, Apr 27, 2015 at 8:52 PM, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote:

Re: [Nix-dev] Gratuitous generations

2015-03-31 Thread Ryan Trinkle
Ah, I didn't know about that option! That sounds good; where does it copy it to, though? It isn't clear to me from the docs. On Tue, Mar 31, 2015 at 8:02 AM, phree...@yandex.ru wrote: On Monday, March 30, 2015 16:16:36 Ryan Trinkle wrote: Ah, great point! This line worked perfectly for me

Re: [Nix-dev] Gratuitous generations

2015-03-30 Thread Ryan Trinkle
On a somewhat related note, is there any way to see the exact configuration.nix for a particular generation? It would be great to be able to diff generations against each other (e.g.: to figure out whether a channel update caused a problem or whether it was my own change). Ryan On Mon, Mar 30,

Re: [Nix-dev] Gratuitous generations

2015-03-30 Thread Ryan Trinkle
Ah, great point! This line worked perfectly for me: environment.etc.nixos/current/configuration.nix.text = builtins.readFile ./configuration.nix; On Mon, Mar 30, 2015 at 4:10 PM, Michael Raskin 7c6f4...@mail.ru wrote: On Mon, Mar 30, 2015 at 9:47 PM, Ryan Trinkle ryan.trin...@gmail.com

Re: [Nix-dev] Gratuitous generations

2015-03-30 Thread Ryan Trinkle
That sounds awesome; thanks! On Mon, Mar 30, 2015 at 3:51 PM, Nicolas Pierron nicolas.b.pier...@gmail.com wrote: Hi Ryan, On Mon, Mar 30, 2015 at 9:47 PM, Ryan Trinkle ryan.trin...@gmail.com wrote: On a somewhat related note, is there any way to see the exact configuration.nix

Re: [Nix-dev] State database in nixops

2015-02-21 Thread Ryan Trinkle
At skedge.me, we've recently switched over to nixops for all deployments, so we've run into this issue as well. We're moving towards the shared machine approach, but it's not completely satisfying, because it creates a single point of failure. What I'd like much better is an option to use an

Re: [Nix-dev] Haskell Platform, anyone?

2014-11-07 Thread Ryan Trinkle
I never use the Haskell Platform with nix, because nixpkgs.haskellPackages is already a curated package set that always seems to work together. Perhaps people transitioning projects to nix from other platforms would get some benefit out of having access to the Platform as such, but in my context

Re: [Nix-dev] XMonad and Taffybar on nixos

2014-10-28 Thread Ryan Trinkle
The easiest way I've found to do (possibly complex) dependencies for xmonad is to add a default.nix to my ~/.xmonad directory and then add this keybinding to xmonad: ((mod4Mask, xK_q), spawn cd ~/.xmonad ; nix-shell --pure --command 'ghc --make xmonad.hs -i -ilib -fforce-recomp -v0 -o

Re: [Nix-dev] Integration of Haste packages

2014-09-25 Thread Ryan Trinkle
Hi Thomas, I recently got ghcjs integrated, so it may be helpful to take a look at my patches. They're available at https://github.com/ryantrinkle/nixpkgs and are making their way upstream thanks to the efforts of Charles Strahan ( https://github.com/cstrahan). Ryan On Thu, Sep 25, 2014 at