nix-community / nixpkgs-wayland

Automated, pre-built packages for Wayland (sway/wlroots) tools for NixOS. [maintainers=@colemickens, @Artturin]
502 stars 45 forks source link

switch to `nushell` and drop gitpod #376

Closed colemickens closed 1 year ago

Artturin commented 1 year ago

Add nushell to devShells.default

colemickens commented 1 year ago

I still need to fixup the README regeneration.

colemickens commented 1 year ago

This also replaces nix-build-uncached with nix-eval-jobs.

Artturin commented 1 year ago

https://github.com/nix-community/nixpkgs-wayland#development-guide should also be updated

colemickens commented 1 year ago

the readme is annoying. using take until, skip until with the comment delimiters seemed promising but it drops newlines.

If I use ripgrep the same way, somehow it mangles a bunch of the text even with | save --raw ...

Artturin commented 1 year ago

readme generation in python https://github.com/nix-community/nixpkgs-wayland/pull/380 if preferred

colemickens commented 1 year ago

It wound up not being that bad, I think I'd made a silly mistake at first. I prefer this over the python version (dependencies, my general aversion to python, there's only one small sin being committed here using ripgrep, etc).

colemickens commented 1 year ago

There's also some other small cleanups to the internals of the flake, reflecting some changes I'd made in my own config too.

Notably, I eliminated waylandPkgs from the overlay, and packages now invokes the overlay directly to produce its package set instead of using waylandPkgs. It also no longer includes the "linkFarmDrv" default package, because it makes it easier to let nix-eval-jobs be efficient.

colemickens commented 1 year ago

alright, I'm actually pretty happy with this.

colemickens commented 1 year ago

image

colemickens commented 1 year ago

firefox did the best it could

Artturin commented 1 year ago

image

Looks good