!yxFWYdmeLrdzdoIrcE:maralorn.de

nix-output-monitor

131 Members
https://github.com/maralorn/nix-output-monitor46 Servers

Load older messages


SenderMessageTime
8 Jun 2026
@blokyk:matrix.orgzoë (@blokyk) * hmm, trying to use the current HEAD (388f56120f655a9cf4512e697b2c2afa06fe7434) to my config just fails to build because one of the tests is failing... looking at the build log, the errors seems to be nix-build: startProcess: posix_spawnp: does not exist (No such file or directory), making some tests fail. i can just disable the checkPhase for now, but i don't know if this is just because i'm on a non-nixos platform (i'm on x86-64 ubuntu 25.04) or if it's a deeper problem
(also please tell me if i should open an issue instead of posting here)
22:51:13
@blokyk:matrix.orgzoë (@blokyk)hmm it also fails on my remote nixos-based builder, so i don't think it's because of my os22:54:19
@hexa:lossy.networkhexasome people do consider being on an eol platform a deeper problem, but it's surely unrelated to nom22:54:21
@blokyk:matrix.orgzoë (@blokyk)(i knowww, i need to update it; i've just been a little lazy because every ubuntu upgrade i've done in the past completely broken my setup)22:55:20
@blokyk:matrix.orgzoë (@blokyk)also having looked it up again, the gnome shipped with it doesn't support x11, which i need for some very niche stuff, so i'm a little stuck right now22:56:34
@blokyk:matrix.orgzoë (@blokyk)* also having looked it up again, the gnome shipped with 26.04 doesn't support x11, which i need for some very niche stuff, so i'm a little stuck right now22:56:56
@hexa:lossy.networkhexayou need native x11 and xwayland or xwayland-satellite are not sufficient?22:57:42
@blokyk:matrix.orgzoë (@blokyk)i don't think so, or at least i've not mucked around enough, though i'll admit it's been a while since i've checked. at least last time, gnome didn't support some of the libinput config i use, and since (if i understand correctly) in wayland-lang gnome is responsible for configuring stuff like libinput instead of being independently configured, i can't do anything22:59:41
@blokyk:matrix.orgzoë (@blokyk)anyway, it doesn't build on nixos, so the ubuntu thing is not very important ^^;23:00:06
@blokyk:matrix.orgzoë (@blokyk)* anyway, it doesn't build on nixos either, so the ubuntu thing is not very important ^^;23:00:10
@maralorn:maralorn.demaralornCan you give me more context for the log?23:00:08
@maralorn:maralorn.demaralornThis is not how nix builds are supposed to work. It builds on my machine. I have it all packaged cleanly. Why doesn’t it work at yours? This is not what I was promised.23:01:24
@maralorn:maralorn.demaralornThe tests should be calling nix-build.23:02:00
@blokyk:matrix.orgzoë (@blokyk)https://gist.github.com/blokyk/182bfd34d829d27fb4d794d91dd0a6dd#file-build-log-L632-L64423:02:24
@hexa:lossy.networkhexaso fwiw, it built for me earlier23:03:00
@blokyk:matrix.orgzoë (@blokyk):(23:03:06
@hexa:lossy.networkhexaon 388f56120f655a9cf4512e697b2c2afa06fe743423:03:22
@hexa:lossy.networkhexayeah, still HEAD23:03:34
@hexa:lossy.networkhexathe error sounds like nix isn't there for the golden tests23:04:33
@maralorn:maralorn.demaralornYeah, but the point is that that test can never work from within a nix build anyway so preCheck is setting an environment variable to disable it which apparently doesn’t reach the test driver.23:06:05
@maralorn:maralorn.demaralornIt feels slightly like the whole preCheck phase is not applying on that system.23:06:54
@maralorn:maralorn.demaralornBecause the other test error is sympotmatic of the comment in the line above missing …23:07:19
@blokyk:matrix.orgzoë (@blokyk)

fwiw here's the expression i use to build it:

let
  nixpkgs = builtins.fetchTarball "https://github.com/NixOS/nixpkgs/tarball/73e88497633d80127b350b01ec7b504bcdccdabf";
  pkgs = import nixpkgs {};
in
  pkgs.haskellPackages.callPackage (pkgs.fetchFromForgejo {
    domain = "code.maralorn.de";
    owner = "maralorn";
    repo = "nix-output-monitor";
    rev = "388f56120f655a9cf4512e697b2c2afa06fe7434";
    sha256 = "sha256-3N+PVFpsnBtQ11Vk9OKm1q9dE0d5fxGsEDyfwoxpYaE=";
  }) {}
23:08:23
@blokyk:matrix.orgzoë (@blokyk)is that done in the flake? if so that might be why, since i'm not using the flake23:08:53
@maralorn:maralorn.demaralornOoooh, yeah. Totally.23:09:24
@hexa:lossy.networkhexaoh no23:09:29
@hexa:lossy.networkhexaI was revealed a flake user23:09:33
@hexa:lossy.networkhexa🫣23:09:35
@blokyk:matrix.orgzoë (@blokyk)oh sorry :(23:09:39
@maralorn:maralorn.demaralornIf you want to use your own expression you just have to disable the tests.23:09:50

Show newer messages


Back to Room ListRoom Version: 9