haskell-nix / hnix

A Haskell re-implementation of the Nix expression language
https://hackage.haskell.org/package/hnix
BSD 3-Clause "New" or "Revised" License
741 stars 114 forks source link

Meta: add builtins #1030

Open Anton-Latukha opened 2 years ago

Anton-Latukha commented 2 years ago

Which are left: Important:

Of smaller importance:

This is currently it.

soulomoon commented 2 years ago

Which are left: Important:

Of smaller importance:

  • [ ] builtins.fetchMercurial
  • [ ] builtins.fromTOML

This is currently it.

ceil and floor should be easy, and filterSource is duplicated in the list

Anton-Latukha commented 2 years ago

Yes. That is why I kept them in "Important", because there is no point to postpone them.

Anton-Latukha commented 2 years ago

I already futurePorted unsafeDiscardOutputDependency, and now trying to port path.

Anton-Latukha commented 2 years ago

Also ported path.

soulomoon commented 2 years ago

I am porting groubBy now.


groubBy ported

Anton-Latukha commented 2 years ago

fetchTarball was already implemented.

sorki commented 2 years ago

Nix 2.6 adds another builtin - zipAttrsWith which is a port of nixpkgs lib version.

Anton-Latukha commented 2 years ago

Updated the headpost & created an according report thread for it.

Be free to add such information into the headpost, especially when those are "my" messages - I encourage correcting me or adding relevant information into messages, especially in the headposts. Also notification is not needed, GitHub provides notifications and changelogging.