← All packages

unix2.8.8.0

POSIX functionality

Open the imported Cabal file ↗

bug-reports
https://github.com/haskell/unix/issues
build-type
Configure
cabal-version
1.12
category
System
extra-source-files
changelog.md config.guess config.sub configure configure.ac include/HsUnix.h include/HsUnixConfig.h.in install-sh unix.buildinfo.in
extra-tmp-files
autom4te.cache config.log config.status include/HsUnixConfig.h unix.buildinfo
homepage
https://github.com/haskell/unix
license
BSD3
license-file
LICENSE
maintainer
Julian Ospald <hasufell@posteo.de>, Viktor Dukhovni <ietf-dane@dukhovni.org>, Andrew Lelechenko <andrew.lelechenko@gmail.com>
name
unix
synopsis
POSIX functionality
tested-with
GHC==9.12.1, GHC==9.10.1, GHC==9.8.4, GHC==9.6.6, GHC==9.4.7, GHC==9.2.8, GHC==9.0.2, GHC==8.10.7, GHC==8.8.4, GHC==8.6.5
version
2.8.8.0
x-revision
1
Show the complete metadata as JSON
{
  "schemaVersion": 1,
  "name": "unix",
  "version": "2.8.8.0",
  "cabalVersion": "1.12",
  "buildType": "Configure",
  "fields": {
    "bug-reports": [
      "https://github.com/haskell/unix/issues"
    ],
    "build-type": [
      "Configure"
    ],
    "cabal-version": [
      "1.12"
    ],
    "category": [
      "System"
    ],
    "description": [
      "This package gives you access to the set of operating system\nservices standardised by\n<http://pubs.opengroup.org/onlinepubs/9699919799/ POSIX.1-2008>\n(or the IEEE Portable Operating System Interface for Computing\nEnvironments - IEEE Std. 1003.1).\n.\nThe package is not supported under Windows."
    ],
    "extra-source-files": [
      "changelog.md\nconfig.guess\nconfig.sub\nconfigure\nconfigure.ac\ninclude/HsUnix.h\ninclude/HsUnixConfig.h.in\ninstall-sh\nunix.buildinfo.in"
    ],
    "extra-tmp-files": [
      "autom4te.cache\nconfig.log\nconfig.status\ninclude/HsUnixConfig.h\nunix.buildinfo"
    ],
    "homepage": [
      "https://github.com/haskell/unix"
    ],
    "license": [
      "BSD3"
    ],
    "license-file": [
      "LICENSE"
    ],
    "maintainer": [
      "Julian Ospald <hasufell@posteo.de>, Viktor Dukhovni <ietf-dane@dukhovni.org>, Andrew Lelechenko <andrew.lelechenko@gmail.com>"
    ],
    "name": [
      "unix"
    ],
    "synopsis": [
      "POSIX functionality"
    ],
    "tested-with": [
      "GHC==9.12.1,\nGHC==9.10.1,\nGHC==9.8.4,\nGHC==9.6.6,\nGHC==9.4.7,\nGHC==9.2.8,\nGHC==9.0.2,\nGHC==8.10.7,\nGHC==8.8.4,\nGHC==8.6.5"
    ],
    "version": [
      "2.8.8.0"
    ],
    "x-revision": [
      "1"
    ]
  },
  "components": [
    {
      "kind": "library",
      "name": "main",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [
            "System.Posix",
            "System.Posix.ByteString",
            "System.Posix.PosixString",
            "System.Posix.Error",
            "System.Posix.Resource",
            "System.Posix.Time",
            "System.Posix.Unistd",
            "System.Posix.Signals",
            "System.Posix.Signals.Exts",
            "System.Posix.Semaphore",
            "System.Posix.SharedMem",
            "System.Posix.User",
            "System.Posix.User.ByteString",
            "System.Posix.ByteString.FilePath",
            "System.Posix.PosixPath.FilePath",
            "System.Posix.Directory",
            "System.Posix.Directory.Internals",
            "System.Posix.Directory.Fd",
            "System.Posix.Directory.ByteString",
            "System.Posix.Directory.PosixPath",
            "System.Posix.DynamicLinker.Module",
            "System.Posix.DynamicLinker.Module.ByteString",
            "System.Posix.DynamicLinker.Prim",
            "System.Posix.DynamicLinker.ByteString",
            "System.Posix.DynamicLinker",
            "System.Posix.Files",
            "System.Posix.Files.ByteString",
            "System.Posix.Files.PosixString",
            "System.Posix.IO",
            "System.Posix.IO.ByteString",
            "System.Posix.IO.PosixString",
            "System.Posix.Env",
            "System.Posix.Env.ByteString",
            "System.Posix.Env.PosixString",
            "System.Posix.Fcntl",
            "System.Posix.Process",
            "System.Posix.Process.Internals",
            "System.Posix.Process.ByteString",
            "System.Posix.Process.PosixString",
            "System.Posix.Temp",
            "System.Posix.Temp.ByteString",
            "System.Posix.Temp.PosixString",
            "System.Posix.Terminal",
            "System.Posix.Terminal.ByteString",
            "System.Posix.Terminal.PosixString"
          ],
          "otherModules": [
            "System.Posix.Directory.Common",
            "System.Posix.DynamicLinker.Common",
            "System.Posix.Files.Common",
            "System.Posix.IO.Common",
            "System.Posix.Process.Common",
            "System.Posix.Terminal.Common",
            "System.Posix.User.Common",
            "System.Posix.Env.Internal"
          ],
          "dependencies": [
            {
              "package": "base",
              "range": ">=4.12.0.0 && <4.23",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "bytestring",
              "range": ">=0.9.2 && <0.13",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "time",
              "range": ">=1.9.1 && <1.17",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {}
        },
        "branches": [
          {
            "condition": {
              "os": "windows"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          },
          {
            "condition": {
              "flag": "os-string"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "filepath",
                    "range": ">=1.5.0.0",
                    "libraries": [
                      "main"
                    ]
                  },
                  {
                    "package": "os-string",
                    "range": ">=2.0.0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "filepath",
                    "range": ">=1.4.100.0 && <1.5.0.0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            }
          },
          {
            "condition": {
              "not": {
                "arch": "javascript"
              }
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          },
          {
            "condition": {
              "arch": "javascript"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "unix-tests",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [
            "FileStatus",
            "FileExtendedStatus",
            "FileStatusByteString",
            "Signals001",
            "ReadDirStream"
          ],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "bytestring",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "tasty",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "tasty-hunit",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "tasty-quickcheck",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "flag": "os-string"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "filepath",
                    "range": ">=1.5.0.0",
                    "libraries": [
                      "main"
                    ]
                  },
                  {
                    "package": "os-string",
                    "range": ">=2.0.0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "filepath",
                    "range": ">=1.4.100.0 && <1.5.0.0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            }
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "FdReadBuf001",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "arch": "javascript"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "ForkProcess01",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "arch": "javascript"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "Signals002",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "arch": "javascript"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "Signals004",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "arch": "javascript"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "Posix004",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "arch": "javascript"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "Posix009",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "arch": "javascript"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "Posix014",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "arch": "javascript"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "T8108",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "arch": "javascript"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "ResourceLimit",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "tasty-hunit",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "arch": "javascript"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "Terminal",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "tasty-hunit",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "arch": "javascript"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "PutEnv001",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "tasty",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "tasty-hunit",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "arch": "javascript"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "Semaphore001",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "arch": "javascript"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "Semaphore002",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "arch": "javascript"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "SemaphoreInterrupt",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "arch": "javascript"
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "T13660",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "bytestring",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "flag": "os-string"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "filepath",
                    "range": ">=1.5.0.0",
                    "libraries": [
                      "main"
                    ]
                  },
                  {
                    "package": "os-string",
                    "range": ">=2.0.0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "filepath",
                    "range": ">=1.4.100.0 && <1.5.0.0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            }
          }
        ]
      }
    },
    {
      "kind": "test-suite",
      "name": "DirEnt",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "unix",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "not": {
                "flag": "non-portable-tests"
              }
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [
                  {
                    "package": "unbuildable",
                    "range": "<0",
                    "libraries": [
                      "main"
                    ]
                  }
                ],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    }
  ],
  "setupDependencies": [],
  "flags": [
    {
      "name": "os-string",
      "default": false,
      "manual": false,
      "description": "Use the new os-string package"
    },
    {
      "name": "non-portable-tests",
      "default": false,
      "manual": true,
      "description": "Run tests that may not be portable across all systems, but are guaranteed to succeed in our own CI"
    }
  ],
  "sourceRepositories": [
    {
      "kind": "head",
      "fields": {
        "location": [
          "https://github.com/haskell/unix.git"
        ],
        "type": [
          "git"
        ]
      }
    }
  ],
  "warnings": [],
  "sourceUrl": "https://hackage.haskell.org/package/unix-2.8.8.0/unix.cabal",
  "sha256": "9456ccdbeeb1818983f0d25f25999adb5fca07d149474d2f82de956b2eb03a7e",
  "importedAt": "2026-10-14T12:50:25.606Z",
  "dependencies": [
    {
      "package": "base",
      "range": ">=4.12.0.0 && <4.23",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "bytestring",
      "range": ">=0.9.2 && <0.13",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "time",
      "range": ">=1.9.1 && <1.17",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "os": "windows"
        }
      ]
    },
    {
      "package": "filepath",
      "range": ">=1.5.0.0",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "flag": "os-string"
        }
      ]
    },
    {
      "package": "os-string",
      "range": ">=2.0.0",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "flag": "os-string"
        }
      ]
    },
    {
      "package": "filepath",
      "range": ">=1.4.100.0 && <1.5.0.0",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": [
        {
          "not": {
            "flag": "os-string"
          }
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:unix-tests",
      "conditions": []
    },
    {
      "package": "bytestring",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:unix-tests",
      "conditions": []
    },
    {
      "package": "tasty",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:unix-tests",
      "conditions": []
    },
    {
      "package": "tasty-hunit",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:unix-tests",
      "conditions": []
    },
    {
      "package": "tasty-quickcheck",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:unix-tests",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:unix-tests",
      "conditions": []
    },
    {
      "package": "filepath",
      "range": ">=1.5.0.0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:unix-tests",
      "conditions": [
        {
          "flag": "os-string"
        }
      ]
    },
    {
      "package": "os-string",
      "range": ">=2.0.0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:unix-tests",
      "conditions": [
        {
          "flag": "os-string"
        }
      ]
    },
    {
      "package": "filepath",
      "range": ">=1.4.100.0 && <1.5.0.0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:unix-tests",
      "conditions": [
        {
          "not": {
            "flag": "os-string"
          }
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:FdReadBuf001",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:FdReadBuf001",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:FdReadBuf001",
      "conditions": [
        {
          "arch": "javascript"
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:ForkProcess01",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:ForkProcess01",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:ForkProcess01",
      "conditions": [
        {
          "arch": "javascript"
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Signals002",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Signals002",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Signals002",
      "conditions": [
        {
          "arch": "javascript"
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Signals004",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Signals004",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Signals004",
      "conditions": [
        {
          "arch": "javascript"
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Posix004",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Posix004",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Posix004",
      "conditions": [
        {
          "arch": "javascript"
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Posix009",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Posix009",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Posix009",
      "conditions": [
        {
          "arch": "javascript"
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Posix014",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Posix014",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Posix014",
      "conditions": [
        {
          "arch": "javascript"
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:T8108",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:T8108",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:T8108",
      "conditions": [
        {
          "arch": "javascript"
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:ResourceLimit",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:ResourceLimit",
      "conditions": []
    },
    {
      "package": "tasty-hunit",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:ResourceLimit",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:ResourceLimit",
      "conditions": [
        {
          "arch": "javascript"
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Terminal",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Terminal",
      "conditions": []
    },
    {
      "package": "tasty-hunit",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Terminal",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Terminal",
      "conditions": [
        {
          "arch": "javascript"
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:PutEnv001",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:PutEnv001",
      "conditions": []
    },
    {
      "package": "tasty",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:PutEnv001",
      "conditions": []
    },
    {
      "package": "tasty-hunit",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:PutEnv001",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:PutEnv001",
      "conditions": [
        {
          "arch": "javascript"
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Semaphore001",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Semaphore001",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Semaphore001",
      "conditions": [
        {
          "arch": "javascript"
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Semaphore002",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Semaphore002",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:Semaphore002",
      "conditions": [
        {
          "arch": "javascript"
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:SemaphoreInterrupt",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:SemaphoreInterrupt",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:SemaphoreInterrupt",
      "conditions": [
        {
          "arch": "javascript"
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:T13660",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:T13660",
      "conditions": []
    },
    {
      "package": "bytestring",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:T13660",
      "conditions": []
    },
    {
      "package": "filepath",
      "range": ">=1.5.0.0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:T13660",
      "conditions": [
        {
          "flag": "os-string"
        }
      ]
    },
    {
      "package": "os-string",
      "range": ">=2.0.0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:T13660",
      "conditions": [
        {
          "flag": "os-string"
        }
      ]
    },
    {
      "package": "filepath",
      "range": ">=1.4.100.0 && <1.5.0.0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:T13660",
      "conditions": [
        {
          "not": {
            "flag": "os-string"
          }
        }
      ]
    },
    {
      "package": "base",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:DirEnt",
      "conditions": []
    },
    {
      "package": "unix",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "test-suite:DirEnt",
      "conditions": []
    },
    {
      "package": "unbuildable",
      "range": "<0",
      "libraries": [
        "main"
      ],
      "component": "test-suite:DirEnt",
      "conditions": [
        {
          "not": {
            "flag": "non-portable-tests"
          }
        }
      ]
    }
  ],
  "exposedModules": [
    "System.Posix",
    "System.Posix.ByteString",
    "System.Posix.PosixString",
    "System.Posix.Error",
    "System.Posix.Resource",
    "System.Posix.Time",
    "System.Posix.Unistd",
    "System.Posix.Signals",
    "System.Posix.Signals.Exts",
    "System.Posix.Semaphore",
    "System.Posix.SharedMem",
    "System.Posix.User",
    "System.Posix.User.ByteString",
    "System.Posix.ByteString.FilePath",
    "System.Posix.PosixPath.FilePath",
    "System.Posix.Directory",
    "System.Posix.Directory.Internals",
    "System.Posix.Directory.Fd",
    "System.Posix.Directory.ByteString",
    "System.Posix.Directory.PosixPath",
    "System.Posix.DynamicLinker.Module",
    "System.Posix.DynamicLinker.Module.ByteString",
    "System.Posix.DynamicLinker.Prim",
    "System.Posix.DynamicLinker.ByteString",
    "System.Posix.DynamicLinker",
    "System.Posix.Files",
    "System.Posix.Files.ByteString",
    "System.Posix.Files.PosixString",
    "System.Posix.IO",
    "System.Posix.IO.ByteString",
    "System.Posix.IO.PosixString",
    "System.Posix.Env",
    "System.Posix.Env.ByteString",
    "System.Posix.Env.PosixString",
    "System.Posix.Fcntl",
    "System.Posix.Process",
    "System.Posix.Process.Internals",
    "System.Posix.Process.ByteString",
    "System.Posix.Process.PosixString",
    "System.Posix.Temp",
    "System.Posix.Temp.ByteString",
    "System.Posix.Temp.PosixString",
    "System.Posix.Terminal",
    "System.Posix.Terminal.ByteString",
    "System.Posix.Terminal.PosixString"
  ],
  "documents": {
    "readme": {
      "status": "missing",
      "sha256": null,
      "error": null,
      "checkedAt": "2026-10-14T12:50:26.387Z"
    },
    "changelog": {
      "status": "available",
      "sha256": "1d1b2e2da9440fcfe41ef983f3b50fb27b12239fb421cc3dcc1fd11c82203148",
      "error": null,
      "checkedAt": "2026-10-14T12:50:26.536Z"
    }
  },
  "documentation": null,
  "versions": [
    {
      "version": "2.8.8.0",
      "imported_at": "2026-10-14T12:50:25.606Z"
    }
  ]
}

Import a package

Enter a package name and an exact version from Hackage. The site contains imported versions only.