diff options
author | Tristan Ross <tristan.ross@midstall.com> | 2024-04-08 21:43:21 -0700 |
---|---|---|
committer | Tristan Ross <tristan.ross@midstall.com> | 2024-04-08 22:39:53 -0700 |
commit | b1ef46706f5f566419b6798ea888b6d60e3387ef (patch) | |
tree | eaea01163a19055f31317cbdcdbc8193ec8ca8cd /pkgs/applications/editors | |
parent | 886dd8d2fa8f38955d5df2871455716651a34a0f (diff) |
llvmPackages_9: remove due to age
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/jupyter-kernels/xeus-cling/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix | 13 |
2 files changed, 12 insertions, 3 deletions
diff --git a/pkgs/applications/editors/jupyter-kernels/xeus-cling/default.nix b/pkgs/applications/editors/jupyter-kernels/xeus-cling/default.nix index 069e70b4253f2..943a7e49e9cdc 100644 --- a/pkgs/applications/editors/jupyter-kernels/xeus-cling/default.nix +++ b/pkgs/applications/editors/jupyter-kernels/xeus-cling/default.nix @@ -3,7 +3,7 @@ , cling , fetchurl , lib -, llvmPackages_9 +, llvmPackages_13 , makeWrapper , runCommand , stdenv diff --git a/pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix b/pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix index 326d5a32e4b8b..48873326bfcfb 100644 --- a/pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix +++ b/pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix @@ -5,7 +5,7 @@ , fetchFromGitHub , gcc , git -, llvmPackages_9 +, llvmPackages_13 # Libraries , argparse , cling @@ -60,7 +60,7 @@ clangStdenv.mkDerivation rec { cling.unwrapped cppzmq libuuid - llvmPackages_9.llvm + llvmPackages_13.llvm ncurses openssl pugixml @@ -75,6 +75,15 @@ clangStdenv.mkDerivation rec { "-DCMAKE_BUILD_TYPE=Debug" ]; + postPatch = '' + substituteInPlace src/xmagics/executable.cpp \ + --replace "getDataLayout" "getDataLayoutString" + substituteInPlace src/xmagics/execution.cpp \ + --replace "simplisticCastAs" "castAs" + substituteInPlace src/xmime_internal.hpp \ + --replace "code.str()" "code.str().str()" + ''; + dontStrip = debug; meta = { |