Re: [Nix-dev] Simplify node packages?

2017-04-23 Thread William Casarin
Benno Fünfstück writes: > * A simple approach to packaging NPM applications would be to split the > package for an NPM application into two: > - fetch: let NPM download all the dependencies. it should(?) be possible > to make this a fixed-output derivation, as long as NPM downloads the same > s

[Nix-dev] Easier GTK theming

2017-04-23 Thread William Casarin
I've been talking to NixOS newcomers and a simple pain point that they are running into is with GTK themes. This makes sense as I have run into the same pain points: To get GTK themes working, I have something like this in my nixos-config: { config, lib, pkgs, ... }: let gtk2rc = pkgs.writeT

Re: [Nix-dev] Rust prebuilt package overlay.

2017-04-18 Thread William Casarin
Nicolas Pierron writes: > On Tue, Mar 7, 2017 at 1:41 PM, Profpatsch wrote: >> On 17-03-04 08:34pm, Nicolas Pierron wrote: >>> The *.toml manifest file is then parsed (yes, in Nix [3]) to extract >>> [3] https://github.com/mozilla/nixpkgs-mozilla/blob/master/lib/parseTOML.nix >> >> what have you

Re: [Nix-dev] Rust prebuilt package overlay.

2017-04-16 Thread William Casarin
Nicolas Pierron writes: > On Fri, Apr 14, 2017 at 4:40 PM, William Casarin wrote: >> >> $ nix-shell -p rustChannels.stable.rust >> >> [...] >> while evaluating ‘tokenizer_rec’ at >> /Users/jb55/etc/nixpkgs-mozilla/lib/parseTOML.nix:6:46, called from

Re: [Nix-dev] What's the "perfect setup" for hacking on Nix?

