!sBfrWMVsLoSyFTCkNv:nixos.org

OfBorg

117 Members
Number of builds and evals in queue: https://ofborg.org/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=2h46 Servers

Load older messages


SenderMessageTime
8 Dec 2022
@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
@artturin:matrix.orgArtturinsame thing?08:07:53
@vcunat:matrix.orgVladimír Čunát Well yes, I meant ' 08:08:06
@artturin:matrix.orgArtturinin a another one of my projects i did https://github.com/nix-community/comma/blob/48b723b201e94958a29a35e4f64bb4391fe73464/src/main.rs#L4308:08:19
@artturin:matrix.orgArtturin
    run_cmd.args([
        "--extra-experimental-features",
        "nix-command flakes",
        "shell",
    ]);
08:08:27
@artturin:matrix.orgArtturinso looks like they're not neccesary08:08:32
@vcunat:matrix.orgVladimír ČunátWikipedia calls it "apostrophe".08:08:33
@artturin:matrix.orgArtturin They're single quotes in the programming case because we're not using them for omissions or possessives
https://en.wikipedia.org/wiki/Quotation_mark
😆
08:25:46
@artturin:matrix.orgArtturin¯\_(ツ)_/¯ though08:27:54

There are no newer messages yet.


Back to Room ListRoom Version: 6