I have a couple of methods for doing this. I just posted them onto my blog:
https://brianmckenna.org/blog/running_binaries_on_nixos
Hopefully one of them is suitable for you. I'd love to learn if there's
ways to improve on these.
On 22 March 2017 at 09:41, Azul wrote:
> is
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 17f566d1e191290683fac0b3e93428db12e5dd13
https://github.com/NixOS/nixpkgs/commit/17f566d1e191290683fac0b3e93428db12e5dd13
Author: Brian McKenna <br...@brianmckenna.org>
Date: 2017-02-17 (Fri, 17 Fe
Yes, it's "docker load" instead of "docker import"
The escaping thing is due to jshon trying to support generating JSON
which can be inserted into a tag. It adds a backslash so that
it never generates the string ""
On 26/09/2016, Michael Fellinger wrote:
> Try using
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: c816d053bcfae77d6d6533bd8c66cf75a8686bda
https://github.com/NixOS/nixpkgs/commit/c816d053bcfae77d6d6533bd8c66cf75a8686bda
Author: Brian McKenna <br...@brianmckenna.org>
Date: 2016-07-25 (Mon, 25 Ju
I think you might want to use:
nix-shell -A env
The `env` attribute creates a derivation that brings in GHC. You can
generate a shell.nix via `cabal2nix --shell` which detects if you're
in a shell and automatically uses the attribute.
On 23 June 2016 at 19:24, Marc Weber
Hi Matthias,
I remember a similar conversation we had a few months ago. If you use
sudo, you can skip the signature checking:
https://www.mail-archive.com/nix-dev@lists.science.uu.nl/msg18560.html
It's not ideal - but does this same method get you unstuck?
On 14 June 2016 at 01:19, Matthias
You need to call pkgs.haskellPackages.callPackage on my-dep, so it
will look something like:
dependencies = with pkgs.haskellPackages; [
aeson (callpackage my-dep { })
];
It's also possible to use the 'override' attribute instead, which
would be useful if you later add a dependency
apt-get is available, so it is possible to use a package manager, but
I'm not sure which parts are read-only.
On 31 March 2016 at 06:01, Mathnerd314 wrote:
> The talk was scheduled before today; I think it's too early for April.
>
>
That should be:
sudo nix-store --import example.closure
On 14 March 2016 at 22:35, Brian McKenna <br...@brianmckenna.org> wrote:
> You can skip signature checking by using root:
>
> sudo nix-copy-closure --import example.closure
>
> I found this on the Nix is
Coincidentally I had started updating my Nix + Idris work just a few days ago:
https://github.com/idris-hackers/idrispkgs
It's much less powerful than yours but has some prepackaged libraries,
for example Lightyear and idris-config.
I'd love to adapt these into idris-modules now. Where should
If you run:
nix-store -q --tree /nix/var/nix/profiles/system
You'll see a tree of dependencies for your current running system.
I think git-annex uses Yesod, if you have that installed.
On 4 November 2015 at 08:09, Matthias Beyer wrote:
> Hi,
>
> I have no haskell
I've had this problem before.
PhantomJS downloads and runs a binary. The binary it downloads doesn't
point to an actual linker on NixOS (hence the no such file error).
You can see this:
$ ls -l $(patchelf --print-interpreter
node_modules/phantomjs/lib/phantom/bin/phantomjs)
ls: cannot
12 matches
Mail list logo