Skip to content

Instantly share code, notes, and snippets.

@sorki
Created February 20, 2019 03:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sorki/f1ac613b3b6ecc099d3588ff71430ade to your computer and use it in GitHub Desktop.
Save sorki/f1ac613b3b6ecc099d3588ff71430ade to your computer and use it in GitHub Desktop.
{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc843" }:
let
posix-pty = nixpkgs.haskell.lib.dontCheck nixpkgs.haskell.packages.${compiler}.posix-pty;
network = nixpkgs.haskell.lib.dontCheck nixpkgs.haskell.packages.${compiler}.network_2_8_0_0;
in
nixpkgs.haskell.packages.${compiler}.callPackage ./pty-wrapper.nix { inherit network posix-pty; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment