Domen Kožar

Results 1589 comments of Domen Kožar

We need something like this: https://code.tvl.fyi/about/nix/readTree

Exposing `pkg-config` declarative interface in `Cargo.toml` would go a long way, moving build time dependencies from `build.rs` into static configuration that can be parsed by other package managers like Nix....

> In [#14903 (comment)](https://github.com/rust-lang/cargo/issues/14903#issuecomment-2523842483), I propose a way for having "declarative build scripts" where you depend on a binary from another package for your build script and specify parameters for...

I've sketched out the implementation in https://github.com/rust-lang/cargo/pull/16281

Ah, it got interrupted after a day: ``` Jul 25 11:36:53 eiger hydra-queue-runner[30255]: got notification: new builds added to the queue Jul 25 11:36:53 eiger hydra-queue-runner[30255]: checking the queue for...

Note: I'm running commit https://github.com/NixOS/hydra/commit/dc790c5f7eacda1c819ae222bf87674781ae1124

Happened again: ``` #0 0x00007f232e88840d in poll () from /nix/store/gwl3ppqj4i730nhd4f50ncl5jc4n97ks-glibc-2.23/lib/libc.so.6 #1 0x00007f232f3fa2b7 in (anonymous namespace)::wait_fd(int, bool, timeval*) () from /nix/store/zclq81axk9yg3rv4xlimq7vsqik5a2aw-libpqxx-4.0.1/lib/libpqxx-4.0.so #2 0x00007f232f3fb4c1 in pqxx::internal::wait_read(pg_conn const*, long, long) () from /nix/store/zclq81axk9yg3rv4xlimq7vsqik5a2aw-libpqxx-4.0.1/lib/libpqxx-4.0.so...

Again: ``` (gdb) bt #0 0x00007f43ebccb40d in poll () from target:/nix/store/gwl3ppqj4i730nhd4f50ncl5jc4n97ks-glibc-2.23/lib/libc.so.6 #1 0x00007f43ec83d2b7 in (anonymous namespace)::wait_fd(int, bool, timeval*) () from target:/nix/store/g5h8ip9279jb0y4h3w35rk4qpj7rxq4d-libpqxx-4.0.1/lib/libpqxx-4.0.so #2 0x00007f43ec83e4c1 in pqxx::internal::wait_read(pg_conn const*, long, long) () from...

Note: I'm using `systemctl restart hydra-queue-runner` as a workaround to get queue back to processing.