-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
40 lines (35 loc) · 880 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
let
pkgs = import <nixpkgs> { };
customHaskellPackages = pkgs.haskellPackages.override {
overrides = self: super: {
mkDerivation = args: super.mkDerivation (args // {
jailbreak = true; # Ignore version bounds
doCheck = false; # Skip tests to avoid dependency issues
});
};
};
in
customHaskellPackages.mkDerivation {
pname = "dclock";
version = "0.1.0";
src = ./.;
isLibrary = false;
isExecutable = true;
executableHaskellDepends = with customHaskellPackages; [
base
QuickCheck
ansi-terminal
hspec
hspec-discover
lens
machines
optparse-applicative
text
time
process
];
description = "A decimal clock that breaks your day into a 1000 decimal minutes";
license = pkgs.lib.licenses.mit;
maintainers = with pkgs.lib.maintainers; [ travgm ];
mainProgram = "dclock";
}