Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Generated using stack2nix 0.1.3.0.
- #
- # Only works with sufficiently recent nixpkgs, e.g. "NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/21a8239452adae3a4717772f4e490575586b2755.tar.gz".
- { pkgs ? (import <nixpkgs> {})
- , compiler ? pkgs.haskell.packages.ghc802
- , ghc ? pkgs.haskell.compiler.ghc802
- }:
- with (import <nixpkgs/pkgs/development/haskell-modules/lib.nix> { inherit pkgs; });
- let
- stackPackages = { callPackage, pkgs, stdenv }:
- self: {
- una = callPackage ({ base, bytestring, cmdargs, directory, fetchgit, filepath, io-storage, mkDerivation, process, stdenv }:
- mkDerivation {
- pname = "una";
- version = "2.1.0";
- src = fetchgit {
- url = "https://github.com/jwiegley/una.git";
- sha256 = "1iibk953iqi3dh2lp9v1jk1jl7mf5sgl5p9v06g2k2vdih7lw954";
- rev = "4cfa6d290ac9fbb9082d4a5c89abbb63c69f9246";
- };
- isLibrary = false;
- isExecutable = true;
- executableHaskellDepends = [
- base
- bytestring
- cmdargs
- directory
- filepath
- io-storage
- process
- ];
- doHaddock = false;
- doCheck = false;
- homepage = "https://github.com/jwiegley/una";
- description = "Universal un-archiver utility";
- license = stdenv.lib.licenses.bsd3;
- }) {cmdargs = [];};
- };
- in
- compiler.override {
- initialPackages = stackPackages;
- configurationCommon = { ... }: self: super: {};
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement