!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

919 Members
For people hacking on the Nix package manager itself193 Servers

Load older messages


SenderMessageTime
6 Apr 2025
@p14:matrix.orgp14Actually struggling a bit to untangle what is going on and why I can’t apply a patch. Does nix mono exist yet?11:55:32
@Las:matrix.orgLas
In reply to @flokli:matrix.org
You shouldn't be manually adding your own derivations, especially if you're not also calculating Output paths (correctly)
I’m doing dyn drvs
12:39:18
@Las:matrix.orgLasI don’t want to depend on the nix evaluator in my drv12:39:27
@emilazy:matrix.orgemily (are you sure your problem is not just missing ^*?) 12:51:09
@Las:matrix.orgLas
In reply to @emilazy:matrix.org
(are you sure your problem is not just missing ^*?)
What
13:25:30
@Las:matrix.orgLasI never considered that13:25:41
@Las:matrix.orgLasWhy would you need that13:25:46
@emilazy:matrix.orgemily nix build /nix/store/foo.drv builds that drv, …^out builds that output 13:25:52
@emilazy:matrix.orgemilythere was a warning for it for many releases but it got removed13:25:58
@emilazy:matrix.orgemily the idea is that nix build X always produces X 13:26:03
@emilazy:matrix.orgemily so nix build /nix/build/non-drv-store-path will try to substitute that path, e.g. 13:26:16
@Las:matrix.orgLasMakes sense13:37:12
@Las:matrix.orgLas I think it’s a misnomer 13:37:44
@Las:matrix.orgLasShould be nix realize13:37:49
@vcunat:matrix.orgVladimír ČunátFYI, some (cross-)builds got broken now on Hydra, e.g. https://hydra.nixos.org/build/294450042/nixlog/1/tail14:59:18
@vcunat:matrix.orgVladimír Čunát I'm a bit surprised myself that -Wundef triggers on preprocessor this way. 15:00:08
@vcunat:matrix.orgVladimír Čunát I suppose you'd simply do #ifdef __APPLE__ and #elif defined(__APPLE__). Most likely easier than fighting what compiler considers a warning. 15:03:47
@vcunat:matrix.orgVladimír Čunát * I suppose you'd simply do #ifdef __APPLE__ and #elif defined(__APPLE__). Most likely it's easier than fighting what compiler considers a warning. 15:04:00
7 Apr 2025
@ss:someonex.netSomeoneSerge (back on matrix)
In reply to @flokli:matrix.org
It's unfortunate derivations are added as aterm into the store in first place. IMHO they should only be valid for the lifetime of the evaluation itself, and not be put in the store

RE: validity

Resolved drvs are ok though, aside from aterm? In the sense their contents are inherently consistent with path. Assuming nix doesn't change.

06:37:08
@joerg:thalheim.ioMic92https://github.com/NixOS/nixpkgs/pull/396773 nixVersions.latest: 2.26 -> 2.2811:30:47
@joerg:thalheim.ioMic92 https://github.com/NixOS/nixpkgs/pull/396750 John Ericson nix-eval-jobs: 2.26.0 -> 2.28.0 12:14:46
@Ericson2314:matrix.orgJohn Ericsonhttps://gist.github.com/Ericson2314/147281788b3b31cfbd4925dc49e3d59b15:15:00
@Ericson2314:matrix.orgJohn Ericsonbtw15:15:02
@Ericson2314:matrix.orgJohn Ericsonfor fixing headers downstream15:15:07
@Ericson2314:matrix.orgJohn Ericson tomberek: Mic92 was wondering about setting up the nix-community build bot for hydra for PRs 15:34:43
@Ericson2314:matrix.orgJohn Ericson(hehe kinda ironic)15:34:49
@Ericson2314:matrix.orgJohn Ericsonbut this would require changing the nixos org settings15:34:55
@Ericson2314:matrix.orgJohn Ericsonwhich I think you have the perms to do? 15:35:03
@joerg:thalheim.ioMic92we first need to make the github app public in nix-community15:36:32
8 Apr 2025
@ser:sergevictor.eu@ser:sergevictor.eu joined the room.10:15:16

Show newer messages


Back to Room ListRoom Version: 6