Hello Yoann, YOANN P <yoann_mac_don...@hotmail.com> skribis:
> --- a/nix/libstore/build.cc > +++ b/nix/libstore/build.cc > @@ -1849,6 +1849,11 @@ void DerivationGoal::startBuilder() > createDirs(chrootTmpDir); > chmod_(chrootTmpDir, 01777); > > + /* Create a writable /var/tmp in the chroot. */ > + Path chrootVarTmpDir = chrootRootDir + "/var/tmp"; > + createDirs(chrootVarTmpDir); > + chmod_(chrootVarTmpDir, 01777); We won’t apply this patch because in general there’s no reason for build processes to require /var/tmp (we’ve never encountered that.) That said, are you sure you want to use --with-store-dir=/var/tmp/xxxxx/gnu/store? You probably got a ‘configure’ warning already that certain things may not work, for instance that the shebang max length may be exceeded. Also using a store other than /gnu/store means you won’t be able to use substitutes, nor to compare build results with other machines. Thanks, Ludo’.