!sBfrWMVsLoSyFTCkNv:nixos.org

OfBorg

180 Members
Number of builds and evals in queue: https://nix.ci/prometheus/graph?g0.expr=ofborg_queue_evaluator_waiting&g0.tab=1&g0.stacked=0&g0.show_exemplars=0&g0.range_input=2h&g1.expr=ofborg_queue_builder_waiting%7Barch!~%22.*-lowprior%22%7D&g1.tab=1&g1.stacked=0&g1.show_exemplars=0&g1.range_input=1w63 Servers

Load older messages


SenderMessageTime
7 Dec 2022
@sternenseemann:systemli.orgsterni2.4-2.12 is like one major release, I don't feel like 2.3 is far enough away yet15:39:25
@artturin:matrix.orgArtturin1 year 1 month btw15:40:17
@qyliss:fairydust.spaceAlyssa RossYeah, that feels way less old than previous minimums?16:39:03
@hexa:lossy.networkhexathe nix_2_3 removal isn't dropping the minversion16:41:17
@hexa:lossy.networkhexathe nix versions cleanup is16:41:26
@hexa:lossy.networkhexa * the nix_2_3 removal isn't increasing the minversion 16:41:44
8 Dec 2022
@vcunat:matrix.orgVladimír Čunát I see that OfBorg doesn't detect usage of URL literals, but it's an easy to make mistake that blocks channels (forbidden for long, since nixpkgs 16f44b24f). 07:03:43
@vcunat:matrix.orgVladimír Čunát

It should be fairly easy to execute commands with

--option experimental-features 'no-url-literals'

Maybe I'll try a PR later, though I'm not familiar with the code base yet.

07:06:37
@artturin:matrix.orgArtturinAdding it here may work07:15:08
@artturin:matrix.orgArtturinTry with outpaths.nix07:16:00
@artturin:matrix.orgArtturinhttps://github.com/NixOS/ofborg/blob/6daa9f8f941b13eeb6bd9424f7a29b0d540b55a3/ofborg/src/nixenv.rs#L10207:22:12
@artturin:matrix.orgArtturin
nix-env -qa --out-path  --no-name  -f outpaths.nix --arg checkMeta false --verbose--option extra-experimental-features 'no-url-literals'
07:36:46
@artturin:matrix.orgArtturin
evaluating file '/home/artturin/nixpkgs/.worktree/1/pkgs/games/tennix/default.nix'
error: URL literals are disabled

       at /home/artturin/nixpkgs/.worktree/1/pkgs/games/tennix/default.nix:8:11:

            7|   src = fetchgit {
            8|     url = git://repo.or.cz/tennix.git;
             |           ^
            9|     rev = "refs/tags/tennix-${version}";
07:36:50
@artturin:matrix.orgArtturinhttps://github.com/NixOS/ofborg/pull/62807:53:19
@artturin:matrix.orgArtturincargo test is failing though07:53:27
@artturin:matrix.orgArtturin
error: unrecognised flag '--option experimental-features 'no-url-literals''
Try 'nix-build --help' for more information.
07:53:50
@artturin:matrix.orgArtturinno idea why07:55:46
@artturin:matrix.orgArtturini already checked by adding --version to Operation::Build and it was 2.1107:56:15
@vcunat:matrix.orgVladimír ČunátBad quoting.07:56:58
@vcunat:matrix.orgVladimír ČunátAt least that's what the error message looks like.07:57:06
@vcunat:matrix.orgVladimír Čunát On command level, three arguments should be added. --option experimental-features no-url-literals 07:59:15
@artturin:matrix.orgArtturinthanks that was it08:00:53
@artturin:matrix.orgArtturinnow tests pass08:01:44
@vcunat:matrix.orgVladimír Čunát

By any chance, you're not getting this?

warning: unknown experimental feature ''no-url-literals''

08:03:44
@artturin:matrix.orgArtturinin cargo test?08:04:23
@vcunat:matrix.orgVladimír ČunátI'm not sure, but I think the apostrophes are extraneous, but maybe some layer in OfBorg would remove them.08:05:19
@vcunat:matrix.orgVladimír Čunát * I think the apostrophes are extraneous, but I'm not sure - maybe some layer in OfBorg would remove them.08:05:31
@vcunat:matrix.orgVladimír ČunátThe error above is what I get by simply running the command in a way that shell doesn't remove the apostrophes.08:07:18
@artturin:matrix.orgArtturinthey're single quotes btw08:07:37
@artturin:matrix.orgArtturinah wait08:07:52

Show newer messages


Back to Room ListRoom Version: 6