[Nix-commits] [NixOS/nixpkgs] aa3f37: pythonPackages.intelhex init at 2.1

2017-06-23 Thread Peter Jones
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: aa3f37ceed582c8cb6e871db528b7216d17b474f https://github.com/NixOS/nixpkgs/commit/aa3f37ceed582c8cb6e871db528b7216d17b474f Author: Peter Jones Date: 2017-06-23 (Fri, 23 Jun 2017) Changed paths: A

Re: [Nix-dev] glibc issues from a proprietary binary distributed as an RPM

2017-05-25 Thread Peter Jones
Bjørn Forsman writes: > On 25 May 2017 at 20:19, Peter Jones wrote: >> I find myself in the (sickening) position of needing to use a >> closed-source tool on NixOS. I have an overlay package that almost >> works. After using patchelf, most of the binaries seem to work.

[Nix-dev] glibc issues from a proprietary binary distributed as an RPM

2017-05-25 Thread Peter Jones
system requirements so I can't tell which glibc I should be using. Also, strace wasn't much help here either. I would love some help figuring this out. The derivation that I'm working on can be found here: https://github.com/pjones/nixpkgs-jlink -- Peter Jones, Found

Re: [Nix-dev] Question regarding my attempt to set up a ruby environment.

2017-05-02 Thread Peter Jones
/master/envs/rfa/cltc-phoenix.nix The way I use this is by running `nix-shell`, giving it the above file, while in the directory of the application. It drops me into a shell that has everything I need to work on a Ruby/Rails application. -- Peter Jones, Founder, Devalot.com Defen

[Nix-commits] [NixOS/nixpkgs] 376bda: logcheck: 1.3.17 -> 1.3.18

2017-04-17 Thread Peter Jones
sha (cherry picked from commit d857b2d2fa2fb35969e3be087d776dfb3287ec55) Note also the change to a stable url. Commit: 67c6638b089a5766435e07057ff73b35c82440cc https://github.com/NixOS/nixpkgs/commit/67c6638b089a5766435e07057ff73b35c82440cc Author: Peter Jones Date: 2017-04-17 (Mon,

Re: [Nix-dev] Managing /home during system activation

2017-04-17 Thread Peter Jones
e directory for pjones to be /var/lib/home/pjones where the overlay is. If you have any other suggestions I'd love to hear them. > > On 15/04/17 19:36, Peter Jones wrote: >> I'd like to manage files in my home directory during system activation. >> Sort of like nix-home[

[Nix-dev] Managing /home during system activation

2017-04-15 Thread Peter Jones
arch through /home looking for links to an old generation to deactivate it, and rolling back just mounts a previous generation on top of /home. So, how bad is this idea? Thanks! [1]: https://github.com/sheenobu/nix-home -- Peter Jones, Founder, Devalot.com Defending the

[Nix-commits] [NixOS/nixpkgs] f231b2: slic3r: Add LWP for "Send to printer"

2016-07-18 Thread Peter Jones
Branch: refs/heads/release-16.03 Home: https://github.com/NixOS/nixpkgs Commit: f231b2b3f79020025eaabe4e8fae53e81651914c https://github.com/NixOS/nixpkgs/commit/f231b2b3f79020025eaabe4e8fae53e81651914c Author: Peter Jones Date: 2016-07-18 (Mon, 18 Jul 2016) Changed paths

[Nix-commits] [NixOS/nixpkgs] f303a0: slic3r: Add LWP for "Send to printer"

2016-07-18 Thread Peter Jones
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f303a072c02d5659abc8b03e69f98f789745b4ab https://github.com/NixOS/nixpkgs/commit/f303a072c02d5659abc8b03e69f98f789745b4ab Author: Peter Jones Date: 2016-07-18 (Mon, 18 Jul 2016) Changed paths: M

Re: [Nix-dev] loopback.cfg grub ISO boot

2015-12-16 Thread Peter Jones
/gpg-iso/nixos/modules/installer/cd-dvd/gpg-iso.nix Some additional notes can be found here: https://github.com/pjones/encryption-utils/blob/master/doc/offline-usb-drive.md -- Peter Jones, Founder, Devalot.com Defending the honor of good code

Re: [Nix-dev] Change owner and permissions of a file in nix-store

2015-12-16 Thread Peter Jones
gt; 2. Create some activation script that untars the archive preserving the > permissions under some path. Wouldn't the tar be world-readable in the nix store? -- Peter Jones, Founder, Devalot.com Defending the honor of good code ___ ni

Re: [Nix-dev] nix-shell for a custom haskell library

2015-06-01 Thread Peter Jones
nix-hs-build --compiler ghc784 > How to get Network.EngineIO available inside a nix-shell in this case? Using my setup above, the library would be installed in ./dist -- Peter Jones, Founder, Devalot.com Defending the honor of good code -- Peter Jones, Founder, Devalot.com Defending the h

Re: [Nix-dev] Getting cabal2nix to add a cabal flag

2015-05-28 Thread Peter Jones
> -f FLAG --flag=FLAG Cabal flag (may be specified multiple times) > Well, I feel like a fool. Thanks! -- Peter Jones, Founder, Devalot.com Defending the honor of good code ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Haskell packages that use curses don't build

2015-05-28 Thread Peter Jones
> be fixed upstream. Anyway, once I merge [1] into master, the ncurses > library will build fine. > > [1] https://github.com/peti/nixpkgs/tree/haskell-updates Thanks! I might be bugging the authors of the other packages. -- Peter Jones, Founder, Devalot.com Defending the honor of good

[Nix-dev] Getting cabal2nix to add a cabal flag

2015-05-28 Thread Peter Jones
t turns on `-Werror`. I'd like to use cabal2nix together with nix-build in a way that my package is configured with `-fmaintainer`. Is there a way to do this? Thanks! -- Peter Jones, Founder, Devalot.com Defending the honor of good code ___ nix-dev m

Re: [Nix-dev] Haskell packages that use curses don't build

2015-05-28 Thread Peter Jones
Peter Simons writes: > Peter Jones writes: > > > It doesn't look like any of the Haskell bindings to curses currently > > build. They all give an error something like this: > > > > Setup: Missing dependency on a foreign library: > > * Missi

[Nix-dev] Haskell packages that use curses don't build

2015-05-27 Thread Peter Jones
cabal so it can find curses/ncurses/whatever. How do we fix this? -- Peter Jones, Founder, Devalot.com Defending the honor of good code ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Haskell-env (via nix-shell) - am I doing this right?

2015-05-22 Thread Peter Jones
th pkgs; [ aeson lens monad-par ]); > in > stdenv.mkDerivation { > name = "my-haskell-env-0"; > buildInputs = [ ghc ]; > shellHook = "eval $(grep export ${ghc}/bin/ghc)"; > } > > Now run "nix-shell --argstr compiler ghc784

