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" < [email protected]> 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 [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
