NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.07k stars 14.13k forks source link

Package request: servo #331459

Closed theoparis closed 1 month ago

theoparis commented 3 months ago

Project description

Metadata

Depends on #331429 and https://github.com/servo/servo/pull/32896

I have already tried to package servo myself here: https://github.com/tinted-software/nix-packages/blob/main/servo.nix However, I ran into an issue with the predefined.rs file here: https://github.com/servo/stylo/blob/f7d72a956de1e2e7455a03964af72fbbec4a9158/atoms/build.rs#L25 The atoms build.rs file tries to include a file which doesn't exist at that path. With nix it seems to be exist under ../style-0.0.1 instead of ../style 🤔

I would be willing to make a PR once Rust 1.80 is supported in nixpkgs, but I have no idea how to fix the above issue atm. Additionally, servo does not have any releases or tags for some reason. So I'd assume that the best way to package it would be to follow the llvmPackages_git approach: `servo-{date}"


Add a :+1: reaction to issues you find important.

sagudev commented 3 months ago

cc servo's nix's wizards: @delan @mukilan

eclairevoyant commented 3 months ago

seems like there was a pr for this: #220648 but would need some updates

supinie commented 3 months ago

I am currently working on packaging this for Summer of Nix, should hopefully have a PR out in a few days.

supinie commented 2 months ago

taking a little longer than we had hoped, apologies. Opened a draft PR here so you can track progress.