{"id":14968057,"url":"https://github.com/typeable/nixpkgs-stackage","last_synced_at":"2025-08-14T08:07:47.036Z","repository":{"id":52179274,"uuid":"116148973","full_name":"typeable/nixpkgs-stackage","owner":"typeable","description":"Stackage overlay for Nixpkgs","archived":false,"fork":false,"pushed_at":"2020-04-15T11:32:52.000Z","size":14724,"stargazers_count":25,"open_issues_count":7,"forks_count":13,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-01-31T12:51:20.308Z","etag":null,"topics":["nixpkgs","nixpkgs-stackage"],"latest_commit_sha":null,"homepage":null,"language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/typeable.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-03T14:56:26.000Z","updated_at":"2020-11-24T23:47:49.000Z","dependencies_parsed_at":"2022-08-24T04:01:20.252Z","dependency_job_id":null,"html_url":"https://github.com/typeable/nixpkgs-stackage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeable%2Fnixpkgs-stackage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeable%2Fnixpkgs-stackage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeable%2Fnixpkgs-stackage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeable%2Fnixpkgs-stackage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typeable","download_url":"https://codeload.github.com/typeable/nixpkgs-stackage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238229940,"owners_count":19437723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nixpkgs","nixpkgs-stackage"],"created_at":"2024-09-24T13:39:10.586Z","updated_at":"2025-02-11T03:31:06.960Z","avatar_url":"https://github.com/typeable.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nixpkgs-stackage\n\n[![Build Status](https://travis-ci.org/typeable/nixpkgs-stackage.svg?branch=master)](https://travis-ci.org/typeable/nixpkgs-stackage)\n\nNixpkgs overlay adding Stackage Haskell packages at the `pkgs.haskell.packages.stackage`\n\n# Install\n\nSymlink the current `./default.nix` into the `~/.config/nixpkgs/overlays` folder.\n\n```\ncd ~/.config/nixpkgs/overlays\nln -s /path/to/default.nix stackage-overlay.nix\n```\n\n## Contents\n\n- Stackage LTS releases at `pkgs.haskell.packages.stackage`\n- [stackage2nix][] at `pkgs`\n- build utils at `pkgs.haskell.packages.stackage.lib`\n\n## Haskell overlay\n\nList LTS packages:\n\n```\nnix-env -f '\u003cnixpkgs\u003e' -qaP -A haskell.packages.stackage.lts-100\n```\n\nInstall stackage2nix:\n\n```\n$ nix-env -i stackage2nix\n```\n\n## Update script\n\nUpdate script will add missing lts releases to `stackage` directory:\n\n```\n./update.sh\n```\n\n# Examples\n\nBuild derivation for `stackage2nix` from `stackage2nix.json` source.\n\n``` nix\nlet\n  nixpkgs = import \u003cnixpkgs\u003e {\n    overlays = [ (import ../default.nix) ];\n  };\n  inherit (nixpkgs) pkgs lib;\n\n  stackage2nixSrc = pkgs.fetchFromGitHub (lib.importJSON ./stackage2nix.json);\n\n  stackage = nixpkgs.haskell.packages.stackage.lib.callStackage2nix \"stackage2nix\" stackage2nixSrc {\n    inherit nixpkgs;\n  };\nin\n  stackage\n```\n\nBuild:\n\n```\nnix-build example.nix -A stackage2nix\n```\n\nSee [examples](./examples) directory for more\n\n\n[stackage2nix]: https://github.com/typeable/stackage2nix\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypeable%2Fnixpkgs-stackage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypeable%2Fnixpkgs-stackage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypeable%2Fnixpkgs-stackage/lists"}