-
Automated every 2-3 Hrs from NixOS/nixpkgs
The Markdown README may not render because of huge file size. Please Visit: https://nixos-packages.ajam.dev
- View RAW: https://pub.ajam.dev/repos/Azathothas/NixOS-Packages/nixpkgs.txt
- View JSON: https://github.com/Azathothas/NixOS-Packages/blob/main/nixpkgs.json
- View YAML: https://github.com/Azathothas/NixOS-Packages/blob/main/nixpkgs.yaml
- View Markdown: https://nixos-packages.ajam.dev
- I wanted an
easy to parse
,automatable
metadata for nix packages I couldcompile/cross-compile statically
for Azathothas/Toolpacks.- If search.nixos.org ever offers an
easy-to-use
API, this repo will be Archived.
nix-env --query --available --meta --json "pkg-xyz"
-
List all Packages from NixOS-Packages.json
curl -qfsSL "https://pub.ajam.dev/repos/Azathothas/NixOS-Packages/nixpkgs.json" | jq -r '.[] | .pname' | sort -u
!# Refs: https://functor.tokyo/blog/2021-10-20-nix-cross-static
nix search "nixpkgs#pkgsStatic" "^" --extra-experimental-features nix-command --extra-experimental-features flakes --refresh --quiet
#https://askubuntu.com/a/1471201 (https://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html)
systemd-run --scope -p CPUQuota="60%" -p MemoryMax="8192M" -p MemoryHigh="4096M" --user nix search "nixpkgs#pkgsStatic" "^" --extra-experimental-features nix-command --extra-experimental-features flakes --refresh --quiet
#Check if only package `xyz` can be built
nix search "nixpkgs#pkgsStatic" "xyz" --extra-experimental-features nix-command --extra-experimental-features flakes --refresh --quiet