v50

latestOpenAPI 3.0.2raw.githubusercontent.com2026-08-013374139.1 KB
info

Look up derivation info by NAR file name

Look up derivation information by NAR file name.

Path Parameters:

  • nar_file: The NAR file name to look up

Returns:

  • NarFileLookup: Derivation info including attr_path, system, and outputs for the package associated with this NAR file.

Note: Requires authentication and superuser (flox staff) access.

get/api/v1/catalog/info/nar/{nar_file}

Path parameters

nar_filestring required

Response

Derivation information for the NAR file

storepathstring required

Example response

{
  "derivations": [
    {
      "broken": false,
      "description": "A command line tool for transferring files with URL syntax",
      "drv_path": "/nix/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-curl-8.5.0.drv",
      "license": "curl",
      "name": "curl-8.5.0",
      "outputs": [
        {
          "name": "out",
          "store_path": "/nix/store/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb-curl-8.5.0"
        },
        {
          "name": "man",
          "store_path": "/nix/store/cccccccccccccccccccccccccccccccc-curl-8.5.0-man"
        }
      ],
      "outputs_to_install": [
        "out",
        "man"
      ],
      "pname": "curl",
      "system": "x86_64-linux",
      "unfree": false,
      "version": "8.5.0"
    }
  ]
}