[Nix-dev] fetchgit

Sébastien Petitdemange sebastien.petitdemange at esrf.fr
Thu Mar 9 11:52:50 CET 2017


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sebastien_petitdemange.vcf
Type: text/x-vcard
Size: 210 bytes
Desc: not available
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170309/338bb437/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170309/338bb437/attachment.sig>


More information about the nix-dev mailing list