2022-10-25 10:44:45 +00:00
|
|
|
in pleroma checkout:
|
|
|
|
- grab version: `rg 'version: ' mix.exs`
|
|
|
|
|
2022-04-27 06:38:39 +00:00
|
|
|
in default.nix:
|
2022-10-25 10:44:45 +00:00
|
|
|
- update `rev` and recompute sha256.
|
2022-04-27 06:38:39 +00:00
|
|
|
|
2022-10-25 10:44:45 +00:00
|
|
|
in pleroma checkout:
|
|
|
|
- `mix2nix > mix.nix`
|
2022-04-27 06:38:39 +00:00
|
|
|
|
2022-10-25 10:44:45 +00:00
|
|
|
in nix repo:
|
|
|
|
- cp the new mix.nix here.
|
|
|
|
- move majic from mix.nix -> default.nix and add:
|
|
|
|
- buildInputs = [ file ];
|
|
|
|
- update `mixNixDeps` in default.nix:
|
|
|
|
- grab the version from pleroma/mix.exs or mix.lock
|
|
|
|
- redundant?: inside mix.nix, change base64url to use buildRebar3 instead of buildMix
|