Re: [Nix-dev] Haskell-env (via nix-shell) - am I doing this right?

2015-05-22 Thread Peter Jones
"Ricardo M. Correia" writes: > On Fri, May 22, 2015 at 8:16 PM, Peter Jones wrote: > >> To start out, I'm using HaskellNG and a recent version of nixpkgs where >> HaskellNG is the default. Here are the components I use with some >> examples: >> &g

Re: [Nix-dev] Haskell-env (via nix-shell) - am I doing this right?

2015-05-22 Thread Peter Jones
: eval $buildPhase Again, any suggestions on how to improve this workflow are appreciated. -- Peter Jones, Founder, Devalot.com Defending the honor of good code ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] pulseaudio not reading /etc/pulse/default.pa [Was: pulseaudio broken in 14.12: Daemon already running]

2015-01-27 Thread Peter Jones
g the following line at the top of ~/.config/pulse/default.pa: .include /etc/pulse/default.pa Sorry for all the noise. -- Peter Jones, Founder, Devalot.com Defending the honor of good code ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://li

[Nix-dev] pulseaudio not reading /etc/pulse/default.pa [Was: pulseaudio broken in 14.12: Daemon already running]

2015-01-26 Thread Peter Jones
Peter Jones writes: > Pulseaudio stopped working for me after upgrading to 14.12. It seems > that all PA clients start their own server, which eventually fails > because the pulseaudio daemon is already running. I believe I've tracked down the root problem. It appears that

Re: [Nix-dev] Pulseaudio broken in 14.12: Daemon already running

2015-01-26 Thread Peter Jones
me pulseaudio issues under both. `loginctl' reports that I have a seat and that my session's terminal is 7. X is also running on VT 7, but it's running as *root*! Could X running as root be the problem here? $ nixos-version 14.12.343.47c741f (Caterpillar) $ X -version X.Org X Ser

Re: [Nix-dev] Pulseaudio broken in 14.12: Daemon already running

2015-01-25 Thread Peter Jones
Peter Jones writes: > Peter Jones writes: >> Pulseaudio stopped working for me after upgrading to 14.12. It seems >> that all PA clients start their own server, which eventually fails >> because the pulseaudio daemon is already running. > > I just noticed that puls

Re: [Nix-dev] Pulseaudio broken in 14.12: Daemon already running

2015-01-24 Thread Peter Jones
Peter Jones writes: > Pulseaudio stopped working for me after upgrading to 14.12. It seems > that all PA clients start their own server, which eventually fails > because the pulseaudio daemon is already running. I just noticed that pulseaudio doesn't see my sound cards: $ pa

Re: [Nix-dev] Pulseaudio broken in 14.12: Daemon already running

2015-01-24 Thread Peter Jones
r one is running. Clients can't seem to detect the running pulseaudio thus they start a new daemon which immediately dies after seeing an existing PID file. How do clients check for a running pulseaudio daemon? I'm wondering if that process is broken. -- Peter Jon

[Nix-dev] Pulseaudio broken in 14.12: Daemon already running

2015-01-23 Thread Peter Jones
nection refused". I've turned off autospawning, and that doesn't change anything. Disabling pulseaudio and rebooting gives me sound again. Any idea why each client is trying to start their own pulseaudio daemon? -- Peter Jones, Founder, Devalot.com De

[Nix-dev] Hard-coded dlload paths in .so [was: Nix expression for closed-source scanner driver]

2014-12-16 Thread Peter Jones
Bjørn Forsman writes: > On 16 December 2014 at 02:09, Peter Jones wrote: >> I'm working on a Nix expression to install a proprietary scanner driver >> that is available as a Debian package. After using `nix-env' to install >> the package I'm still not able to

[Nix-dev] Nix expression for closed-source scanner driver

2014-12-15 Thread Peter Jones
ed as a disk. I did have this working under Debian before switching to NixOS. I also still have a Debian install if I need to test anything or figure out what's going on. Any hint/tips would be appreciated. Thanks. -- Peter Jones, Founder, Devalot.c