Closed Libadoxon closed 2 months ago
@Libadoxon Included pubspec.lock
.
Thanks
@Libadoxon hi! I'm curious about the Nix packaging, did you manage to get it working?
Sadly I haven't mange to package harmony for nix. I have no idea of Dart/Flutter so I might be missing something, but currently some dependency (I think) wants to compile a c(++) project and tries to download additional dependencies for it during the buildPhase
, which nix doesn't allow for.
One could maybe prefetch these files but no idea. I'm currently very low on time so I won't be working on it any time soon. If you're interested in fixing things yourself, or anyone else, here's my current nix build file:
Thank you! I don't have any experience packaging personally, so I don't think I'll be able to help, hopefully somebody else more experienced comes around, I think this will prove useful
Is your feature request related to a problem or new idea? Please describe. I'm currently trying to package
Harmony-Music
forNixOs
. This requires thepubspec.lock
for fetching the dependencies. This is also the recommended approach by dartDescribe the solution you'd like Remove
/pubspec.lock
from .gitignore, rebuild and commit.Describe alternatives you've considered I could also use the .deb file from the releases. This is the more disliked approach as it removes a lot of the flexibility that
nix
allows for.