Skip to content

Prototype of recording installed files

Julian Ospald requested to merge issue-364 into master

This also installs makefile based build system via DESTDIR into a temporary directory and then merges it into the filesystem.

Fixes #364 (closed)

TODO:

  • use typesafe wrappers for recursive deletion, such as mkStaticSubdir :: FilePath -> Path "ghcup"
  • test behavior on deletion failure (should we remove the DB file?)
  • fix darwin aarch64
  • update ghcup-metadata to new bindists
  • consider moving TMPDIR to ~/.ghcup/tmp or so and do moveFile during file-merge (is that guaranteed to work with XDG spec?)
  • make sure to not change mtime when merging files (otherwise ghc-pkg recache will have to be re-run)
  • make sure windows symlinks behave correctly
  • test windows failure modes
Edited by Julian Ospald

Merge request reports