On 06/01/2015 04:02 AM, Arseniy Seroka wrote:
Hello! How can I view attribute as a string?
`toString` is not what I need.
I need `getAttrAsString pkgs.firefox - firefox`
See http://nixos.org/nix/manual/#ssec-builtins - there's
builtins.attrNames, for example, so
builtins.attrNames { inherit
On 06/01/2015 04:13 AM, Eric Seidel wrote:
If you're trying to automate things, I bet github provides an API to get
the latest revision or tag. Still an extra network request, but not as
bad as cloning the whole repo.
There's no real need for a separate api call. Just provide a tag/branch
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;
Hi Michael,
Is there an easy way to import that file in my config.nix?
configuration-common.nix is a function like any other; just import it
into your scope.
I figure I'll need something like
fix (extend stackagePackages commonConfiguration)
as in
On 06/01/2015 08:42 AM, Arseniy Seroka wrote:
But how to get revision number from this for future use?
Ah, I'm sorry, I didn't read all properly. I see now what you meant, and
I've got no better solution.
Vladimir
smime.p7s
Description: S/MIME Cryptographic Signature
Hi Peter,
On 31/05/15 11:33, Peter Simons wrote:
I've been trying to make my NixOS re-use another machine's store, but
I've had no success. I've mounted the other machine's file system as
follows:
# mkdir /run/nix/remote-stores/other
# sshfs -o allow_root other:/
I'd like all the nix tools to reference my package repository, which is
called mypkgs and re-exports nixpkgs with some custom ones added. I
base it on the latest nixos-unstable revision so there should be
binaries available.
Currently I set NIX_PATH using `environment.interactiveShellInit`. That
Branch was just created: https://github.com/NixOS/nixpkgs/tree/release-15.06
Please use Pull Requests to merge any changes into the branch that are not
minor bugfixes or security fixes. Tag them with 15.06 milestone.
Domen
On Mon, May 25, 2015 at 10:44 AM, Domen Kožar do...@dev.si wrote:
One
Dmitry Malikov malikov@gmail.com writes:
I'm trying to setup a development environment for a custom haskell library
basing on a tutorial by Oliver Charles
(http://wiki.ocharles.org.uk/Nix).
FWIW I've been playing with Nix and Haskell a lot lately trying to come
up with the perfect
Hello!
The patch below adds a ‘verifyStore’ RPC with the same signature as the
current LocalStore::verifyStore method.
Thanks,
Ludo’.
From aef46c03ca77eb6344f4892672eb6d9d06432041 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= l...@gnu.org
Date: Mon, 1 Jun 2015 23:17:10 +0200
Hi,
On 01/06/15 18:54, Domen Kožar wrote:
Branch was just created: https://github.com/NixOS/nixpkgs/tree/release-15.06
I feel we should hold off for a day or two more to get systemd 220, gcc 4.9 and
Nix 1.9 in, and to revert some recent changes to Nixpkgs that I feel should not
make it into a
Nevermind, that sets NIX_PATH but nix-env still errors out with:
nix-env: src/libexpr/eval.hh:57: void nix::Bindings::push_back(const
nix::Attr): Assertion `size_ capacity' failed.
Aborted
Unless explicitly given the -f option.
Jeff
On Tue, 2 Jun 2015 00:31:35 +0200
Herwig Hochleitner
Thanks, the mkForce was what I was missing!
Jeff
On Tue, 2 Jun 2015 00:31:35 +0200
Herwig Hochleitner hhochleit...@gmail.com wrote:
I set NIX_PATH in environment.sessionVariables (with an mkForce, to
override the builtin one). nix-env and everything else should pick it up,
that way, since
I have a symlink from ~/.nix-defexpr/myhead to the nixpkgs tree I want to use.
James
On 1 June 2015 at 17:35, Jeffrey David Johnson jef...@gmail.com wrote:
Nevermind, that sets NIX_PATH but nix-env still errors out with:
nix-env: src/libexpr/eval.hh:57: void nix::Bindings::push_back(const
14 matches
Mail list logo