| 6 Apr 2025 |
Las | Why would you need that | 13:25:46 |
emily | nix build /nix/store/foo.drv builds that drv, …^out builds that output | 13:25:52 |
emily | there was a warning for it for many releases but it got removed | 13:25:58 |
emily | the idea is that nix build X always produces X | 13:26:03 |
emily | so nix build /nix/build/non-drv-store-path will try to substitute that path, e.g. | 13:26:16 |
Las | Makes sense | 13:37:12 |
Las | I think it’s a misnomer | 13:37:44 |
Las | Should be nix realize | 13:37:49 |
Vladimír Čunát | FYI, some (cross-)builds got broken now on Hydra, e.g.
https://hydra.nixos.org/build/294450042/nixlog/1/tail | 14:59:18 |
Vladimír Čunát | I'm a bit surprised myself that -Wundef triggers on preprocessor this way. | 15:00:08 |
Vladimí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 |
Vladimí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 |