human-friendly-id-gen/shell.nix

13 lines
404 B
Nix
Raw Permalink Normal View History

2018-09-13 10:13:11 +00:00
let
rev = "16d475334409f7fa632929b2838421b4ffe34927";
_nixpkgs = import <nixpkgs> { };
pkgs = import ( fetchTarball "https://github.com/NixOS/nixpkgs/archive/${rev}.tar.gz" ) { };
ghc = pkgs.haskellPackages;
ghcPackages = ghc.ghcWithPackages (ps: [ ps.protolude ps.turtle ]);
in with pkgs;
stdenv.mkDerivation {
name = "gpm";
buildInputs = [ ghcPackages ];
buildDepends = [ libiconv ];
}