!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

307 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena103 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
19 Jun 2023
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.namehm, not sure how those escapes got into the above file, they don't exist in my flake.nix05:28:56
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.name oh, hm, I may have solved my own problem - I had colmena.meta.system = "x86_64-linux"; defined for some reason 05:30:38
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.nameif I remove that it seems to deploy05:30:45
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.name

okay it seems that if I do pass -f flake.nix as an argument, colmena fails with the error message:

error: '' is not a valid URL
05:34:04
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.namewhich is very confusing05:34:07
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.namebut if I omit that it seems to work fine05:34:13
@zhaofeng:zhaofeng.liZhaofeng Li Interesting, what does nix flake metadata --json ./flake.nix | jq show? 05:37:43
@zhaofeng:zhaofeng.liZhaofeng Li Specifically, what's in originalUrl and resolveUrl? 05:38:04
@zhaofeng:zhaofeng.liZhaofeng Li Also is flake.nix tracked by git? You need to git add flake.nix flake.lock 05:38:37
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.name @Zhaofeng Li my colmena config was previously being tracked in git, I'm currently live-editing files in that repo 05:48:19
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.nameI think I did add flake.nix and flake.lock but their current state was different than what was checked in05:48:30
@zhaofeng:zhaofeng.liZhaofeng LiThat should be fine, it should work as long as they are tracked (either clean or dirty)05:49:08
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.name there is no resolveUrl; the originalUrl is a "git+file:///path/to/my/colmena/repo" 05:49:40
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.namewhich is just a dir on my system05:49:53
@zhaofeng:zhaofeng.liZhaofeng Li Sorry, should be resolvedUrl with a d 05:50:19

Show newer messages


Back to Room ListRoom Version: 6