[Nix-dev] fetchgit

Teo Klestrup teozkr at gmail.com
Thu Mar 9 11:57:50 CET 2017


Is bcupkgs a fork of Nixpkgs? If so then you probably want to override
Nixpkgs in your NIX_PATH by setting NIX_PATH=nixpkgs=~/local/bcupkgs.

On 9 Mar 2017 11:53 AM, "Sébastien Petitdemange" <
sebastien.petitdemange at esrf.fr> wrote:

Hi,

I've modify fetchgit module to add an optional argument to filter
submodule. And I would like to use this optional argument to build my
local package. Unfortunately, nix-build still get fetchgit from the main
channel instead of ~/local/bcupckgs:

 -> nix-build  --show-trace ~/local/bcupkgs --cores 8 -A lima-core

error: while evaluating the attribute ‘src’ of the derivation
‘lima-core-1.7’ at
/users/blissadm/local/bcupkgs/pkgs/development/libraries/
lima-core/default.nix:10:3:
anonymous function at
/nix/store/apyslcfxrq2s4hsbbidk04jgjlw5vl6n-nixpkgs-17.09pre102884.
b94e253/nixpkgs/pkgs/build-support/fetchgit/default.nix:14:1
called with unexpected argument ‘submodulesList’, at
/users/blissadm/local/bcupkgs/pkgs/development/libraries/
lima-core/default.nix:12:9

it didn't get the "good one" which is in
~/local/bcupkgs/pkgs/build-support/fetchgit.

I've tried to install nix-prefetch-git locally but it doesn't change
anything.
What is the good way to archive this?

Regards,

SEB

_______________________________________________
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/20170309/23c5f3cd/attachment-0001.html>


More information about the nix-dev mailing list