!UUqahLbShAYkkrXmKs:matrix.org

DevOS

38 Members
Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga10 Servers

Load older messages


SenderMessageTime
24 Sep 2021
@pachumicchu:myrdd.infoPacman99Also just saw the build error, I'll get to that soon21:24:28
@pachumicchu:myrdd.infoPacman99Ohh well my question above is related to the build error I think21:24:53
@blaggacao:matrix.orgDavid Arnold (blaggacao)You can push that commit directly to a branch on devos, then do the PR there.21:25:42
@pachumicchu:myrdd.infoPacman99Can I do that within the submodule(as in within examples/downstream) or should I do it in a separate clone of devos?21:26:41
@blaggacao:matrix.orgDavid Arnold (blaggacao)Yes, the submodule is like another git worktree.21:28:16
@pachumicchu:myrdd.infoPacman99ok got it, https://github.com/divnix/devos/pull/37821:30:37
@pachumicchu:myrdd.infoPacman99Do we merge both PRs together, assuming we have approvals for everything21:32:26
26 Sep 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao) In a way merging digga first is ok, since devos's lockfile still points to the old version. 16:39:09
27 Sep 2021
@pachumicchu:myrdd.infoPacman99The problem is I would like to merge the digga PR with bors to ensure all checks pass(I only ran through some on my local machine), and I don't know how to do that without merging the devos one first00:46:44
@ultranix:matrix.orgultranix
In reply to @blaggacao:matrix.org
I don't understand the gist of the "emacs"-issue, though. Can you boil it down?
input to a flake is called emacs, also a user profile directory (in suites) is called emacs. it wont build
01:13:12
@pachumicchu:myrdd.infoPacman99 You can do profiles.suites 01:14:20
@pachumicchu:myrdd.infoPacman99 * You can do profiles.emacs 01:14:51
@ultranix:matrix.orgultranixgood to know, that works01:17:51
@nikolai95:matrix.orgNikolayTach joined the room.06:50:02
@nikolai95:matrix.orgNikolayTach set a profile picture.06:50:59
@nikolai95:matrix.orgNikolayTachHello06:51:37
@nikolai95:matrix.orgNikolayTachRedacted or Malformed Event06:57:50
@narice:matrix.orgNarice set a profile picture.10:09:59
@timdeh:matrix.org@timdeh:matrix.orghello and welcome17:14:50
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @ultranix:matrix.org
input to a flake is called emacs, also a user profile directory (in suites) is called emacs. it wont build
This looks like a good old variable shadowing, not something that I can relate to something that digga would do, though.
17:27:39
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @pachumicchu:myrdd.info
The problem is I would like to merge the digga PR with bors to ensure all checks pass(I only ran through some on my local machine), and I don't know how to do that without merging the devos one first
That's not necessary, the submodule just checks out the respective commit. If that commit is already on GitHub's server then that's all it takes.
17:36:23
@blaggacao:matrix.orgDavid Arnold (blaggacao)Jut make sure you got the right submodule commit checked in on the commit.17:37:07
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Just make sure you got the right submodule commit checked in on the commit.17:37:14
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Just make sure you got the right submodule commit checked in on the commit in `digga`.17:37:34
@timdeh:matrix.org@timdeh:matrix.org

Trying to update to latest DevOS and getting the ultimate in unhelpful errors 😥

❯ n build .#nixosConfigurations.NixOS.config.system.build.toplevel --show-trace
warning: Git tree '/home/nrd/git/github/divnix/dev' is dirty
error: stack overflow (possible infinite recursion)
19:21:03
@timdeh:matrix.org@timdeh:matrix.org

after resorting to strace the recursion seems to be somehow related to mkFlake:

newfstatat(AT_FDCWD, "/nix", {st_mode=S_IFDIR|0755, st_size=4, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/nix/store", {st_mode=S_IFDIR|S_ISVTX|0775, st_size=30850, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/nix/store/j83sl2fzz701mdq7f401m7mqdx77k7pl-source", {st_mode=S_IFDIR|0555, st_size=22, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/nix/store/j83sl2fzz701mdq7f401m7mqdx77k7pl-source/src", {st_mode=S_IFDIR|0555, st_size=7, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/nix/store/j83sl2fzz701mdq7f401m7mqdx77k7pl-source/src/mkFlake", {st_mode=S_IFDIR|0555, st_size=6, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/nix/store/j83sl2fzz701mdq7f401m7mqdx77k7pl-source/src/mkFlake/fup-adapter.nix", {st_mode=S_IFREG|0444, st_size=3436, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/nix/store/j83sl2fzz701mdq7f401m7mqdx77k7pl-source/src/mkFlake/fup-adapter.nix", {st_mode=S_IFREG|0444, st_size=3436, ...}, AT_SYMLINK_NOFOLLOW) = 0
openat(AT_FDCWD, "/nix/store/j83sl2fzz701mdq7f401m7mqdx77k7pl-source/src/mkFlake/fup-adapter.nix", O_RDONLY|O_CLOEXEC) = 5

The above section just appears a bunch of time until it crashes (so a likely source of infinite recursion)

19:25:06
@timdeh:matrix.org@timdeh:matrix.orgugh what a PITA19:25:26
@blaggacao:matrix.orgDavid Arnold (blaggacao) Maybe due to the use of inputs not strictly on the RHS of outputs. 19:27:24
@blaggacao:matrix.orgDavid Arnold (blaggacao)I've seen that before.19:27:36
@timdeh:matrix.org@timdeh:matrix.orgRHS?19:27:43

Show newer messages


Back to Room ListRoom Version: 6