diff options
| author | Akshay Nair <phenax5@gmail.com> | 2024-12-21 22:45:59 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2024-12-21 22:49:12 +0530 |
| commit | 6d6cd036106e5daa2aef12bfcb2968657f9841b0 (patch) | |
| tree | 7a9c223d7b66e5295bb67f2cbcbaf74f2c0d0dba /flake.nix | |
| parent | f51fbc728e4b731372e39ba19c38a35ef58fe71a (diff) | |
| download | chelleport-6d6cd036106e5daa2aef12bfcb2968657f9841b0.tar.gz chelleport-6d6cd036106e5daa2aef12bfcb2968657f9841b0.zip | |
Fix issue with ld path
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -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}"; }; }; }; |
