about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/nimlsp/default.nix
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2021-03-05 15:00:03 +0100
committerEmery Hemingway <ehmry@posteo.net>2021-03-26 11:36:38 +0100
commit56592ea2933c3ee837e28f593191924748db3142 (patch)
tree11a155b7551a7d2eb2a07b7fffe0089a10b4ab0e /pkgs/development/tools/misc/nimlsp/default.nix
parentc8d2f4a3a888aa9f202b9d9660df14fee55994f6 (diff)
nim: cross-compilation fixes
* Import with callPackages
* Use buildPackages for building a cross-compiler
* Patch-out potential conflicts in nim.cfg
* Generate a configuration with toolchain detection
* Build with strictDeps enabled
Diffstat (limited to 'pkgs/development/tools/misc/nimlsp/default.nix')
-rw-r--r--pkgs/development/tools/misc/nimlsp/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/misc/nimlsp/default.nix b/pkgs/development/tools/misc/nimlsp/default.nix
index 1919e26ddec4e..7f73fb9a1bc3c 100644
--- a/pkgs/development/tools/misc/nimlsp/default.nix
+++ b/pkgs/development/tools/misc/nimlsp/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
     export HOME=$TMPDIR
     nim -d:release -p:${astpatternmatching}/src -p:${jsonschema}/src \
       c --threads:on -d:nimcore -d:nimsuggest -d:debugCommunication \
-      -d:debugLogging -d:explicitSourcePath=${srcOnly nim.unwrapped} -d:tempDir=/tmp src/nimlsp
+      -d:debugLogging -d:explicitSourcePath=${srcOnly nim.passthru.nim} -d:tempDir=/tmp src/nimlsp
   '';
 
   installPhase = ''