2017-04-14 Thread William Casarin
Jörg Thalheim writes: > On 2017-04-14 16:03, William Casarin wrote: >> Marc Weber writes: >> >>> nix-instantiate --parse-only for syntax checking (vim-addon-nix on my >>> github page, which also supports kind of follow import path >>> implementatio

Re: [Nix-dev] What's the "perfect setup" for hacking on Nix?

2017-04-14 Thread William Casarin
Marc Weber writes: > nix-instantiate --parse-only for syntax checking (vim-addon-nix on my > github page, which also supports kind of follow import path > implementation) Is there any reason this hasn't been added to syntastic yet? This seems like an obvious addition to flycheck in emacs as wel

[Nix-commits] [NixOS/nixpkgs] f9f5be: muchsync: fix on macOS

2017-03-28 Thread William Casarin
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f9f5bec50766a00e6fe47d7f84b0fae43b308f4b https://github.com/NixOS/nixpkgs/commit/f9f5bec50766a00e6fe47d7f84b0fae43b308f4b Author: William Casarin Date: 2017-03-28 (Tue, 28 Mar 2017) Changed paths

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

2017-03-24 Thread William Casarin
etting up Hydra yet. Cheers, -- William Casarin PGP 0x6D3E2004415AF4A3 https://jb55.com ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] The Church of Suckless NixOS is looking for followers

2017-03-21 Thread William Casarin
Eelco Dolstra writes: > On 03/19/2017 12:10 PM, Jan Malakhovski wrote: >> >> For eeePC try disabling hardening. Seriously. > > Hm, I wasn't aware hardening has a significant performance impact. Do you have > more info on that? I have a feeling in my case the performance issues are due to the fa

Re: [Nix-dev] The Church of Suckless NixOS is looking for followers

2017-03-19 Thread William Casarin
ld love to see how this plays out, if only to have a smaller, lightweight version of NixOS to run on my pi's and eeepc. The extra security stuff sounds cool but is a bit of a specific use case. I would probably just run tails/qubes if I cared about that. Otherwise looks cool! Cheers, -- Will

[Nix-commits] [NixOS/nixpkgs] ffcb27: antimicro: 2.22 -> 2.23

2017-02-20 Thread William Casarin
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: ffcb272e01bd1abc595878e11378ef01a149137e https://github.com/NixOS/nixpkgs/commit/ffcb272e01bd1abc595878e11378ef01a149137e Author: William Casarin Date: 2017-02-20 (Mon, 20 Feb 2017) Changed paths

[Nix-commits] [NixOS/nixpkgs] 49ba17: elm-export: jailbreak

2016-12-28 Thread William Casarin
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 49ba174e7aa7d553214b8ee829753b5bb1a4ba23 https://github.com/NixOS/nixpkgs/commit/49ba174e7aa7d553214b8ee829753b5bb1a4ba23 Author: William Casarin Date: 2016-12-28 (Wed, 28 Dec 2016) Changed paths

[Nix-commits] [NixOS/nixpkgs] dfb354: multi-ghc-travis: git-2015-11-04 -> git-2016-10-23...

2016-11-27 Thread William Casarin
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: dfb354ea7d76bf7bf60e39a07e4a7acdbfd0d3be https://github.com/NixOS/nixpkgs/commit/dfb354ea7d76bf7bf60e39a07e4a7acdbfd0d3be Author: William Casarin Date: 2016-11-28 (Mon, 28 Nov 2016) Changed paths

[Nix-commits] [NixOS/nixpkgs] 7129eb: dolphin-emu: 4.0.2 -> 5.0

2016-07-06 Thread William Casarin
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 7129ebbd5e107be149d4af09f3da90094ec50b14 https://github.com/NixOS/nixpkgs/commit/7129ebbd5e107be149d4af09f3da90094ec50b14 Author: William Casarin Date: 2016-07-06 (Wed, 06 Jul 2016) Changed paths

[Nix-commits] [NixOS/nixpkgs] c81b4c: clib: 1.4.2 -> 1.7.0 (#16656)

2016-07-02 Thread William Casarin
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: c81b4cde5884acf189c3842ed8f3c42b44414845 https://github.com/NixOS/nixpkgs/commit/c81b4cde5884acf189c3842ed8f3c42b44414845 Author: William Casarin Date: 2016-07-02 (Sat, 02 Jul 2016) Changed paths

[Nix-commits] [NixOS/nixpkgs] cac460: wkhtmltopdf: fix openssl bug (#15443)

2016-05-16 Thread William Casarin
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: cac460f6c4c95b7fa678373e6b4088c48f0b2a91 https://github.com/NixOS/nixpkgs/commit/cac460f6c4c95b7fa678373e6b4088c48f0b2a91 Author: William Casarin Date: 2016-05-17 (Tue, 17 May 2016) Changed paths

Re: [Nix-dev] codetriage.com

2016-02-17 Thread William Casarin
On Wed, Feb 17, 2016 at 12:24 AM, Vladimír Čunát wrote: > Interesting. I'm rather doubtful about this approach for this kind of > project, but maybe it will work out well. > > --Vladimir Yeah, I got this issue: https://github.com/NixOS/nixpkgs/issues/11647 How would I go about triaging this? I w

Re: [Nix-dev] Packaging Torch

2016-02-16 Thread William Casarin
On Tue, Feb 16, 2016 at 5:30 AM, Sergey Mironov wrote: > Hi, List. I'd like to use Torch (http://torch.ch/) on NixOS and it > looks like I have to package it first. I was looking into this awhile back. On the lua side, some pre-reqs would make this a lot easier: * luarocks2nix (https://luarock

Re: [Nix-dev] Haskell Infrastructure - Nix-Shell with Hoogle from cabal2nix

2016-02-16 Thread William Casarin
Hey Andreas, On Tue, Feb 16, 2016 at 1:57 AM, Andreas Herrmann wrote: > In any case, the question about a Hoogle database remains. I find it very > useful in situations where I don't have a reliable Internet connection at > hand. (train/plane/etc.) wrt. the hoogle question, there's a bunch of

Re: [Nix-dev] Can't package Unity3d due to setuid nix store restriction

2015-10-18 Thread William Casarin
On Sun, Oct 18, 2015 at 1:17 AM, William Casarin wrote: > Does this mean nixos is unable to package unity3d unless I make > chrome-sandbox an impure dependency somehow? ah I should have kept reading, it looks like I can generate a wrapper for it. Going to try that and repor

[Nix-dev] Can't package Unity3d due to setuid nix store restriction

2015-10-18 Thread William Casarin
So I ran into a problem when packaging unity3d: Chromium Embedded Framework requires that the file '/nix/store/mr3jpab7ss65viqyk4d5wiwlh4jg6qaa-unity-editor-5.1.0f3/opt/Unity/Editor/chrome-sandbox' is owned by root and has permissions 4755. I thought this would be a simple fix but then I read thi

Re: [Nix-dev] [***SPAM***] Use Function Application To Escape Override Hell

2015-10-16 Thread William Casarin
Hey Peter, On Wed, Oct 14, 2015 at 7:46 AM, Peter Simons wrote: > [..] The expression "callPackage f args" translates to > "stdenv.lib.callPackageWith > self f args". "callPackageWith" [2] then uses reflection to determine the > names > of all arguments expected by "f". It finds those names tha

Re: [Nix-dev] The Future of Haskell Packaging in Nix

2015-10-14 Thread William Casarin
Hey Peter, On Wed, Oct 14, 2015 at 7:39 AM, Peter Simons wrote: > Fellow Nixers and Haskellers, > > [..] and we > still don't have convincing answers to questions like: how do I compile my > package with profiling support? I thought we already have fairly straightforward support for this via ove

Re: [Nix-dev] haskell: overriding ghc784 packages?

2015-08-12 Thread William Casarin
Hey Peter, On Tue, Aug 11, 2015 at 11:51 PM, Peter Simons wrote: > Hi William, > > your question should be answered in this section of the guide: > > > http://hydra.nixos.org/job/nixpkgs/trunk/manual/latest/download-by-type/doc/manual#how-to-override-package-versions-in-a-compiler-specific-pac

[Nix-dev] haskell: overriding ghc784 packages?

2015-08-11 Thread William Casarin
Hey Peter, In the Haskell infrastructure guide[1], it describes how to override haskellPackages to add additional packages to the package set: { packageOverrides = super: let self = super.pkgs; in { haskellPackages = super.haskellPackages.override { overrides = s

Re: [Nix-dev] A Journey into our brand-new Haskell infrastructure: Part III

2015-06-22 Thread William Casarin
Hey Peter, On Mon, Apr 27, 2015 at 4:40 AM, Peter Simons wrote: > Hi folks, > > just a quick update for your information: we now have fully automatic updates > of "hackages-packages.nix" [...] > > Best regards, > Peter I feel this needs to be said: THANK YOU for making Haskell development a thin

Re: [Nix-dev] Suspending nixos-rebuild

2015-03-27 Thread William Casarin
> What is the proper way to suspend a nixos-rebuild? I've done this in the past: `pkill -STOP -u nixbuild1` to stop and `pkill -CONT -u nixbuild1,` to resume the builders. Not sure if there's an easier way though. ___ nix-dev mailing list nix-dev@lists.s