-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathflake.nix
44 lines (35 loc) · 1.14 KB
/
flake.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
41
42
43
44
{
description = "fixme: trackerless issue managament";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
haskell-flake-utils.url = "github:ivanovs-4/haskell-flake-utils";
suckless-conf.url = "github:voidlizard/suckless-conf";
suckless-conf.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, haskell-flake-utils, ... }@inputs:
haskell-flake-utils.lib.simpleCabal2flake {
inherit self nixpkgs;
# systems = [ "x86_64-linux" ];
name = "fixme";
haskellFlakes = [ inputs.suckless-conf ];
packagePostOverrides = { pkgs }: with pkgs; with haskell.lib; [
disableExecutableProfiling
disableLibraryProfiling
dontBenchmark
dontCoverage
dontDistribute
dontHaddock
dontHyperlinkSource
doStrip
enableDeadCodeElimination
justStaticExecutables
dontCheck
];
# Additional build intputs of the default shell
shellExtBuildInputs = {pkgs}: with pkgs; [
haskellPackages.haskell-language-server
];
# Wether to build hoogle in the default shell
# shellWithHoogle = true;
};
}