| 8 Jun 2026 |
zoë (@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 |
zoë (@blokyk) | hmm it also fails on my remote nixos-based builder, so i don't think it's because of my os | 22:54:19 |
hexa | some people do consider being on an eol platform a deeper problem, but it's surely unrelated to nom | 22:54:21 |
zoë (@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 |
zoë (@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 now | 22:56:34 |
zoë (@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 now | 22:56:56 |
hexa | you need native x11 and xwayland or xwayland-satellite are not sufficient? | 22:57:42 |
zoë (@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 anything | 22:59:41 |
zoë (@blokyk) | anyway, it doesn't build on nixos, so the ubuntu thing is not very important ^^; | 23:00:06 |
zoë (@blokyk) | * anyway, it doesn't build on nixos either, so the ubuntu thing is not very important ^^; | 23:00:10 |
maralorn | Can you give me more context for the log? | 23:00:08 |
maralorn | This 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 | The tests should be calling nix-build. | 23:02:00 |
zoë (@blokyk) | https://gist.github.com/blokyk/182bfd34d829d27fb4d794d91dd0a6dd#file-build-log-L632-L644 | 23:02:24 |
hexa | so fwiw, it built for me earlier | 23:03:00 |
zoë (@blokyk) | :( | 23:03:06 |
hexa | on 388f56120f655a9cf4512e697b2c2afa06fe7434 | 23:03:22 |
hexa | yeah, still HEAD | 23:03:34 |
hexa | the error sounds like nix isn't there for the golden tests | 23:04:33 |
maralorn | Yeah, 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 | It feels slightly like the whole preCheck phase is not applying on that system. | 23:06:54 |
maralorn | Because the other test error is sympotmatic of the comment in the line above missing … | 23:07:19 |
zoë (@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 |
zoë (@blokyk) | is that done in the flake? if so that might be why, since i'm not using the flake | 23:08:53 |
maralorn | Ooooh, yeah. Totally. | 23:09:24 |
hexa | oh no | 23:09:29 |
hexa | I was revealed a flake user | 23:09:33 |
hexa | 🫣 | 23:09:35 |
zoë (@blokyk) | oh sorry :( | 23:09:39 |
maralorn | If you want to use your own expression you just have to disable the tests. | 23:09:50 |