This website requires JavaScript.
Explore
Help
Sign In
picnoir
/
nix-gl-host
Watch
1
Star
0
Fork
You've already forked nix-gl-host
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
891dd0bf95
nix-gl-host
/
.envrc
2 lines
8 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Introduce a cache system Copying & patching all the DSOs is a time consuming process (~10s on a slow hard drive computer). We definitely don't want to go through it for each process start, we need to introduce a cache. For this cache, we go the concervative way. We're going to "resolve" a DSO name (ie. find the DSO absolute path) and sha256-hash each DSO. We're then going to compare the fingerprints to determine whether or not we need to nuke and rebuild the DSO cache. The cache state is persisted through a JSON file saved in the cache dir.
2022-12-04 10:05:31 +01:00
use nix