All Projects → typeable → nixpkgs-stackage

typeable / nixpkgs-stackage

Licence: other
Stackage overlay for Nixpkgs

Programming Languages

Nix
1067 projects

Projects that are alternatives of or similar to nixpkgs-stackage

go2nix
Reproducible builds and development environment for Go
Stars: ✭ 88 (+252%)
Mutual labels:  nixpkgs
nixpkgs-pytools
Tools for removing the tedious nature of creating nixpkgs derivations [maintainer=@costrouc]
Stars: ✭ 36 (+44%)
Mutual labels:  nixpkgs
nix-template
Make creating nix expressions easy
Stars: ✭ 161 (+544%)
Mutual labels:  nixpkgs
Home Manager
Manage a user environment using Nix [maintainer=@rycee]
Stars: ✭ 2,447 (+9688%)
Mutual labels:  nixpkgs
nixfiles
Some of my .nix files
Stars: ✭ 22 (-12%)
Mutual labels:  nixpkgs
terraform-provider-nix
terraform provider that manages nix builds and nixos machines.
Stars: ✭ 105 (+320%)
Mutual labels:  nixpkgs
nix-hs
Haskell + nixpkgs = nix-hs
Stars: ✭ 23 (-8%)
Mutual labels:  nixpkgs
nixpkgs-python-importer
Violate Nix philosophy, install Python packages mid-session with `from nixpkgs.scipy import scipy`.
Stars: ✭ 27 (+8%)
Mutual labels:  nixpkgs
crane
A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
Stars: ✭ 348 (+1292%)
Mutual labels:  nixpkgs
yants
Yet Another Nix Type System | Source has moved to https://git.tazj.in/tree/nix/yants
Stars: ✭ 35 (+40%)
Mutual labels:  nixpkgs
gradle2nix
Generate Nix expressions which build Gradle-based projects.
Stars: ✭ 71 (+184%)
Mutual labels:  nixpkgs
nixpkgs-review-checks
Add additional checks and more information from build logs and outputs to the reports generated by nixpkgs-review.
Stars: ✭ 27 (+8%)
Mutual labels:  nixpkgs
dotfiles
Dotfiles. Mac and *nix. Handy scripts, configurations for bash, zsh, git, asdf, Sublime Text, Karabiner-Elements, BetterTouchTool and more.
Stars: ✭ 15 (-40%)
Mutual labels:  nixpkgs
Nixpkgs
Nix Packages collection
Stars: ✭ 8,322 (+33188%)
Mutual labels:  nixpkgs
triton
Triton Operating System
Stars: ✭ 56 (+124%)
Mutual labels:  nixpkgs
nixpkgs
My Nix system configs!
Stars: ✭ 143 (+472%)
Mutual labels:  nixpkgs
haskell-overridez
Simplify usage of nix dependencies during haskell development
Stars: ✭ 32 (+28%)
Mutual labels:  nixpkgs
dotfiles
No place like ~. Nix. All. The. Things.
Stars: ✭ 48 (+92%)
Mutual labels:  nixpkgs
nix-bisect
Bisect nix builds. Status: alpha/proof of concept. You'll probably have to dig into the implementation if you want to use it. Built for personal use, lightly maintained. PRs welcome. Issues welcome, but I make no promises regarding responses or fix
Stars: ✭ 72 (+188%)
Mutual labels:  nixpkgs
nixpkgs
Nix Packages collection used in Nubank
Stars: ✭ 24 (-4%)
Mutual labels:  nixpkgs

nixpkgs-stackage

Build Status

Nixpkgs overlay adding Stackage Haskell packages at the pkgs.haskell.packages.stackage

Install

Symlink the current ./default.nix into the ~/.config/nixpkgs/overlays folder.

cd ~/.config/nixpkgs/overlays
ln -s /path/to/default.nix stackage-overlay.nix

Contents

  • Stackage LTS releases at pkgs.haskell.packages.stackage
  • stackage2nix at pkgs
  • build utils at pkgs.haskell.packages.stackage.lib

Haskell overlay

List LTS packages:

nix-env -f '<nixpkgs>' -qaP -A haskell.packages.stackage.lts-100

Install stackage2nix:

$ nix-env -i stackage2nix

Update script

Update script will add missing lts releases to stackage directory:

./update.sh

Examples

Build derivation for stackage2nix from stackage2nix.json source.

let
  nixpkgs = import <nixpkgs> {
    overlays = [ (import ../default.nix) ];
  };
  inherit (nixpkgs) pkgs lib;

  stackage2nixSrc = pkgs.fetchFromGitHub (lib.importJSON ./stackage2nix.json);

  stackage = nixpkgs.haskell.packages.stackage.lib.callStackage2nix "stackage2nix" stackage2nixSrc {
    inherit nixpkgs;
  };
in
  stackage

Build:

nix-build example.nix -A stackage2nix

See examples directory for more

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].