You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similarly to #4566, I'm seeing rebuilds of my xmonad config in https://github.com/mgsloan/mgsloan-dotfiles . Specifically, rio gets unregistered and rebuilt which causes rebuild of the xmonad config.
That's not ideal, but I suppose it's fine if it only happens when moving to the newer version. The issue is that subsequent rebuilds always unregister and rebuild rio:
mgsloan@treetop:~/env$ time stack-head build
rio-0.1.8.0: unregistering
rio-0.1.8.0: configure
rio-0.1.8.0: build
rio-0.1.8.0: copy/register
xmonad-config-1.0: configure (exe)
xmonad-config-1.0: build (exe)
xmonad-config-1.0: copy/register
Completed 2 action(s).
Log files have been written to: /home/mgsloan/env/.stack-work/logs/
real 0m11.454s
user 0m10.318s
sys 0m1.234s
The text was updated successfully, but these errors were encountered:
If a task depends exclusively on immutable packages, mark it as immutable. Otherwise, it's mutable.
It looks like check of project packages modification doesn't work properly so rio depending on typed-process as a project package in your https://github.com/mgsloan/mgsloan-dotfiles/blob/master/env/stack.yaml gets unregistered even without any changes in typed-process. I'll see if I could get a minimal reproduction so it will be easier to see what's going on
@qrilka The new names make sense (mutable database instead of local database). Yes, indeed rio is installed to the mutable database due to using a locally patched version of typed-process. However, no files are being changed yet rio is being rebuilt. A further puzzling thing here is that no reason is given for the dirtiness of the package. To me that seems to suggest that stack isn't aware that rio is already installed in the mutable database.
Looks like just a stack new test-pkg rio + local checkout of typed-proces as a project package gives the same unregistering of rio and rebuilds, with that it should be easier to dig it deeper
Similarly to #4566, I'm seeing rebuilds of my xmonad config in https://github.com/mgsloan/mgsloan-dotfiles . Specifically,
rio
gets unregistered and rebuilt which causes rebuild of the xmonad config.Locally, I have two versions of stack:
With
stack-1.9.3
, rebuild works fine:Then, when I use
stack-head build
it rebuilds all local packages includingrio
:That's not ideal, but I suppose it's fine if it only happens when moving to the newer version. The issue is that subsequent rebuilds always unregister and rebuild
rio
:The text was updated successfully, but these errors were encountered: