Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

Have nix-build trigger regeneration of repo.nix files. #32

Open
cessationoftime opened this issue Aug 28, 2017 · 2 comments
Open

Have nix-build trigger regeneration of repo.nix files. #32

cessationoftime opened this issue Aug 28, 2017 · 2 comments

Comments

@cessationoftime
Copy link
Collaborator

cessationoftime commented Aug 28, 2017

I think it may be possible to have the genNix commands triggered by nix-build and only as needed. If we get a hash representing our list of dependencies and write it to a file then we could check that hash and automatically run commands to regenerate repo.nix files as needed. Even better would be a way to diff the old dependencies and new ones and just update for the changes. Though we may want to switch to sbt 1.0 first.

@nightkr
Copy link
Owner

nightkr commented Aug 29, 2017

There is no guarantee that the Nix builder will have access to the .nix files, and it won't if you're running in multi-user mode.

@nightkr
Copy link
Owner

nightkr commented Jun 6, 2018

The project has moved to GitLab: https://gitlab.com/teozkr/Sbtix/merge_requests/32

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants