[Nix-dev] Overriding a Haskell package can't be that hard...

2016-06-23 Thread Cody Goodman
your time. Sincerely, Cody Goodman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] override a haskellngPackage in shell.nix

2015-06-01 Thread Cody Goodman
I'm doing something wrong, could anyone help me out? shell.nix: with (import nixpkgs {}).pkgs; # Try to override haskellngPackages.protocol-buffers let packageOverrides = pkgs: rec { myHaskellPackages = let callPackage = pkgs.lib.callPackageWith myHaskellPackages;

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-25 Thread Cody Goodman
Using cabbage you only need to do 'cabbage; nix shell'. iirc, the sandboxes were transparent. On Feb 24, 2015 11:57 PM, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: On 02/25/2015 03:01 AM, Anthony Cowley wrote: This almost certainly isn't ready for release, but I'd like to avoid

[Nix-dev] android-studio: Unable to run mksdcard SDK tool

2015-02-22 Thread Cody Goodman
[cody@cody-nixos:~]$ nix-env -iA nixos.pkgs.idea.android-studio replacing old ‘android-studio-1.1.0b2’ installing ‘android-studio-1.1.0b2’ building path(s) ‘/nix/store/2dbhhwl1qswy2b7ii0cybi1vrfqq1h23-user-environment’ created 1266 symlinks in user environment [cody@cody-nixos:~]$ nix-env -iA

[Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-21 Thread Cody Goodman
I'm using haskellngPackages now on nixos unstable and it doesn't seem to have all versions of all dependencies... I thought that was part of the problem it was solving? Maybe that makes me sound greedy, but would it be possible and/or plausible to do this? If not what are the issues being faced?

[Nix-dev] nix-env -i can't find package override I defined

2015-02-21 Thread Cody Goodman
I have the following in my configuration.nix and I'm using NixOS 15.05pre58123.9775f46 and tracking the unstable channel: packageOverrides = pkgs: with pkgs; { helloEnv = pkgs.myEnvFun { name = someEnvName; buildInputs = [ hello ]; }; sdlEnv =

[Nix-dev] attempt to call something which is not a function but a set

2015-02-20 Thread Cody Goodman
[cody@cody-nixos:~/sources/Frames]$ nix-shell --pure shell.nix error: attempt to call something which is not a function but a set, at /home/cody/sources/Frames/shell.nix:2:7 [cody@cody-nixos:~/sources/Frames]$ cat /etc/issue Welcome to NixOS 14.12.374.61adf9e (\m) - \l Press Alt-F8 for the

[Nix-dev] Nvidia driver: no screens found

2015-02-19 Thread Cody Goodman
Below is the Xorg log and my relevant configuration where I attempted to add a screen configuration. I'm using an Asus g46vw with an nvidia gtx 660m. The nvidia driver on Ubuntu trusty worked with it out of the box, but I can't seem to get it to work on nix. # Xorg.0.log [41.267] (II) Open

[Nix-dev] Using python27 impurely on nixos

2014-07-18 Thread Cody Goodman
I have a python project for the first time since I started using nixos. I would like to simply use this example: https://nixos.org/wiki/Howto_develop_software_on_nixos#Example_4:_Python_Web_Development_Nixos_Container environment = { systemPackages = with pkgs; [ git

Re: [Nix-dev] Using python27 impurely on nixos

2014-07-18 Thread Cody Goodman
cillian.deroi...@gmail.com wrote: On Fri, Jul 18, 2014 at 8:23 AM, Cody Goodman codygman.consult...@gmail.com wrote: I have a python project for the first time since I started using nixos. I would like to simply use this example: https://nixos.org/wiki/Howto_develop_software_on_nixos

[Nix-dev] Could not find module `Yi' (haskell editor)

2014-07-10 Thread Cody Goodman
I tried installing yi: nix-env -iA nixos.pkgs.haskellPackages.yi Then I made a config file at ~/.config/yi/yi.hs and opened it up. I got an error that: /home/cody/.config/yi/yi.hs:1:8: Could not find module `Yi' Use -v to see a list of the files searched for. So I made a haskell source

Re: [Nix-dev] Could not find module `Yi' (haskell editor)

2014-07-10 Thread Cody Goodman
in config currently. Patrick On Thu, Jul 10, 2014 at 9:36 AM, Cody Goodman codygman.consult...@gmail.com wrote: I tried installing yi: nix-env -iA nixos.pkgs.haskellPackages.yi Then I made a config file at ~/.config/yi/yi.hs and opened it up. I got an error that: /home/cody/.config/yi/yi.hs

Re: [Nix-dev] Compile Haskell program on nixos that works on ubuntu server

2014-07-05 Thread Cody Goodman
(0x7f6f81c53000) On Sat, Jul 5, 2014 at 3:58 AM, Pascal Wittmann pascalwittm...@gmx.net wrote: On 07/05/2014 10:35 AM, Cody Goodman wrote: I'm guessing I could use patchelf to change all of these manually? Is there an easier way to statically link my binaries or am I doomed to having

Re: [Nix-dev] Compile Haskell program on nixos that works on ubuntu server

2014-07-05 Thread Cody Goodman
How would I go about packaging the libs needed to do static linking? [cody@cody-nixos:~/tmp]$ ghc -optl-static static-test.hs Linking static-test ... /nix/store/xjvdpqgn2kd4rg0k30z020kxylvlbpx0-binutils-2.23.1/bin/ld: cannot find -lgmp

[Nix-dev] nixos-rebuild switch fails with grub errro

2014-06-18 Thread Cody Goodman
rxvt_unicode vim emacs git firefox # icedove # utilities xclip #virtualbox ]; users.extraUsers.cody = { createHome = true; home = /home/cody; description = Cody Goodman; extraGroups = [ wheel ]; useDefaultShell = true; }; } hardware