diff options
author | Emery Hemingway <ehmry@posteo.net> | 2021-03-05 15:00:03 +0100 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2021-03-26 11:36:38 +0100 |
commit | 56592ea2933c3ee837e28f593191924748db3142 (patch) | |
tree | 11a155b7551a7d2eb2a07b7fffe0089a10b4ab0e /pkgs/development/tools/misc/nimlsp/default.nix | |
parent | c8d2f4a3a888aa9f202b9d9660df14fee55994f6 (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.nix | 2 |
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 = '' |