From 3cd3ab43e4bbf9893932dcf5eefcde6e6cbb893d Mon Sep 17 00:00:00 2001 From: xeals Date: Thu, 4 Jan 2024 14:57:21 +1100 Subject: [PATCH] docs: update README Remove info that no longer applies --- README.md | 52 +++++++++++++++++----------------------------------- 1 file changed, 17 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index afcadc6..ac050b1 100644 --- a/README.md +++ b/README.md @@ -2,44 +2,26 @@ **My personal [NUR](https://github.com/nix-community/NUR) repository** -[![CI](https://github.com/xeals/nur-packages/actions/workflows/build.yml/badge.svg)](https://github.com/xeals/nur-packages/actions) [![Cachix Cache](https://img.shields.io/badge/cachix-xeals-blue.svg)](https://xeals.cachix.org) +[CI](https://git.xeals.me/xeals/nur-packages/actions) [![Cachix Cache](https://img.shields.io/badge/cachix-xeals-blue.svg)](https://xeals.cachix.org) -## Noteworthy packages +## Using -### Jetbrains with plugins - -A fan of the Emacs/Vim/VSCode plugin builder? Now enjoy it with your favourite Jetbrains IDE! - -The system is mostly proof-of-concept and there are a couple of issues with it at the moment, but it works for what is available in the repo. - -#### Using +Using packages is easier through the combined [NUR](https://github.com/nix-community/NUR) flake. ```nix -{ pkgs ? import {} }: -let - xeals = import (builtins.fetchTarball "https://git.xeal.me/xeals/nur-packages/archive/master.tar.gz") { - inherit pkgs; +# flake.nix +{ + inputs = { + xeals.url = "git+https://git.xeal.me/xeals/nur-packages"; # Direct + xeals.url = "github:xeals/nur-packages"; # GitHub mirror }; -in - # e.g., for IntelliJ IDEA - xeals.jetbrains.ideaCommunityWithPlugins (jpkgs: [ - jpkgs.ideavim - jpkgs.checkstyle-idea - ]) + + outputs = { nixpkgs, xeals, ... }: { + nixosConfigurations.foo = nixpkgs.lib.nixosSystem { + modules = [ + xeals.nixosModules.betanin + ]; + }; + }; +} ``` - -#### Issues - -- [ ] The plugin derivation overrides the base instead of extending it; this is really only an issue for the open-source IDEs, and only once they're actually built from source (instead of repackaging the JARs) -- [ ] Plugins must be manually added to the repo; long-term, I'd really want some way to scrape them, or at least have a script to add and update - -### spotify-ripper - -`spotify-ripper` is pretty flexible in the formats it supports, so the derivation allows you to customize which support packages to build with. - -The default package comes with nothing (which is not entirely useful -- this will probably change at some point). See [the builder](./pkgs/tools/misc/spotify-ripper/default.nix) for options. - -## General issues - -- [ ] `spotify-ripper` does not build on stable NixOS channels before 20.09 when built with m4a or mp4 support, as `fdk-aac-encoder` is not available -- [ ] Due to changes in toolchains affected fixed output hashes, anything using `buildGoModule` and `buildRustPackage` will fail on NixOS 20.03. Override the hashes of `vendor` and `cargoDeps` attributes as needed