remove unnecessary directory level
This commit is contained in:
parent
fdd4efe269
commit
60c164dbb0
20 changed files with 0 additions and 0 deletions
29
default.nix
Normal file
29
default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue