8 nim-unwrapped-2.overrideAttrs (
9 finalAttrs: prevAttrs: {
12 url = "https://nim-lang.org/download/nim-${finalAttrs.version}.tar.xz";
13 hash = "sha256-/+0EdQTR/K9hDw3Xzz4Ce+kaKSsMnFEWFQTC87mE/7k=";
19 builtins.elem (builtins.baseNameOf p) [
20 "NIM_CONFIG_DIR.patch"
23 ) nim-unwrapped-2.patches
25 ./extra-mangling.patch
26 # Mangle store paths of modules to prevent runtime dependence.
28 ++ lib.optional (!stdenv.hostPlatform.isWindows) ./toLocation.patch;