!UUqahLbShAYkkrXmKs:matrix.org

DevOS

36 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
@blaggacao:matrix.orgDavid Arnold (blaggacao)* That interface sits really at the `nix` level I guess. You could just override the `checks` output. (With `//`, for example)19:43:02
@blaggacao:matrix.orgDavid Arnold (blaggacao)* I don't understand the gist of the "`emacs`"-issue, though. Can you boil it down?19:43:52
@gtrunsec:matrix.org@gtrunsec:matrix.orgemacs-issue? it seems to be an anti-namespace issue?19:44:37
@blaggacao:matrix.orgDavid Arnold (blaggacao)Yeah, I didn't get it 😁😐19:44:52
@blaggacao:matrix.orgDavid Arnold (blaggacao)

Maybe this helps:

rakeLeaves constructs a nested attribute set according to its crawling rules.

importables is passed as specialArgs, either to nixos or to hm.

19:50:52
@blaggacao:matrix.orgDavid Arnold (blaggacao)At least that might give a better sense where something is breaking.19:51:23
@aciceri:nixos.devaciceri
In reply to @blaggacao:matrix.org
That interface sits really at the nix level I guess. You could just override the checks output. (With //, for example)
But can I override checks in the flake outputs only in a certain case?
19:51:38
@blaggacao:matrix.orgDavid Arnold (blaggacao) You'd have to make your own version of checks. You could assign the mkFlakes output to something and then manipulate it. 19:52:38
@blaggacao:matrix.orgDavid Arnold (blaggacao) let output = mkFlakes ... in ... 19:53:45
@aciceri:nixos.devaciceri I understood what you say but I want to override my checks.aarch64-linux only if the host machine (I mean the machine where I executed nix flake check) has binfmt.emulatedSystems = [ "aarch64-linux" ]; 19:54:10
@aciceri:nixos.devaciceriThis way the flake wouldn't be pure I think19:54:38
@blaggacao:matrix.orgDavid Arnold (blaggacao)Ah, yeah.19:54:45
@blaggacao:matrix.orgDavid Arnold (blaggacao) You could just build certain checks by hand. 19:55:16
@aciceri:nixos.devaciceriCan I read the "currently running configuration" inside a Flake?19:55:29
@blaggacao:matrix.orgDavid Arnold (blaggacao) nix build .#... 19:55:30
@blaggacao:matrix.orgDavid Arnold (blaggacao)(one by one)19:55:34
@aciceri:nixos.devaciceri
In reply to @blaggacao:matrix.org
nix build .#...
Yes, I could make a script that reads nix flake show and then run a sequence of nix build according to the machine where that command is launched
19:56:44
@aciceri:nixos.devaciceriA little bit too hacky maybe19:56:54
@blaggacao:matrix.orgDavid Arnold (blaggacao)It's ok. The problem is in the teaying design, I guess.19:57:13
@blaggacao:matrix.orgDavid Arnold (blaggacao)* It's ok. The problem is in the teasting design, I guess.19:57:42
@blaggacao:matrix.orgDavid Arnold (blaggacao)* It's ok. The problem is in the testing design, I guess.19:57:52
@aciceri:nixos.devaciceriMmm, I can't understand what you mean19:58:04
@aciceri:nixos.devaciceri * yeah19:58:42
@aciceri:nixos.devaciceri However for a similar task I think this would turn out useful. 19:59:08
@aciceri:nixos.devaciceri Probabily using this and jq it could be a one line 19:59:58
@aciceri:nixos.devaciceri David Arnold (blaggacao): However thank you again! Sorry for the many questions and the bad english 20:00:49
@blaggacao:matrix.orgDavid Arnold (blaggacao)I mean why wouldn't you test all the architectures that you declared as supported in an environment where you can do that.20:01:47
@blaggacao:matrix.orgDavid Arnold (blaggacao)Maybe Github is not the right tool. But with a little hackery, it might still be useful.20:02:15
@blaggacao:matrix.orgDavid Arnold (blaggacao)I don't mean to push back, just set the context. 😆😁20:02:47
@pachumicchu:myrdd.infoPacman99I got in a PR to do the externalModules -> modules rename. I'm not very familiar with git submodules, what is the process to update devos with API changes?. I added a commit to the submodule in digga, but is there some way to connect that to a PR in devos?21:20:37

Show newer messages


Back to Room ListRoom Version: 6