Misskey: Projects-old -> Projects#798
Conversation
aa95cd8 to
f2368e1
Compare
|
Hey @eljamm here's the error i am getting while trying to run the build command for |
| examples.basic = { | ||
| module = ./services/misskey/examples/basic.nix; | ||
| description = ""; | ||
| tests.misskey = import "${sources.inputs.nixpkgs}/nixos/tests/misskey.nix" args; |
There was a problem hiding this comment.
This will fix the cannot coerce null to a string: null error.
| tests.misskey = import "${sources.inputs.nixpkgs}/nixos/tests/misskey.nix" args; | |
| tests.misskey = "${sources.inputs.nixpkgs}/nixos/tests/misskey.nix"; |
| nixos.modules.programs = { | ||
| Misskey = { | ||
| name = "Misskey"; | ||
| module = ./programs/misskey/module.nix; | ||
| examples.basic = { | ||
| module = ./programs/misskey/examples/basic.nix; | ||
| description = ""; | ||
| tests.basic = import ./programs/misskey/tests/basic.nix args; | ||
| }; | ||
| }; | ||
| }; |
There was a problem hiding this comment.
The project doesn't have programs. Please remove this and delete the files it references.
| nixos.modules.programs = { | |
| Misskey = { | |
| name = "Misskey"; | |
| module = ./programs/misskey/module.nix; | |
| examples.basic = { | |
| module = ./programs/misskey/examples/basic.nix; | |
| description = ""; | |
| tests.basic = import ./programs/misskey/tests/basic.nix args; | |
| }; | |
| }; | |
| }; |
|
Thank you @eljamm . do i have add anything under the settings options? |
We can re-use some of nixpkgs test's config. |
7a3a93f to
71718ee
Compare
|
@eljamm This PR is ready for review |
| }; | ||
|
|
||
| nixos.modules.services = { | ||
| Misskey = { |
There was a problem hiding this comment.
| Misskey = { | |
| misskey = { |
There was a problem hiding this comment.
We're already importing the module from nixpkgs:
# default.nix
module = "${sources.inputs.nixpkgs}/nixos/modules/services/web-apps/misskey.nix";
So we don't need to create another module. Please delete this file.
There was a problem hiding this comment.
This test doesn't do anything and we're using the tests from nixpkgs, anways:
#default.nix
tests.misskey = "${sources.inputs.nixpkgs}/nixos/tests/misskey.nix";
Please delete this file.
53e9ab9 to
bbcfcbc
Compare
de66d4d to
be34df4
Compare
|
@eljamm Done! |
eljamm
left a comment
There was a problem hiding this comment.
Looks good, now please delete projects-old/Misskey
Done! it skipped my mind |



Copy the template in
template/projectto the projects directory and rename it as Misskey. Then move the information contained in theprojects-old/misskeydirectory into theprojects/misskeydirectory.