Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nix build using FOD #459

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

Chickensoupwithrice
Copy link

Finally a working nix build~

things still to do:

  • allow building different flavors via nix
  • configure the module to run it without a cookie, set up a bunch of other stuff. emulating pleroma seems like a good idea
  • test that the nix shell dev environment works as well
  • maybe set up a test container in the nix flake?

@Chickensoupwithrice Chickensoupwithrice marked this pull request as draft October 9, 2022 11:40
justfile Outdated
Comment on lines 30 to 31
# Nix build doesn't include the .git repo
#APP_BUILD := `git rev-parse --short HEAD`
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a problem. I'll need to set some sort fallback here when git isn't available (it doesn't appear to be in the nix build process)

flake.nix Outdated
Comment on lines 76 to 79
just rel-init
just rel-prepare
just assets-prepare
cp -r data/current_flavour/config/ ./config/
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these the right commands to be running? If so see the changes necessary for the justfile

mix.exs Outdated Show resolved Hide resolved
@Chickensoupwithrice
Copy link
Author

Not really sure why I touched the mix.lock file either, might need to revert that

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

Successfully merging this pull request may close these issues.

None yet

1 participant