1) misc.* is best looked by using ctagsWrapped on nixpkgs then looking
  for misc. (or use grep)

  You'll find pkgs/misc/misc.nix:

    collection = {list, name} : runCommand "collection-${name}" {} ''
      mkdir -p $out/nix-support
      echo ${builtins.toString list} > 
$out/nix-support/propagated-user-env-packages
    '';

2)
  If you had a look at other examples you'd try such:

  { ... }:
  {

    allowUnfree = true;

    packageOverrides: p: {
      myCollection = pkgs.misc.collection {
        name = "graphic";
        list = [pkgs.vlc];
      }
    }
  }

  then you can nix-env -iA myCollection or such

Marc Weber
_______________________________________________
nix-dev mailing list
[email protected]
https://mailman.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to