remove unnecessary directory level

This commit is contained in:
Trolli Schmittlauch 2020-05-17 01:44:58 +02:00
parent fdd4efe269
commit 60c164dbb0
20 changed files with 0 additions and 0 deletions

29
default.nix Normal file
View file

@ -0,0 +1,29 @@
{ pkgs ? import (
builtins.fetchGit {
name = "nixpkgs-pinned";
url = https://github.com/NixOS/nixpkgs/;
ref = "refs/heads/release-20.03";
rev = "da7ddd822e32aeebea00e97ab5aeca9758250a40";
}) {},
compiler ? "ghc865"
}:
let
hp = pkgs.haskell.packages."${compiler}";
src = pkgs.nix-gitignore.gitignoreSource [] ./.;
drv = hp.callCabal2nix "Hash2Pub" "${src}/Hash2Pub.cabal" {};
in
{
my_project = drv;
shell = hp.shellFor {
withHoogle = true;
packages = p: [ drv ];
buildInputs = with hp;
[
haddock
cabal-install
hlint
pkgs.python3Packages.asn1ate
];
};
}