Hi, itd <i...@firemail.cc> writes:
> Hi, > > Kai Harries: >> The depender will break if the dependency is not at the path where it >> used to be at build-time (by default /nix/store/...). All software >> deployed by nix contains the full path to its dependencies. And all >> dependencies are available inside the nix-store. The idea is to rely on >> nothing that is outside the nix-store. > > would `mount --bind /var/nix /nix` help? In other words, Debian package > nix uses /var/nix. Additionally, the package ships a Debian.README which > states that users need to either bind mount /var/nix to /nix or to > disable binary downloads. Yes, bind mounts should work. I had started a discussion on d-devel [1] on the topic of the non-standard-toplevel-dir, and from there I got the impression that a lintian override is the way to go. >From the user experience view I would prefer not to resort to a bind-mount, but I guess your proposal should work and is the next best thing I can imagine. Regards Kai [1] https://lists.debian.org/debian-devel/2019/01/msg00010.html