jart / cosmopolitan

build-once run-anywhere c library
ISC License
18.33k stars 630 forks source link

Update NIX package #1165

Closed Rucadi closed 5 months ago

Rucadi commented 6 months ago

I'm just playing around with cosmopolitan, for that, one of the easiest ways for me to install any software is to use nix.

However, the latest supported version on nixpkgs seems quite old https://search.nixos.org/packages?channel=unstable&show=cosmocc

Being in the moment of writing this the 2.2 version.

I would appreciate if this package is given some love and updated to the latest version :)

mrdomino commented 6 months ago

I think this was hard because of cosmocc's relative metacircularity. See discussion at #1117.

I guess “someone” (hi, up for some spelunking?) needs to either package the binary blob for cosmocc (the “extra files” being downloaded above), or what amounts to the same thing, write a rule to bootstrap cosmocc from said binary blob.

mrdomino commented 5 months ago

This is not currently planned; further discussion on redbean discord in #nix.