Skip to content

Instantly share code, notes, and snippets.

@infinisil
Created August 25, 2018 00:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save infinisil/7009ae1796347ecdbdeb2ac5e03a33ce to your computer and use it in GitHub Desktop.
Save infinisil/7009ae1796347ecdbdeb2ac5e03a33ce to your computer and use it in GitHub Desktop.
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p jq less
nix-instantiate --eval --strict -E 'map (x: x.name) (import <nixpkgs/nixos> {}).config.environment.systemPackages' --json | jq -r '.[]' | sort -u | less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment