[Nix-dev] GCC in pkgs.buildEnv.paths
Pavel Chuprikov
pschuprikov at gmail.com
Sat May 24 22:38:10 CEST 2014
On my system paths are the same too.
installing `test-nixpkgs-config'
these derivations will be built:
/nix/store/3ch2gz5vrmzc6v3bipwywk8nhrw7406a-test-nixpkgs-config.drv
building path(s)
`/nix/store/dyfhp102an5xk0fs7c444p6n0bvksmi6-test-nixpkgs-config'
building /nix/store/dyfhp102an5xk0fs7c444p6n0bvksmi6-test-nixpkgs-config
system nixpkgs path is:
/nix/store/phlvvgf7prbx26xqfsjprdzza4xpnv1q-nixos-14.04.221.fab8b03/nixos/nixpkgs
override nixpkgs path is:
/nix/store/phlvvgf7prbx26xqfsjprdzza4xpnv1q-nixos-14.04.221.fab8b03/nixos/nixpkgs
builder for
`/nix/store/3ch2gz5vrmzc6v3bipwywk8nhrw7406a-test-nixpkgs-config.drv'
failed to produce output path
`/nix/store/dyfhp102an5xk0fs7c444p6n0bvksmi6-test-nixpkgs-config'
error: build of
`/nix/store/3ch2gz5vrmzc6v3bipwywk8nhrw7406a-test-nixpkgs-config.drv' failed
Regards,
Pavel.
On Sun, May 25, 2014 at 12:18 AM, Peter Simons <simons at cryp.to> wrote:
> Hi Pavel,
>
> please copy the following file to ~/.nixpkgs/config.nix
>
> { pkgs }:
>
> {
> packageOverrides = pkgs_:
> {
> test = pkgs.runCommand "test-nixpkgs-config" {} ''
> echo "system nixpkgs path is: ${builtins.toString pkgs.path}"
> echo "override nixpkgs path is: ${builtins.toString pkgs_.path}"
> '';
> };
> }
>
> and run:
>
> $ nix-env -p /tmp/test -iA test
>
> On my system, both package sets refer to the same path, i.e. the output
> is:
>
> system nixpkgs path is: /home/simons/.nix-defexpr
> override nixpkgs path is: /home/simons/.nix-defexpr
>
> What does it say on your system?
>
> Best regards,
> Peter
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140525/6e2513dd/attachment.html
More information about the nix-dev
mailing list