[Nix-dev] rm -fr /nix/store/foo ? if foo is a dep its not rebuilt?

Marc Weber marco-oweber at gmx.de
Sat Feb 28 18:34:57 CET 2009


On Sat, Feb 28, 2009 at 06:21:46PM +0100, Lluís Batlle wrote:
> I think nix may notice that the dependency is not 'runtime', but only
> 'build time'. That may not rebuild B, if you want C, and C is already
> done.
> 
> In any case, I think you should use the "nix-store --delete" if you
> want to delete a path of the store.
*g*. While debugging I've modified that path. That's why I've removed it
afterwards.. About runtime: That's why I've made sure the store path of
the deps do occur somewhere in the outpath by

 for i in ${builtins.toString deps}; do
   echo $i > $out/foo
 done

Marc Weber



More information about the nix-dev mailing list