Prototype of recording installed files
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 domoveFile
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
Activity
added 1 commit
- e28f52b2 - [WIP] Prototype of recording installed files
added 1 commit
- 4ad9cd22 - [WIP] Prototype of recording installed files
added 1 commit
- 48aee1e7 - [WIP] Prototype of recording installed files
added 2 commits
added 2 commits
added 1 commit
- c9790e58 - Use strongly types `GHCupPath` and restrict destructive operations
Please register or sign in to reply