| 3 Apr 2022 |
sterni | Can someone please fix hydra-unstable in nixpkgs? | 13:04:59 |
@grahamc:nixos.org | In reply to @hexa:lossy.network hydra updates are sadly blockedd by the zlib issue not sure the status of this, maybe you can check it out? | 13:08:13 |
sterni | it's already broken in master something in the C++ side of things | 13:21:36 |
sterni | or rather in the current channels | 13:22:25 |
@grahamc:nixos.org | not sure, might be worth filing a bug | 13:30:46 |
@grahamc:nixos.org | probably in nixpkgs, hydra itself builds | 13:31:17 |
| 4 Apr 2022 |
niksnut | Anybody know what can cause this (running foreman in a nix develop shell):
$ foreman start
Warning: the running version of Bundler (2.1.4) is older than the version that created the lockfile (2.2.20). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.20`.
Traceback (most recent call last):
2: from /nix/store/ycshcdssxcj9sjf6yzb1ydw4fcglf66y-foreman-0.87.2/bin/foreman:20:in `<main>'
1: from /nix/store/ggqacj06n6qfm1iww0bih9ph0j89wcna-bundler-2.1.4/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:413:in `block in replace_bin_path'
/nix/store/ggqacj06n6qfm1iww0bih9ph0j89wcna-bundler-2.1.4/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:374:in `block in replace_bin_path': can't find executable foreman for gem foreman. foreman is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)
| 10:00:11 |
das_j | Haven't seen that one before. Does it work when using the compat stuff (probably nix-shell) instead of nix develop? | 10:16:07 |
niksnut | nix-shell gives the same error | 10:37:05 |
lukegb (he/him) | Yeah, I can reproduce with that foreman storepath | 13:58:01 |
cole-h | In reply to @niksnut:matrix.org
Anybody know what can cause this (running foreman in a nix develop shell):
$ foreman start
Warning: the running version of Bundler (2.1.4) is older than the version that created the lockfile (2.2.20). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.20`.
Traceback (most recent call last):
2: from /nix/store/ycshcdssxcj9sjf6yzb1ydw4fcglf66y-foreman-0.87.2/bin/foreman:20:in `<main>'
1: from /nix/store/ggqacj06n6qfm1iww0bih9ph0j89wcna-bundler-2.1.4/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:413:in `block in replace_bin_path'
/nix/store/ggqacj06n6qfm1iww0bih9ph0j89wcna-bundler-2.1.4/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:374:in `block in replace_bin_path': can't find executable foreman for gem foreman. foreman is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)
The nixpkgs pinned in nixos/nix has a busted foreman. I looked into this before, one second -- lemme find the nixpkgs pr that fixed it. That's why I had to add a new nixpkgs input for my queue runner metrics PR | 14:37:16 |
cole-h | https://github.com/NixOS/nixpkgs/pull/140391 | 14:37:47 |
cransom | side tangent. i replaced all my foreman usage with goreman (a go re-implementation) and it has some nice extra features, like being able to-start individual services. i had some weirdness with tty handling and stdin with foreman and it uses the same procfile format. | 14:40:28 |
cole-h | Interesting, may be worth to investigate replacing it with that | 15:09:12 |
cole-h | Though we don't need anything special re: tty handling and stdin usage, if we can avoid this issue in the future, may be a decent enough idea | 15:10:06 |
Rick (Mindavi) | In reply to @cole-h:matrix.org https://github.com/NixOS/nixpkgs/pull/140391 Only applies to release-21.05? | 16:10:23 |
Rick (Mindavi) | * Only applied to release-21.05? | 16:10:36 |
cole-h | Yep. But that shouldn't matter, since Nix itself is pinned to 21.05 at the moment (just, an older revision than that, it appears): https://github.com/NixOS/nix/blob/a4a1de69dcc3c6e0c40a093d67b5f20568a5f31e/flake.nix#L4 | 16:37:18 |
| cjbayliss (they/them) changed their display name from cjbayliss (they/them) to cjb. | 21:02:38 |
| 5 Apr 2022 |
niksnut | @cole-h Thanks, I'm updating nixpkgs in Nix (https://github.com/NixOS/nix/pull/6365) | 14:43:37 |
| Bryan Honof changed their profile picture. | 17:47:06 |
| h7x4 joined the room. | 20:11:50 |
| 7 Apr 2022 |
| h7x4 | 00:24:23 |
@grahamc:nixos.org | rfr: https://github.com/NixOS/hydra/pull/1173 | 00:41:20 |
ajs124 | skimmed the code and it looks minimal, but alright. didn't run the tests or look at it too closely though. we still run the python exporter that scrapes the queue runner status json or however that works. | 11:15:55 |
@grahamc:nixos.org | we do too, this doesn’t export nearly all those metrics yet | 11:48:27 |
@grahamc:nixos.org | But I don’t want to do all that work if it doesn’t look like a good approach | 11:48:38 |
ajs124 | I'm not sure I'm qualified judge that, tbh | 11:53:21 |
@grahamc:nixos.org | well, I merged & deployed it. We can revert it if we need to :P | 20:31:01 |
@grahamc:nixos.org | ~unreleased software~ | 20:31:06 |