aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix15
1 files changed, 11 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index c28bd0e..32fdf3c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -25,7 +25,13 @@
otherFiles = [
{ source = ./static; target = "static"; }
];
- configurationFlags = [ "--ghc-options=-O2" ];
+ configurationFlags = [
+ "--ghc-options=-O2"
+ ];
+ buildInputs = with pkgs; [
+ xorg.libXtst
+ xorg.libX11
+ ];
in {
haskellProjects.default = {
inherit projectRoot;
@@ -48,7 +54,7 @@
};
devShell = {
- hlsCheck.enable = false;
+ hlsCheck.enable = true;
};
autoWire = [ "packages" "apps" "checks" ];
@@ -64,9 +70,10 @@
packages = with pkgs; [
just
nodemon
- xorg.libXtst
- xorg.libX11
];
+ inherit buildInputs;
+
+ LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath buildInputs}";
};
};
};