thanks, now it works. Am I right, if I have Qt-4.8.6 (build dependency of qscintilla) already installed, than I don't need to recompile it when --option binary-caches "" is used for qscintilla?
2014-12-01 11:34 GMT+01:00 Domen Kožar <[email protected]>: > $ rm result > $ nix-store --delete /nix/store/kycs9akg1h70wjm0p4cg9cc384ccrf > y7-qscintilla-2.8.3 > $ nix-build '<nixpkgs>' -K -A qscintilla --option build-use-substitutes > false > > On Mon, Dec 1, 2014 at 11:32 AM, Daniel Hlynskyi <[email protected]> > wrote: > >> Thanks guys, but that doesn't help >> >> [danbst@master:/tmp/scibuild]$ nix-build '<nixpkgs>' -K -A qscintilla >> --option build-use-substitutes false >> /nix/store/kycs9akg1h70wjm0p4cg9cc384ccrfy7-qscintilla-2.8.3 >> >> [danbst@master:/tmp/scibuild]$ nix-build '<nixpkgs>' -K -A qscintilla >> --option binary-caches "" >> /nix/store/kycs9akg1h70wjm0p4cg9cc384ccrfy7-qscintilla-2.8.3 >> >> [danbst@master:/tmp/scibuild]$ >> >> I have 'gc-keep-outputs = true' option enabled. Can this be a problem? >> >> 2014-12-01 11:29 GMT+01:00 Rob Vermaas <[email protected]>: >> >>> Or use (taken from 'man nix.conf'): >>> >>> build-use-substitutes >>> If set to true (default), Nix will use binary substitutes if >>> available. This option can be disabled to force >>> building from source. >>> >>> E.g. nix-build --option build-use-substitutes false >>> >>> Cheers, >>> Rob >>> >>> >>> On Mon, Dec 1, 2014 at 11:21 AM, Domen Kožar <[email protected]> wrote: >>> >>>> nix-build --option binary-caches "" >>>> >>>> On Mon, Dec 1, 2014 at 11:08 AM, Daniel Hlynskyi < >>>> [email protected]> wrote: >>>> >>>>> hi, I'm trying to use -K option for nix-build, but it doesn't generate >>>>> unpacked directory in /tmp, it simply finds it somewhere in cache (or >>>>> binary cache.nixos.org or hydra.nixos.org). How to force it to build >>>>> without using cache and generated /tmp/nix-build-* directory? >>>>> >>>>> [danbst@master:/tmp/scibuild]$ nix-build '<nixpkgs>' -K -A qscintilla >>>>> /nix/store/kycs9akg1h70wjm0p4cg9cc384ccrfy7-qscintilla-2.8.3 >>>>> [danbst@master:/tmp/scibuild]$ >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>>> >>> >>> >>> -- >>> Rob Vermaas >>> >>> [email] [email protected] >>> >> >> >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
