move some packages

This commit is contained in:
Pyrox 2024-06-30 17:36:12 -04:00
parent 2f2cc3157d
commit 5a6ff19e7a
Signed by: pyrox
GPG key ID: 8CDF3F7CAA53A0F5
4 changed files with 5 additions and 10 deletions

View file

@ -1,10 +1,6 @@
{ { pkgs, libsets }:
pkgs,
nixpkgs ? { },
libsets,
}:
let let
revision = pkgs.lib.trivial.revisionWithDefault (nixpkgs.rev or "master"); revision = pkgs.lib.trivial.revisionWithDefault (pkgs.rev or "master");
libDefPos = libDefPos =
prefix: set: prefix: set:

View file

@ -1,7 +1,6 @@
# Generates the documentation for library functions via nixdoc. # Generates the documentation for library functions via nixdoc.
{ {
pkgs, pkgs,
spkgs,
libsets, libsets,
inputs, inputs,
}: }:
@ -22,9 +21,9 @@ stdenv.mkDerivation {
description=$3 description=$3
# TODO: wrap lib.$name in <literal>, make nixdoc not escape it # TODO: wrap lib.$name in <literal>, make nixdoc not escape it
if [[ -e "../lib/$baseName.nix" ]]; then if [[ -e "../lib/$baseName.nix" ]]; then
nixdoc -c "$name" -d "lib.$name: $description" -l ${spkgs.doc-locations-json} -f "$baseName.nix" > "$out/$name.md" nixdoc -c "$name" -d "lib.$name: $description" -l ${pkgs.doc-locations-json} -f "$baseName.nix" > "$out/$name.md"
else else
nixdoc -c "$name" -d "lib.$name: $description" -l ${spkgs.doc-locations-json} -f "$baseName/default.nix" > "$out/$name.md" nixdoc -c "$name" -d "lib.$name: $description" -l ${pkgs.doc-locations-json} -f "$baseName/default.nix" > "$out/$name.md"
fi fi
echo "$out/$name.md" >> "$out/index.md" echo "$out/$name.md" >> "$out/index.md"
} }

View file

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

View file

@ -3,7 +3,7 @@ stdenvNoCC.mkDerivation {
pname = "aux-manual-assets"; pname = "aux-manual-assets";
version = "0.0.0"; version = "0.0.0";
src = ../assets; src = ./assets;
phases = "installPhase"; phases = "installPhase";