nix-bundle icon indicating copy to clipboard operation
nix-bundle copied to clipboard

Files are placed in /tmp rather than $HOME/.cache

Open danieldk opened this issue 6 years ago • 0 comments

On top of default.nix:

let
  arx' = haskellPackages.arx.overrideAttrs (o: {
    patchPhase = (o.patchPhase or "") + ''
      substituteInPlace model-scripts/tmpx.sh \
        --replace /tmp/ \$HOME/.cache/
    '';
  });

However, this does not work anymore since: https://github.com/solidsnack/arx/commit/537e1bf57188e772d5eedab44c7ef3da7763817c . On the other hand, passing --tmpdir '$HOME/.cache' to arx also does not work, since arx expects a fully qualified path and thus rejects $HOME.

danieldk avatar Sep 19 '19 09:09 danieldk